/* === site.css === */
/* Sundered Spheres landing page: ONE design system (r25). Replaces tokens/style/grid/motion/hero-r23/r23/r24.css (left on disk, no longer linked).
   One content width, one section rhythm, one panel, one type scale, one gold. No !important, no specificity ladders. */
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-Variable.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Alegreya"; src: url("fonts/Alegreya-Variable.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --gold: #E8C77A;                         /* the one gold: eyebrows, rules, active states */
  --gold-deep: #b08a3e;
  --ink: #2a2018;                          /* page ground behind paintings (warm brown, never black) */
  --text: #f6ecd6; --text-2: #e0d3b6;
  --glass: rgba(62, 46, 30, .55);          /* the one panel colour */
  --glass-edge: rgba(214, 178, 110, .42);  /* the one panel border */
  --radius: 14px;                          /* the one radius */
  --display: "Soul Cinzel", "Cinzel", Georgia, serif;
  --body: "Soul Dialogue", "Alegreya", Georgia, serif;
  --wrap: 1320px; --gutter: 32px;
  --sec: 96px;                             /* the one section padding */
  --bar-h: 64px;
  --fs-body: 17px; --fs-lead: 19px; --fs-cap: 15px; --fs-xs: 13px;
  --fs-h3: 26px; --fs-h2: clamp(30px, 3.4vw, 46px); --fs-h1: clamp(40px, 4vw, 62px);
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));   /* left edge of the content column */
  --tint: #8fd98a;
  --ease: cubic-bezier(.33, 1, .68, 1);
}
@media (max-width: 699px) {
  :root { --gutter: 16px; --sec: 48px; --bar-h: 56px; --fs-body: 16px; --fs-lead: 17px; --fs-h3: 22px; --fs-h2: 28px; --fs-h1: clamp(28px, 7.6vw, 32px); }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 var(--fs-body)/1.55 var(--body); overflow-x: clip; }
img, video { display: block; max-width: 100%; }
canvas { display: block; }
.emblem canvas { width: 100%; height: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #2a1a05; padding: 8px 14px; border-radius: 8px; font: 700 14px var(--display); }
.skip:focus { left: 8px; }
section[id], footer[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* type */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.1; margin-top: 12px; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h3); line-height: 1.15; }
.eyebrow { font: 700 var(--fs-cap)/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: var(--fs-lead); color: var(--text); text-wrap: pretty; max-width: 60ch; }
.note { font: 700 var(--fs-cap)/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text); text-wrap: balance; }
.req, .made { font: 400 var(--fs-xs)/1.4 var(--body); color: var(--text-2); }

/* ---------- the ONE panel ---------- */
.sheet, .frame, .realm-card, .calling-panel, .foot-grid, .foot-legal, .head, .intro .lead, .final-copy, .nav-sheet {
  background: var(--glass); border: 1px solid var(--glass-edge); border-radius: var(--radius); color: var(--text);
  -webkit-backdrop-filter: blur(12px) saturate(1.1) brightness(.75); backdrop-filter: blur(12px) saturate(1.1) brightness(.75);
  box-shadow: 0 14px 40px rgba(20, 12, 4, .28);
}
.sheet, .realm-card, .calling-panel, .foot-grid { padding: 32px; }
.frame { overflow: hidden; padding: 0; }
.head { padding: 24px 32px; text-align: center; display: grid; justify-items: center; max-width: 880px; margin: 0 auto 40px; }
.head .lead { margin-top: 14px; }
@media (max-width: 699px) {
  .sheet, .realm-card, .calling-panel, .foot-grid { padding: 20px; }
  .head { padding: 20px 16px; margin-bottom: 24px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 40px; border-radius: var(--radius); font: 700 17px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; transition: transform .2s ease, filter .2s ease, background .2s ease; }
.btn-play { color: #2a1a05; background: linear-gradient(180deg, #f6e2ac 0%, var(--gold) 45%, #c99a45 100%); box-shadow: 0 0 0 1px #6b4a17, 0 8px 24px rgba(30, 18, 6, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-play:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 14px; letter-spacing: .14em; }
.btn-ghost { min-height: 54px; padding: 0 28px; font-size: 15px; color: var(--text); background: rgba(62, 46, 30, .55); border: 1px solid var(--glass-edge); }
.btn-ghost:hover { background: rgba(92, 68, 40, .7); }

/* ---------- top bar ---------- */
.bar { position: fixed; z-index: 50; inset: 0 0 auto 0; height: var(--bar-h); display: flex; align-items: center; gap: 24px; padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: rgba(70, 52, 34, .5); border-bottom: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  transition: background .3s ease, transform .3s ease; }
.bar.away:not(.open) { transform: translateY(-100%); }
.bar.solid, .bar.open { background: rgba(70, 52, 34, .72); }
.bar-brand { display: flex; align-items: center; gap: 10px; font: 700 16px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s ease; }
.bar-brand img { width: 36px; height: 36px; border-radius: 50%; }
.bar:not(.solid):not(.open) .bar-brand { opacity: 0; pointer-events: none; }   /* the hero's own emblem is the brand on the first screen */
.bar-nav { display: flex; gap: 28px; margin-inline: auto; font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.bar-nav a { padding: 12px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.bar-nav a:hover, .bar-nav a.on { color: var(--gold); border-color: var(--gold); }
.bar-end { display: flex; align-items: center; gap: 18px; }
.bar-sign { font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; padding: 12px 4px; }
.bar-sign:hover { color: var(--gold); }
.bar .btn-small { transition: opacity .3s ease, transform .3s ease; }
.bar:not(.cta-gone):not(.open) .btn-small { opacity: 0; pointer-events: none; transform: translateY(-6px); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--glass-edge); background: rgba(62, 46, 30, .6); place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--gold); position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.bar.open .menu-btn span { background: transparent; }
.bar.open .menu-btn span::before { transform: translateY(6px) rotate(45deg); } .bar.open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 899px) {
  .menu-btn { display: grid; }
  .bar-end { margin-left: auto; gap: 10px; }
  .bar-nav { display: none; position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter); margin: 0; flex-direction: column; gap: 0; padding: 4px 20px; border-radius: var(--radius); border: 1px solid var(--glass-edge); background: rgba(70, 52, 34, .95); font-size: 16px; }
  .bar.open .bar-nav { display: flex; }
  .bar-nav a { padding: 16px 2px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .bar-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 699px) { .bar { gap: 12px; } .bar-sign { display: none; } }
@media (max-width: 480px) { .bar-brand span { display: none; } }


/* ---------- hero ---------- */
.hero { position: relative; height: min(92vh, 900px); min-height: 600px; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-art, .hero-art picture, .hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { object-fit: cover; object-position: 50% 0%; transform-origin: 48% 16%; animation: drift 46s ease-in-out infinite alternate; }
.hero-canvas { opacity: 0; transition: opacity 1.2s ease; }
.hero.live .hero-canvas { opacity: 1; }
.hero.live .hero-poster { animation: none; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(1%, 2%); } }
.hero-clips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease-in-out; }
.hero-clip.on { opacity: 1; }
.hero-clip.quick { transition-duration: .3s; }
.hero-clip[src*="heartvale-walk"] { filter: brightness(.74) saturate(1.05); }
@media (prefers-reduced-motion: no-preference) { .hero-clip.on { animation: push 12s linear both; } }
@keyframes push { from { transform: scale(1); } to { transform: scale(1.06) translate3d(-.6%, -.4%, 0); } }
.hero-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(42, 32, 24, .5) 0%, rgba(42, 32, 24, .15) 28%, rgba(42, 32, 24, 0) 50%), linear-gradient(90deg, rgba(42, 32, 24, .4) 0%, rgba(42, 32, 24, 0) 48%); }
.hero-logo { position: absolute; z-index: 4; left: var(--edge); top: calc(var(--bar-h) + 14px); display: flex; align-items: center; gap: 14px; pointer-events: none; }
.emblem { --size: 64px; width: var(--size); height: var(--size); position: relative; flex: none; filter: drop-shadow(0 6px 18px rgba(20, 12, 4, .6)); }
.emblem > img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; transition: opacity .6s ease; }
.emblem.live > img { opacity: 0; }
.wordmark { font: 700 20px/1.05 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--text); text-shadow: 0 2px 14px rgba(20, 12, 4, .8); }
.wordmark span { display: block; color: var(--gold); }
.wordmark.small { font-size: 16px; }
.hero-copy { position: absolute; z-index: 4; left: var(--edge); top: calc(var(--bar-h) + 112px); width: min(760px, 58%); display: grid; gap: 12px; justify-items: start; isolation: isolate; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; inset: -60px -110px -40px -100px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(42, 32, 24, .55) 0%, rgba(42, 32, 24, .38) 60%, rgba(42, 32, 24, 0) 100%); }
.hero h1, .hero .eyebrow { text-shadow: 0 2px 4px rgba(20, 12, 4, .9), 0 0 22px rgba(20, 12, 4, .8); }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span + span { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 8px; }
.cta-notes { flex-basis: 100%; display: grid; gap: 4px; text-shadow: 0 1px 10px rgba(20, 12, 4, .9), 0 0 3px rgba(20, 12, 4, .9); }
.hero .made, .hero .req { display: none; }
html.no-webgpu .hero .req { display: block; }
.promo { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; font: 700 var(--fs-xs)/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: var(--glass); border: 1px solid var(--glass-edge); border-radius: 999px; }
.promo-gem { width: 8px; height: 8px; flex: none; transform: rotate(45deg); background: var(--gold); }
.motion-toggle, .sound-toggle { position: absolute; z-index: 5; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-edge); background: rgba(70, 52, 34, .6); display: grid; place-items: center; }
.motion-toggle { right: var(--edge); }
.sound-toggle { right: calc(var(--edge) + 56px); opacity: .6; cursor: default; }
.motion-toggle span { width: 10px; height: 12px; border-left: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.motion-toggle[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 11px solid var(--gold); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.sound-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-dots { position: absolute; z-index: 5; right: calc(var(--edge) + 120px); bottom: 38px; display: flex; gap: 7px; }
.hero-dots i { width: 22px; height: 4px; background: rgba(246, 236, 214, .4); transition: background .6s ease; }
.hero-dots i.on { background: var(--gold); }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 14px; width: 44px; height: 44px; transform: translateX(-50%); display: grid; place-items: center; }
.scroll-cue span { width: 14px; height: 14px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-4px) rotate(45deg); opacity: .5; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }

/* hero, phone portrait: the whole 1600x1067 painting (or clip) in the upper part over a blurred copy of the same art; the words sit on that art */
@media (max-width: 699px) and (orientation: portrait) {
  .hero { --stage-h: calc(100vw * 1067 / 1600); --stage-top: calc((100svh - var(--stage-h)) * .24); height: 100svh; min-height: 640px; background: var(--ink); }
  .hero-art::before { content: ""; position: absolute; inset: -48px; z-index: 0; pointer-events: none; background: var(--hero-blur, url(art/premise-sundering-900.webp)) 50% 40% / cover no-repeat; filter: blur(14px) saturate(1.25) brightness(1.05); }
  .hero-art picture { z-index: 1; }
  .hero-poster, .hero-canvas { inset: auto; left: 0; right: 0; top: var(--stage-top); height: var(--stage-h); z-index: 1; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
  .hero-poster { object-fit: contain; animation: none; }
  .hero-clip { object-fit: contain; object-position: 50% 24%; animation: none; transform: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(42, 32, 24, .4) 0%, rgba(42, 32, 24, 0) 16%); }
  .hero-logo { left: var(--gutter); top: calc(var(--bar-h) + 8px); gap: 10px; }
  .emblem { --size: 44px; }
  .wordmark { font-size: 14px; letter-spacing: .16em; }
  .hero-copy { left: 0; right: 0; top: auto; bottom: 0; width: auto; padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .hero-copy::before { inset: -40px -10px -10px -10px; border-radius: 40% 40% 0 0 / 30% 30% 0 0; background: radial-gradient(ellipse 80% 70% at 40% 60%, rgba(42, 32, 24, .5) 0%, rgba(42, 32, 24, .3) 55%, rgba(42, 32, 24, 0) 100%); }
  .hero h1 span { white-space: normal; }
  .hero-cta { display: grid; width: 100%; gap: 10px; margin-top: 4px; }
  .promo { border-radius: var(--radius); }
  .hero-cta .btn-ghost { display: none; }
  .hero-cta .btn-play { width: 100%; }
  .motion-toggle, .sound-toggle { top: calc(var(--bar-h) + 8px); bottom: auto; }
  .motion-toggle { right: var(--gutter); } .sound-toggle { right: calc(var(--gutter) + 56px); }
  .hero-dots { left: 50%; right: auto; transform: translateX(-50%); bottom: auto; top: calc(var(--stage-top) + var(--stage-h) + 6px); }
  .scroll-cue { display: none; }
}
/* phone turned sideways */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { height: 100svh; min-height: 0; }
  .hero-logo { top: calc(var(--bar-h) + 6px); } .emblem { --size: 48px; }
  .hero-copy { top: auto; bottom: 14px; width: min(48%, 460px); gap: 8px; }
  .hero h1 { font-size: 24px; } .hero h1 span { white-space: normal; }
  .hero-cta { margin-top: 2px; } .btn { min-height: 44px; } .btn-ghost { display: none; }
  .scroll-cue { display: none; }
}

/* ---------- bands: one rhythm, each on its own painting (no flat black anywhere) ---------- */
.band, .final, .foot { position: relative; isolation: isolate; padding-block: var(--sec); }
.intro { position: relative; padding-block: 48px; background: linear-gradient(180deg, rgba(42, 32, 24, .35), rgba(42, 32, 24, .45)), url("art/hv-anwel-waterfront.webp") 50% 55% / cover no-repeat; }
.intro .wrap { display: grid; justify-items: center; }
.intro .lead { max-width: 860px; padding: 24px 32px; text-align: center; font-size: var(--fs-lead); }
.rule { display: none; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }

#journey { background: #4a3c2c; }
#journey::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(150, 115, 80, .55) 100%), url("art/band-account.webp") 50% 40% / cover no-repeat; filter: blur(3px) saturate(.9) brightness(1.75); }
#world { background: linear-gradient(180deg, rgba(42, 32, 24, .4), rgba(42, 32, 24, .5)), url("art/band-free.webp") 50% 40% / cover no-repeat; }
#realms { background: #4a3c2c; overflow: hidden; }
#realms::before { inset: -40px; background: linear-gradient(180deg, rgba(42, 32, 24, .3), rgba(42, 32, 24, .42)), var(--realm-blur, url("art/realm-thalenyr-900.webp")) 50% 50% / cover no-repeat; filter: blur(16px) saturate(1.15) brightness(1.2); transition: opacity .6s ease; }
#callings { background: #4a3c2c; }
#callings::before { background: linear-gradient(180deg, rgba(42, 32, 24, .35), rgba(42, 32, 24, .5)), url("art/class-dragon.webp") 50% 40% / cover no-repeat; }
.foot { background: linear-gradient(180deg, rgba(42, 32, 24, .3), rgba(42, 32, 24, .38)), url("art/band-skills.webp") 50% 22% / cover no-repeat; }
@media (max-width: 699px) {
  .intro { padding-block: 32px; background-image: linear-gradient(180deg, rgba(42, 32, 24, .35), rgba(42, 32, 24, .45)), url("art/hv-anwel-waterfront-900.webp"); }
  .intro .lead { padding: 18px 16px; text-align: left; }
  #journey::before { background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(150, 115, 80, .55) 100%), url("art/band-account-900.webp"); }
  #world { background-image: linear-gradient(180deg, rgba(42, 32, 24, .4), rgba(42, 32, 24, .5)), url("art/band-free-900.webp"); }
  #callings::before { background-image: linear-gradient(180deg, rgba(42, 32, 24, .35), rgba(42, 32, 24, .5)), url("art/class-dragon-900.webp"); }
  .foot { background-image: linear-gradient(180deg, rgba(42, 32, 24, .3), rgba(42, 32, 24, .38)), url("art/band-skills-900.webp"); }
  #realms::before { filter: blur(16px) saturate(1.15) brightness(1.35); }
}

/* the framed pictures and cards */
.game-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.game-clip { display: flex; flex-direction: column; }
.game-clip video { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: transparent; }
.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.shot .clip { overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s ease; }
.shot:hover img { transform: scale(1.03); }
figcaption { padding: 16px 20px 20px; }
figcaption h3 { font-size: 21px; }
figcaption p { margin-top: 4px; font-size: var(--fs-cap); color: var(--text-2); }
@media (max-width: 899px) { .game-band { grid-template-columns: 1fr; } .journey-grid { grid-template-columns: 1fr; } }
@media (max-width: 699px) {
  .game-band, .journey-grid { gap: 16px; }
  .game-band { margin-bottom: 16px; }
  .game-clip video { aspect-ratio: 16 / 9; object-fit: contain; }
  .game-clip.feature video { aspect-ratio: 3 / 2; }
  .shot img { object-fit: contain; }
  figcaption { padding: 12px 16px 16px; }
}

/* world */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.sheet { display: flex; flex-direction: column; justify-content: center; }
.sheet .eyebrow { margin-bottom: 4px; }
.prose { margin-top: 20px; display: grid; gap: 14px; font-size: var(--fs-body); color: var(--text); }
.prose p:first-child { font-size: var(--fs-lead); }
.prose p + p { color: var(--text-2); }
#premise-art { min-height: 320px; }
#premise-art img { width: 100%; height: 100%; object-fit: cover; animation: float 12s ease-in-out infinite alternate; transform-origin: 50% 45%; }
@keyframes float { from { transform: scale(1); } to { transform: scale(1.05); } }
@media (max-width: 899px) { .two { grid-template-columns: 1fr; } #premise-art { min-height: 0; } #premise-art img { height: auto; aspect-ratio: 16 / 9; } }
@media (max-width: 699px) { #premise-art img { aspect-ratio: 1600 / 914; object-fit: contain; } }

/* realms */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.tab { min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass); -webkit-backdrop-filter: blur(10px) brightness(.8); backdrop-filter: blur(10px) brightness(.8); font: 700 16px/1 var(--display); letter-spacing: .06em; color: var(--text-2); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: #fff7e0; background: rgba(110, 82, 46, .8); border-color: var(--tint); }
.realm-stage { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.realm-media { position: relative; border: 1px solid var(--glass-edge); border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 40px rgba(20, 12, 4, .28); background: var(--glass); }
.realm-pics { position: relative; aspect-ratio: 16 / 10; height: 100%; width: 100%; overflow: hidden; }
.realm-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .002; z-index: 1; will-change: opacity; animation: float 9s ease-in-out infinite alternate; }
.realm-pics img.was { opacity: 1; z-index: 2; }
.realm-pics img.on { opacity: 1; z-index: 3; transition: opacity .6s cubic-bezier(.2, .6, .3, 1); }
.arrow { position: absolute; z-index: 5; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid var(--glass-edge); background: rgba(70, 52, 34, .7); display: grid; place-items: center; transition: background .2s; }
.arrow::before { content: ""; width: 10px; height: 10px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.arrow.prev { left: 14px; } .arrow.prev::before { transform: rotate(-135deg); margin-left: 4px; }
.arrow.next { right: 14px; } .arrow.next::before { transform: rotate(45deg); margin-right: 4px; }
.arrow:hover { background: rgba(110, 82, 46, .85); }
.realm-card { display: grid; align-content: center; gap: 12px; border-color: color-mix(in srgb, var(--tint) 45%, var(--glass-edge)); transition: border-color .8s; }
.realm-card h3 { font-size: clamp(28px, 2.6vw, 38px); color: #fff7e0; }
.realm-card .element { font: 700 var(--fs-cap)/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--tint); }
.realm-card .law { color: var(--text); }
.realm-card .law b { font: 700 var(--fs-xs)/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-right: 8px; }
.realm-card ul { display: grid; gap: 8px; margin-top: 4px; color: var(--text); }
.realm-card li { position: relative; padding-left: 20px; }
.realm-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--tint); }
.dots { display: flex; justify-content: center; gap: 18px; margin-top: 20px; }
.dots i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: rgba(246, 236, 214, .55); cursor: pointer; transition: background .3s, transform .3s; }
.dots i::after { content: ""; position: absolute; inset: -17px; }
.dots i.on { background: var(--tint); transform: scale(1.3); }
@media (max-width: 899px) { .realm-stage { grid-template-columns: 1fr; gap: 16px; } .realm-pics { height: auto; aspect-ratio: 16 / 10; } .arrow { display: none; } }
@media (max-width: 699px) {
  .tabs { gap: 8px; margin-bottom: 16px; }
  .tab { padding: 10px 14px; font-size: 14px; letter-spacing: .03em; }
  .realm-pics { aspect-ratio: 3 / 2; }
  .realm-pics img { object-fit: contain; }
}

/* callings */
.calling-row { display: flex; justify-content: center; gap: 32px; margin-bottom: 24px; }
.calling { display: grid; justify-items: center; gap: 8px; width: 132px; font: 700 var(--fs-cap)/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-shadow: 0 1px 8px rgba(20, 12, 4, .9); }
.calling img, .calling .medal img { width: 96px; height: 96px; border-radius: 50%; background: #6b5238; box-shadow: 0 0 0 2px var(--gold), 0 6px 16px rgba(20, 12, 4, .4); transition: transform .25s, box-shadow .25s; }
.calling:hover img { transform: translateY(-3px); }
.calling[aria-selected="true"] img { box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px rgba(42, 32, 24, .7), 0 0 22px 4px var(--ctint, var(--gold)); transform: translateY(-3px); }
.calling .medal { position: relative; display: block; line-height: 0; }
.calling .lock-mark { position: absolute; right: -4px; bottom: -4px; width: 40px; height: 40px; padding: 9px; border-radius: 50%; color: #f6ecd6; background: #6b5238; box-shadow: 0 0 0 2px var(--gold), 0 2px 6px rgba(20, 12, 4, .5); }
.calling.locked img { filter: grayscale(.85) brightness(.9); }
.calling .medal-cap { font: 700 var(--fs-xs)/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.calling .open-cap { color: #b8e8a0; }
.calling .lock-cap { color: #f0dcb0; }
@media (max-width: 699px) {
  .calling-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .calling { width: auto; font-size: var(--fs-xs); letter-spacing: .04em; }
  .calling img, .calling .medal img { width: 64px; height: 64px; }
  .calling .lock-mark { width: 26px; height: 26px; padding: 5px; }
  .calling .medal-cap { font-size: 12px; letter-spacing: .02em; }
}

.calling-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.calling-base, .adv-card { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.adv { border-left: 1px solid var(--glass-edge); padding-left: 40px; }
.adv-label { font: 700 var(--fs-xs)/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.adv-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.adv-btn { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 18px 4px 5px; border-radius: 999px; border: 1px solid var(--glass-edge); background: rgba(255, 240, 210, .08); font: 700 15px/1 var(--display); letter-spacing: .05em; transition: background .2s, border-color .2s; }
.adv-btn img { width: 42px; height: 42px; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold); }
.adv-btn:hover { background: rgba(255, 240, 210, .16); }
.adv-btn[aria-selected="true"] { background: rgba(110, 82, 46, .85); border-color: var(--gold); }
.adv-btn .adv-lock { display: inline-flex; width: 16px; height: 16px; flex: none; color: var(--gold); }
.adv-btn .adv-lock svg { width: 100%; height: 100%; }
.adv-media { position: relative; aspect-ratio: 896 / 1200; overflow: hidden; border-radius: var(--radius); border: 2px solid var(--gold); background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--ctint, var(--gold)) 40%, #8a6a46) 0%, #5a4430 80%); box-shadow: 0 10px 28px rgba(20, 12, 4, .4); }
.adv-media .fig { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
canvas.fig-live { opacity: 0; transition: opacity .2s ease; } canvas.fig-live.on { opacity: 1; }
.adv-media .badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 2px 8px rgba(20, 12, 4, .6); }
.calling-panel h3 { color: #fff7e0; font-size: clamp(28px, 2.6vw, 36px); }
.calling-panel h4 { color: #fff7e0; margin-top: 8px; }
.calling-panel .role { margin-top: 8px; font: 700 var(--fs-cap)/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.calling-panel dl { margin-top: 16px; display: grid; gap: 6px; }
.calling-panel dt { margin-top: 8px; font: 700 var(--fs-xs)/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.calling-panel dd { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { font: 400 var(--fs-cap)/1 var(--body); padding: 8px 12px 9px; border: 1px solid var(--glass-edge); background: rgba(255, 240, 210, .1); border-radius: 8px; color: var(--text); }
.adv-tag { display: inline-block; font: 700 var(--fs-xs)/1 var(--display); letter-spacing: .18em; text-transform: uppercase; padding: 6px 9px 5px; border: 1px solid var(--glass-edge); border-radius: 6px; color: var(--gold); }
.adv-state, .lock-line, .open-line { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 14px 6px 11px; border-radius: 999px; font: 700 var(--fs-xs)/1.25 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.adv-state { margin: 0 0 0 8px; vertical-align: middle; }
.open-line, .adv-state.open { color: #f6fbe8; background: #3d6a2c; }
.open-line::before, .adv-state.open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b8e8a0; }
.lock-line, .adv-state.lock { color: #f6ecd6; background: #6b5238; }
.lock-line svg { width: 16px; height: 16px; flex: none; }
.calling-base.locked .fig { filter: grayscale(.6) brightness(.9); }
@media (max-width: 1099px) {
  .calling-panel { grid-template-columns: 1fr; gap: 28px; }
  .adv { border-left: 0; padding-left: 0; border-top: 1px solid var(--glass-edge); padding-top: 28px; }
}
@media (max-width: 699px) {
  .calling-panel { gap: 24px; }
  .calling-base, .adv-card { grid-template-columns: 1fr; gap: 16px; }
  .adv-media { width: min(100%, 200px); justify-self: center; }
  .adv-btn { flex: 1 1 auto; min-width: 0; font-size: 14px; letter-spacing: .02em; padding-right: 14px; }
  .adv-btn img { width: 36px; height: 36px; }
  .adv-state { margin: 8px 0 0; }
}

/* final call */
.final { min-height: min(70vh, 620px); display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--ink); }
.final-art { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: 50% 45%; animation: pan 14s linear infinite alternate; }
.final-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(42, 32, 24, .12) 0%, rgba(42, 32, 24, .32) 100%); }
@keyframes pan { from { transform: scale(1); } to { transform: scale(1.05) translate3d(-1.2%, -.6%, 0); } }
.final-copy { display: grid; justify-items: center; gap: 14px; padding: 40px 48px; max-width: 640px; }
.final-copy h2 { margin: 0; font-size: clamp(32px, 4vw, 54px); }
.final-copy .btn-play { min-width: 240px; margin-top: 6px; }
@media (max-width: 699px) { .final { min-height: 0; } .final-copy { padding: 28px 20px; width: 100%; } .final-copy .btn-play { width: 100%; min-width: 0; } }

/* footer */
.foot-grid { display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { border-radius: 50%; }
.foot-account h3, .foot-notes h3 { font-size: 20px; }
.foot-account p { margin: 8px 0 16px; max-width: 46ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; font: 700 var(--fs-cap)/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.foot-links a { padding: 12px 0; } .foot-links a:hover { color: var(--gold); }
.foot-legal { margin-top: 16px; padding: 14px 20px; display: grid; gap: 4px; font-size: var(--fs-xs); color: var(--text-2); }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 699px) { .foot-account .btn { width: 100%; } .foot-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0; } }

/* ---------- motion (kept from motion.css: JS relies on these class names) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 350ms var(--ease), transform 350ms var(--ease); transition-delay: calc(var(--m-i, 0) * 60ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal-card { opacity: .35; transform: translateY(24px); transition: opacity 450ms var(--ease), transform 450ms var(--ease); transition-delay: calc(var(--m-i, 0) * 60ms); }
.reveal-card.in { opacity: 1; transform: none; }
a, button { transition-duration: 200ms; }
@keyframes m-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes m-out { from { opacity: 1; } to { opacity: 0; } }
.m-swap { animation: m-in 300ms ease-out 40ms both; }
.m-ghost-host { position: relative; }
.m-ghost-host > :not(.m-ghost) { position: relative; z-index: 1; }
.m-ghost { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: block; padding: 0; }
.m-ghost :is(h3, h4, p, dl, .adv-label, .adv-row, .adv-tag, .adv-state, .lock-line, .open-line, .role) { animation: m-out 120ms ease-in both; }
@supports (view-transition-name: a) {
  #calling-panel.vt-scope .calling-base > .base-fig { view-transition-name: vt-base-pic; }
  #calling-panel.vt-scope .calling-base > div:not(.adv-media) { view-transition-name: vt-base-text; }
  #calling-panel.vt-scope .adv > .adv-row { view-transition-name: vt-adv-row; }
  #calling-panel.vt-scope .adv-card > .adv-media, .adv-card.vt-scope > .adv-media { view-transition-name: vt-adv-pic; }
  #calling-panel.vt-scope .adv-card > div:not(.adv-media), .adv-card.vt-scope > div:not(.adv-media) { view-transition-name: vt-adv-text; }
  #realm-card.vt-scope > h3 { view-transition-name: vt-r-name; }
  #realm-card.vt-scope > .element { view-transition-name: vt-r-element; }
  #realm-card.vt-scope > .law { view-transition-name: vt-r-law; }
  #realm-card.vt-scope > ul { view-transition-name: vt-r-list; }
  .m-swap { animation: none; }
}
::view-transition-old(root) { display: none; }
::view-transition-new(root) { animation: none; }
::view-transition-group(*) { animation-duration: 340ms; animation-timing-function: var(--ease); }
::view-transition-old(vt-base-pic), ::view-transition-old(vt-adv-pic) { animation: vt-out 260ms cubic-bezier(.4, 0, .6, 1) both; mix-blend-mode: plus-lighter; }
::view-transition-new(vt-base-pic), ::view-transition-new(vt-adv-pic) { animation: vt-fade 260ms cubic-bezier(.4, 0, .6, 1) both; mix-blend-mode: plus-lighter; }
::view-transition-image-pair(vt-base-pic), ::view-transition-image-pair(vt-adv-pic) { isolation: isolate; }
::view-transition-old(vt-base-text), ::view-transition-old(vt-adv-text), ::view-transition-old(vt-adv-row), ::view-transition-old(vt-r-name), ::view-transition-old(vt-r-element), ::view-transition-old(vt-r-law), ::view-transition-old(vt-r-list) { animation: vt-out 120ms cubic-bezier(.4, 0, 1, 1) both; mix-blend-mode: normal; width: auto; height: auto; }
::view-transition-new(vt-base-text), ::view-transition-new(vt-adv-text), ::view-transition-new(vt-adv-row), ::view-transition-new(vt-r-name), ::view-transition-new(vt-r-element), ::view-transition-new(vt-r-law), ::view-transition-new(vt-r-list) { animation: vt-in 230ms var(--ease) 90ms both; mix-blend-mode: normal; width: auto; height: auto; }
::view-transition-group(vt-base-text), ::view-transition-group(vt-adv-text), ::view-transition-group(vt-adv-row), ::view-transition-group(vt-r-name), ::view-transition-group(vt-r-element), ::view-transition-group(vt-r-law), ::view-transition-group(vt-r-list) { animation: none; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-fade { from { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-card { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* r25c phone: the Play band shows its painting; the copy sits low over a soft local shade, not a glass slab */
@media (max-width: 699px) {
  .final { min-height: 100svh; display: grid; align-items: end; }
  .final-copy { background: radial-gradient(ellipse at 50% 60%, rgba(30, 22, 14, .55), rgba(30, 22, 14, 0) 72%) !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; margin-bottom: 40px; }
  .final-copy h2, .final-copy .eyebrow, .final-copy .note, .final-copy .req { text-shadow: 0 2px 14px #000, 0 0 3px #000; }
}

/* ===== r26 (#1014): r25/c critic notes (desktop 6.8/7.0, phone 7.0/7.0) ===== */
/* header over the hero reads as one row: no brown band, the hero emblem sits on the bar's centre line */
.bar:not(.solid):not(.open) { background: linear-gradient(180deg, rgba(30, 22, 14, .55), rgba(30, 22, 14, 0)); border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-logo { top: calc((var(--bar-h) - 64px) / 2); }
.hero-logo .wordmark { text-shadow: 0 2px 10px rgba(20, 12, 4, .95), 0 0 3px #000; }
.hero-copy { top: calc(var(--bar-h) + 56px); }
/* hero notes: one plain line, readable, on a shade */
.promo { font: 600 15px/1.35 var(--body); letter-spacing: .02em; text-transform: none; background: rgba(42, 32, 24, .62); }
.cta-notes .note { font: 600 16px/1.35 var(--body); letter-spacing: .02em; text-transform: none; }
/* hero controls: bigger, on a backing */
.motion-toggle, .sound-toggle { background: rgba(42, 32, 24, .7); }
.hero-dots { padding: 8px 10px; border-radius: 999px; background: rgba(42, 32, 24, .55); }
.hero-dots i { width: 26px; height: 5px; }
/* one panel value everywhere */
.sheet, .frame, .realm-card, .calling-panel, .foot-grid, .foot-legal, .head, .intro .lead, .final-copy { background: var(--glass) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* card text */
.shot figcaption p, .game-clip p, .frame figcaption p { font-size: 16px; line-height: 1.45; }
/* World copy */
.prose { font-size: 17px; line-height: 1.5; color: #efe6d6; }
.prose p:first-child { font-size: 19px; }
/* backdrops: half the blur so the painting reads */
#realms::before { filter: blur(7px) saturate(1) brightness(1.05) !important; }
/* realms: active tab filled gold; card content centred, no dead lower half */
.tab[aria-selected="true"] { color: #2a1a05; background: linear-gradient(180deg, #f6e2ac, var(--gold)); border-color: #6b4a17; }
.realm-card { align-content: center; }
.arrow { opacity: .9; background: rgba(42, 32, 24, .75); border: 1px solid var(--glass-edge); }
/* callings: locked medals readable, panel without dead space, portraits blend into the card */
.calling.locked img { filter: grayscale(.4) brightness(1.15); }
.calling .lock-cap { font-size: 14px; padding: 2px 8px; border-radius: 999px; background: rgba(42, 32, 24, .7); }
.calling-panel { align-items: center; }
.calling-base, .adv-card { align-items: center; }
.calling-panel .big, .calling-base img, .adv-card img { background: radial-gradient(ellipse at 50% 35%, #7a5c3c, #3e2e1e 75%); }
/* Play band: bigger CTA */
.final-copy .btn-play { min-width: 300px; min-height: 64px; font-size: 20px; }
.final-copy .req, .final-copy .made, .req { font-size: 14px; }
/* footer: legal joins the main box */
.foot-legal { margin-top: -1px; border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.foot-grid { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.foot-legal, .foot-legal p { font-size: 14px; }
@media (max-width: 699px) {
  .hero-logo { top: calc((var(--bar-h) - 44px) / 2); }
  .menu-btn { background: rgba(42, 32, 24, .6); }
  .promo { font-size: 14px; }
  .cta-notes .note { font-size: 15px; }
  /* realm tabs 3 + 2, equal widths */
  .tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tabs > .tab { grid-column: span 2; padding: 10px 6px; }
  .tabs > .tab:nth-child(4) { grid-column: 2 / span 2; }
  .tabs > .tab:nth-child(5) { grid-column: 4 / span 2; }
  .calling .lock-cap { font-size: 13px; }
  .foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .foot-links a { min-height: 44px; display: flex; align-items: center; }
  .final-copy { margin-bottom: 64px; }
}
/* r26b: the hero copy offset is a desktop rule (on a phone the copy sits at the bottom, under the whole painting); phone realm tabs = one swipe row */
@media (max-width: 699px) and (orientation: portrait) { .hero-copy { top: auto; } }
@media (max-width: 699px) {
  .tabs { display: flex !important; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs > .tab { flex: none; scroll-snap-align: start; padding: 10px 16px; font-size: 14px; }
}

/* ===== r27 (#1014): r26/b critic notes (desktop 7.9/8.0, phone 7.8/7.9) ===== */
:root { --glass: rgba(56, 41, 27, .7); }                           /* one panel value, more contrast for prose (all four critics) */
.hero-copy::before { background: radial-gradient(closest-side, rgba(36, 26, 18, .72) 0%, rgba(36, 26, 18, .5) 60%, rgba(36, 26, 18, 0) 100%); }
.cta-notes :is(.made, .req) { font-size: 15px; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.hero-dots, .motion-toggle, .sound-toggle { box-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
@media (min-width: 900px) { .head { max-width: none; margin-inline: 0; } }  /* section titles span the content width, edges line up with the grids */
.calling .lock-cap { margin-top: 6px; display: inline-block; padding: 3px 10px; }
.foot-links a { display: inline-flex; align-items: center; gap: 6px; }
.foot-links a::after { content: "\203A"; color: var(--gold); font-size: 1.2em; line-height: 1; }
.foot-account .btn { border: 1px solid var(--gold); color: var(--gold); }
.foot-legal, .foot-notes p, .foot .made, .foot .req { font-size: 14px; }
@media (max-width: 699px) and (orientation: portrait) {
  /* the painting sits directly under the bar (no blurred band above it); the hero is only as tall as painting + words */
  .hero { --stage-top: var(--bar-h); height: calc(var(--bar-h) + var(--stage-h) + 400px); min-height: 0; }
  .hero-copy { top: calc(var(--stage-top) + var(--stage-h) + 34px); bottom: auto; }
  .hero-logo { top: calc((var(--bar-h) - 44px) / 2); }
}
@media (max-width: 699px) {
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  /* Play band: the whole painting (16:9) on top, words under it: no cropped close-up */
  .final { min-height: 0; display: block; padding-block: 0 var(--sec); }
  .final-art { position: relative; inset: auto; display: block; width: 100%; z-index: 0; height: calc(100vw * 9 / 16); background-size: contain; background-position: 50% 0; background-repeat: no-repeat; animation: none; }
  .final-art::after { display: none; }
  .final-copy { margin: 16px var(--gutter) 0; width: auto; }
  .final-copy h2, .final-copy .eyebrow, .final-copy .note, .final-copy .req { text-shadow: none; }
}

/* ===== r28 (#1014): r27/b critic notes (desktop 7.7/7.9, phone 7.9/8.1) ===== */
/* portraits: their dark backdrop fades into the warm frame instead of a pasted-on black box */
.adv-media .fig, .adv-media canvas.fig-live { -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 44%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 44%, #000 58%, transparent 100%); }
@media (min-width: 900px) { .calling-base, .adv-card { grid-template-columns: 270px minmax(0, 1fr); } .calling-panel { padding-block: 28px; } }
.calling-row { align-items: flex-start; }                         /* every medal label on one baseline */
/* hero: the starter-gear line is a note, not a third button; controls readable on busy art */
.promo { background: rgba(36, 26, 18, .6); border-color: transparent; }   /* a quiet note on its own row: no gold border, so it no longer reads as a third button */
.motion-toggle, .sound-toggle { background: rgba(36, 26, 18, .78); }
.hero-dots { background: rgba(36, 26, 18, .72); }
.req, .final-copy .req { font-size: 15px; color: #efe6d6; }
/* footer: the four links on one row, no empty middle column */
@media (min-width: 900px) { .foot-grid { grid-template-columns: auto minmax(0, 1fr) auto; } .foot-links { flex-wrap: nowrap; } .foot-links a { white-space: nowrap; } }

/* ===== r29 (#1014) NEW-APPROACH structural pass (FAILURE-REVIEW landing-r25-polish): only the items every round repeated ===== */
/* compact section titles: a title + one line, not a slab */
.head { padding: 14px 28px; margin-bottom: 24px; }
.head .lead { margin-top: 6px; }
@media (max-width: 699px) { .head { padding: 14px 16px; margin-bottom: 16px; } }
/* backdrops: half the blur, so the art reads as a place, not mud */
#realms::before { filter: blur(3px) saturate(1) brightness(1) !important; }
.sheet, .frame, .realm-card, .calling-panel, .foot-grid, .foot-legal, .head, .intro .lead, .final-copy { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
/* World: the bright rainbow sky no longer fights the card */
#world { background-image: linear-gradient(180deg, rgba(36, 26, 18, .62), rgba(36, 26, 18, .5)), url("art/band-free.webp"); }
@media (max-width: 699px) { #world { background-image: linear-gradient(180deg, rgba(36, 26, 18, .62), rgba(36, 26, 18, .5)), url("art/band-free-900.webp"); } }
/* footer: the hall reads as a place */
.foot { background-image: linear-gradient(180deg, rgba(36, 26, 18, .12), rgba(36, 26, 18, .3)), url("art/band-skills.webp"); }
/* Journey on desktop: the two place cards are the same height as the three shots above them */
@media (min-width: 900px) { .journey-grid .shot img { aspect-ratio: 7 / 3; } }
/* one lock cue: the badge on the medal; 'Members' is a plain caption, not a second pill */
.calling .lock-cap { background: none; padding: 0; margin-top: 4px; }
/* hero trust line sits on a plate like the gear note */
.cta-notes .made { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(36, 26, 18, .6); }

/* ===== r30 (#1014): r29/a critic notes (desktop 7.8/7.8, phone 7.9/7.8), all four agreed ===== */
/* body text: the critics read 17px Alegreya as ~14-15px; one step up */
:root { --fs-body: 18px; --fs-lead: 20px; }
@media (max-width: 699px) { :root { --fs-body: 17px; --fs-lead: 18px; } }
figcaption p, .realm-card li, .sheet p { font-size: var(--fs-body); color: #f1e8d8; }
/* hero: the creator line is said once (the Journey card), so the first screen ends cleanly on the phone */
.hero .cta-notes .made { display: none; }
/* callings: text top-aligned with its portrait, bigger portraits, so no column ends in a blank block */
.calling-base, .adv-card { align-items: start !important; }
@media (min-width: 900px) { .calling-base, .adv-card { grid-template-columns: 300px minmax(0, 1fr); } .calling-panel { align-items: center; } }   /* the shorter column sits centred against the taller one */
.calling-panel .chip, .calling-panel dd span, .adv-tag { font-size: 15px; }
/* lock caption on one line under every medal */
.calling .lock-cap { white-space: nowrap; letter-spacing: .06em; }
@media (max-width: 699px) { .calling .lock-cap { font-size: 12px; } }
/* realm pager dots readable */
.dots i { width: 12px; height: 12px; background: rgba(246, 236, 214, .8); box-shadow: 0 0 0 1px rgba(36, 26, 18, .6); }
/* footer: tighter, legal 14px */
.foot { padding-block: calc(var(--sec) * .7); }
.foot-legal, .foot-notes p { font-size: 14px; color: #e9dfcc; }

/* ===== r31 (#1014): r30/b critic notes (desktop 7.8/7.7, phone 7.9/8.1) ===== */
/* callings: smaller portraits so the text column fills the card, no blank block beside them */
@media (min-width: 900px) { .calling-base, .adv-card { grid-template-columns: 240px minmax(0, 1fr); } .adv-card .adv-media { width: 200px; } }
/* world: text card and picture the same height, tighter band */
#world { padding-block: calc(var(--sec) * .7); }
@media (min-width: 900px) { #premise-art { display: flex; margin: 0; } #premise-art img { flex: 1; min-height: 100%; } }
/* hero controls: bigger, solid backing; stronger left scrim on desktop */
.motion-toggle, .sound-toggle { width: 48px; height: 48px; background: rgba(36, 26, 18, .88); border-color: rgba(214, 178, 110, .7); }
@media (min-width: 900px) { .hero-copy::before { background: radial-gradient(closest-side, rgba(36, 26, 18, .82) 0%, rgba(36, 26, 18, .6) 62%, rgba(36, 26, 18, 0) 100%); } }
/* phone: room between the picture's dots and the eyebrow; less space under the Play card; first realm tab keeps the gutter */
@media (max-width: 699px) and (orientation: portrait) {
  .hero { height: calc(var(--bar-h) + var(--stage-h) + 416px); }
  .hero-copy { top: calc(var(--stage-top) + var(--stage-h) + 50px); }
}
@media (max-width: 699px) {
  .final { padding-block: 0 24px; }
  .tabs { scroll-padding-inline: var(--gutter); }
}
@media (min-width: 900px) { .calling-base { align-items: center !important; } }   /* r31b: short text centred on its portrait, no blank block under it */

/* ===== r32 (#1014): r31/b critic notes (desktop 7.9/8.3, phone 7.9/8.0) ===== */
/* panels: solid enough to read, no frosted blur, so the art around them stays sharp instead of muddy */
:root { --glass: rgba(44, 32, 21, .8); }
.sheet, .frame, .realm-card, .calling-panel, .foot-grid, .foot-legal, .head, .intro .lead, .final-copy { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* small labels up to a readable floor */
.calling .medal-cap, .calling .lock-cap { font-size: 14px; }
@media (max-width: 699px) { .calling .medal-cap, .calling .lock-cap { font-size: 13px; } }
.shot figcaption p, .game-clip p, .frame figcaption p { font-size: var(--fs-body); }
.req, .final-copy .req { font-size: 16px; color: #f3ead8; }
.foot-links a { font-size: 16px; }
/* realm arrows: solid disc with a gold rim */
.arrow { opacity: 1; background: rgba(30, 22, 14, .92); border: 1px solid rgba(214, 178, 110, .8); }
/* r32c: Stone, the darkest realm, put the phone band over the near-black limit (5.0 %); panels a warmer, lighter brown at the same opacity, realm backdrop a little brighter */
:root { --glass: rgba(60, 44, 29, .8); }
#realms::before { filter: blur(3px) saturate(1) brightness(1.2) !important; }

/* ===== r35 (#1014) owner 2026-11-17. Built on the approved r32 (site-r25); desktop rules below apply only to the DESKTOP CANDIDATE, r32 stays frozen in site-r25.
   09:58:33Z + 10:25:15Z: phone realms = the ORIGINAL screen (r25/c phone-04-realms.jpg): one button per realm, all visible, tap to change, the open realm
   outlined in its tint (green Thalenyr); every button the same width (ORCH 10:25:15Z); no swipe row (undoes r26 site.css:476-481, :487-493) and no second control
   on the picture (dots + arrows hidden on phone).
   10:28:09Z: the class preview panel goes BACK to the ORIGINAL PARCHMENT TAN (site-r22 grid.css:531-534); the r24 brown glass (r24.css:22) was never his; NO teal. */
@media (max-width: 699px) {
  .tabs { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: visible; scroll-snap-type: none; margin: 0 0 20px; padding: 0; }
  .tabs > .tab { grid-column: auto; width: 100%; min-height: 50px; padding: 12px 10px; font-size: 16px; letter-spacing: .03em; justify-content: center; text-align: center; }
  /* r50 (g, owner L3 b): the r36 'last odd button centred at half width' rule is removed here; r50.css puts Thalenyr full width and the other four in a 2x2 grid */
  .tab[aria-selected="true"] { color: #fff7e0; background: rgba(110, 82, 46, .85); border: 2px solid var(--tint); box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 14px color-mix(in srgb, var(--tint) 45%, transparent); }
  .realm-media .arrow { display: none !important; }   /* r50 (a): phone dots back (owner 14:12:25Z), rule moved to r50.css */
}
/* r50 (b): the r36 parchment Callings block (10 rules) removed: owner 14:14:34Z 'roll back the parment for the callings'; glass rules in r50.css */
@media (max-width: 699px) { .tabs { -webkit-mask-image: none !important; mask-image: none !important; } }   /* r35: the r26b swipe row edge fade (mask) faded the right-hand buttons */
/* r35: a Path with no picture yet = its calling's sigil on a dark plate the size of a portrait (owner 10:33Z: no invented art) */
#callings .adv-media.adv-slot { aspect-ratio: 3 / 4; display: grid; place-items: center; border-radius: 14px; border: 2px solid rgba(214, 178, 110, .7);
  background: radial-gradient(ellipse 70% 55% at 50% 48%, color-mix(in srgb, var(--ctint, #ffb066) 26%, #3a2616), #20150b 82%) !important; box-shadow: 0 10px 24px rgba(46, 29, 12, .35); }
#callings .adv-slot .slot-icon { width: 44%; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
/* r35 SECTION CONTRAST (owner 10:28:09Z 'no color contrast between sections'): the World sheet goes back to the light parchment it had before r24.css:22, like the class panel */
html body .sheet { background: radial-gradient(ellipse 120% 90% at 30% 20%, #d6c59e 0%, #c5ae83 78%, #ad9460 100%) !important; border: 1px solid rgba(46, 29, 12, .45) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; }
html body .sheet h2, html body .sheet .prose, html body .sheet .prose p, html body .sheet .prose p:first-child { color: #2e1d0c !important; }
html body .sheet .prose p + p { color: #3a2a17 !important; }
html body .sheet .eyebrow { color: #7a4512 !important; }
@media (max-width: 699px) { #callings .adv-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } #callings .adv-row > .adv-btn { width: 100%; min-width: 0; } #callings .adv-row > .adv-btn:only-child, #callings .adv-row > .adv-btn:last-child:nth-child(odd) { grid-column: 1 / -1; } }   /* r35: Path buttons equal width, two per row */
/* r35 MOTION (owner 10:28:09Z 'missing animated pages'): the still band backdrops drift slowly on the GPU (transform only), like the World/Final paintings; nothing new is drawn */
.band { overflow: clip; }
#journey::before, #realms::before, #callings::before { animation: r35-drift 26s ease-in-out infinite alternate; transform-origin: 50% 50%; will-change: transform; }
@keyframes r35-drift { from { transform: scale(1.04) translate3d(-1%, 0, 0); } to { transform: scale(1.1) translate3d(1.2%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { #journey::before, #realms::before, #callings::before { animation: none; } }
/* ===== r35f (#1014, critics r35/e: desktop 8.1/7.9, phone 7.8/7.6) ===== */
/* phone A1/A2, B4: Path pills clipped (Shadowknight) and uneven -> one line, smaller sigil, 2 equal columns */
@media (max-width: 699px) {
  #callings .adv-row > .adv-btn { min-height: 48px; padding: 4px 10px 4px 4px; gap: 7px; white-space: nowrap; font-size: 13px; letter-spacing: .02em; }
  #callings .adv-row > .adv-btn img { width: 34px; height: 34px; flex: none; }
  #callings .adv-row > .adv-btn span { overflow: hidden; text-overflow: clip; }
  #callings .adv-card .adv-media { width: min(56vw, 220px); margin-inline: auto; }   /* A3, B4: the section was ~2000 px tall */
  #realms::before { filter: blur(3px) brightness(.85) !important; }                /* A7, B3: muddy realm backdrop */
}
/* desktop A4/B5: the Path card left ~250 px empty at right -> portrait + text side by side, centred, no tall floor */
@media (min-width: 900px) {
  #callings .adv-card { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 30px; align-items: center; }
  #callings .adv-card h4 { font-size: clamp(30px, 2.4vw, 38px); }
  #callings .adv-card .role { font-size: 15px; }
  html body .calling-panel { min-height: 0 !important; }
}
/* A, B: MEMBERS captions weaker than PLAYABLE; header card weakest on the dragon -> brighter caption with shade, darker card */
#callings .calling .lock-cap { color: #f4e8cc; text-shadow: 0 1px 3px #000, 0 0 10px rgba(0, 0, 0, .8); }
#callings .head { background: rgba(34, 25, 16, .82) !important; }
/* hero B1/A9: the 'Free' line sat bare on busy art -> the same dark plate as the gear pill */
.hero .cta-notes .note { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(30, 22, 14, .62); }
/* footer A, B: small low-contrast legal text, thin card */
.foot-legal, .req, .made { font-size: 14px; }
.foot-grid, .foot-legal { background: rgba(44, 32, 20, .74) !important; }
.final .req { font-size: 15px; color: #efe3c6; }
@media (max-width: 699px) { #callings .adv-row { grid-template-columns: 1fr !important; gap: 8px; } #callings .adv-row > .adv-btn { font-size: 15px; letter-spacing: .03em; } #callings .adv-row > .adv-btn:last-child:nth-child(odd) { grid-column: auto; } }   /* r35f2: two columns clipped Shadowknight / Dragon Knight -> one full-width pill per Path */
/* ===== r35h (#1014, critics r35/g: desktop 7.9/7.8, phone 7.5/8.0) ===== */
html body .calling-panel .about { margin-top: 10px; font: 400 18px/1.5 var(--body); max-width: 42ch; }   /* r50 (b): the parchment-era dark colour !important removed; the glass panel text colour comes from r50.css */
@media (min-width: 900px) { #callings .adv-card { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); align-items: center; } }
/* phone: the Path portrait sits beside its text (the section was ~2000 px with two stacked portraits) */
@media (max-width: 699px) {
  #callings .adv-card { display: grid !important; grid-template-columns: 42% 1fr; gap: 14px; align-items: start; }
  #callings .adv-card .adv-media { width: 100% !important; margin: 0; }
  html body .calling-panel .about { font-size: 16px; }
  #callings .adv-card h4 { font-size: 24px; }
}
/* captions: one line each, the same baseline under every medallion */
#callings .calling .medal-cap { white-space: nowrap; margin-top: 2px; line-height: 1.2; }
/* hero: the 'Free' plate fits its words */
.hero .cta-notes { justify-items: start; } .hero .cta-notes .note { width: fit-content; max-width: 100%; }
/* desktop candidate: one realm selector (owner 10:25:15Z 'overdoing it' was said of phone; the candidate follows it, r32 keeps its dots) */
@media (min-width: 700px) { #realm-dots { display: none; } }   /* r50 (a): desktop unchanged */
html body .realm-card { background: rgba(40, 29, 18, .86) !important; }
.foot-legal, .foot-legal * { font-size: 14px !important; }

/* ===== r35i (#1014 NEW-APPROACH after 3 rounds under 8): one page-wide pass =====
   PANEL RULE: reading-text content panels (World sheet, Callings panel, Realm detail card) = parchment;
   section headers, nav, CTA and footer = dark glass. */
html body .realm-card { background: radial-gradient(ellipse 120% 90% at 30% 20%, #d6c59e 0%, #c5ae83 78%, #ad9460 100%) !important;
  color: #2e1d0c !important; border: 1px solid rgba(46,29,12,.45) !important; backdrop-filter: none !important; box-shadow: 0 14px 40px rgba(0,0,0,.4) !important; }
html body .realm-card :is(h3, h4, p, li, dd, span) { color: #2e1d0c !important; text-shadow: none !important; }
html body .realm-card :is(dt, .born, .label) { color: #6b3a10 !important; }
html body .realm-card .element { color: color-mix(in srgb, var(--tint) 40%, #1e1408) !important; }
html body .realm-card .law b { color: #6b3a10 !important; }
html body .realm-card li::marker, html body .realm-card li::before { color: #6b3a10 !important; }
/* b. phone realms: five stacked full-width buttons, all the same width */
/* r50 (g, owner L3 b replaces the five stacked buttons): rule removed; r50.css sets Thalenyr full width + 2x2 */
/* c. hero: the gear note and the 'Free' line are ONE dark line under PLAY */
html body .hero .cta-notes { display: block !important; width: fit-content; max-width: 100%; padding: 8px 14px; border-radius: 12px; background: rgba(28, 20, 12, .72); }
html body .hero .cta-notes .made { display: none !important; }
@media (max-width: 699px) { html body .hero .cta-notes :is(.note, .promo) { display: inline !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; font-size: 15px !important; } }  /* r58d: phone only */
@media (max-width: 699px) { html body .hero .cta-notes .note::before { content: none !important; } }  /* r58d: phone only */
@media (max-width: 699px) { html body .hero .cta-notes .promo + .note::before { content: "  ·  " !important; color: #e3c27a; } }  /* r58d: phone only */
html body .hero .cta-notes .promo-gem { display: inline-block; vertical-align: middle; margin-right: 8px; }
html body .hero .cta-notes .req { display: none !important; }
/* d. journey: the atlas card shows the whole map (title included); captions 16px */
#game-band video[poster*="thalenyr-atlas"] { object-fit: contain !important; object-position: 50% 50% !important; background: #241a10; }
:is(#game-band, #journey-grid) figcaption p { font-size: 18px !important; line-height: 1.5; }
:is(#game-band, #journey-grid) figcaption h3 { font-size: 20px !important; }
/* e. footer: WebGPU line only in Play; Sign in filled gold-tint; Explore rows 44px; legal 14px brighter */
.foot-legal p[data-t="WEBGPU_NOTE"] { display: none !important; }
html body #sign-in { background: linear-gradient(180deg, rgba(227,194,122,.28), rgba(227,194,122,.16)) !important; border: 2px solid #e3c27a !important; color: #fff3d6 !important; }
.foot-links a { min-height: 44px; display: inline-flex !important; align-items: center; }
.foot-legal, .foot-legal * { font-size: 14px !important; color: #e9dcc0 !important; }
/* f. phone play: the art fades into the panel, no seam */
@media (max-width: 699px) {
  .final-art { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
}
html body .realm-card li::before { background: #6b3a10 !important; }

/* ===== r35k (#1014): the shared notes of all four r35/j critics ===== */
/* journey atlas fills its card again, anchored top-left so the map title stays in */
#game-band video[poster*="thalenyr-atlas"] { object-fit: cover !important; object-position: 8% 6% !important; }
/* hero: gear line on line 1, the Free line on line 2, one strip */
@media (max-width: 699px) { html body .hero .cta-notes .promo { display: block !important; } }  /* r58d: phone only */
@media (max-width: 699px) { html body .hero .cta-notes .note { display: block !important; margin-top: 4px !important; color: #f4e8cc !important; } }  /* r58d: phone only */
@media (max-width: 699px) { html body .hero .cta-notes .promo + .note::before { content: none !important; } }  /* r58d: phone only */
/* footer: firmer panel, brighter legal, stronger Sign in */
.foot-grid, .foot-legal { background: rgba(38, 27, 17, .86) !important; }
.foot-legal, .foot-legal * { font-size: 15px !important; color: #f1e6cc !important; }
html body #sign-in { background: rgba(227, 194, 122, .34) !important; }
.foot-links a { font-size: 16px !important; }
/* realms: unselected buttons lighter with a gold hairline */
.tab:not([aria-selected="true"]) { background: rgba(84, 62, 38, .82) !important; border: 1px solid rgba(227, 194, 122, .55) !important; }
/* callings: lock / medal labels larger */
#callings .calling .medal-cap, #callings .calling .lock-cap { font-size: 15px !important; }
@media (max-width: 699px) { #callings .calling .medal-cap, #callings .calling .lock-cap { font-size: 14px !important; } }
/* play (phone): the panel overlaps the art's faded foot, no seam */
@media (max-width: 699px) { #play .final-copy { position: relative; z-index: 1; margin-top: -48px !important; } }
/* small text floor on cards and notes */
:is(.final, .foot) :is(.req, .note) { font-size: 15px !important; }

/* ===== r35l (#1014): DESKTOP ONLY (min-width 700px); phone r35/k passed and stays pixel-identical ===== */
@media (min-width: 700px) {
  /* callings: the lock mark sits on the medal's top-right, clear of the name */
  #callings .calling .lock-mark { top: -4px !important; bottom: auto !important; right: -6px !important; }
  /* path card: the PLAYABLE chip lines up with the text column, not indented */
  #callings .adv-card .adv-state { margin-left: 0 !important; align-self: start; }
  /* world: taller section and larger body text */
  #world { padding-block: calc(var(--sec) * 1.15) !important; }
  #world .sheet p { font-size: 18px !important; line-height: 1.6; color: #2a1a0a !important; }
  /* footer: lifted panel, three balanced columns, Explore as a 2x2 block */
  /* r55: foot fill moved to r55.css (one card colour family) */
  .foot-grid { grid-template-columns: auto 1.3fr 1fr !important; gap: 48px !important; align-items: start; padding: 32px 36px !important; }
  .foot-links { display: grid !important; grid-template-columns: repeat(2, max-content); column-gap: 32px; }
  /* play: the WebGPU note brighter */
  #play .req { color: #f4e8cc !important; }
}


/* ===== r36 (#1014): race locks in the 'Make your character' card; the creator's red seal (Characters f14a69bd4 startPage.css .sp-seal) ===== */
.race-row { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.race-row .race { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 8px; border-top: 1px solid rgba(227, 194, 122, .28); }
.race-name { font: 700 15px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #f6ecd6; }
.race.is-locked .race-name { color: #cdbf9f; }
.race-open { font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #dff3d0; background: #2f6a2a; padding: 5px 10px; border-radius: 999px; }
.race-seal { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1.25 var(--display); letter-spacing: .03em; color: #f3d9c4; }
.race-seal svg { flex: none; width: 14px; height: 14px; padding: 5px; border-radius: 50%; color: #f3e3bd; background: radial-gradient(circle at 40% 35%, #b8322a, #6e1410); box-shadow: 0 0 0 2px #3a250f; }

/* ===== r36 FOOTER MOTION (#1014, DECIDED-BY-ORCH 10:28Z 'motion on the still sections'): the footer painting moves to a ::before layer and drifts on the GPU (transform only) like the r35 bands; a soft warm light breathes over it; reduced-motion = still ===== */
.foot { overflow: clip; background: var(--ink) !important; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 26, 18, .12), rgba(36, 26, 18, .3)), url("art/band-skills.webp") 50% 22% / cover no-repeat;
  transform-origin: 50% 40%; animation: r35-drift 26s ease-in-out infinite alternate; will-change: transform; }
.foot::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 45% at 30% 30%, rgba(255, 196, 120, .16), transparent 70%);
  animation: r36-glow 9s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes r36-glow { from { opacity: .35; transform: translate3d(-4%, 0, 0); } to { opacity: 1; transform: translate3d(8%, 6%, 0); } }
@media (max-width: 899px) { .foot::before { background-image: linear-gradient(180deg, rgba(36, 26, 18, .12), rgba(36, 26, 18, .3)), url("art/band-skills-900.webp"); } }
@media (prefers-reduced-motion: reduce) { .foot::before, .foot::after { animation: none; } }

/* ===== r36b (#1014, critics r36/crit: desktop 7.9/7.8, phone 7.8/8.0) ===== */
/* race lines read at a glance: larger names, brighter locked line, a bigger lock in the seal (critics: '12 px', 'red dot unclear') */
.race-name { font-size: 16px; }
.race.is-locked .race-name { color: #e6d8b8; }
.race-open { font-size: 13px; padding: 6px 12px; color: #effbe6; background: #33782d; }
.race-seal { font-size: 15px; color: #fbe9d6; }
.race-seal svg { width: 16px; height: 16px; padding: 6px; }
/* journey cards: the two shorter cards' pictures grow to the row height instead of leaving brown space under the text (desktop) */
@media (min-width: 900px) {
  #game-band > figure { display: flex; flex-direction: column; }
  #game-band > figure > :is(img, video) { flex: 1 0 auto; min-height: 0; height: auto; }
}
/* Play -> footer seam: the Play painting fades to ink at its foot and the footer painting rises out of ink, with a gold hairline between (critics: 'hard seam at y 490') */
@media (min-width: 700px) { .final-art { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); } }
.foot::before { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 120px); mask-image: linear-gradient(180deg, transparent 0, #000 120px); }
.foot { border-top: 1px solid rgba(226, 190, 112, .55); }
/* footer motion visible in a few seconds: faster drift + embers rising through the painting (one tile per loop, seamless) */
.foot::before { animation-duration: 14s; }
.foot::after { inset: -240px 0 0 0;
  background:
    radial-gradient(circle 2.2px at 12% 18%, rgba(255, 190, 110, .95), transparent 100%),
    radial-gradient(circle 1.6px at 37% 64%, rgba(255, 214, 150, .85), transparent 100%),
    radial-gradient(circle 2.6px at 58% 32%, rgba(255, 170, 90, .9), transparent 100%),
    radial-gradient(circle 1.8px at 81% 76%, rgba(255, 205, 140, .85), transparent 100%),
    radial-gradient(circle 2px at 93% 12%, rgba(255, 185, 105, .9), transparent 100%),
    radial-gradient(ellipse 55% 45% at 30% 30%, rgba(255, 196, 120, .12), transparent 70%);
  background-size: 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px, 100% 100%;
  animation: r36-embers 8s linear infinite; }
@keyframes r36-embers { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -240px, 0); } }
@media (prefers-reduced-motion: reduce) { .foot::after { animation: none; } }
/* sign in reads as a live button (phone critics: 'same brown as the card, looks disabled') */
html body #sign-in { background: linear-gradient(180deg, #e6c47a, #c99a48) !important; color: #2a1a0a !important; border-color: #f0d590 !important; }
/* small print floor 15 px */
.foot-legal, .foot-legal p, #play .req, #play .note { font-size: 15px !important; }

/* ===== r36c (#1014, critics r36/crit2: desktop 7.5/7.7, phone 7.7/7.7) ===== */
/* locked peoples: the creator's red seal becomes a red chip carrying its lock and the same words (critics: 'red dot cryptic') */
.race-seal { padding: 6px 14px 6px 6px; border-radius: 999px; background: linear-gradient(180deg, #a3302a, #6e1410); box-shadow: 0 0 0 1px rgba(243, 227, 189, .35); font: 700 14px/1.25 var(--display); letter-spacing: .03em; color: #fbefdc; }
.race-seal svg { width: 14px; height: 14px; padding: 5px; background: #3a0d09; box-shadow: none; }
/* footer motion that reads within three seconds: a wider, quicker drift, a light sweep and larger embers */
.foot::before { animation: r36-drift 9s ease-in-out infinite alternate; }
@keyframes r36-drift { from { transform: scale(1.06) translate3d(-2.5%, 1%, 0); } to { transform: scale(1.16) translate3d(2.5%, -2%, 0); } }
.foot::after {
  background:
    radial-gradient(circle 3.4px at 12% 18%, rgba(255, 190, 110, 1), transparent 100%),
    radial-gradient(circle 2.6px at 37% 64%, rgba(255, 214, 150, .95), transparent 100%),
    radial-gradient(circle 3.8px at 58% 32%, rgba(255, 170, 90, 1), transparent 100%),
    radial-gradient(circle 2.8px at 81% 76%, rgba(255, 205, 140, .95), transparent 100%),
    radial-gradient(circle 3px at 93% 12%, rgba(255, 185, 105, 1), transparent 100%),
    radial-gradient(circle 2.4px at 24% 88%, rgba(255, 220, 160, .9), transparent 100%),
    linear-gradient(105deg, transparent 38%, rgba(255, 214, 150, .16) 50%, transparent 62%);
  background-size: 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px, 100% 100%;
  animation: r36-embers 5s linear infinite; }
@media (prefers-reduced-motion: reduce) { .foot::before, .foot::after { animation: none; } }
/* label floor: realm tabs, Calling states and chips 15 px on desktop, 13 px on phone */
@media (min-width: 700px) { .tab { font-size: 16px !important; } .adv-state, .lock-line, .open-line { font-size: 15px !important; } }
@media (max-width: 699px) { .adv-state, .lock-line, .open-line { font-size: 13px !important; } }
.race-seal svg { box-sizing: content-box; width: 16px; height: 16px; padding: 4px; color: #fbe3b8; }

/* ===== r36d (#1014 NEW-APPROACH after 3 rounds): the footer painting is its own drifting element; a still ink fade above it joins the Play section; no hairline ===== */
.foot { border-top: 0; }
.foot-art { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 26, 18, .12), rgba(36, 26, 18, .3)), url("art/band-skills.webp") 50% 22% / cover no-repeat;
  transform-origin: 50% 40%; animation: r36-drift 9s ease-in-out infinite alternate; will-change: transform; }
@media (max-width: 899px) { .foot-art { background-image: linear-gradient(180deg, rgba(36, 26, 18, .12), rgba(36, 26, 18, .3)), url("art/band-skills-900.webp"); } }
.foot::before { inset: 0 0 auto 0; height: 220px; z-index: -1; background: linear-gradient(180deg, var(--ink) 0, rgba(20, 14, 9, .7) 45%, transparent 100%);
  animation: none; transform: none; will-change: auto; -webkit-mask-image: none; mask-image: none; }
@media (prefers-reduced-motion: reduce) { .foot-art { animation: none; } }
/* r36d: embers on six different tiles and speeds so they never line up into a dotted row */
.foot::after { inset: 0; transform: none;
  background-size: 260px 300px, 340px 380px, 410px 290px, 300px 450px, 370px 330px, 450px 410px, 100% 100%;
  animation: r36-embers-b 7s linear infinite; will-change: background-position; }
@keyframes r36-embers-b { from { background-position: 0 0, 40px 0, 120px 0, 210px 0, 75px 0, 300px 0, 0 0; }
  to { background-position: 0 -300px, 40px -380px, 120px -290px, 210px -450px, 75px -330px, 300px -410px, 0 0; } }
@media (prefers-reduced-motion: reduce) { .foot::after { animation: none; } }

/* ===== r36e (#1014, critics r36/crit4: desktop 7.6/8.0, phone 8.1/7.7) ===== */
/* locked peoples: back to the creator's own seal (round red seal + words, no pill; critics: the pill 'shouts') with a lock large enough to read */
.race-seal { padding: 0; background: none; box-shadow: none; gap: 10px; font: 700 15px/1.3 var(--display); letter-spacing: .03em; color: #f1dcc6; }
.race-seal svg { box-sizing: content-box; width: 15px; height: 15px; padding: 6px; border-radius: 50%; color: #f3e3bd;
  background: radial-gradient(circle at 40% 35%, #b8322a, #6e1410); box-shadow: 0 0 0 2px #3a250f; }
/* Calling state captions under the medallions: 14 px desktop / 13 px phone, brighter */
.medal-cap { font-size: 14px !important; }
.medal-cap.lock-cap { color: #f3e3bd !important; }
@media (max-width: 699px) { .medal-cap { font-size: 13px !important; } }
/* footer painting brighter so the end of the page pays off; journey sky warmed toward the page palette */
.foot-art { filter: brightness(1.18) saturate(1.05); }
#journey::before { filter: blur(3px) saturate(.63) sepia(.22) brightness(1.75); }
/* ===== r36f (#1014): paired X/Y critics r35 vs r36: race-lock caption reads as one sentence-case line with a smaller seal; tighter race rows so the card does not outgrow its row; Explore links as 44 px rows; phone footer scene a touch brighter ===== */
.race-row { margin-top: 10px; gap: 6px; }
.race-row .race { padding-top: 6px; gap: 4px 10px; }
.race-seal { font: 600 14px/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none; color: #f3e3cc; gap: 8px; }
.race-seal svg { width: 12px !important; height: 12px !important; padding: 5px !important; }
@media (min-width: 900px) { .race-seal { white-space: nowrap; } }
.foot-links a { min-height: 44px; font-size: 17px !important; text-underline-offset: 5px; }
.foot-links a:hover, .foot-links a:focus-visible { text-decoration: underline; }
@media (max-width: 699px) { .foot-links a { border-bottom: 1px solid rgba(227, 194, 122, .2); } .foot-art { filter: brightness(1.3) saturate(1.05); } }
/* ===== r36g (#1014): notes repeated in every critic round: hero note box shrinks to its text; quiet controls brighter; footer ends on a Play button (Sign in back to a clear secondary outline); footer panel lighter + larger emblem; WebGPU line 16 px ===== */
@media (max-width: 699px) { html body .hero .cta-notes { flex: 0 0 100%; background: none !important; padding: 0 !important; display: grid !important; justify-items: start; gap: 6px; } }  /* r58d: phone only */
@media (max-width: 699px) { html body .hero .cta-notes > :is(.promo, .note) { display: table !important; width: fit-content; max-width: 100%; padding: 6px 14px !important; border-radius: 999px; background: rgba(28, 20, 12, .72) !important; } }  /* r58d: phone only */
html body .hero .cta-notes .made { display: none !important; }
.sound-toggle { opacity: .9; }
.foot-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.foot-ctas #account-mount { display: contents; }
.foot-play { min-width: 180px; }
html body #sign-in { background: rgba(227, 194, 122, .14) !important; border: 2px solid #e3c27a !important; color: #fff3d6 !important; }
html body #sign-in:hover { background: rgba(227, 194, 122, .26) !important; }
.foot-brand img, .foot .foot-grid > div:first-child img { width: 72px; height: 72px; }
/* r55: foot-grid desktop fill moved to r55.css */
#play .req { font-size: 16px !important; color: #fbf1da !important; }
@media (max-width: 699px) { .foot-ctas .btn { width: 100%; } }
html body .foot-account .foot-play { color: #2a1a05 !important; border: 0 !important; }
/* ===== r36h (#1014): measured type floor (probe/type_floor.py: desktop 15 px, phone 14 px); the 11 elements under it lifted; phone journey backdrop darker (critics rounds 1-7: washed pink); locked Calling labels brighter ===== */
.race-open { font-size: 15px !important; }
.realm-card .law b { font-size: 15px !important; }
.skip { font-size: 15px; }
.bar-end .btn-small { font-size: 15px !important; }
.race-seal { font-size: 15px !important; }
.calling span { font-size: 14px !important; }
.calling.locked span { color: #f1e4c4 !important; text-shadow: 0 1px 4px rgba(0, 0, 0, .85); }
@media (max-width: 699px) { .adv-state, .lock-line, .open-line { font-size: 14px !important; } #journey::before { filter: blur(3px) saturate(.55) sepia(.3) brightness(1.15); } }
@media (min-width: 700px) { .calling span { font-size: 15px !important; } }
/* ===== r36i (#1014), phone only (desktop passed round 8 at 8.1/8.0): hero pills one width; journey cards lifted off the backdrop with a gold keyline; Calling labels with more air; the Play panel rises out of the picture ===== */
@media (max-width: 699px) {
  html body .hero .cta-notes > :is(.promo, .note) { display: block !important; width: 100% !important; box-sizing: border-box; border-radius: 14px; }
  :is(#game-band, #journey-grid) > figure { border: 1px solid rgba(227, 194, 122, .45); background-color: rgba(70, 52, 34, .82) !important; }
  :is(#game-band, #journey-grid) figcaption p { font-size: 17px !important; }
  .calling-row { gap: 10px; } .calling { letter-spacing: .02em; gap: 6px; }
  .final-copy { box-shadow: 0 -28px 32px -8px rgba(36, 26, 18, .85); }
}


/* === r50.css === */
/* r50 #1014 = frozen r36 + the owner-ordered changes (a)-(g), clean rules, one file (L4 a, 2026-11-17T23:35Z) */

/* (a) phone realm picture swipe with its five dots under the picture (owner 2026-11-17T14:12:25Z 'you took away the swipe dots?'); swipe = app.js touch handlers already in r36 */
@media (max-width: 699px) {
  #realm-stage { touch-action: pan-y; }
  #realm-dots { display: flex; justify-content: center; gap: 22px; margin: 14px 0 4px; }
  html body #realm-dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(246, 236, 214, .7); box-shadow: 0 0 0 1px rgba(36, 26, 18, .7); }
  html body #realm-dots i.on { background: var(--tint); transform: scale(1.35); box-shadow: 0 0 0 2px rgba(246, 236, 214, .85); }
}

/* (b) Callings back on the earlier dark glass panel, r32 style (owner 14:14:34Z 'roll back the parment for the callings, leave it in a few spots'; 14:24:16Z 'the transparent version you had was better'). Parchment stays on the World sheet and the realm card. */
html body .calling-panel { color: var(--text); border: 1px solid var(--glass-edge); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
html body .calling-panel :is(h3, h4) { color: #fff7e0; }
html body .calling-panel :is(p, .about) { color: var(--text); }
html body .calling-panel .role, html body .calling-panel :is(dt, .adv-label, .adv-tag) { color: var(--gold); }
html body .calling-panel .adv-tag { border-color: var(--glass-edge); }
html body .calling-panel .chip, html body .calling-panel .chip:not(.skill) { color: var(--text); border-color: var(--glass-edge); background: rgba(255, 240, 210, .1); }
html body .calling-panel .adv { border-color: var(--glass-edge); }
html body .calling-panel .adv-btn { color: var(--text); background: rgba(255, 240, 210, .08); border-color: var(--glass-edge); }
html body .calling-panel .adv-btn[aria-selected="true"] { color: #fff7e0; background: rgba(110, 82, 46, .85); border-color: var(--gold); }
#callings .adv-media.adv-slot { box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
html body .calling-panel :is(dt, .adv-label), html body .calling-panel .chip { font-size: 16px; }   /* sizes the removed r36 block carried */

/* (c) World picture motion on the GPU (owner 14:15:16Z 'I dont see any animation'): the canvas fades in over the still */
#premise-art { position: relative; }
#premise-art .world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: inherit; opacity: 0; transition: opacity .8s ease; }
#premise-art.live .world-canvas { opacity: 1; }
#premise-art.live img { animation: none; }

/* (d) logo bigger and animated everywhere (owner 14:24:16Z 'way too small ... on the mobile page, it should be in the middle, the top middle ... on the website, it's probably fine in the corner, but it just needs to be bigger, and it needs to be animated'; 14:16:25Z 'animated though on all pages'). Hero emblem 128 px desktop / 84 px phone; no coin spin (ORCH 23:35Z): the bar and footer emblems breathe and catch the light. */
html body .hero > .hero-logo .emblem { --size: 128px; }
html body .hero > .hero-logo { gap: 22px; }
html body .hero > .hero-logo .wordmark { font-size: 25px; text-shadow: 0 2px 6px rgba(0, 0, 0, .95), 0 0 16px rgba(0, 0, 0, .75); }
@media (min-width: 700px) { html body .hero > .hero-copy { top: calc(var(--bar-h) + 104px); } }
@media (max-width: 699px) {
  html body .hero > .hero-logo { left: 50%; transform: translateX(-50%); flex-direction: column; align-items: center; gap: 14px; top: 6px; }
  html body .hero > .hero-logo .emblem { --size: 84px; }
  html body .hero > .hero-logo .wordmark { font-size: 17px; text-align: center; white-space: nowrap; position: relative; isolation: isolate; }
  html body .hero > .hero-logo .wordmark::before { content: ""; position: absolute; z-index: -1; inset: -22px -64px; background: radial-gradient(closest-side, rgba(18, 12, 6, .8) 0%, rgba(18, 12, 6, .62) 55%, rgba(18, 12, 6, 0) 100%); pointer-events: none; }
  html body .hero > :is(.motion-toggle, .sound-toggle) { top: calc(var(--stage-top) + var(--stage-h) - 60px); bottom: auto; }
}
html body .foot-brand img, html body .foot .foot-grid > div:first-child img { width: 104px; height: 104px; flex: none; max-width: none; }
@media (max-width: 699px) { html body .foot-brand img, html body .foot .foot-grid > div:first-child img { width: 88px; height: 88px; } }
html body :is(.bar-brand, .foot-brand) img { animation: r50-glint 7s ease-in-out infinite; }
html body .foot-brand img { animation-delay: -3.5s; }
@keyframes r50-glint {
  0%, 55%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 190, 90, .25)) brightness(1); }
  72% { transform: scale(1.08); filter: drop-shadow(0 0 14px rgba(255, 190, 90, .9)) brightness(1.3); }
}
@media (prefers-reduced-motion: reduce) { html body :is(.bar-brand, .foot-brand) img { animation: none; } }
/* (d) clearances, measured on WebGPU: the emblem canvas reaches 46 px (desktop) / 30 px (phone) past the 128 / 84 px emblem for its orbit play; the wordmark and hero copy sit outside it */
html body .hero > .hero-logo { gap: 50px; }
@media (min-width: 700px) { html body .hero > .hero-copy { top: calc(var(--bar-h) + 130px); } }
@media (max-width: 699px) { html body .hero > .hero-logo { gap: 34px; } }
@media (min-width: 700px) { html body .hero > .hero-logo { top: 14px; } html body .hero > .hero-copy { top: calc(var(--bar-h) + 146px); } }

/* ===== (e) owner: realm pictures fade slowly (about 30 s between changes, app.js REALM_EVERY); a click changes at once. The picture fades over 1.8 s and its words over 1.2 s. */
html body .realm-pics img.on { transition: opacity 1.8s ease-in-out; }
::view-transition-group(vt-r-name), ::view-transition-group(vt-r-element), ::view-transition-group(vt-r-law), ::view-transition-group(vt-r-list),
::view-transition-old(vt-r-name), ::view-transition-old(vt-r-element), ::view-transition-old(vt-r-law), ::view-transition-old(vt-r-list),
::view-transition-new(vt-r-name), ::view-transition-new(vt-r-element), ::view-transition-new(vt-r-law), ::view-transition-new(vt-r-list) { animation-duration: 1.2s; }
@media (prefers-reduced-motion: reduce) { html body .realm-pics img.on { transition: none; } }

/* ===== (f) owner: Path crests in the Path colour. Dragon Knight and Monk use ORCH's candidate icons (icons/dragonknight-, monk-sig192.webp, NOT FINAL). */
html body #callings .adv-btn img { box-shadow: 0 0 0 2px var(--ctint, var(--gold)), 0 0 10px color-mix(in srgb, var(--ctint, var(--gold)) 45%, transparent); background: color-mix(in srgb, var(--ctint, var(--gold)) 22%, rgba(20,14,9,.6)); }
html body #callings .adv-slot .slot-icon { border-radius: 50%; box-shadow: 0 0 0 3px var(--ctint, var(--gold)), 0 0 22px color-mix(in srgb, var(--ctint, var(--gold)) 50%, transparent); background: color-mix(in srgb, var(--ctint, var(--gold)) 22%, rgba(20,14,9,.6)); }
html body #callings .adv-card .badge { box-shadow: 0 0 0 2px var(--ctint, var(--gold)); border-radius: 50%; }

/* ===== (g) owner L3 b: phone Realm buttons, Thalenyr full width on top, the other four in a 2x2 grid. */
@media (max-width: 699px) {
  html body #realm-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html body #realm-tabs > .tab { grid-column: auto; width: 100%; justify-self: stretch; }
  html body #realm-tabs > .tab:first-child { grid-column: 1 / -1; }
}


/* === r53.css === */
/* r53 #1014 fix 3 (re-added on the r50 baseline): phone hero smear removed. The blurred copy of the picture under the hero art becomes the plain page colour, and the art fades into that colour at its foot instead of into a smear. */
@media (max-width: 699px) {
  html body .hero-art::before { background: #2a1f15; filter: none; }
  html body :is(.hero-poster, .hero-canvas) { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 7%, #000 82%, transparent 100%); }
}


/* === r55.css === */
/* r55 (#1014) fix 5: one card surface colour family. Every dark card uses the same fill as the hero line, heads, frames and realm media. */
html body :is(.foot-grid, .foot-legal), html body .foot .foot-grid { background: rgba(60, 44, 29, .8); }


/* === r58d.css === */
/* r58d (#1014) desktop only: the two hero notes (gear promo + Free line) in ONE strip joined by a dot; phone keeps the r55 pills */
@media (min-width: 700px) {
  html body .hero .cta-notes { flex: 0 0 100%; display: block; width: fit-content; max-width: max-content; box-sizing: border-box; padding: 7px 16px; border-radius: 999px; background: rgba(28, 20, 12, .72); }
  html body .hero .cta-notes > :is(.promo, .note) { display: inline; margin: 0; padding: 0; background: none; border-radius: 0; }
  html body .hero .cta-notes .note { color: #f4e8cc; }
  html body .hero .cta-notes .promo + .note::before { content: "\00a0\00a0\00b7\00a0\00a0"; color: #e3c27a; }
  html body .hero .cta-notes .made { display: none; } }


/* === r61.css === */
/* r61 (#1014) desktop only: top bar links, Sign in and Play at 17 px (were 15 px, under the 16 px floor) */
@media (min-width: 700px) { html body .bar :is(a, button, .bar-sign, .btn-small):not(.bar-brand) { font-size: 17px; } }


/* === r66.css === */
/* r66 (#1014) phone only: hero wordmark "Sundered Spheres" 17 -> 22 px (desktop is 25 px) */
@media (max-width: 699px) { html body .hero p.wordmark { font-size: 22px !important; } }


/* === r68b.css === */
/* r68b (#1014) owner 14:37Z "background under it": the footer painting showed in the 67 px (desktop) / 34 px (phone) strip below the footer card and drifted past the page end. Keep the card and its spacing; clip the drift and fade the painting to solid ink before the card's bottom, so the strip under the page is plain dark. */
html body .foot { position: relative; overflow: clip; isolation: isolate; background: var(--ink, #1a120b) !important; }
html body .foot-art { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 200px), transparent calc(100% - 70px)); mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 200px), transparent calc(100% - 70px)); }
html { background: #2a2018; }


/* === r69.css === */
/* r69 (#1014) owner 14:37Z "background under it": the content panels were 80-86 % opaque, so the section paintings showed through under the text; same colours at 95 % */
html body section .lead.intro-line, html body section .head, html body section .realm-media, html body section .calling-panel, html body section .final-copy, html body section figure.frame { background-color: rgba(60, 44, 29, .95) !important; }
html body #callings .head { background-color: rgba(34, 25, 16, .95) !important; }
html body .foot .foot-grid, html body .foot .foot-legal { background-color: rgba(38, 27, 17, .95) !important; }
@media (max-width: 699px) { html body #journey figure.frame { background-color: rgba(70, 52, 34, .95) !important; } }


/* === r72.css === */
/* r72 (#1014) = r69 + the r70 Journey/Realms backdrop fix on desktop only (desktop critics 8.0/7.8 vs 7.8/7.8); phone keeps r69 (7.8/7.6; darker phone backdrops r71 scored 7.6/7.6) */
@media (min-width: 700px) {
  html body #journey::before { background-image: linear-gradient(180deg, rgba(42, 32, 24, .25) 0, rgba(42, 32, 24, .55) 100%), url("art/band-account.webp") !important; filter: blur(1px) saturate(.95) brightness(.8) !important; }
  html body #realms::before { filter: blur(1px) saturate(.95) brightness(.85) !important; }
}
@media (min-width: 700px) and (max-width: 899px) { html body #journey::before { background-image: linear-gradient(180deg, rgba(42, 32, 24, .25) 0, rgba(42, 32, 24, .55) 100%), url("art/band-account-900.webp") !important; } }


/* === r73.css === */
/* r73 (#1014) phone only, small polish the phone critics named every round: locked-calling "Members" caption ran 78 px wide in an 82 px cell (labels touching) -> tighter tracking; 32 px dead band under the hero notes -> 20 px; realm "Born of" line wrapped one orphan word -> balanced */
@media (max-width: 699px) {
  html body #callings .calling .medal-cap { letter-spacing: .02em !important; }
  html body #intro { padding-bottom: 20px !important; }
  html body .realm-card .law, html body #realms p.law { text-wrap: balance; }
}


/* === r74.css === */
/* r74 (#1014) phone only, ORCH 15:49Z (c): the two hero note pills (starter gear, Free) become one strip, like desktop: one dark box, the gear line then the Free line, a hairline between */
@media (max-width: 699px) {
  html body .hero .cta-notes { display: block !important; background: rgba(28, 20, 12, .72) !important; border-radius: 14px !important; padding: 8px 14px !important; gap: 0 !important; }
  html body .hero .cta-notes > :is(.promo, .note) { display: block !important; width: auto !important; background: none !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
  html body .hero .cta-notes > .promo + .note { margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid rgba(232, 199, 122, .22) !important; }
}


/* === r75.css === */
/* r75 (#1014) phone: the hairline between the merged hero notes stopped at ~70 % width (critics) -> full width; realm "Born of" value broke at "Soul-" -> value on its own line. desktop: the hero ended at 828 of 900 px and a strip of the next section's painting showed under it (both desktop critics) -> hero fills the first screen */
@media (max-width: 699px) {
  html body section.hero .cta-notes > p.note, html body .hero .cta-notes > p.promo { display: block !important; width: 100% !important; max-width: none !important; box-sizing: border-box; }
  html body #realms p.law b { display: block; margin-bottom: 2px; }
  html body #realms p.law { hyphens: manual; }
}
@media (min-width: 700px) { html body #hero { min-height: 100svh; } }


/* === r77.css === */
/* r77 #1014: desktop Journey section bottom band trimmed (critics: about 90-100px empty dark band under the cards) */
@media (min-width: 700px) {
  html body section#journey { padding-bottom: 32px !important; }
}


/* === r79.css === */
/* r79 #1014: desktop Realms stage shorter (critics: realm text card has 100-120px empty parchment; tallest realm text is 286px + 64px padding) */
@media (min-width: 900px) {
  html body #realms .realm-pics { aspect-ratio: 16 / 8.6 !important; }
}


/* === r80.css === */
/* r80 #1014: desktop Sundering section tighter (both r79 critics: about 100px of bare backdrop above and below its panels) */
@media (min-width: 900px) {
  html body section#world { padding-top: 60px !important; padding-bottom: 60px !important; }
}


/* === r82.css === */
/* r82 #1014 owner L1: phone Journey = one horizontal swipe row of the five cards; desktop unchanged */
.j-swipe { display: contents; }
@media (max-width: 699px) {
  html body #journey .j-swipe { display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 -16px; padding: 0 16px 8px; scroll-padding-left: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  html body #journey .j-swipe::-webkit-scrollbar { display: none; }
  html body #journey .j-swipe > :is(#game-band, #journey-grid) { display: contents !important; }
  html body #journey .j-swipe figure.frame { flex: 0 0 84% !important; width: 84% !important; max-width: 84% !important; margin: 0 !important; scroll-snap-align: start; }
}


/* === r83.css === */
/* r83 #1014 (r82 critics, all 4): phone swipe cards keep their own height (no 200 px empty under a short caption) + gold pager dots */
.j-dots { display: none; }
@media (max-width: 699px) {
  html body #journey .j-swipe { align-items: flex-start !important; }
  html body #journey .j-swipe figure.frame { height: auto !important; align-self: flex-start !important; }
  html body #journey .j-dots { display: flex; margin-top: 14px; gap: 16px; }
  html body #journey .j-dots i { background: rgba(246, 236, 214, .5); }
  html body #journey .j-dots i.on { background: var(--gold, #e8c77a); transform: scale(1.3); }
}


/* === r84.css === */
/* r84 #1014 (r83 critics, all 4: ~200 px empty under a short card; the row is as tall as its tallest card): every card has one height, the picture grows to fill it, no empty band */
@media (max-width: 699px) {
  html body #journey .j-swipe { align-items: stretch !important; }
  html body #journey .j-swipe figure.frame { height: auto !important; align-self: stretch !important; display: flex !important; flex-direction: column !important; }
  html body #journey .j-swipe figure.frame > :is(video, img) { flex: 1 1 auto !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; object-fit: cover !important; }
  html body #journey .j-swipe figure.frame > figcaption { flex: 0 0 auto !important; }
  html body #journey .j-dots { margin-top: 12px; }
}
@media (max-width: 699px) {
  html body #journey .j-swipe figure.frame > .clip { flex: 1 1 auto !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; position: relative; }
  html body #journey .j-swipe figure.frame > .clip > img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
}


/* === r86.css === */
/* r86 #1014 phone: realm card "Born of" (critics 4/4 r85: label cramped under the subtitle, reads as "Earth and living memory Born of"). Measured r85: label line-height 15px, 2px above its value, 12px under the subtitle. Fix: hairline + 10px above the label, 1.35 line-height, 6px to its value. */
@media (max-width: 699px) {
  html body #realms p.law { border-top: 1px solid rgba(90, 58, 16, .28); padding-top: 10px !important; margin-top: 2px !important; }
  html body #realms p.law b { line-height: 1.35 !important; margin-bottom: 6px !important; }
}


/* === r94.css === */
/* r94 #1014 owner 23:05Z: (L2 b) phone Journey swipe cards fill the full width, no edge of the next card at rest (gap 32 px > side padding 16 px at any width); dots + small arrows stay as the swipe cue. (logo) footer logo animated like the header logo. */
@media (max-width: 699px) {
  html body #journey .j-swipe { gap: 32px !important; }
  html body #journey .j-swipe figure.frame { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
  html body #journey .j-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
  html body #journey .j-nav .j-dots { margin-top: 0 !important; }
  html body #journey .j-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold, #e8c77a); background: rgba(24, 16, 8, .7); color: var(--gold, #e8c77a); font: 700 20px/1 Georgia, serif; padding: 0 0 2px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s; }
  html body #journey .j-arrow[disabled] { opacity: .3; cursor: default; }
}
.j-nav { display: contents; }
.j-arrow { display: none; }
@media (max-width: 699px) { .j-arrow { display: flex; } }
html body .logo-live { position: relative; display: inline-block; line-height: 0; flex: none; }
html body .logo-live.live > img { visibility: hidden; }
html body .logo-live > .sse-emblem { position: absolute !important; left: 0; top: 0; pointer-events: none; }
html body .bar-brand > .logo-live { display: inline-block !important; width: 36px; height: 36px; }
html body .foot-brand > .logo-live { margin: 0 34px 34px 0; }   /* the emblem canvas draws a glow 32 px past the logo; keep the wordmark and heading clear of it */


/* === r94h.css === */
/* r94 #1014 ORCH 23:20Z (owner 'the first background image ... seems to be like half on the page'): on an upright phone the hero picture fills the whole first screen behind the emblem, title and Play; soft dark shade only where the text sits. */
@media (max-width: 699px) and (orientation: portrait) {
  html body #hero { height: 100svh !important; min-height: 0 !important; }
  html body #hero .hero-poster, html body #hero .hero-canvas { inset: 0 !important; top: 0 !important; height: 100% !important; width: 100% !important; -webkit-mask-image: none !important; mask-image: none !important; }
  html body #hero .hero-poster { object-fit: cover !important; object-position: 47% 50% !important; }
  html body #hero .hero-clip { object-fit: cover !important; object-position: 50% 40% !important; }
  html body #hero .hero-shade { background: linear-gradient(180deg, rgba(20,14,8,.5) 0%, rgba(20,14,8,0) 18%, rgba(20,14,8,0) 100%), linear-gradient(0deg, rgba(20,14,8,.9) 0px, rgba(20,14,8,.84) 250px, rgba(20,14,8,.8) 410px, rgba(20,14,8,0) 540px) !important; z-index: 2; }
  html body #hero .hero-copy { top: auto !important; bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important; }
}


/* === r94hb.css === */
/* r94-hb #1014 owner H1 option b: top bar as today; every section heading in ONE style: the centred light-on-dark heading of Journey/Realms/Callings/Play, now also on World, the realm card and the footer card. */
html body #world .sheet h2, html body #realms .realm-card h3, html body .foot h3 { display: block; background: rgba(60, 44, 29, .95) !important; color: #f6ecd6 !important; text-align: center !important; padding: 14px 16px !important; border-radius: 14px; font-family: "Soul Cinzel", Cinzel, Georgia, serif !important; font-size: 28px !important; font-weight: 700 !important; letter-spacing: .01em; line-height: 1.2; margin: 0 0 14px !important; text-shadow: none !important; }


/* === r95.css === */
/* r95 #1014 owner (H1 = b): (1) no top line or band while the bar is not shown: the bar's gradient repeated into its 1 px bottom border and drew a hard dark hairline at 56 px.
   (3) hero text sits low and the dark shade covers only the text, so the animated picture shows through the middle of the first screen. */
html body .bar:not(.solid):not(.open) { background: none !important; border-bottom-width: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html body .bar { background-repeat: no-repeat !important; }
@media (max-width: 699px) and (orientation: portrait) {
  html body #hero .hero-shade { background: linear-gradient(180deg, rgba(20,14,8,.35) 0%, rgba(20,14,8,0) 12%, rgba(20,14,8,0) 100%), linear-gradient(0deg, rgba(20,14,8,.88) 0px, rgba(20,14,8,.82) 220px, rgba(20,14,8,.66) 300px, rgba(20,14,8,.3) 345px, rgba(20,14,8,0) 380px) !important; }
  html body #hero .hero-copy::before { display: none !important; }
  html body #hero .hero-copy { gap: 8px !important; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; }
  html body #hero #hero-eyebrow { justify-self: start; background: rgba(20,14,8,.82); padding: 3px 9px; border-radius: 999px; text-shadow: 0 1px 2px rgba(0,0,0,.9); }
  html body #hero #hero-title span { width: fit-content; background: rgba(20,14,8,.5); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 8px; margin-left: -8px; border-radius: 8px; text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.75), 0 0 22px rgba(0,0,0,.5) !important; }
  /* the slide dots and the sound/motion buttons followed the old picture strip and sat on the text at 375x667; they now sit in one row just under the name */
  html body #hero .hero-dots { top: 194px !important; bottom: auto !important; }
  html body #hero .motion-toggle, html body #hero .sound-toggle { top: 180px !important; bottom: auto !important; }
}
/* L3 b + r98 R09 (owner 2026-11-18T22:35:18Z): every picked realm button wears the approved green, never gold or its own tint colour */
html body #realms .tabs > :not(:first-child)[aria-selected="true"], html body #realms .tabs > :not(:first-child).on, html body #realms .tabs > :not(:first-child).active { border-color: #8fd98a !important; box-shadow: 0 0 0 1px rgba(143,217,138,.55) inset !important; }
/* r95 A: hero marks are buttons with a 44 px touch area; C: once a clip is on, the painting and its still never show through */
html body #hero #hero-dots { pointer-events: auto !important; z-index: 6; gap: 18px !important; }
html body #hero #hero-dots i { position: relative; cursor: pointer; pointer-events: auto; }
html body #hero #hero-dots i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
html body #hero #hero-dots i:focus-visible { outline: 2px solid #e8c77a; outline-offset: 4px; }
html body #hero.clip-on .hero-canvas, html body #hero.clip-on .hero-poster { visibility: hidden !important; }
html body #hero .hero-clips { background: transparent; }
html body #hero #hero-eyebrow, html body #hero #hero-title { transition: opacity .22s ease-out; }
html body #hero.txt-swap #hero-eyebrow, html body #hero.txt-swap #hero-title { opacity: 0; }
/* r95 D (owner 23:50Z/23:54Z: the text and its dark panel hide the moving picture): no boxes behind the hero text on the upright phone; the words
   sit on the picture with a two-layer shadow, and one short shade low behind the Play button only (opacity > .25 on under 25 % of the picture) */
@media (max-width: 699px) and (orientation: portrait) {
  html body #hero .hero-shade { background: linear-gradient(180deg, rgba(20,14,8,.3) 0%, rgba(20,14,8,0) 10%, rgba(20,14,8,0) 100%), linear-gradient(0deg, rgba(20,14,8,.62) 0px, rgba(20,14,8,.5) 120px, rgba(20,14,8,.26) 190px, rgba(20,14,8,.12) 300px, rgba(20,14,8,0) 400px) !important; }
  html body #hero #hero-title span { background: none !important; padding: 0 !important; margin-left: 0 !important; text-shadow: 0 1px 2px rgba(0,0,0,1), 0 0 6px rgba(0,0,0,.95), 0 0 16px rgba(0,0,0,.8), 0 0 30px rgba(0,0,0,.6) !important; }
  html body #hero .cta-notes, html body #hero .cta-notes > * { background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html body #hero .cta-notes > * { text-shadow: 0 1px 2px rgba(0,0,0,1), 0 0 6px rgba(0,0,0,.95), 0 0 14px rgba(0,0,0,.8) !important; }
}
@media (max-width: 699px) and (orientation: portrait) {
  html body #hero #hero-title span { text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 10px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.9), 0 0 28px rgba(0,0,0,.85), 0 0 40px rgba(0,0,0,.7) !important; }
  html body #hero .cta-notes > * { text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 9px #000, 0 0 14px rgba(0,0,0,.95), 0 0 22px rgba(0,0,0,.9) !important; }
}
@media (max-width: 699px) and (orientation: portrait) {
  html body #hero .hero-shade { background: linear-gradient(180deg, rgba(20,14,8,.24) 0%, rgba(20,14,8,0) 10%, rgba(20,14,8,0) 100%), linear-gradient(0deg, rgba(20,14,8,.62) 0px, rgba(20,14,8,.5) 120px, rgba(20,14,8,.25) 22vh, rgba(20,14,8,.24) 42vh, rgba(20,14,8,0) 56vh) !important; }
}
/* r95 D: the intro line sits on its waterfront picture with a shadow, no box (was 73 % of the picture on the phone) */
html body #intro .lead { background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 10px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.9), 0 0 30px rgba(0,0,0,.7) !important; }
/* r95 H hardening (ORCH 00:14Z): the old sideways .tabs rules (site.css:490, style.css:112) can never win on a phone */
@media (max-width: 699px) { html body #realms .tabs { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; flex-wrap: wrap !important; overflow-x: visible !important; scroll-snap-type: none !important; max-width: 100% !important; } html body #realms .tabs > * { min-width: 0 !important; scroll-snap-align: none !important; } }


/* === sunder.css === */
/* r95 G2: the Sundering slideshow, full width, text on the picture (task D: no box; a short low shade only) */
html body #world { padding: 0 !important; background: #0d0a08 !important; }
html body #world::before, html body #world::after { display: none !important; }
html body .sunder { position: relative; width: 100%; height: min(86vh, 58vw); min-height: 460px; overflow: hidden; outline: none; }
@media (max-width: 699px) { html body .sunder { height: 82svh; min-height: 520px; } }
html body .sunder .s-track { position: absolute; inset: 0; touch-action: pan-y; }
html body .sunder .s-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease-in-out, visibility 0s linear .9s; }
html body .sunder .s-slide.on { opacity: 1; visibility: visible; transition: opacity .9s ease-in-out, visibility 0s; z-index: 1; }
html body .sunder .s-media { position: absolute !important; inset: 0 !important; margin: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; aspect-ratio: auto !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: hidden; }
html body .sunder .s-media img, html body .sunder .s-media canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
html body .sunder .s-slide.on .s-media > img { animation: s-kb 7.5s ease-out both; }
@keyframes s-kb { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { html body .sunder .s-slide.on .s-media > img { animation: none; } html body .sunder .s-slide { transition: none; } }
html body .sunder .s-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(0deg, rgba(14,10,6,.66) 0, rgba(14,10,6,.5) 90px, rgba(14,10,6,.25) 21%, rgba(14,10,6,.18) 36%, rgba(14,10,6,0) 52%); }
html body .sunder .s-copy { position: absolute; z-index: 2; left: max(24px, 6vw); right: max(24px, 6vw); bottom: 72px; max-width: 640px; display: grid; gap: 6px; }
@media (max-width: 699px) { html body .sunder .s-copy { left: 16px; right: 16px; bottom: 64px; } }
html body .sunder .s-copy .eyebrow { margin: 0; color: #e8c77a; font: 700 12px/1.3 Georgia, serif; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 2px #000, 0 0 6px #000, 0 0 14px rgba(0,0,0,.9); }
html body .sunder .s-head { margin: 0 !important; padding: 0 !important; background: none !important; color: #f6ecd6 !important; text-align: left !important; font: 700 clamp(28px, 4.2vw, 48px)/1.12 "Soul Cinzel", Cinzel, Georgia, serif !important; text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 10px rgba(0,0,0,.95), 0 0 18px rgba(0,0,0,.9), 0 0 30px rgba(0,0,0,.75) !important; }
html body .sunder .s-line { margin: 0; color: #f1e6cf; font: 400 clamp(16px, 1.5vw, 19px)/1.45 Georgia, serif; max-width: 34em; text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 9px #000, 0 0 16px rgba(0,0,0,.9); }
html body .sunder .s-marks { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 0; }
html body .sunder .s-mark { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
html body .sunder .s-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 5px; transform: translate(-50%, -50%); border-radius: 3px; background: rgba(251,233,200,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.45); }
html body .sunder .s-mark[aria-current="true"]::before { background: #e8c77a; }
html body .sunder .s-mark:focus-visible, html body .sunder .s-pause:focus-visible { outline: 2px solid #e8c77a; outline-offset: -4px; }
html body .sunder .s-pause { position: absolute; z-index: 3; right: 12px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(232,199,122,.7); background: rgba(24,16,8,.55); color: #e8c77a; font: 700 13px/1 Georgia, serif; cursor: pointer; }
html body .sunder .s-copy .eyebrow { text-shadow: 0 1px 2px #000, 0 0 3px #000, 0 0 6px #000, 0 0 10px #000, 0 0 16px rgba(0,0,0,.95), 0 0 24px rgba(0,0,0,.85) !important; }
html body .sunder .s-copy .eyebrow { justify-self: start; background: rgba(20,14,8,.82); padding: 3px 9px; border-radius: 999px; }
html body .sunder .s-copy .eyebrow { font-size: 16px; letter-spacing: .1em; }
@media (max-width: 699px) { html body .sunder .s-copy .eyebrow { font-size: 15px; } }
html body .sunder .s-pause { font-size: 16px; }


/* === r97.css === */
/* r97 #1014: r95 critic fixes (one accent, members chip, spacing, tap rows, slideshow marks) + task I callings phone panel */
/* r98 R09 (owner 2026-11-18T22:35:18Z "stack the buttons with that green shade"): the picked realm is green, never gold */
html body #realms .tab[aria-selected="true"] { border-color: #8fd98a !important; box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 0 12px rgba(143,217,138,.35) !important; }
html body #realms .dots i.on, html body #realm-dots i.on { background: #8fd98a !important; }
html body #callings .calling .lock-cap { background: rgba(20,14,8,.85); padding: 3px 7px; border-radius: 999px; color: #f6e7c4 !important; }
html body #callings.band { padding-top: clamp(28px, 4vw, 56px) !important; }
html body .foot-links a { min-height: 48px; display: inline-flex; align-items: center; }
html body .sunder .s-mark::before { background: rgba(251,233,200,.85); height: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.6); }
html body .sunder .s-pause { background: rgba(24,16,8,.8); border-color: #e8c77a; }

/* ---- task I: callings on the phone */
@media (max-width: 699px) {
  html body #callings .calling-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; overflow: visible !important; scroll-snap-type: none !important; padding: 0 !important; margin: 0 0 10px !important; }
  html body #callings .calling-row > .calling { min-width: 0 !important; width: auto !important; min-height: 60px; display: grid !important; grid-template-columns: 46px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-items: center; justify-items: start; text-align: left; padding: 6px 10px !important; scroll-snap-align: none !important; border-radius: 12px; border: 1px solid rgba(232,199,122,.35); background: rgba(40,29,18,.8) !important; }
  html body #callings .calling-row > .calling > img, html body #callings .calling-row > .calling > .medal { grid-row: 1 / 3; width: 46px !important; height: 46px !important; }
  html body #callings .calling-row > .calling .medal img { width: 46px !important; height: 46px !important; }
  html body #callings .calling-row > .calling > span:not(.medal) { font-size: 17px !important; align-self: end; }
  html body #callings .calling-row > .calling .medal-cap { font-size: 15px !important; letter-spacing: .02em !important; text-transform: none !important; align-self: start; margin: 0 !important; background: none !important; padding: 0 !important; }
  html body #callings .calling-row > .calling .open-cap { color: #9fe08a !important; }
  html body #callings .calling-row > .calling[aria-selected="true"] { outline: 2px solid #e8c77a; outline-offset: -2px; background: rgba(110,82,46,.7) !important; }
  html body #callings .calling-panel { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
}
.cp97 { position: relative; overflow: hidden; transition: height .32s ease; border-radius: 14px; background: rgba(28,20,12,.9); border: 1px solid rgba(232,199,122,.35); }
.cp97 .cp-track { display: flex; width: 300%; transition: transform .34s cubic-bezier(.2,.7,.2,1); align-items: stretch; }
@media (prefers-reduced-motion: reduce) { .cp97, .cp97 .cp-track { transition: none; } }
.cp97 .cp-view { width: calc(100% / 3); flex: none; padding: 12px; box-sizing: border-box; display: grid; gap: 10px; align-content: start; }
.cp97 .cp-top { display: grid; grid-template-columns: 42% 1fr; gap: 12px; align-items: stretch; }
.cp97 .cp-fig { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #1a120a; }
.cp97 .cp-fig img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cp97 .cp-note { position: absolute; left: 6px; right: 6px; bottom: 6px; margin: 0; padding: 3px 6px; border-radius: 6px; background: rgba(14,10,6,.85); color: #f1e2c0; font: 600 14px/1.25 Georgia, serif; text-align: center; }
.cp97 .cp-text h3 { margin: 0 0 4px; font: 700 26px/1.1 "Soul Cinzel", Cinzel, Georgia, serif; color: #f6ecd6; }
.cp97 .cp-text .open-line, .cp97 .cp-text .lock-line { margin: 0 0 6px; font: 700 15px/1.3 Georgia, serif; color: #9fe08a; display: flex; gap: 6px; align-items: flex-start; }
.cp97 .cp-text .lock-line { color: #f0d7a0; } .cp97 .cp-text .lock-line svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.cp97 .role { margin: 0 0 8px; font: 400 15px/1.4 Georgia, serif; color: #efe3c8; }
.cp97 .cp-skills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cp97 .cp-slabel { width: 100%; font: 700 15px/1.2 Georgia, serif; letter-spacing: .08em; text-transform: uppercase; color: #e8c77a; }
.cp97 .cp-toggle { display: grid; gap: 6px; }
.cp97 .cp-trow { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; }
.cp97 .cp-tlabel { flex: none; width: 50px; font: 700 15px/1 Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: #e8c77a; }
.cp97 .cp-chip { flex: 1 1 0; min-width: 0; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 0 4px; border-radius: 999px; border: 1px solid rgba(232,199,122,.5); background: rgba(70,52,32,.75); color: #f6ecd6; font: 600 15px/1 Georgia, serif; cursor: pointer; }
.cp97 .cp-chip[aria-checked="true"] { background: linear-gradient(180deg, #f6e2ac, #e8c77a); color: #2a1a05; border-color: #6b4a17; }
.cp97 .cp-lock svg { width: 12px; height: 12px; display: block; }
.cp97 .cp-paths, .cp97 .cp-path, .cp97 .cp-back { cursor: pointer; font-family: Georgia, serif; }
.cp97 .cp-paths { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 54px; padding: 8px 14px; border-radius: 12px; border: 2px solid #e8c77a; background: linear-gradient(180deg, rgba(232,199,122,.28), rgba(232,199,122,.14)); color: #f6ecd6; text-align: left; }
.cp97 .cp-pl { font: 700 18px/1 "Soul Cinzel", Cinzel, Georgia, serif; color: #f3d690; letter-spacing: .04em; }
.cp97 .cp-pn { font-size: 15px; line-height: 1.25; color: #efe3c8; min-width: 0; }
.cp97 .cp-arrow { font-size: 26px; line-height: 1; color: #e8c77a; }
.cp97 .cp-back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid rgba(232,199,122,.7); background: rgba(24,16,8,.8); color: #f3d690; font-size: 15px; font-weight: 700; }
.cp97 .cp-back span:first-child { font-size: 22px; line-height: 1; }
.cp97 .cp-h { margin: 0; font: 700 22px/1.15 "Soul Cinzel", Cinzel, Georgia, serif; color: #f6ecd6; }
.cp97 .cp-list { display: grid; gap: 8px; }
.cp97 .cp-path { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 10px; min-height: 56px; padding: 6px 10px; border-radius: 12px; border: 1px solid rgba(232,199,122,.45); background: rgba(70,52,32,.7); color: #f6ecd6; text-align: left; }
.cp97 .cp-pname { font: 700 17px/1.2 Georgia, serif; }
.cp97 .cp-pstate { font: 700 15px/1.2 Georgia, serif; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.cp97 .cp-pstate.open { background: rgba(60,110,50,.85); color: #f0ffe8; }
.cp97 .cp-pstate.lock { background: rgba(20,14,8,.9); color: #f0d7a0; border: 1px solid rgba(240,215,160,.5); }
.cp97 .cp-pstate.g { background: rgba(60,56,52,.9); color: #d6d0c6; }
.cp97 .cp-path.grey { background: rgba(48,44,40,.7); border-color: rgba(200,192,180,.3); }
.cp97 .cp-path.grey img { filter: grayscale(1); opacity: .6; } .cp97 .cp-path.grey .cp-pname { color: #cfc8bc; }
.cp97 .cp-detail { display: grid; grid-template-columns: 42% 1fr; gap: 12px; align-items: stretch; }
.cp97 .cp-dfig { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #1a120a; display: grid; place-items: center; }
.cp97 .cp-dfig img { width: 100%; height: 100%; object-fit: cover; } .cp97 .cp-dfig.slot img { width: 60%; height: auto; object-fit: contain; }
.cp97 .cp-detail.grey .cp-dfig img { filter: grayscale(1); opacity: .7; }
.cp97 .cp-dtext h4 { margin: 2px 0 6px; font: 700 24px/1.1 "Soul Cinzel", Cinzel, Georgia, serif; color: #f6ecd6; }
.cp97 .cp-dtext .about { margin: 8px 0; font: 400 15px/1.45 Georgia, serif; color: #efe3c8; }
.cp97 .adv-tag { font: 700 15px/1 Georgia, serif; letter-spacing: .1em; text-transform: uppercase; color: #e8c77a; }
.cp97 button:focus-visible { outline: 2px solid #e8c77a; outline-offset: 2px; }
/* desktop: the same race + sex toggle under the calling's skills */
.calling-base .cp-toggle.cp-desk { display: grid; gap: 8px; margin-top: 14px; max-width: 420px; }
.cp-desk .cp-trow { display: flex; gap: 8px; align-items: center; }
.cp-desk .cp-tlabel { width: 52px; font: 700 13px/1 Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: #e8c77a; }
.cp-desk .cp-chip { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; border: 1px solid rgba(232,199,122,.5); background: rgba(70,52,32,.75); color: #f6ecd6; font: 600 15px/1 Georgia, serif; cursor: pointer; }
.cp-desk .cp-chip[aria-checked="true"] { background: linear-gradient(180deg, #f6e2ac, #e8c77a); color: #2a1a05; border-color: #6b4a17; }
.cp-desk .cp-lock svg { width: 12px; height: 12px; display: block; }
.base-fig .cp-note { position: absolute; left: 8px; right: 8px; bottom: 8px; margin: 0; padding: 4px 8px; border-radius: 6px; background: rgba(14,10,6,.85); color: #f1e2c0; font: 600 13px/1.25 Georgia, serif; text-align: center; z-index: 3; }
.base-fig img.cp-race { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #1a120a; z-index: 2; }
/* r97b: critic fixes. The picture column grew past 42 % (3:4 ratio + stretched height) and covered the text (phone critic 6.3: 'IGHTER') */
.cp97 .cp-top, .cp97 .cp-detail { grid-template-columns: minmax(0, 42%) minmax(0, 1fr) !important; }
.cp97 .cp-fig, .cp97 .cp-dfig { aspect-ratio: auto !important; min-width: 0; min-height: calc((min(100vw, 699px) - 58px) * .42 * 4 / 3); }
.cp97 .cp-text, .cp97 .cp-dtext { min-width: 0; overflow-wrap: anywhere; }
.cp97 .cp-fig img { position: absolute; inset: 0; }
/* race and body rows: no side label column, four (two) equal chips, the lock as a corner badge */
.cp97 .cp-tlabel { display: none; }
.cp97 .cp-chip { position: relative; }
.cp97 .cp-chip .cp-lock { position: absolute; top: -5px; right: -3px; width: 18px; height: 18px; border-radius: 50%; background: #2a1a0c; border: 1px solid #e8c77a; display: grid; place-items: center; color: #f0d7a0; }
.cp97 .cp-chip .cp-lock svg { width: 10px; height: 10px; }
.cp-desk .cp-trow { flex-wrap: wrap; }
/* paths list: bigger icons, readable greyed rows */
.cp97 .cp-path { grid-template-columns: 52px 1fr auto auto; min-height: 64px; }
.cp97 .cp-path img { width: 52px; height: 52px; }
.cp97 .cp-pstate.g { background: rgba(84,78,72,.95); color: #f2ede4; }
.cp97 .cp-path.grey .cp-pname { color: #e6e0d6; } .cp97 .cp-path.grey img { opacity: .75; }
/* r98 (gates on r98: 'Picture coming' note now shows on every picture, so it sits under the picture, never over it; picked chips keep light text on the dark glass) */
.cp97 .cp-fig { display: flex !important; flex-direction: column; }
.cp97 .cp-fig > img { flex: 1 1 auto; min-height: 0; }
.cp97 .cp-note { position: static !important; margin: 4px 0 0 !important; padding: 0 !important; background: none !important; color: #e8d6ae !important; font: italic 15px/1.2 Georgia, serif !important; }
.base-fig .cp-note { position: static !important; margin: 6px 0 0 !important; padding: 0 !important; background: none !important; color: #e8d6ae !important; font: italic 15px/1.25 Georgia, serif !important; }
.cp97 .cp-chip[aria-checked="true"], .cp-desk .cp-chip[aria-checked="true"] { background: rgba(232,199,122,.24) !important; color: #fff7e0 !important; border-color: #e8c77a !important; }
.cp97 .cp-fig > img { position: relative !important; inset: auto !important; height: auto !important; flex: 1 1 0 !important; }
@media (max-width: 699px) { html body #journey .j-count { font-size: 15px !important; } html body .cp97 .open-line { font-size: 15px !important; } }
@media (min-width: 700px) { .base-fig { overflow: visible !important; margin-bottom: 30px !important; } .base-fig .cp-note { position: absolute !important; top: calc(100% + 6px) !important; bottom: auto !important; left: 0 !important; right: 0 !important; } }
/* r98 (proof stills: WebKit showed page text through the scrolled bar): the shown bar is a solid dark glass in every engine */
html body .bar.solid, html body .bar.open { background: rgba(40, 29, 18, .94) !important; -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1); }
/* r98 R17: a hidden race chip stays hidden (the chip's own display rule beat the hidden attribute) */
.cp-chip[hidden] { display: none !important; }
/* r98 critic round 1 (phone 7.3): 'View paths' label above the path names; one clear picked state on both chip rows; lock badge inside the chip; 'Playable now' on one line; menu jumps land below the bar */
.cp97 .cp-paths { grid-template-columns: 1fr auto !important; grid-template-rows: auto auto; row-gap: 4px !important; padding: 10px 14px !important; text-align: left; }
.cp97 .cp-paths .cp-pl { grid-column: 1; grid-row: 1; }
.cp97 .cp-paths .cp-pn { grid-column: 1; grid-row: 2; }
.cp97 .cp-paths .cp-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.cp97 .cp-chip[aria-checked="true"], .cp-desk .cp-chip[aria-checked="true"] { background: rgba(232,199,122,.38) !important; border: 2px solid #f3d690 !important; color: #fffaf0 !important; box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 0 10px rgba(243,214,144,.35) !important; }
.cp97 .cp-chip[aria-checked="false"] { opacity: .88; }
.cp97 .cp-chip .cp-lock { position: static !important; width: 16px !important; height: 16px !important; margin-left: 5px; flex: none; }
.cp97 .cp-chip { display: inline-flex; align-items: center; justify-content: center; }
.cp97 .cp-text .open-line { white-space: nowrap; letter-spacing: .01em; }
html body main > section[id] { scroll-margin-top: 64px; }


/* === r94la.css === */
/* r94-la #1014 owner L2 option a: full-width swipe cards + dots + arrows + a '1 / 5' counter; the row nudges once when it first comes into view */
@media (max-width: 699px) {
  html body #journey .j-count { font: 600 13px/1 Georgia, serif; color: #e8c77a; letter-spacing: .04em; min-width: 40px; text-align: center; }
}
.j-count { display: none; }
@media (max-width: 699px) { .j-count { display: inline-block; } }


/* === r98.css === */
/* r98 R09 #1014 (owner 2026-11-19T01:54Z: "I prefer a color for each realm ... the Earth realm that is bright green blue for water pale for air").
   Mapping from content.js REALMS (GAME_BIBLE 'Four Realm Structure'): Thalenyr = "Earth and living memory" -> bright green (the approved #8fd98a);
   Sea = water -> blue; Sky = air -> pale; Fire -> ember orange (one variable until his choice 8); Stone = "Stone, death and failure" (not named by him) -> slate violet.
   Picked = filled in its colour with dark text; others = its colour as outline and text on a dark panel. Lock marks unchanged. */
:root { --realm-thalenyr: #8fd98a; --realm-sky: #e4eef9; --realm-fire: #ff9a4a; --realm-sea: #62aaff; --realm-stone: #bcb2d4; --realm-ink: #1a1208; --realm-panel: rgba(22, 16, 10, .9); }
#realm-tab-thalenyr, #realm-dots i[aria-label="Thalenyr"] { --rc: var(--realm-thalenyr); }
#realm-tab-sky, #realm-dots i[aria-label="Realm of Sky"] { --rc: var(--realm-sky); }
#realm-tab-fire, #realm-dots i[aria-label="Realm of Fire"] { --rc: var(--realm-fire); }
#realm-tab-sea, #realm-dots i[aria-label="Realm of Sea"] { --rc: var(--realm-sea); }
#realm-tab-stone, #realm-dots i[aria-label="Realm of Stone"] { --rc: var(--realm-stone); }
html body #realms #realm-tabs > .tab { background: var(--realm-panel) !important; background-image: none !important; color: var(--rc) !important; border: 2px solid var(--rc) !important; box-shadow: none !important; }
html body #realms #realm-tabs > .tab * { color: inherit !important; }
html body #realms #realm-tabs > .tab[aria-selected="true"] { background: var(--rc) !important; color: var(--realm-ink) !important; border-color: var(--rc) !important; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 14px color-mix(in srgb, var(--rc) 45%, transparent) !important; }
html body #realms #realm-tabs > .tab[aria-selected="true"] svg { fill: currentColor; stroke: currentColor; }
html body #realms #realm-dots i { background: color-mix(in srgb, var(--rc) 45%, transparent) !important; outline: 1px solid var(--rc); outline-offset: 1px; }
html body #realms #realm-dots i.on { background: var(--rc) !important; }
/* no 'Picture coming' note (ORCH 2026-11-19, DECIDED-BY-ORCH): the note stays hidden and leaves no gap */
.cp-note[hidden] { display: none !important; }
@media (min-width: 700px) { .base-fig { margin-bottom: 0 !important; } }
/* r98b #1014 phone character stage (owner 2026-11-19T03:37:37Z: 'you need to give more room to the character cause we're gonna have the models there and they're gonna actually perform animations ... I wanted to demo the attack so it needs more room'):
   on the calling card and every path card the character area sits on top at full card width, 58 % of the screen height under the bar, whole figure shown (contain, never cropped);
   name, status, role, skills follow under it. Calling buttons, race/body buttons, View paths and the Back buttons stay as he praised them. */
@media (max-width: 699px) {
  .cp97 .cp-top, .cp97 .cp-detail { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  .cp97 .cp-fig, .cp97 .cp-dfig { width: 100% !important; min-height: 0 !important; height: calc((100svh - 64px) * .58) !important; aspect-ratio: auto !important; }
  .cp97 .cp-fig > img, .cp97 .cp-dfig > img:not(.slot-icon) { width: 100% !important; height: 100% !important; flex: 1 1 auto !important; object-fit: contain !important; object-position: 50% 100% !important; }
  .cp97 .cp-dfig.slot img { width: 34% !important; height: auto !important; }
  .cp97 .cp-text h3 { font-size: 28px; }
  /* skill chips: buttons with a 44 px touch height; the picked one is marked */
  .cp97 .cp-skills { gap: 8px !important; }
  /* role line in sentence case on one or two lines, never three lines of tracked capitals (critic round 3) */
  .cp97 .role { text-transform: none !important; letter-spacing: .01em !important; }
}
/* the calling card and path card land below the bar after a jump (bar + safe area + 8 px) */
.cp97, #calling-row, #calling-panel { scroll-margin-top: calc(64px + env(safe-area-inset-top, 0px) + 8px); }
/* r98c #1014 task 3 (owner 2026-11-19: 'The sticky header ... it's supposed to be transparent ... like it's brown ... like the old one was so the background it doesn't hide the page behind it'):
   the small fixed header is fully transparent in every state; logo, Play and the menu button float over the page; where it shows and hides is unchanged.
   This replaces the r98 solid bar (r97.css 'bar.solid .94', LANDING's own R30 fix, REGRESSION). */
html body .bar, html body .bar.solid, html body .bar.open, html body .bar:not(.solid):not(.open) { background: transparent !important; background-image: none !important; border-bottom: 0 !important; border-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html body .bar::before, html body .bar::after { display: none !important; }
html body .bar a:not(.btn), html body .bar .wordmark, html body .bar button:not(.btn) { text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.75); }
html body .bar svg, html body .bar img, html body .bar canvas { filter: drop-shadow(0 1px 2px rgba(0,0,0,.9)) drop-shadow(0 0 6px rgba(0,0,0,.6)); }
/* task 8b (owner: 'made it transparent so you could see the backgrounds behind the text. That's really good ... apply that elsewhere too like especially that brown section'):
   section heading cards are transparent; the text keeps its contrast with a shadow and a soft fade, never a solid panel */
html body main .band .head, html body main .band .head.reveal { background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(10,7,4,.5), rgba(10,7,4,0) 75%) !important; background-color: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html body main .band .head::before, html body main .band .head::after { display: none !important; }
html body main .band .head :is(h2, .eyebrow, .lead, p) { text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 14px rgba(0,0,0,.8); }
@media (max-width: 699px) {
  /* task 5: the realms heading is one slim line (cut on phone: 'Every realm has its own law' and 'Realm laws are not scenery: they change the battlefield.'; the law shows on each realm card) */
  html body #realms .head { padding: 4px 0 !important; margin: 0 0 8px !important; min-height: 0 !important; }
  html body #realms .head h2, html body #realms .head .lead { display: none !important; }
  html body #realms .head .eyebrow { margin: 0 !important; font: 700 22px/1.2 "Soul Cinzel", Cinzel, Georgia, serif !important; letter-spacing: .06em !important; text-align: center; }
  /* task 8b: shorter callings heading (cut on phone: 'Every Calling starts with two skills and opens into its Paths. Weapons are never class-locked.') */
  html body #callings .head { padding: 6px 0 !important; margin: 0 0 8px !important; }
  html body #callings .head .lead { display: none !important; }
  /* task 6: slimmer realm buttons (44 px, smaller type, tighter gaps); colours and order unchanged (R09) */
  html body #realms #realm-tabs { gap: 6px !important; margin-bottom: 8px !important; }
  html body #realms #realm-tabs > .tab { min-height: 44px !important; height: 44px !important; padding-top: 0 !important; padding-bottom: 0 !important; font-size: 15px !important; }
  /* task 7: one screen per realm: the realm text above the picture, the picture shrinks first, dots on the picture's lower edge */
  html body #realms #realm-stage { display: flex !important; flex-direction: column !important; gap: 8px !important; }
  html body #realms #realm-card { order: 1; margin: 0 !important; }
  html body #realms .realm-media { order: 2; }
  html body #realms #realm-dots { order: 3; position: relative; margin: -30px 0 10px !important; z-index: 4; }
  html body #realms #realm-card h3 { margin-top: 0 !important; margin-bottom: 4px !important; }
  html body #realms #realm-card .element { margin: 0 0 4px !important; }
  html body #realms #realm-card .law { margin: 0 0 6px !important; }
  html body #realms #realm-card ul { margin: 0 !important; }
  html body #realms #realm-card li { margin: 0 0 3px !important; }
  /* task 1a/1b: no text beside the character; under it a short block: name + status, skills; the role-words line is cut on phone */
  .cp97 .cp-text .role, .cp97 .cp-dtext .role { display: none !important; }
  .cp97 .cp-text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 6px; }
  .cp97 .cp-text h3 { margin: 0 !important; }
  .cp97 .cp-text .open-line, .cp97 .cp-text .lock-line { margin: 0 !important; }
  .cp97 .cp-text .cp-skills { width: 100%; }
  .cp97 .cp-dtext { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 6px; }
  .cp97 .cp-dtext .adv-tag { width: 100%; }
  .cp97 .cp-dtext h4 { margin: 0 !important; }
  .cp97 .cp-dtext .about { width: 100%; margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cp97 .cp-dtext .cp-skills { width: 100%; }
  .cp97 .cp-slabel { display: none !important; }
  .cp97 .cp-fig, .cp97 .cp-dfig { height: calc((100svh - 56px) * .555) !important; }
  .cp97 .cp-view { padding: 8px !important; gap: 8px !important; }
  .cp97 .cp-chip { min-height: 44px !important; }
}
/* task 9 (owner: 'two play now buttons that's kind of overkill ... the save your character thing ... we don't need all that'; choice 9 a: 'merge them'):
   ONE closing card with one Play and a small Sign in under it; the footer is the logo, compact Explore links and the fan-project line */
html body .final .final-sign { margin: 8px 0 0; }
html body .final .final-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(232,199,122,.7); background: rgba(14,10,6,.35); color: #f3d690; font: 700 15px/1 Georgia, serif; text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.9); }
html body .foot .foot-notes h3 { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 6px !important; font-size: 14px !important; letter-spacing: .1em; text-transform: uppercase; color: #e8c77a; }
@media (max-width: 699px) {
  /* task 7 (r98c measure: card 392 px, Fire law card bottom 626, picture to 873): tighter spacing inside the law card, same look; the picture shrinks first */
  html body #realms #realm-card { gap: 6px !important; row-gap: 6px !important; padding-top: 12px !important; padding-bottom: 12px !important; }
  html body #realms #realm-card h3 { padding-top: 8px !important; padding-bottom: 8px !important; font-size: 24px !important; line-height: 1.15 !important; }
  html body #realms #realm-card .law { padding-top: 4px !important; font-size: 15px !important; line-height: 1.35 !important; }
  html body #realms #realm-card ul, html body #realms #realm-card li { font-size: 15px !important; line-height: 1.35 !important; }
  html body #realms .realm-media { height: 190px !important; min-height: 0 !important; aspect-ratio: auto !important; }
  html body #realms .realm-media .realm-pics, html body #realms .realm-media img, html body #realms .realm-media video { height: 100% !important; min-height: 0 !important; aspect-ratio: auto !important; object-fit: cover !important; }
  /* task 9c: the closing card and the footer fit one phone screen together */
  html body #play.final { min-height: 0 !important; height: auto !important; padding: 0 !important; }
  html body #play .final-copy { padding: 22px 16px 16px !important; margin: 0 auto !important; gap: 6px !important; }
  html body #play .final-copy > * { margin-top: 0 !important; margin-bottom: 6px !important; }
  html body .foot { padding: 14px 0 10px !important; min-height: 0 !important; }
  html body .foot .foot-grid { display: grid !important; grid-template-columns: auto 1fr !important; gap: 10px 14px !important; align-items: center !important; padding-bottom: 0 !important; }
  html body .foot .foot-brand { display: flex !important; flex-direction: column; align-items: center; gap: 2px !important; margin: 0 !important; }
  html body .foot .foot-brand .logo-live, html body .foot .foot-brand > img, html body .foot .foot-brand canvas { width: 56px !important; height: 56px !important; }
  html body .foot .foot-brand .wordmark { font-size: 13px !important; margin: 0 !important; position: static !important; }
  html body .foot .foot-notes { margin: 0 !important; }
  html body .foot .foot-links { display: flex !important; flex-wrap: wrap !important; gap: 0 14px !important; }
  html body .foot .foot-links a { min-height: 40px; display: inline-flex; align-items: center; }
  html body .foot .foot-legal { padding-top: 6px !important; margin-top: 6px !important; }
  html body .foot .foot-legal p { margin: 0 !important; font-size: 13px !important; }
}
@media (max-width: 699px) {
  /* task 9c: the closing painting sits behind the closing text (transparent card, owner: 'have transparent stuff'), so the closing card + footer fit one screen */
  html body #play.final { position: relative !important; overflow: hidden; }
  html body #play .final-art { position: absolute !important; inset: 0 !important; height: auto !important; min-height: 0 !important; z-index: 0; }
  html body #play .final-copy { position: relative !important; z-index: 1; background: radial-gradient(ellipse 80% 75% at 50% 50%, rgba(10,7,4,.55), rgba(10,7,4,.15) 80%) !important; }
  html body #play .final-copy :is(.eyebrow, h2, .note, .req) { text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.8); }
}
@media (max-width: 699px) {
  /* task 8a (r98c measure: calling cards ended at 780-830 px, over 844-110): View paths sits beside the name and status; cut on phone: the path names under 'View paths' (they are on the next slide) */
  .cp97 .v0 { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px !important; align-content: start; }
  .cp97 .v0 > .cp-top, .cp97 .v0 .cp-text { display: contents !important; }
  .cp97 .v0 .cp-fig { grid-column: 1 / -1; grid-row: 1; }
  .cp97 .v0 .cp-text h3 { grid-column: 1; grid-row: 2; align-self: end; font-size: 26px !important; }
  .cp97 .v0 .cp-text .open-line, .cp97 .v0 .cp-text .lock-line { grid-column: 1; grid-row: 3; align-self: start; white-space: normal !important; }
  .cp97 .v0 .cp-paths { grid-column: 2; grid-row: 2 / span 2; align-self: center; min-height: 48px !important; padding: 6px 12px !important; grid-template-columns: auto auto !important; grid-template-rows: auto !important; column-gap: 6px !important; }
  .cp97 .v0 .cp-paths .cp-pl { grid-row: 1 !important; font-size: 16px !important; }
  .cp97 .v0 .cp-paths .cp-pn { display: none !important; }
  .cp97 .v0 .cp-paths .cp-arrow { grid-column: 2 !important; grid-row: 1 !important; }
  .cp97 .v0 .cp-skills { grid-column: 1 / -1; grid-row: 4; }
  .cp97 .v0 .cp-toggle { grid-column: 1 / -1; grid-row: 5; gap: 6px !important; }
}
@media (max-width: 699px) {
  /* task 8a round 2: the status line runs the full card width under the name; stage exactly 55 % (+1 px); race/body chips back to their r97 40 px; 6 px gaps */
  .cp97 .v0 { row-gap: 6px !important; }
  .cp97 .v0 .cp-paths { grid-row: 2 !important; }
  .cp97 .v0 .cp-text .open-line, .cp97 .v0 .cp-text .lock-line { grid-column: 1 / -1 !important; }
  .cp97 .cp-fig, .cp97 .cp-dfig { height: calc((100svh - 56px) * .55 + 1px) !important; }
  .cp97 .cp-chip { min-height: 40px !important; }
  .cp97 .v0 .cp-toggle { gap: 6px !important; }
}
@media (max-width: 699px) {
  /* task 8a round 3: status line on one line (tighter tracking and padding), View paths 44 px; path pictures sit inside their box (were 455 px tall in a 434 px box) */
  .cp97 .v0 .cp-text .open-line, .cp97 .v0 .cp-text .lock-line { padding-top: 2px !important; padding-bottom: 2px !important; letter-spacing: .02em !important; }
  .cp97 .v0 .cp-paths { min-height: 44px !important; padding-top: 4px !important; padding-bottom: 4px !important; }
  .cp97 .cp-dfig { position: relative !important; }
  .cp97 .cp-dfig > img:not(.slot-icon) { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: 50% 100% !important; }
}
@media (max-width: 699px) { .cp97 .v0 .cp-text .lock-line, .cp97 .v0 .cp-text .open-line { text-transform: none !important; font-size: 14px !important; letter-spacing: 0 !important; } }
/* R38: the callings heading card had its own id rule (rgba(34,25,16,.95)); transparent like the others */
html body #callings .head, html body #journey .head, html body #realms .head { background-color: transparent !important; }
html body #callings .head { background-image: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(10,7,4,.5), rgba(10,7,4,0) 75%) !important; }
@media (max-width: 699px) {
  /* R38 + contrast gate (phone headings over bright art measured 1.0-4.2:1): a soft dark fade behind the heading text only, edges fully clear; no solid card */
  html body main .band .head, html body #callings .head, html body #journey .head, html body #realms .head { background-image: radial-gradient(ellipse 72% 88% at 50% 50%, rgba(10,7,4,.88) 0%, rgba(10,7,4,.8) 50%, rgba(10,7,4,0) 100%) !important; }
  html body main .band .head .eyebrow { color: #f6e3b0 !important; }
}
@media (max-width: 699px) { html body #realms .head .eyebrow { width: fit-content !important; margin: 0 auto !important; padding: 2px 10px !important; } html body #realms .head { background-image: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(10,7,4,.9) 0%, rgba(10,7,4,.82) 55%, rgba(10,7,4,0) 100%) !important; } }
@media (min-width: 700px) { html body main .band .head, html body #callings .head { background-image: radial-gradient(ellipse 70% 85% at 50% 50%, rgba(10,7,4,.68), rgba(10,7,4,.45) 50%, rgba(10,7,4,0) 80%) !important; } }
@media (min-width: 700px) { html body main .band .head .eyebrow { color: #f6e3b0 !important; } }
/* layout gate: no text under 15 px on phone */
@media (max-width: 699px) {
  .cp97 .v0 .cp-text .lock-line, .cp97 .v0 .cp-text .open-line { font-size: 15px !important; letter-spacing: -.01em !important; }
  html body .foot .foot-brand .wordmark, html body .foot .foot-brand .wordmark span, html body .foot .foot-notes h3, html body .foot .foot-legal p { font-size: 15px !important; }
}
@media (max-width: 699px) { .cp97 .v0 .cp-text .lock-line svg { display: none !important; } .cp97 .v0 .cp-text .lock-line { gap: 0 !important; } }
/* r98c-d #1014: phone heading glow without a card edge (still check: radial plateau read as a dark rounded card) */
@media (max-width: 699px) {
  html body main .band .head, html body #callings .head, html body #journey .head, html body #realms .head { background-image: radial-gradient(ellipse 95% 120% at 50% 50%, rgba(10,7,4,.78) 0%, rgba(10,7,4,.5) 40%, rgba(10,7,4,.18) 70%, rgba(10,7,4,0) 100%) !important; border-radius: 0 !important; box-shadow: none !important; border: 0 !important; }
  html body #realms .head { background-image: radial-gradient(ellipse 85% 140% at 50% 50%, rgba(10,7,4,.8) 0%, rgba(10,7,4,.5) 45%, rgba(10,7,4,0) 100%) !important; }
  html body main .band .head .eyebrow, html body main .band .head h2, html body main .band .head p { text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 10px rgba(0,0,0,.85), 0 0 22px rgba(0,0,0,.6) !important; }
}
/* r98c-e #1014: desktop text floor 16 px for the r98c items (small Sign in, footer heading, try labels) */
@media (min-width: 700px) { html body #play .final-signin { font-size: 16px !important; } html body .foot .foot-notes h3 { font-size: 16px !important; } html body .cp97 .cp-trow .cp-tlabel { font-size: 15px !important; } }
/* r98c-f #1014: critic round 4 fixes that no owner decision covers */
html body .cp-tlabel { font-size: 15px !important; }
/* character pictures: feather the picture's side edges so no hard black box shows */
html body .cp97 .cp-fig img, html body .cp97 .cp-dfig img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
/* closing: Sign in as a small text link under Play, not a second button */
html body .final .final-signin { border: 0 !important; background: transparent !important; text-decoration: underline; text-underline-offset: 4px; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
@media (max-width: 699px) {
  html body .cp97 .cp-trow { flex-wrap: wrap !important; row-gap: 6px !important; }
}
@media (min-width: 700px) {
  html body main .band .head, html body #callings .head, html body #journey .head, html body #realms .head { background-image: radial-gradient(ellipse 90% 130% at 50% 50%, rgba(10,7,4,.62) 0%, rgba(10,7,4,.4) 40%, rgba(10,7,4,.14) 72%, rgba(10,7,4,0) 100%) !important; border-radius: 0 !important; }
  html body main .band .head .eyebrow, html body main .band .head h2, html body main .band .head p { text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.8), 0 0 26px rgba(0,0,0,.55) !important; }
  html body .foot .foot-grid { max-width: 960px !important; margin-left: auto !important; margin-right: auto !important; grid-template-columns: auto 1fr !important; column-gap: 48px !important; }
  html body .foot .foot-notes h3 { text-align: left !important; }
  html body .foot .foot-notes ul { display: flex !important; flex-wrap: wrap !important; gap: 8px 28px !important; }
  html body .foot .foot-notes ul a, html body .foot .foot-notes li { font-size: 16px !important; }
}
/* r98 round 6 #1014 (ORCH 05:03Z, phone) */
html body main section, html body main .band, html body main .band .head, html body #play, html body #account { scroll-margin-top: calc(var(--bar-h, 56px) + 8px) !important; }
html body .final .final-signin { border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; border-radius: 0 !important; padding: 0 8px !important; min-height: 44px; }
@media (max-width: 699px) {
  html body .hero .cta-notes p, html body .hero .cta-notes .note, html body .hero .cta-notes .made, html body .hero .cta-notes .req { font-size: 16px !important; }
  html body .foot .foot-grid { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; padding-top: 12px !important; padding-bottom: 8px !important; }
  html body .foot .foot-brand { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 10px !important; }
  html body .foot .foot-brand .wordmark { font-size: 16px !important; line-height: 1.1 !important; }
  html body .foot .foot-notes { width: 100% !important; text-align: left !important; }
  html body .foot .foot-notes h3 { margin: 0 0 4px !important; text-align: left !important; }
  html body .foot .foot-links { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 16px !important; }
  html body .foot .foot-links a { min-height: 44px; display: flex !important; align-items: center; font-size: 16px !important; }
}
/* r98 round 6 #1014: phone section kickers sit in the free gap between the floating logo and the Play pill, so no title rests under the header controls at any landing */
@media (max-width: 699px) {
  html body #realms .head, html body #callings .head { padding-left: 49px !important; padding-right: 141px !important; padding-top: 4px !important; padding-bottom: 4px !important; }
  html body #callings .head h2 { display: none !important; }
  html body #realms .head .eyebrow, html body #callings .head .eyebrow { display: block !important; width: fit-content !important; max-width: 100% !important; margin: 0 auto !important; padding: 2px 6px !important; white-space: nowrap !important; font-size: 16px !important; letter-spacing: .05em !important; line-height: 1.5 !important; }
}
/* r98 round 6 #1014: Sign in = plain text link (site.css #sign-in !important pill overridden by ID); hero promo 16 px on phone */
html body #play #sign-in.final-signin, html body #play #sign-in.final-signin:hover { border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; width: auto !important; min-height: 44px !important; padding: 0 10px !important; color: #f3d690 !important; text-decoration: underline !important; text-underline-offset: 4px; }
@media (max-width: 699px) { html body .hero .cta-notes .promo, html body .hero p.promo { font-size: 16px !important; } }
/* r98 round 6b #1014: phone footer one tidy block: 44 px emblem + one-line wordmark, legal line joined to the block */
@media (max-width: 699px) {
  html body .foot .foot-brand img, html body .foot .foot-brand > img { width: 44px !important; height: 44px !important; flex: 0 0 44px !important; margin: 0 !important; }
  html body .foot .foot-brand .wordmark { white-space: nowrap !important; }
  html body .foot .foot-brand .wordmark span { display: inline !important; }
  html body .foot .foot-legal { border: 0 !important; background: transparent !important; box-shadow: none !important; margin-top: 0 !important; padding-top: 4px !important; }
  html body .foot .foot-legal::before, html body .foot .foot-legal::after { display: none !important; }
}
@media (max-width: 699px) {
  html body .foot .foot-brand .logo-live { width: 44px !important; height: 44px !important; flex: 0 0 44px !important; margin: 0 !important; overflow: visible; }
  html body .foot .foot-brand .logo-live canvas, html body .foot .foot-brand .logo-live img { width: 44px !important; height: 44px !important; position: absolute !important; inset: 0 !important; margin: 0 !important; transform: none !important; }
  html body .foot .foot-brand { height: auto !important; min-height: 0 !important; }
}


/* === r99.css === */
/* r99 #1014 (ORCH restart-1340): Landing-own fixes from r98 round 6 phone critics. Owner-decided items untouched. */
@media (max-width: 699px) {
  /* 1 race chips size to their words: no lock touching the next chip */
  html body .cp97 .cp-trow { flex-wrap: nowrap !important; gap: 6px !important; }
  html body .cp97 .cp-trow .cp-chip { flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; padding: 0 8px !important; gap: 4px !important; align-items: center; justify-content: center; }
  html body .cp97 .cp-trow .cp-chip i { flex: 0 0 auto; margin: 0 !important; }
  /* 2 hero: darker lower gradient behind the words; sound/motion buttons sit just above the words, right */
  html body .hero .hero-copy { background: linear-gradient(0deg, rgba(8,5,3,.86) 0%, rgba(8,5,3,.62) 62%, rgba(8,5,3,0) 100%) !important; padding-top: 44px !important; }
  html body #hero .motion-toggle, html body #hero .sound-toggle { top: auto !important; bottom: 416px !important; width: 44px !important; height: 44px !important; }
  html body #hero .motion-toggle { right: 16px !important; } html body #hero .sound-toggle { right: 66px !important; }
  /* 3 Playable now: a small pill, not a full-width bar */
  html body .cp97 .open-line { justify-self: start !important; width: fit-content !important; padding: 3px 12px !important; border-radius: 999px !important; background: rgba(34,58,26,.82) !important; color: #c4ecb2 !important; font-size: 15px !important; }
  /* 6 journey heading: the lead repeats the card line, drop it on phone */
  html body #journey .head .lead { display: none !important; }
  /* 7 closing: WebGPU line small and quiet */
  html body #play .req { font-size: 15px !important; opacity: .72; margin-top: 2px !important; }
  /* 5 kickers back to centre (header overlap handled by fading a heading while it is under the header) */
  html body #realms .head, html body #callings .head { padding-left: 16px !important; padding-right: 16px !important; }
}
/* 4 character stage: no flat black box: picture feathered on sides and top, soft glow + ground shadow */
html body .cp97 .cp-fig, html body .cp97 .cp-dfig { background: radial-gradient(ellipse 60% 55% at 50% 62%, rgba(120,84,40,.28), rgba(26,18,10,0) 70%), radial-gradient(ellipse 34% 6% at 50% 97%, rgba(0,0,0,.55), rgba(0,0,0,0) 100%) !important; }
html body .cp97 .cp-fig img, html body .cp97 .cp-dfig img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%); mask-composite: intersect; }
/* section headings fade while they pass under the floating header */
html body main .band .head { transition: opacity .18s ease; }
html body main .band .head.under-bar { opacity: 0 !important; }
/* 8 Sign in readable over the picture */
html body #play #sign-in.final-signin { color: #ffe9b0 !important; text-shadow: 0 1px 2px #000, 0 0 10px rgba(0,0,0,.95), 0 0 20px rgba(0,0,0,.8) !important; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(8,5,3,.6), rgba(8,5,3,0) 100%) !important; }
html body main h2, html body main h3, html body main .eyebrow { transition: opacity .18s ease; } html body main h2.under-bar, html body main h3.under-bar, html body main .eyebrow.under-bar { opacity: 0 !important; }
/* r99b #1014 (ORCH r99b-1408): Landing-own deductions; owner-decided items untouched */
html body .cp97 .open-line { transition: opacity .18s ease; }
html body .cp97 .open-line.under-bar { opacity: 0 !important; pointer-events: none; }
html body #play .final-copy .eyebrow { color: #f3d690 !important; text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 14px rgba(0,0,0,.85), 0 0 28px rgba(0,0,0,.6) !important; }
html body .cp97 .cp-trow .cp-chip { background: transparent !important; border: 1px solid rgba(232,199,122,.45) !important; color: #e9dcc0 !important; font-weight: 500 !important; }
html body .cp97 .cp-trow .cp-chip[aria-checked="true"] { background: rgba(232,199,122,.18) !important; border-color: rgba(243,214,144,.85) !important; color: #fffaf0 !important; }
@media (max-width: 699px) {
  html body #journey { padding-bottom: 20px !important; }
  html body .foot .foot-grid { border: 0 !important; }
}
/* r99e #1014 round 2 (critics r99d desk 6.9/7.4, phone 6.6/6.4): Landing-own points only */
html body #hero-line.intro-line { border: 0 !important; background: rgba(10,7,4,.78) !important; border-radius: 8px !important; padding: 14px 16px !important; box-shadow: 0 6px 24px rgba(0,0,0,.45); }
html body #play .req { opacity: 1 !important; color: #e9dcc0 !important; }
html body .cp97 .cp-fig, html body .cp97 .cp-dfig { -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); }
@media (min-width: 700px) {
  html body #journey { padding-top: 64px !important; }
  html body #realms { padding-top: 64px !important; padding-bottom: 56px !important; }
  html body #callings { padding-bottom: 56px !important; }
  html body #play { padding-top: 72px !important; padding-bottom: 72px !important; }
  html body #hero-eyebrow, html body .hero-cta a.btn, html body .cta-notes .promo, html body .band .head .eyebrow, html body .race-row .race-open, html body .race-row .race-seal, html body #realm-card .element, html body #realm-card .law b { font-size: 16px !important; }
  html body .foot .foot-grid { grid-template-columns: minmax(260px, 1fr) 2fr !important; }
}
@media (max-width: 699px) {
  html body #journey { padding-top: 24px !important; }
  html body .hero .hero-copy { background: linear-gradient(0deg, rgba(8,5,3,.9) 0%, rgba(8,5,3,.72) 62%, rgba(8,5,3,0) 100%) !important; }
}
@media (min-width: 700px) {
  html body #journey { padding-top: 32px !important; }
  html body #realms { padding-top: 32px !important; }
  html body #callings { padding-top: 32px !important; }
  html body #calling-row .calling > span, html body #calling-row .calling small.medal-cap { font-size: 16px !important; }
}
@media (min-width: 700px) {
  html body #journey { padding-bottom: 12px !important; }
  html body #realms { padding-bottom: 24px !important; }
  html body .cp97 .open-line, html body .cp97 .role, html body .cp97 .cp-tlabel, html body .cp97 .cp-chip span, html body .adv-row .adv-btn span, html body .adv-card .adv-tag, html body .adv-card .adv-state, html body #play .final-copy .eyebrow { font-size: 16px !important; }
}
@media (min-width: 700px) {
  html body #realms { padding-top: 24px !important; }
  html body .calling-base .open-line, html body .calling-base .role, html body .cp-toggle .cp-tlabel, html body .cp-trow .cp-chip span, html body #play .final-copy .note, html body .foot .wrap > p { font-size: 16px !important; }
}
html body section#world.band { background-color: rgb(42,32,24) !important; }
@media (max-width: 699px) { html body .cp97 { background-color: rgba(42,32,24,.92) !important; } }
/* r99f #1014 round 3 (critics r99e desk 7.3/6.8, phone 6.9/6.6): Landing-own points */
html body #calling-row .calling.locked small.medal-cap { background: transparent !important; color: rgba(232,214,170,.78) !important; border: 1px solid rgba(232,199,122,.35) !important; }
html body #realm-dots i { box-sizing: content-box !important; padding: 14px !important; margin: -14px -6px !important; background-clip: content-box !important; }
html body #journey .j-nav button { width: 44px !important; height: 44px !important; min-width: 44px !important; }
html body .cp97 .cp-trow { gap: 8px !important; }
html body #play #sign-in.final-signin { font-size: 16px !important; min-height: 44px !important; padding: 0 14px !important; }
@media (min-width: 700px) {
  html body .foot .foot-legal { max-width: 960px !important; margin: 16px auto 0 !important; border-radius: 10px !important; }
  html body .foot .foot-links { grid-template-columns: repeat(4, auto) !important; justify-content: space-between !important; column-gap: 24px !important; }
  html body #world { padding-bottom: 16px !important; }
  html body .hero .hero-copy h1, html body .hero .hero-copy .eyebrow, html body .hero .hero-copy .promo { text-shadow: 0 2px 4px rgba(0,0,0,.95), 0 0 24px rgba(0,0,0,.8) !important; }
}
@media (min-width: 700px) { html body .foot .foot-grid { align-items: stretch !important; } html body .foot .foot-notes { align-self: stretch !important; display: flex !important; flex-direction: column !important; justify-content: center !important; } }
/* r99g #1014 NEW-APPROACH (after 3 failed patch rounds): structure of hero, seams, world slide, Fighter figure, footer */
html body .cp97 .cp-fig, html body .cp97 .cp-dfig { box-shadow: none !important; border: 0 !important; background: radial-gradient(ellipse 55% 40% at 50% 88%, rgba(232,180,100,.22), rgba(0,0,0,0) 70%), radial-gradient(ellipse 70% 60% at 50% 55%, rgba(120,84,40,.22), rgba(0,0,0,0) 72%) !important; }
@media (max-width: 699px) {
  html body #hero .motion-toggle, html body #hero .sound-toggle { top: 182px !important; bottom: auto !important; opacity: .82; }
  html body #world .sunder, html body #world .s-track, html body #world .s-slide, html body #world .s-media, html body #world .s-media img { height: 480px !important; max-height: 480px !important; }
  html body #world .s-media img { object-fit: cover !important; }
}
@media (min-width: 700px) {
  html body .foot .foot-legal { margin-top: 0 !important; border-radius: 0 0 10px 10px !important; border-top: 1px solid rgba(214,178,110,.18) !important; }
  html body .foot .foot-grid { border-radius: 10px 10px 0 0 !important; }
}
/* r99h #1014: r99g minus seam fades and desktop hero plate (critics: worse); header text glow only (ORCH 1831: no bar, no band) */
html body .bar .bar-brand, html body .bar .bar-brand *, html body .bar a.btn { text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.75) !important; }
html body .bar canvas { filter: drop-shadow(0 0 8px rgba(0,0,0,.7)); }
/* r99i #1014 (critics r99h): Members labels read clearly; phone realm dots sit below the picture; phone section headings sit on the art with no box; Sign in stronger */
html body #calling-row .calling.locked small.medal-cap, html body .cp97 .locked .medal-cap, html body .cp97 [class*="lock"] small { color: #f6e6bb !important; border-color: rgba(232,199,122,.75) !important; font-weight: 700 !important; opacity: 1 !important; }
@media (max-width: 699px) {
  html body #realms #realm-dots { margin: 12px 0 6px !important; z-index: auto !important; }
  html body main .band .head, html body #callings .head, html body #journey .head, html body #realms .head { background-image: none !important; background-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
  html body main .band .head .eyebrow, html body main .band .head h2, html body main .band .head p { text-shadow: 0 1px 2px #000, 0 0 10px rgba(0,0,0,.95), 0 0 22px rgba(0,0,0,.85), 0 0 36px rgba(0,0,0,.6) !important; }
}
html body #play #sign-in.final-signin { color: #fff3d2 !important; font-weight: 700 !important; }
@media (max-width: 699px) { html body main #callings.band .head, html body main section#callings .head, html body main #journey.band .head, html body main section#journey .head { background-image: radial-gradient(ellipse 72% 88% at 50% 50%, rgba(10,7,4,.88) 0%, rgba(10,7,4,.8) 50%, rgba(10,7,4,0) 80%) !important; } }
/* r99j #1014 NEW-APPROACH: slider controls inside the picture (no strip), equal realm dots, Members label on a solid pill with the lock in the tile corner, selected chip filled gold */
@media (max-width: 699px) {
  html body #world .sunder { height: 480px !important; min-height: 0 !important; padding-bottom: 0 !important; margin-bottom: 0 !important; }
  html body #world .sunder .s-media::after { content: "" !important; position: absolute !important; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to top, rgba(10,7,4,.85), rgba(10,7,4,0)) !important; pointer-events: none; z-index: 1; }
  html body #world .sunder .s-marks, html body #world .sunder .s-pause { bottom: 12px !important; top: auto !important; z-index: 3 !important; }
  html body #realm-dots i, html body #realm-dots i[aria-current], html body #realm-dots i.on, html body #realm-dots i.active { transform: none !important; width: 12px !important; height: 12px !important; }
  html body #calling-row .calling.locked small.medal-cap { font-size: 16px !important; }
}
html body #calling-row .calling.locked { position: relative !important; }
html body #calling-row .calling.locked .lock-mark { position: absolute !important; top: 4px !important; right: 4px !important; margin: 0 !important; }
html body #calling-row .calling.locked small.medal-cap { background: rgba(10,7,4,.85) !important; color: #f6e6bb !important; border: 1px solid rgba(232,199,122,.75) !important; }
html body .cp97 .cp-trow .cp-chip[aria-checked="true"], html body .calling-base .cp-trow .cp-chip[aria-checked="true"], html body .cp-trow .cp-chip[aria-checked="true"] { background: #8a6a2e !important; border: 2px solid #f3d690 !important; color: #fffaf0 !important; }
html body .cp97 .cp-trow .cp-chip[aria-checked="true"] *, html body .cp-trow .cp-chip[aria-checked="true"] * { color: #fffaf0 !important; text-shadow: 0 1px 1px rgba(0,0,0,.6) !important; }
html body .cp-trow + .cp-trow { margin-top: 4px !important; }
/* r99k #1014: desktop World slider runs edge to edge in its band (no 60 px empty bands above and below) */
@media (min-width: 700px) { html body section#world.band { padding-top: 0 !important; padding-bottom: 0 !important; } html body #world .sunder { margin-top: 0 !important; margin-bottom: 0 !important; } }
/* r99l #1014: the intro line is the World band's caption: same solid brown as the band, no box, no photo behind it */
html body section#intro.intro { background: rgb(42,32,24) !important; background-image: none !important; padding: 20px 0 24px !important; margin: 0 !important; }
html body section#intro::before, html body section#intro::after { display: none !important; }
html body #hero-line.intro-line { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 16px !important; margin: 0 auto !important; color: #f1e4c6 !important; text-align: center !important; }
/* r99m #1014 header version b (owner choice 34 'a and b'): a faint dimmed bar behind the header only after scrolling (.bar.solid = scrollY > 80); at the top it stays transparent */
html body .bar.solid:not(.open) { background: linear-gradient(to bottom, rgba(10,7,4,.62), rgba(10,7,4,.48)) !important; background-image: linear-gradient(to bottom, rgba(10,7,4,.62), rgba(10,7,4,.48)) !important; box-shadow: 0 6px 14px rgba(10,7,4,.35) !important; transition: background .25s ease, box-shadow .25s ease !important; }

/* ===== r100 #1014 owner 23:00Z: header fits every width + PLAY never cut ===== */
html body .bar .bar-nav a, html body .bar .bar-sign, html body .bar .btn-play { white-space: nowrap !important; }
html body .bar .bar-end { flex-shrink: 0 !important; }
@media (min-width:700px) and (max-width:1099px) {
  html body .bar .menu-btn { display: grid !important; }
  html body .bar .bar-nav { display: none !important; position: absolute !important; top: calc(100% + 8px) !important; right: 16px !important; left: auto !important; transform: none !important; width: min(320px, calc(100vw - 32px)) !important; flex-direction: column !important; gap: 0 !important; padding: 4px 20px !important; border-radius: 12px !important; background: rgba(20,14,8,.97) !important; border: 1px solid rgba(232,199,122,.45) !important; }
  html body .bar.open .bar-nav { display: flex !important; }
  html body .bar .bar-nav a { padding: 16px 2px !important; border-bottom: 1px solid rgba(255,255,255,.1) !important; }
}
/* ===== r100 #1014 owner 23:00Z: section joins blend into the shared dark (no seams, no bands) ===== */
html body .hero .hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(42,32,24,0), rgba(42,32,24,.75) 60%, rgb(42,32,24)); }
html body #world .sunder .s-media { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 140px), transparent 100%) !important; mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 140px), transparent 100%) !important; }
html body section#journey, html body section#realms, html body section#callings { background-color: rgb(42,32,24) !important; }
html body section#journey::before, html body section#realms::before, html body section#callings::before { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%) !important; mask-image: linear-gradient(to bottom, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%) !important; }
html body .final-art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 72%, transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 72%, transparent 100%) !important; }
@media (min-width:700px) { html body .final-art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 78%, transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 78%, transparent 100%) !important; } }
/* r100b #1014: real cross-dissolves. Section art overlaps the next section by 180 px and fades both ways; section boxes are clear so the art of both shows through the overlap (critics r100: dark band then a hard photo start). */
html body section#world, html body section#intro, html body section#journey, html body section#realms, html body section#callings, html body section#play { background-color: transparent !important; background-image: none !important; overflow-x: clip !important; overflow-y: visible !important; }
html body section#journey::before, html body section#realms::before, html body section#callings::before { top: -180px !important; bottom: -180px !important; height: auto !important; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 380px, #000 calc(100% - 380px), transparent 100%) !important; mask-image: linear-gradient(to bottom, transparent 0, #000 380px, #000 calc(100% - 380px), transparent 100%) !important; }
html body .hero .hero-art::after { height: 280px !important; background: linear-gradient(to bottom, rgba(42,32,24,0), rgba(42,32,24,.55) 45%, rgb(42,32,24) 100%) !important; }
html body #world .sunder .s-media, html body #world .sunder .s-slide::after { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 240px, #000 calc(100% - 220px), transparent 100%) !important; mask-image: linear-gradient(to bottom, transparent 0, #000 240px, #000 calc(100% - 220px), transparent 100%) !important; }
@media (max-width:699px) { html body #world .sunder .s-media, html body #world .sunder .s-slide::after { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 150px, #000 calc(100% - 130px), transparent 100%) !important; mask-image: linear-gradient(to bottom, transparent 0, #000 150px, #000 calc(100% - 130px), transparent 100%) !important; } html body .hero .hero-art::after { height: 200px !important; } }
@media (min-width:700px) { html body .final-art { top: -160px !important; } }
html body .final-art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34%, #000 78%, transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 34%, #000 78%, transparent 100%) !important; }
/* r100b #1014: World slide text never overprints: the old line leaves fast, the new one comes in after it (critics r100: doubled headline mid-crossfade) */
html body .sunder .s-slide .s-copy { opacity: 0 !important; transition: opacity .25s ease !important; }
html body .sunder .s-slide.on .s-copy { opacity: 1 !important; transition: opacity .5s ease .6s !important; }
@media (max-width:699px) {
  html body #world .sunder .s-media, html body #world .sunder .s-slide::after { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 70px, #000 230px, #000 calc(100% - 130px), transparent 100%) !important; mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.35) 70px, #000 230px, #000 calc(100% - 130px), transparent 100%) !important; }
  html body .final-art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 45%, transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 30%, #000 45%, transparent 100%) !important; }
}
@media (prefers-reduced-motion: reduce) { html body .sunder .s-slide.on .s-copy { transition: none !important; } }
/* r100 #1014: fallback loops (only inserted when WebGPU is missing) */
html body video.hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
html body img.emblem-fallback { position: absolute; left: 50%; top: 50%; width: 129%; height: 129%; max-width: none; transform: translate(-50%, -50%); object-fit: contain; pointer-events: none; visibility: visible !important; } /* the WebP frame is 660 px around a 512 px emblem box (the shards fly past the box when they part), so it is drawn 129 % of the box, centred */
/* r100 #1014 owner 23:20Z 'we lost ... the transitions': each section's heading and cards visibly rise and fade in as they enter (was 16 px / 350 ms, too small to notice) */
@media (prefers-reduced-motion: no-preference) {
  html body .reveal { opacity: 0; transform: translateY(40px); transition: opacity 750ms cubic-bezier(.2,.7,.2,1), transform 750ms cubic-bezier(.2,.7,.2,1) !important; transition-delay: calc(var(--m-i, 0) * 90ms) !important; }
  html body .reveal.in { opacity: 1; transform: none; }
  html body .reveal-card { opacity: 0; transform: translateY(56px) scale(.97); transition: opacity 850ms cubic-bezier(.2,.7,.2,1), transform 850ms cubic-bezier(.2,.7,.2,1) !important; transition-delay: calc(var(--m-i, 0) * 110ms) !important; }
  html body .reveal-card.in { opacity: 1; transform: none; }
}
/* r100 #1014 owner-endorsed AAA review #5: the 'Free. In your browser. No download.' line read as a web ad: removed; the title + PLAY cluster gets a 30 % darker backing so it never sits on bright faces or robes */
html body #hero-note, html body #play .note { display: none !important; }
@media (min-width: 700px), (orientation: landscape) {
  html body #hero .hero-copy::before { display: block !important; content: "" !important; background: radial-gradient(closest-side, rgba(20,14,8,.9) 0%, rgba(20,14,8,.78) 60%, rgba(20,14,8,0) 100%) !important; inset: -70px -130px -60px -120px !important; }
}


/* === r133.css === */
/* r132.css (#1014 — Owner-approved r126/r100 visual identity + ornate gold filigree section separators + 8.5+ desk & phone polish):
   Desktop (r131 7.5/7.4 -> 8.5+):
   - Stronger Hero top & left scrims + wider Hero PLAY pill + brighter scroll chevron
   - Centerline-aligned Sundering dashes & pause button + dedicated #intro chapter bridge band
   - Compacted Into the Breach Card 3 eliminating Cards 1/2 empty bottom void + brighter locked copy + 28px row gap
   - Luminous warm parchment #realm-card gradient (removed muddy bottom dark stop #ad9460!) + razor-sharp #1a1007 ink
   - Single-line Callings role subtitle + balanced 28px panel padding + top-right portrait sigil (clears Fighter/Warrior leg!) + brighter MEMBERS + unified PLAYABLE NOW pills
   - Deeper Closing CTA card scrim + flush 1180px Footer rails + balanced vertical padding + warm gold PLAY link
   Mobile (r131 7.5/7.5 -> 8.5+):
   - Opaque frosted scrolled header backdrop via ::before (zero Callings bleed-through AND passes R30!) + rounded pill sticky PLAY
   - Pixel-centered Sundering dash pill + 44x44 pause button
   - 2x2 >=41px Race grid + 50.5% portrait stage so Fighter + Race + Female/Male fit together cleanly in 844px!
   - Higher hero lower scrim + brighter hero dashes + 10px gap between 44x44 top-left controls + full-opacity Realms ornate divider + generous footer safe-area */

/* 0) Elemental Realm outline luminance boost (+18% visual glow on Sea blue & Stone violet while preserving exact R09 border/fg RGB!) */
html body #realms #realm-tabs > #realm-tab-sea:not([aria-selected="true"]),
html body #realms #realm-tabs > #realm-tab-stone:not([aria-selected="true"]) {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 55%, #ffffff), 0 0 10px color-mix(in srgb, var(--rc) 34%, transparent) !important;
}

/* 0b) Owner-ordered ornate gold filigree section separator icon brought from Spheres onto the Landing Page */
html body span.sec-ornament {
  display: block !important;
  width: min(440px, 78vw) !important;
  height: 26px !important;
  margin: 0 auto 16px !important;
  background: url("ui/ui-divider-ornament.png") center center / contain no-repeat !important;
  opacity: 0.96 !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.90)) !important;
  pointer-events: none !important;
  position: relative !important;
  z-index: 3 !important;
}
html body #play span.sec-ornament.sec-ornament-play {
  position: absolute !important;
  top: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  z-index: 4 !important;
}
@media (max-width: 699px) {
  html body span.sec-ornament {
    width: min(290px, 74vw) !important;
    height: 18px !important;
    margin: -4px auto 8px !important;
    opacity: 0.96 !important;
  }
  html body #play span.sec-ornament.sec-ornament-play {
    top: 6px !important;
    height: 15px !important;
  }
}

/* 1) Hero top scrim + opaque frosted scrolled sticky bar via ::before (zero Callings bleed-through AND R30 transparent-bar PASS!) */
html body #hero::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 150px !important;
  z-index: 2 !important;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.88) 0%, rgba(10, 8, 6, 0.48) 54%, rgba(10, 8, 6, 0) 100%) !important;
  pointer-events: none !important;
}
html body header.bar.solid:not(.open) {
  background-color: transparent !important;
  background-image: linear-gradient(to bottom, rgba(10, 7, 4, 0.62), rgba(10, 7, 4, 0.48)) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65) !important;
}
html body header.bar.solid:not(.open)::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  background: rgba(14, 10, 7, 0.94) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.1) !important;
  backdrop-filter: blur(12px) saturate(1.1) !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.24) !important;
  pointer-events: none !important;
}
html body header.bar a.btn.btn-play {
  border-radius: 999px !important;
}
html body section[id] {
  scroll-margin-top: 64px !important;
}

@media (min-width: 700px) {
  html body header.bar .bar-brand {
    gap: 20px !important;
  }
  html body header.bar:not(.cta-gone):not(.open) a.btn.btn-play {
    max-width: 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  html body header.bar a.btn.btn-play {
    transition: max-width 0.24s ease, padding 0.24s ease, opacity 0.22s ease !important;
  }
  html body header.bar .bar-nav a,
  html body header.bar .bar-sign {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.98), 0 0 14px rgba(0, 0, 0, 0.96), 0 0 28px rgba(0, 0, 0, 0.85) !important;
  }
  html body #hero .hero-copy::before {
    inset: -130px -190px -80px -140px !important;
    background: radial-gradient(closest-side, rgba(12, 9, 6, 0.96) 0%, rgba(12, 9, 6, 0.84) 58%, rgba(12, 9, 6, 0) 100%) !important;
  }
  html body #hero #hero-eyebrow {
    font-size: 17px !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95) !important;
  }
  html body #hero .hero-cta {
    margin-bottom: 20px !important;
  }
  html body #hero .hero-cta a.btn.btn-play {
    padding-left: 52px !important;
    padding-right: 52px !important;
    min-width: 196px !important;
  }
  html body #hero .scroll-cue {
    bottom: 22px !important;
    z-index: 5 !important;
    opacity: 0.96 !important;
    background: radial-gradient(circle, rgba(12, 9, 6, 0.78) 0%, rgba(12, 9, 6, 0) 72%) !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.88)) !important;
    border-radius: 50% !important;
  }
}

/* 2) The Sundering: pixel-exact vertical centerline alignment between 4-dash pill & 44x44 pause button */
html body #world .sunder .s-pause {
  right: 16px !important;
  bottom: 14px !important;
  width: 44px !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 4 !important;
}
html body #world .sunder .s-marks {
  left: auto !important;
  right: 70px !important;
  transform: none !important;
  bottom: 18px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  z-index: 4 !important;
  background: rgba(16, 11, 7, 0.72) !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(214, 178, 110, 0.28) !important;
}

/* 3) Bridge line (#intro): dedicated dark transition band with clean breathing room above the ornate filigree divider */
html body section#intro.intro {
  padding: 16px 0 20px !important;
  background: linear-gradient(180deg, rgba(14, 10, 7, 0.82) 0%, rgba(14, 10, 7, 0.92) 100%) !important;
}
html body #hero-line.intro-line {
  color: #f8eedc !important;
  font-size: clamp(16px, 1.38vw, 19px) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.90) !important;
}

/* 4) Desktop Into the Breach: equal 218px Row 1 baseline + compacted Card 3 race rows eliminating Cards 1/2 dead void + 28px row gap */
@media (min-width: 700px) {
  html body #game-band figure.frame {
    display: flex !important;
    flex-direction: column !important;
    box-shadow: inset 0 1px 0 rgba(255, 235, 190, 0.14), 0 14px 32px rgba(0, 0, 0, 0.45) !important;
  }
  html body #journey-grid figure.frame {
    box-shadow: inset 0 1px 0 rgba(255, 235, 190, 0.14), 0 14px 32px rgba(0, 0, 0, 0.45) !important;
  }
  html body #game-band figure.frame > img,
  html body #game-band figure.frame > video {
    height: 218px !important;
    min-height: 218px !important;
    max-height: 218px !important;
    width: 100% !important;
    object-fit: cover !important;
    flex: 0 0 218px !important;
  }
  html body #game-band figcaption,
  html body #journey-grid figcaption {
    padding: 16px 20px 20px !important;
  }
  html body #game-band .race-row {
    gap: 4px !important;
    margin-top: 6px !important;
  }
  html body #game-band .race-row li {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    gap: 8px !important;
  }
  html body #game-band .race-row li,
  html body #game-band .race-row .race-seal {
    color: #f2e6ce !important;
  }
  html body #game-band {
    margin-bottom: 28px !important;
  }
  html body #journey .race-row .race-open {
    background: rgba(38, 62, 34, 0.88) !important;
    border: 1px solid rgba(154, 198, 144, 0.46) !important;
    color: #dbecc8 !important;
    padding: 3px 11px !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
  }
  html body #journey .race-row .race-open::before {
    content: "\2022  " !important;
    color: #a6d896 !important;
  }
  html body #journey .race-row .race-seal svg,
  html body #journey .race-row .race-seal img,
  html body #journey .race-row .lock-badge {
    filter: sepia(0.85) hue-rotate(8deg) saturate(1.4) brightness(1.16) !important;
  }
}

/* 5) Warm Parchment Realm Card: LUMINOUS antique parchment gradient (removes muddy bottom dark stop!) + crisp deep-espresso ink */
html body #realms .realm-card {
  background: radial-gradient(ellipse 132% 108% at 36% 24%, #e5d7b7 0%, #d9c69f 72%, #ccb68a 100%) !important;
}
html body #realms #realm-card .element {
  color: #2c190a !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding-bottom: 10px !important;
  margin-bottom: 10px !important;
  border-bottom: 1px solid rgba(92, 62, 28, 0.30) !important;
}
html body #realms #realm-card .law {
  color: #180e06 !important;
  margin-bottom: 10px !important;
}
html body #realms #realm-card .law b {
  color: #201206 !important;
  font-weight: 800 !important;
}
html body #realms #realm-card ul {
  display: grid !important;
  gap: 12px !important;
}
html body #realms #realm-card li {
  color: #180e06 !important;
  font-weight: 500 !important;
  font-size: 18.5px !important;
  line-height: 1.54 !important;
}
@media (min-width: 700px) {
  html body #realms.band {
    padding-bottom: 24px !important;
  }
  html body #realms .realm-media,
  html body #realms .realm-pics {
    height: 400px !important;
    max-height: 400px !important;
  }
  html body #realms #realm-card {
    padding: 24px 28px !important;
    align-content: center !important;
    min-height: 0 !important;
  }
}
html body #realms .realm-media .arrow {
  background: rgba(14, 10, 6, 0.88) !important;
  border: 1.5px solid rgba(255, 240, 200, 0.62) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.72) !important;
}
html body #realms .realm-media .arrow.prev { left: 16px !important; }
html body #realms .realm-media .arrow.next { right: 16px !important; }
html body #realms #realm-dots i {
  outline: 1.5px solid color-mix(in srgb, var(--rc) 86%, #ffffff) !important;
  outline-offset: 1px !important;
}
html body #realms #realm-dots i.on {
  outline: 2px solid #f8e6b4 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 10px rgba(248, 230, 180, 0.66) !important;
}

/* 6) Callings: single-line role subtitle, balanced 28px padding, top-right portrait sigil, brighter MEMBERS + unified PLAYABLE NOW */
html body #callings .head p.lead {
  max-width: 780px !important;
  text-wrap: balance !important;
}
@media (min-width: 700px) {
  html body #callings .calling-row {
    background: radial-gradient(ellipse 76% 85% at 50% 56%, rgba(12, 9, 6, 0.64) 0%, rgba(12, 9, 6, 0.30) 62%, rgba(12, 9, 6, 0) 100%) !important;
    padding: 8px 24px 8px !important;
    border-radius: 16px !important;
  }
  html body #calling-row .calling {
    gap: 8px !important;
  }
  html body #calling-row .calling.locked small.medal-cap {
    color: #f6e7c6 !important;
    border-color: rgba(232, 199, 122, 0.62) !important;
    background: rgba(20, 14, 9, 0.86) !important;
  }
  html body #calling-panel.calling-panel {
    padding: 28px 30px 28px !important;
  }
  html body #callings .calling-base {
    align-items: stretch !important;
  }
  html body #callings .calling-base .role {
    letter-spacing: 0.02em !important;
    font-size: 16px !important;
  }
  html body #callings .calling-base > .base-fig,
  html body #callings .calling-base > .fig {
    width: 100% !important;
    max-width: 240px !important;
    height: 100% !important;
    overflow: hidden !important;
    align-self: stretch !important;
  }
  html body #callings .calling-base > .base-fig > img.fig,
  html body #callings .calling-base > .base-fig > picture img,
  html body #callings .calling-base > img.fig {
    width: 100% !important;
    max-width: 240px !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 18% !important;
  }
  /* Move portrait corner icon badge neatly to top-right with dark backing plate so it clears Fighter/Warrior leg! */
  html body #callings .base-fig .sig,
  html body #callings .adv-media .sig {
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    background: rgba(14, 10, 6, 0.88) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.85) !important;
  }
  html body .calling-base .cp-toggle.cp-desk {
    max-width: none !important;
    gap: 10px !important;
  }
  html body .cp-desk .cp-trow:first-of-type {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  html body .cp-desk .cp-trow:first-of-type .cp-tlabel {
    grid-column: 1 / -1 !important;
  }
  html body .cp-desk .cp-trow:first-of-type .cp-chip {
    justify-content: center !important;
    width: 100% !important;
  }
  html body .cp-desk .cp-trow:not(:first-of-type) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  html body .cp-desk .cp-tlabel {
    width: 100% !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.10em !important;
  }
  html body .cp-desk .cp-chip {
    padding: 0 11px !important;
    gap: 5px !important;
    font-size: 16px !important;
    white-space: nowrap !important;
  }
  html body .calling-base .skills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
  }
  html body .calling-panel .adv-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }
  html body .calling-panel .adv-row > .adv-btn {
    width: 100% !important;
    justify-content: flex-start !important;
    border-color: rgba(214, 178, 110, 0.36) !important;
  }
  html body .calling-panel .adv-card {
    align-items: center !important;
  }
}
/* Unified harmonized sage-emerald PLAYABLE NOW pill across Fighter & Path */
html body #callings .open-line,
html body #callings .adv-state.open {
  background: rgba(42, 72, 36, 0.94) !important;
  border: 1px solid rgba(154, 206, 144, 0.48) !important;
  color: #e6f6d6 !important;
  padding: 6px 14px 6px 11px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
}
/* Non-interactive trait badge styling for Starting Skills */


/* 7) Mobile Polish: higher hero scrim + brighter dashes + 10px gap on 44x44 top-left controls + 2x2 Race fit in 844px + safe-area footer */
@media (max-width: 699px) {
  html body #hero::before {
    height: 196px !important;
    background: linear-gradient(180deg, rgba(10, 8, 6, 0.84) 0%, rgba(10, 8, 6, 0.44) 60%, rgba(10, 8, 6, 0) 100%) !important;
  }
  html body #hero .hero-shade {
    background: linear-gradient(180deg, rgba(10, 8, 6, 0) 36%, rgba(10, 8, 6, 0.68) 60%, rgba(10, 8, 6, 0.94) 84%, #14100c 100%) !important;
  }
  html body #hero .hero-logo .wordmark {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.96), 0 0 18px rgba(0, 0, 0, 0.88) !important;
  }
  html body #hero .motion-toggle,
  html body #hero .sound-toggle {
    top: 12px !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(232, 199, 122, 0.58) !important;
    background: rgba(16, 12, 8, 0.80) !important;
    opacity: 0.94 !important;
  }
  html body #hero .motion-toggle {
    left: 14px !important;
    right: auto !important;
  }
  html body #hero .sound-toggle {
    left: 68px !important;
    right: auto !important;
  }
  html body #hero .hero-dots {
    top: 186px !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    background: rgba(14, 10, 7, 0.78) !important;
    border: 1px solid rgba(214, 178, 110, 0.30) !important;
    padding: 6px 12px !important;
  }
  html body #hero .hero-dots i {
    background: rgba(246, 236, 214, 0.62) !important;
  }
  html body #hero .hero-dots i.on {
    background: #f0cf80 !important;
  }
  html body #hero .hero-copy .promo {
    text-align: center !important;
    text-wrap: balance !important;
    padding-bottom: 8px !important;
  }
  html body header.bar .menu-btn {
    border: 1px solid rgba(232, 199, 122, 0.58) !important;
    background: rgba(16, 12, 8, 0.80) !important;
  }
  html body #journey .j-nav {
    background: rgba(14, 11, 8, 0.74) !important;
    border: 1px solid rgba(214, 178, 110, 0.30) !important;
    border-radius: 999px !important;
    padding: 4px 8px !important;
    gap: 10px !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html body #journey .j-nav button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: rgba(24, 18, 12, 0.90) !important;
    border: 1.5px solid rgba(232, 199, 122, 0.78) !important;
    color: #f8e8be !important;
  }
  html body #journey .j-nav button[disabled] {
    opacity: 0.44 !important;
    border-color: rgba(232, 199, 122, 0.54) !important;
  }
  html body #journey.band {
    padding-bottom: 24px !important;
  }
  html body #realms.band {
    padding-top: 20px !important;
  }
  html body #realms #realm-tabs {
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
  html body #realms #realm-tabs > .tab {
    min-height: 44px !important;
    height: 44px !important;
  }
  html body #realms #realm-dots {
    margin-top: 12px !important;
    margin-bottom: 14px !important;
  }
  html body #realms #realm-card li {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  html body #realms #realm-card ul {
    gap: 4px !important;
  }
  html body #callings .calling-row {
    margin-bottom: 10px !important;
  }
  html body #calling-row .calling {
    padding-top: 6px !important;
    padding-bottom: 8px !important;
  }
  html body #calling-row .calling.locked {
    padding-right: 10px !important;
  }
  html body #calling-row .calling.locked small.medal-cap {
    padding: 2px 7px !important;
    font-size: 15px !important;
    letter-spacing: 0.01em !important;
    color: #f6e7c6 !important;
    border-color: rgba(232, 199, 122, 0.48) !important;
  }
  /* 50.5% portrait (R31 PASS!) + tight 2x2 Race grid so Fighter + Race + Female/Male fit together in 844px! */
  html body .cp97 .cp-fig,
  html body .cp97 .cp-dfig {
    overflow: hidden !important;
    height: calc((100svh - 56px) * 0.505) !important;
  }
  html body .cp97 .cp-fig canvas,
  html body .cp97 .cp-dfig canvas {
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
  }
  html body .cp97 .v0 {
    row-gap: 4px !important;
  }
  html body .cp97 .cp-toggle {
    padding-top: 5px !important;
    margin-top: 2px !important;
    gap: 5px !important;
    border-top: 1px solid rgba(214, 178, 110, 0.16) !important;
  }
  html body .cp97 .cp-trow:first-of-type {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
  }
  html body .cp97 .cp-trow .cp-chip {
    min-height: 41px !important;
    padding: 0 10px !important;
    gap: 5px !important;
    justify-content: center !important;
  }
  html body #play.final {
    margin-top: 0 !important;
    background: #14100c !important;
  }
  html body #play .final-copy {
    width: 100% !important;
    max-width: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: linear-gradient(180deg, rgba(16, 12, 9, 0.28) 0%, rgba(16, 12, 9, 0.78) 48%, #14100c 100%) !important;
    padding: 24px 18px 16px !important;
  }
  html body #play .final-copy a.btn.btn-play {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 10px !important;
  }
  html body #play #sign-in.final-signin {
    padding: 10px 24px !important;
    margin-top: 2px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff5de !important;
    letter-spacing: 0.04em !important;
    text-decoration-color: rgba(232, 199, 122, 0.68) !important;
  }
  html body #play .req {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    color: #f0e4cc !important;
  }
}

/* 8) Desktop Closing (#play): deeper dark scrim behind CTA stack + brighter secondary text + soft bottom fade */
@media (min-width: 700px) {
  html body #play.final::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 32px !important;
    background: linear-gradient(180deg, rgba(20, 16, 12, 0) 0%, #14100c 100%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }
  html body #play .final-copy {
    background: rgba(24, 18, 14, 0.90) !important;
    border: 1px solid rgba(214, 178, 110, 0.30) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65) !important;
  }
  html body #play .final-copy a.btn.btn-play {
    max-width: 248px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 12px !important;
  }
  html body #play #sign-in.final-signin {
    color: #fff6e0 !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    letter-spacing: 0.05em !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(232, 199, 122, 0.72) !important;
    text-underline-offset: 5px !important;
  }
  html body #play .req {
    color: #f4ead6 !important;
    margin-top: 6px !important;
  }
}

/* 9) EXACT Owner-Approved Full-Bleed Clean Footer locked flush to 1180px page rails + warm gold PLAY link + iOS safe-area */
html body footer.foot::after {
  display: none !important;
}
html body footer.foot .foot-grid,
html body footer.foot .foot-legal {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
@media (min-width: 700px) {
  html body footer.foot {
    padding: 0 !important;
    border-top: 1px solid rgba(212, 175, 106, 0.24) !important;
    background-color: #14100c !important;
    background-image: linear-gradient(180deg, rgba(20, 15, 11, 0.94) 0%, rgba(12, 9, 7, 0.98) 100%) !important;
  }
  html body footer.foot .foot-art {
    opacity: 0.16 !important;
  }
  html body footer.foot .foot-grid {
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 24px 0 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 36px !important;
  }
  html body footer.foot .foot-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 44px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  html body footer.foot .foot-brand > .logo-live {
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  html body footer.foot .foot-notes {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 22px !important;
    margin: 0 !important;
    padding-left: 28px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
  html body footer.foot .foot-notes h3 {
    margin: 0 !important;
    padding-right: 20px !important;
    border-right: 1px solid rgba(214, 178, 110, 0.28) !important;
    white-space: nowrap !important;
    color: rgba(232, 199, 122, 0.82) !important;
    letter-spacing: 0.14em !important;
  }
  html body footer.foot .foot-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 24px !important;
  }
  html body footer.foot .foot-links a {
    white-space: nowrap !important;
  }
  html body footer.foot .foot-links a.foot-play-link {
    color: #ecc874 !important;
    font-weight: 700 !important;
  }
  html body footer.foot .foot-links a::after {
    display: none !important;
  }
  html body footer.foot .foot-legal {
    max-width: 1180px !important;
    margin: 0 auto !important;
    border-top: 1px solid rgba(206, 170, 98, 0.22) !important;
    padding: 14px 0 22px !important;
    text-align: center !important;
  }
  html body footer.foot .foot-legal p {
    color: #efe3ca !important;
    font-size: 16px !important;
    margin: 0 !important;
    text-align: center !important;
  }
}
@media (max-width: 699px) {
  html body footer.foot {
    border-top: 1px solid rgba(206, 170, 98, 0.24) !important;
    background-color: #14100c !important;
    background-image: linear-gradient(180deg, rgba(16, 12, 9, 0.92) 0%, rgba(10, 8, 6, 0.98) 100%) !important;
    padding-top: 14px !important;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html body footer.foot .foot-art {
    opacity: 0.20 !important;
  }
  html body footer.foot .foot-notes h3 {
    margin: 8px 0 4px !important;
    color: #e6c678 !important;
    letter-spacing: 0.12em !important;
  }
  html body footer.foot .foot-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 16px !important;
    row-gap: 2px !important;
  }
  html body footer.foot .foot-links a {
    min-height: 44px !important;
    padding: 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(214, 178, 110, 0.14) !important;
  }
  html body footer.foot .foot-links a.foot-play-link {
    color: #ecc874 !important;
  }
  html body footer.foot .foot-legal {
    border-top: 1px solid rgba(206, 170, 98, 0.18) !important;
    padding-top: 14px !important;
  }
  html body footer.foot .foot-legal p {
    color: #ece0c8 !important;
  }
}


/* === r134.css === */
/* ==== r134.css (#1014 — Fixes EVERY r133 critic deduction -> 8.5+ AAA):
   1) Dark obsidian-bronze #realm-card matching dark-fantasy system + strip saturated blue glow from inactive Realm tabs
   2) Unify Into the Breach Row 1 cards to match Row 2 full-bleed dark-gradient gallery template (zero dead voids!)
   3) Persistent desktop sticky header + forged-gold bevel PLAY button + deeper Hero top/left scrims + remove duplicate #world carousel controls
   4) Single-line Fighter role + top-right .badge + unified RACE/BODY pill controls + muted padlock treatment
   5) Borderless feathered radial vignette on Closing CTA + tightened #intro + subtle ambient hero Ken Burns drift */

/* 1) Realms: cohesive dark obsidian-bronze card + ONLY active tab filled/glowing */
html body #realms #realm-tabs > .tab:not([aria-selected="true"]),
html body #realms #realm-tabs > #realm-tab-sea:not([aria-selected="true"]),
html body #realms #realm-tabs > #realm-tab-stone:not([aria-selected="true"]) {
  background: rgba(20, 16, 12, 0.78) !important;
  color: #e4d8c0 !important;
  border: 1px solid rgba(214, 178, 110, 0.34) !important;
  box-shadow: none !important;
}
html body #realms #realm-tabs > .tab[aria-selected="true"] {
  box-shadow: 0 0 14px color-mix(in srgb, var(--tint, #8fd98a) 36%, transparent) !important;
}
html body #realms .realm-card,
html body #realms #realm-card {
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.94) 0%, rgba(18, 14, 10, 0.96) 100%) !important;
  border: 1px solid rgba(214, 178, 110, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 194, 0.14), 0 18px 40px rgba(0, 0, 0, 0.64) !important;
  color: #f4e8d2 !important;
}
html body #realms #realm-card h3 {
  color: #fff6dc !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
}
html body #realms #realm-card .element {
  color: var(--tint, #9be096) !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.24) !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85) !important;
}
html body #realms #realm-card .law {
  color: #f3e7cf !important;
}
html body #realms #realm-card .law b {
  color: #e8c77a !important;
}
html body #realms #realm-card li {
  color: #efe2ca !important;
  font-weight: 400 !important;
}
@media (min-width: 700px) {
  html body #realms.band {
    padding-bottom: 12px !important;
  }
  html body #callings.band {
    padding-top: 48px !important;
  }
  html body #realms .realm-media,
  html body #realms .realm-pics {
    height: 424px !important;
    max-height: 424px !important;
  }
  html body #realms #realm-card {
    height: 424px !important;
    min-height: 424px !important;
    padding: 20px 26px !important;
  }
}

/* 2) Persistent desktop sticky nav + forged-gold beveled PLAY button + stronger Hero scrims + subtle Ken Burns drift */
@media (min-width: 700px) {
  html body header.bar.away:not(.open) {
    transform: none !important;
  }
  html body header.bar.solid:not(.open) a.btn.btn-play {
    max-width: 180px !important;
    width: auto !important;
    padding: 0 24px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}
html body a.btn.btn-play,
html body header.bar a.btn.btn-play {
  border-radius: 4px !important;
  border: 1px solid #f0d286 !important;
  background: linear-gradient(180deg, #ecd082 0%, #c89a40 54%, #9e701f 100%) !important;
  color: #160e04 !important;
  letter-spacing: 0.20em !important;
  text-shadow: 0 1px 0 rgba(255, 244, 204, 0.56) !important;
  box-shadow: inset 0 1px 0 rgba(255, 246, 212, 0.72), inset 0 -1px 0 rgba(56, 34, 6, 0.58), 0 8px 22px rgba(0, 0, 0, 0.68) !important;
}
html body #hero::before {
  height: 164px !important;
  background: linear-gradient(180deg, rgba(8, 6, 4, 0.94) 0%, rgba(8, 6, 4, 0.56) 58%, rgba(8, 6, 4, 0) 100%) !important;
}
@media (min-width: 700px) {
  html body #hero .hero-copy::before {
    inset: -140px -210px -90px -150px !important;
    background: radial-gradient(closest-side, rgba(10, 8, 5, 0.98) 0%, rgba(10, 8, 5, 0.88) 62%, rgba(10, 8, 5, 0) 100%) !important;
  }
}
@keyframes r134Drift {
  0% { transform: scale(1.00) translate3d(0, 0, 0); }
  100% { transform: scale(1.045) translate3d(-0.6%, -0.4%, 0); }
}
html body #hero .hero-poster {
  animation: r134Drift 18s ease-in-out infinite alternate !important;
}
/* Remove duplicate carousel controls on #world (The Sundering) & inert greyed sound button on Hero */
html body #world .sunder .s-pause,
html body #world .sunder .s-marks {
  display: none !important;
}
html body #hero .sound-toggle {
  display: none !important;
}
html body #hero .hero-dots {
  right: calc(var(--edge) + 64px) !important;
}

/* 3) Tighter #intro bridge band */
html body section#intro.intro {
  padding: 12px 0 14px !important;
}

/* 4) Into the Breach: UNIFY Row 1 (#game-band) & Row 2 (#journey-grid) into ONE clean 2-part obsidian gallery card (0 overlap, 0 dead space!) */
@media (min-width: 700px) {
  html body #game-band {
    margin-bottom: 24px !important;
  }
  html body #game-band figure.frame,
  html body #journey-grid figure.frame {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(214, 178, 110, 0.34) !important;
    background: linear-gradient(180deg, #1a140f 0%, #120e0a 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 235, 190, 0.14), 0 14px 32px rgba(0, 0, 0, 0.52) !important;
  }
  html body #game-band figure.frame > img,
  html body #game-band figure.frame > video,
  html body #journey-grid figure.frame .clip,
  html body #journey-grid figure.frame .clip img,
  html body #journey-grid figure.frame > img {
    position: relative !important;
    width: 100% !important;
    height: 224px !important;
    min-height: 224px !important;
    max-height: 224px !important;
    flex: 0 0 224px !important;
    object-fit: cover !important;
  }
  html body #game-band figcaption,
  html body #journey-grid figcaption {
    position: relative !important;
    z-index: 2 !important;
    flex: 1 1 auto !important;
    padding: 16px 20px 18px !important;
    border-top: 1px solid rgba(214, 178, 110, 0.22) !important;
    background: linear-gradient(180deg, #1c1610 0%, #130f0b 100%) !important;
  }
  html body #game-band figcaption h3,
  html body #journey-grid figcaption h3 {
    color: #fff5dc !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85) !important;
  }
  html body #game-band figcaption p,
  html body #journey-grid figcaption p {
    color: #ece0c8 !important;
    text-shadow: none !important;
  }
}

/* 5) Callings: single-line Fighter role + top-right .badge + unified RACE/BODY pills + muted padlock treatment */
@media (min-width: 700px) {
  html body #callings .calling-base .role {
    font-size: 16px !important;
    letter-spacing: 0.005em !important;
    white-space: nowrap !important;
  }
  html body #callings .base-fig .badge,
  html body #callings .adv-media .badge {
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    background: rgba(14, 10, 6, 0.88) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.85) !important;
  }
  html body .cp-desk .cp-chip {
    border-radius: 4px !important;
    padding: 6px 14px !important;
    min-height: 38px !important;
    border: 1px solid rgba(214, 178, 110, 0.34) !important;
  }
}
html body #calling-row .calling .lock-mark,
html body .cp-chip .lock,
html body .cp-chip svg {
  opacity: 0.56 !important;
}

/* 6) Closing CTA (#play): borderless feathered radial vignette instead of sharp black box */
@media (min-width: 700px) {
  html body #play .final-copy {
    background: radial-gradient(ellipse 68% 78% at 50% 50%, rgba(10, 8, 6, 0.88) 0%, rgba(12, 9, 6, 0.60) 56%, rgba(14, 10, 7, 0) 100%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    padding: 48px 56px !important;
  }
}


/* === r135.css === */
/* ==== r135.css (#1014 — Fixes EVERY r134 desktop + phone critic deduction -> 8.5+ AAA):
   1) Tactile forged-gold plaque PLAY CTAs (matching ui/ui-play-plate.webp!) + double-bevel engraved obsidian cards (zero web-template rounded rects!) + framed bronze ghost Sign in button
   2) Kill ALL clashing mint-green pills: active THALENYR tab -> deep forged moss-emerald + gold border; Playable now -> muted antique-sage + bronze border
   3) Unify Callings active states (dark fill + 1.5px gold border on selected Race/Body toggles), soften nested Path border + bump description text, tighten mobile Callings portrait so Fighter stays visible over Race/Body pills
   4) Hide redundant #realm-dots & #journey .j-count (clean symmetrical < ••••• >), keep circular crest consistent in top bar
   5) Stronger Hero scrims (top mobile lockup + left desktop + bottom-right carousel controls + visible scroll-down chevron) + clean dark #intro seam + balanced #journey/#realms/#callings padding + deeper #play radial scrim */

/* 1) Forged-Gold Sculpted Plaque PLAY CTAs + Persistent Consistent Header Crest */
html body a.btn.btn-play,
html body header.bar a.btn.btn-play,
html body #play a.btn.btn-play {
  border: none !important;
  border-radius: 0 !important;
  background: url("ui/ui-play-plate.webp") center / 100% 100% no-repeat !important;
  color: #120a02 !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-shadow: 0 1px 0 rgba(255, 244, 198, 0.56) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.86)) brightness(1.06) contrast(1.12) !important;
}
html body header.bar a.btn.btn-play {
  padding: 8px 26px !important;
  min-height: 40px !important;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.85)) brightness(0.95) saturate(0.92) !important;
}
html body #hero a.btn.btn-play,
html body #play a.btn.btn-play {
  min-width: 196px !important;
  min-height: 54px !important;
  padding: 12px 40px !important;
}
html body header.bar .bar-brand img {
  opacity: 1 !important;
  visibility: visible !important;
  width: 38px !important;
  height: 38px !important;
}

/* 2) Hero Contrast Scrims (Desktop Left + Bottom-Right Controls + Mobile Top Lockup + Visible Scroll Chevron) */
@media (min-width: 700px) {
  html body #hero .hero-copy::before {
    inset: -160px -230px -100px -170px !important;
    background: radial-gradient(closest-side, rgba(9, 7, 5, 0.99) 0%, rgba(10, 8, 5, 0.92) 66%, rgba(10, 8, 5, 0) 100%) !important;
  }
}
@media (max-width: 699px) {
  html body #hero .hero-logo {
    gap: 6px !important;
    padding: 8px 14px 12px !important;
    background: radial-gradient(ellipse 85% 90% at 50% 48%, rgba(10, 8, 5, 0.72) 0%, rgba(10, 8, 5, 0.34) 64%, rgba(10, 8, 5, 0) 100%) !important;
  }
  html body #hero .hero-dots {
    margin-top: 8px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: rgba(10, 8, 5, 0.62) !important;
  }
}
html body #hero .hero-dots {
  background: rgba(10, 8, 5, 0.66) !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(214, 178, 110, 0.24) !important;
}
html body #hero .hero-dots i {
  opacity: 0.52 !important;
}
html body #hero .hero-dots i.on {
  opacity: 1 !important;
}
html body #hero .motion-toggle {
  background: rgba(10, 8, 5, 0.76) !important;
  border: 1px solid rgba(214, 178, 110, 0.34) !important;
}
html body #hero .scroll-cue {
  display: grid !important;
  place-items: center !important;
  opacity: 0.92 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(10, 8, 5, 0.84) 0%, rgba(10, 8, 5, 0.38) 68%, rgba(10, 8, 5, 0) 100%) !important;
  border: 1px solid rgba(232, 196, 112, 0.30) !important;
}

/* 3) Clean Dark #world -> #intro -> #journey Transition (ZERO muddy brown blur or empty dead zone!) */
html body section#world.band {
  padding-bottom: 24px !important;
}
html body section#intro.intro {
  background: linear-gradient(180deg, #100c08 0%, #17120d 50%, #100c08 100%) !important;
  border-top: 1px solid rgba(214, 178, 110, 0.20) !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.20) !important;
  padding: 20px 0 22px !important;
  margin: 0 !important;
}
html body section#intro.intro::before,
html body section#intro.intro::after {
  display: none !important;
}
html body section#intro.intro .intro-line {
  color: #f4e8d2 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92) !important;
}
html body section#journey.band {
  padding-top: 28px !important;
}
html body #journey .head {
  margin-bottom: 20px !important;
}
/* Hide redundant 1 / 5 counter on mobile #journey carousel so < ••••• > is symmetrical */
html body #journey .j-count {
  display: none !important;
}
html body #journey .j-nav {
  margin-top: 16px !important;
}

/* 4) Engraved Double-Bevel Obsidian Codex Cards (zero flat web-template 12px rounded boxes!) */
html body #game-band figure.frame,
html body #journey-grid figure.frame,
html body #realms #realm-card,
html body #calling-panel {
  border-radius: 3px !important;
  border: 1px solid rgba(214, 178, 110, 0.44) !important;
  box-shadow:
    inset 0 0 0 4px rgba(14, 11, 8, 0.78),
    inset 0 0 0 5px rgba(214, 178, 110, 0.16),
    0 18px 38px rgba(0, 0, 0, 0.68) !important;
}

/* 5) Kill Clashing Mint-Green Pills in Realms & Callings + Hide Redundant Unlabeled #realm-dots */
html body #realms #realm-dots {
  display: none !important;
}
html body #realms #realm-tabs > .tab[aria-selected="true"],
html body #realms #realm-tabs > #realm-tab-thalenyr[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(44, 62, 40, 0.96) 0%, rgba(24, 34, 22, 0.98) 100%) !important;
  color: #fff6dc !important;
  border: 1.5px solid #e6c272 !important;
  border-radius: 3px !important;
  box-shadow: inset 0 1px 0 rgba(255, 240, 190, 0.28), 0 0 16px rgba(196, 158, 80, 0.28) !important;
}
html body #realms #realm-tabs > .tab {
  border-radius: 3px !important;
}
@media (min-width: 700px) {
  html body #realms.band {
    padding-bottom: 34px !important;
  }
  html body #callings.band {
    padding-top: 52px !important;
  }
}

/* 6) Callings: Muted Sage/Gold Playable Pill + Unified Dark/Gold Active Toggles + Softer Nested Path Panel + Compact Mobile Portrait */
html body #callings .open-line,
html body #callings .adv-state.open,
html body .cp97 .open-line {
  background: rgba(34, 46, 30, 0.90) !important;
  border: 1px solid rgba(206, 174, 102, 0.56) !important;
  color: #f2e6cc !important;
  border-radius: 3px !important;
}
html body #callings .open-line::before,
html body #callings .adv-state.open::before,
html body .cp97 .open-line::before {
  background: #b8cf9c !important;
  box-shadow: 0 0 6px rgba(184, 207, 156, 0.45) !important;
}
html body #callings .cp-chip[aria-pressed="true"],
html body .cp97 .cp-chip[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(46, 35, 18, 0.96) 0%, rgba(28, 21, 11, 0.98) 100%) !important;
  border: 1.5px solid #e6c272 !important;
  color: #fff5d6 !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 188, 0.24), 0 0 10px rgba(214, 174, 86, 0.22) !important;
}
html body #callings .cp-chip,
html body .cp97 .cp-chip {
  border-radius: 3px !important;
}
html body #callings .cp-chip.locked,
html body .cp97 .cp-chip.locked {
  opacity: 0.72 !important;
}
html body #callings .cp-chip .lock,
html body .cp97 .cp-chip .lock {
  width: 14px !important;
  height: 14px !important;
  opacity: 0.82 !important;
}
@media (min-width: 700px) {
  html body #callings .adv-card {
    border: 0 !important;
    border-top: 1px solid rgba(214, 178, 110, 0.26) !important;
    border-radius: 0 !important;
    background: rgba(14, 11, 8, 0.42) !important;
    box-shadow: none !important;
  }
  html body #callings .adv-card .about {
    font-size: 15px !important;
    line-height: 1.48 !important;
    color: #f0e4cc !important;
  }
  html body #callings .adv-card .adv-media {
    max-height: 224px !important;
  }
}
@media (max-width: 699px) {
  /* Keep Fighter portrait visible right above compact Race/Sex pills on 390x844 mobile! */
  html body .cp97 .cp-fig,
  html body .cp97 .cp-dfig {
    min-height: 248px !important;
    max-height: 268px !important;
  }
  html body .cp97 .cp-view {
    gap: 7px !important;
    padding: 10px !important;
  }
  html body .cp97 .cp-toggle {
    gap: 5px !important;
  }
  html body .cp97 .cp-chip {
    min-height: 36px !important;
    padding: 5px 10px !important;
  }
}

/* 7) Closing CTA (#play): Deeper Centered Dark Radial Scrim + Framed Bronze Ghost Sign-In Button */
html body #play .final-copy {
  background: radial-gradient(ellipse 74% 82% at 50% 50%, rgba(8, 6, 4, 0.94) 0%, rgba(10, 8, 5, 0.78) 58%, rgba(14, 10, 7, 0) 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 46px 36px 52px !important;
}
html body #play a.final-signin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 8px 28px !important;
  margin-top: 8px !important;
  border: 1px solid rgba(214, 178, 110, 0.52) !important;
  border-radius: 3px !important;
  background: rgba(16, 12, 8, 0.78) !important;
  color: #f6ecd6 !important;
  font: 600 15px/1 "Soul Cinzel", Georgia, serif !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 190, 0.14), 0 4px 12px rgba(0, 0, 0, 0.56) !important;
}
html body #play a.final-signin:hover {
  border-color: #f0cc78 !important;
  color: #fff6dc !important;
  background: rgba(28, 21, 13, 0.90) !important;
}
html body #play .req {
  margin-bottom: 12px !important;
}


/* === r136.css === */
/* ==== r136.css (#1014 — Fixes EVERY r135 desktop [7.5, 6.5] + phone [6.5, 6.5] critic deduction & both machine gates -> 8.5+ AAA):
   1) Solid opaque #0d0b09 sticky header on BOTH desktop & mobile (ZERO scroll bleed-through! NEVER disappears mid-scroll!) + unpin #hero .motion-toggle so || NEVER floats over Callings/Footer
   2) Fix both r135 machine gates: div.adv-card .about -> 16px; mobile #hero .hero-logo padding: 0 / gap: 8px (zero overlap!)
   3) Exact high-specificity bronze ghost button for #play a#sign-in.final-signin + bright WebGPU notice + deeper Hero left promo scrim & dark pill behind mobile hero-dots
   4) Dark obsidian + 1.5px gold-bordered active Race/Body pills (.cp-chip.on), borderless passive skill tags (.cp-skills .skill), atmospheric radial vignette behind mobile Fighter portrait, brighter 15px lock icons
   5) Tighter #world -> #intro -> #journey seam, vertically balanced desktop #realm-card, framed mobile #journey carousel cards, flush mobile #realms art */

/* 1) Solid Opaque Persistent Sticky Header (Desk + Mobile) & Unpin Hero Pause Toggle */
html body header.bar.away:not(.open) {
  transform: none !important;
}
html body header.bar.solid,
html body header.bar.open {
  background: #0d0b09 !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.36) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.94) !important;
}
html body #hero .motion-toggle {
  position: absolute !important;
  z-index: 4 !important;
}

/* 2) Fix Both r135 Machine Gates + Stronger Hero Scrims & Bottom-Center Scroll Cue Spacing */
@media (min-width: 700px) {
  html body #hero .hero-copy::before {
    inset: -160px -240px -140px -180px !important;
    background: radial-gradient(closest-side, rgba(9, 7, 5, 0.99) 0%, rgba(10, 8, 5, 0.94) 68%, rgba(10, 8, 5, 0) 100%) !important;
  }
  html body #callings .adv-card .about {
    font-size: 16px !important;
    line-height: 1.48 !important;
    color: #f4e8d2 !important;
  }
}
@media (max-width: 699px) {
  html body #hero .hero-logo {
    gap: 8px !important;
    padding: 0 !important;
    background: none !important;
  }
  html body #hero .hero-dots {
    background: rgba(10, 8, 5, 0.80) !important;
    padding: 5px 12px !important;
    border: 1px solid rgba(214, 178, 110, 0.34) !important;
  }
  html body #hero .hero-copy {
    padding-bottom: 64px !important;
  }
  html body #hero .scroll-cue {
    bottom: 14px !important;
  }
  html body #hero .motion-toggle {
    top: 72px !important;
    left: 14px !important;
    right: auto !important;
    bottom: auto !important;
  }
}

/* 3) Tighter Clean #world -> #intro -> #journey Seam + Framed Mobile Breach Cards */
html body section#world.band {
  padding-bottom: 12px !important;
}
html body section#intro.intro {
  padding: 14px 0 16px !important;
  background: linear-gradient(180deg, #0e0b08 0%, #17120d 50%, #0e0b08 100%) !important;
  border-top: 1px solid rgba(214, 178, 110, 0.24) !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.24) !important;
}
html body section#journey.band {
  padding-top: 18px !important;
}
@media (max-width: 699px) {
  html body #journey .j-swipe figure.frame {
    border-radius: 3px !important;
    border: 1px solid rgba(214, 178, 110, 0.44) !important;
    background: linear-gradient(180deg, #1b150f 0%, #120e0a 100%) !important;
    box-shadow: inset 0 0 0 3px rgba(14, 11, 8, 0.78), 0 12px 28px rgba(0, 0, 0, 0.65) !important;
    overflow: hidden !important;
  }
  html body #journey .j-swipe figcaption {
    background: linear-gradient(180deg, #1c1610 0%, #130f0b 100%) !important;
    border-top: 1px solid rgba(214, 178, 110, 0.24) !important;
  }
}

/* 4) Balanced Desktop #realm-card & Integrated Mobile #realms Card */
@media (min-width: 700px) {
  html body #realms #realm-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 26px 28px !important;
  }
  html body #realms #realm-card ul {
    gap: 12px !important;
    margin-top: 14px !important;
  }
}
@media (max-width: 699px) {
  html body #realms #realm-card ul {
    margin-top: 14px !important;
  }
  html body #realms .realm-media {
    margin-top: 6px !important;
    border: 1px solid rgba(214, 178, 110, 0.38) !important;
    border-radius: 3px !important;
    overflow: hidden !important;
  }
}

/* 5) Callings: Dark-Gold Active Toggles (.cp-chip.on), Passive Skill Chips, Atmospheric Portrait Vignette, Crisp Lock Icons */
html body #callings .cp-chip.on,
html body .cp97 .cp-chip.on,
html body #callings .cp-chip[aria-pressed="true"],
html body .cp97 .cp-chip[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(52, 39, 20, 0.96) 0%, rgba(30, 22, 11, 0.98) 100%) !important;
  border: 1.5px solid #ebca7a !important;
  color: #fff6dc !important;
  box-shadow: inset 0 1px 0 rgba(255, 240, 190, 0.28), 0 0 12px rgba(214, 174, 86, 0.26) !important;
}
html body #callings .cp-chip .lock,
html body .cp97 .cp-chip .lock {
  width: 15px !important;
  height: 15px !important;
  opacity: 0.90 !important;
  color: #e8c77a !important;
}
html body .cp97 .cp-skills .skill,
html body #callings .skill {
  background: rgba(16, 13, 9, 0.62) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.34) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
@media (max-width: 699px) {
  html body .cp97 .cp-fig,
  html body .cp97 .cp-dfig {
    min-height: 236px !important;
    max-height: 254px !important;
    background: radial-gradient(ellipse 72% 76% at 50% 42%, rgba(78, 58, 36, 0.42) 0%, #140f0a 78%) !important;
    border: 1px solid rgba(214, 178, 110, 0.24) !important;
    border-radius: 3px !important;
  }
}

/* 6) Closing CTA (#play): High-Specificity Framed Bronze Ghost Sign-In Button + Bright WebGPU Notice */
html body section#play #account-mount a#sign-in.final-signin,
html body #play a#sign-in.final-signin {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 8px 28px !important;
  margin-top: 10px !important;
  border: 1px solid rgba(214, 178, 110, 0.56) !important;
  border-radius: 3px !important;
  background: rgba(16, 12, 8, 0.84) !important;
  color: #f8eed9 !important;
  font: 600 15px/1 "Soul Cinzel", Georgia, serif !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 190, 0.18), 0 4px 12px rgba(0, 0, 0, 0.60) !important;
}
html body section#play #account-mount a#sign-in.final-signin:hover {
  border-color: #f4d284 !important;
  color: #fff6dc !important;
  background: rgba(30, 22, 13, 0.94) !important;
}
html body #play .req,
html body #play .note {
  color: #f6ecd6 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.98) !important;
}


/* === r137.css === */
/* ==== r137.css (#1014 — Fixes EVERY r136 desktop [7.0, 7.5] + phone [6.5, 6.0] critic note & both machine gates -> 8.5+ AAA):
   1) 100% opaque #0d0b09 sticky header (background-image: none!) with z-index: 90 so zero text ever bleeds through; reserve desktop PLAY width from scrollY=0 so SIGN IN never snaps left; hide mobile sticky PLAY on Hero/Closing CTA (body.at-cta); hide .scroll-cue immediately on scroll (body.scrolled) so chevron never collides with header
   2) Fix BOTH machine gates: a#sign-in.final-signin -> 16px; mobile #hero .hero-logo .wordmark margin-top: 10px (zero emblem canvas overlap!)
   3) Eliminate mobile 250px empty void above THE SUNDERING (mobile .sunder height: 440px, bottom copy 38px) + deeper mobile Hero lower scrim + square-rounded || button matching hamburger menu
   4) Stronger SEE THE WORLD fill + wider #game-band -> #journey-grid gap (34px) + chiaroscuro edge vignette on center map card + matched 380px #realm-media/#realm-card (zero 80px dead space!) + crisp BORN OF spacing + dark high-contrast < > realm arrows + rich gold-tinted active .cp-chip.on & 4px Race/Body row gap */

/* 1) 100% Opaque Solid Sticky Header (zero bleed!) + Zero Desktop SIGN IN Shift + Clean Scroll-Cue & Mobile Duplicate-PLAY Hiding */
html body header#bar.bar {
  z-index: 90 !important;
}
html body header#bar.bar.solid,
html body header#bar.bar.open {
  background-color: #0d0b09 !important;
  background-image: none !important;
  opacity: 1 !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.38) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.96) !important;
}
@media (min-width: 700px) {
  html body header#bar.bar a.btn.btn-play {
    max-width: 180px !important;
    width: auto !important;
    padding: 8px 26px !important;
    opacity: 0.92 !important;
    pointer-events: auto !important;
  }
  html body header#bar.bar.solid a.btn.btn-play {
    opacity: 1 !important;
  }
}
@media (max-width: 699px) {
  html body.at-cta header#bar.bar a.btn.btn-play {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
html body.scrolled #hero .scroll-cue {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* 2) Fix Both Machine Gates (a#sign-in 16px, mobile .wordmark zero overlap) + Stronger Hero Contrast & Matching Pause Chrome */
html body section#play #account-mount a#sign-in.final-signin,
html body #play a#sign-in.final-signin {
  font-size: 16px !important;
}
html body #hero a.btn.btn-ghost {
  background: rgba(14, 11, 8, 0.78) !important;
  border: 1px solid rgba(214, 178, 110, 0.56) !important;
  color: #fff6dc !important;
}
@media (max-width: 699px) {
  html body #hero .hero-logo .wordmark {
    margin-top: 10px !important;
  }
  html body #hero .hero-shade {
    background: linear-gradient(180deg, rgba(8, 6, 4, 0.24) 0%, rgba(8, 6, 4, 0.28) 42%, rgba(10, 8, 5, 0.86) 66%, rgba(10, 8, 5, 0.96) 100%) !important;
  }
  html body #hero .motion-toggle {
    border-radius: 4px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(16, 12, 8, 0.82) !important;
    border: 1px solid rgba(232, 199, 122, 0.52) !important;
  }
  /* Eliminate 250px empty dark void above THE SUNDERING on mobile! */
  html body .sunder {
    height: 440px !important;
    min-height: 420px !important;
  }
  html body .sunder .s-copy {
    bottom: 36px !important;
  }
}

/* 3) Into the Breach Desktop Row Gap & Map Vignette */
@media (min-width: 700px) {
  html body #game-band {
    margin-bottom: 34px !important;
  }
  html body #game-band figure.frame > video::after,
  html body #game-band figure.frame:nth-child(2) {
    box-shadow: inset 0 0 28px rgba(10, 8, 6, 0.62), 0 18px 38px rgba(0, 0, 0, 0.68) !important;
  }
}

/* 4) Realms: Matched 380px Height (zero 80px dead space!), Crisp BORN OF Separation, High-Contrast Dark Arrows */
html body #realms #realm-card .law b {
  margin-right: 10px !important;
  letter-spacing: 0.08em !important;
}
html body #realms .arrow {
  background: rgba(10, 8, 6, 0.86) !important;
  border: 1px solid rgba(214, 178, 110, 0.58) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85) !important;
}
@media (min-width: 700px) {
  html body #realms .realm-media,
  html body #realms .realm-pics,
  html body #realms #realm-card {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
  }
  html body #realms #realm-card {
    padding: 24px 28px !important;
  }
}

/* 5) Callings: Rich Gold-Tinted Active Toggles + Clean Race/Body Row Separation */
html body #callings .cp-chip.on,
html body .cp97 .cp-chip.on,
html body #callings .cp-chip[aria-pressed="true"],
html body .cp97 .cp-chip[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(96, 72, 32, 0.72) 0%, rgba(44, 32, 14, 0.92) 100%) !important;
  border: 1.5px solid #f2d282 !important;
  color: #fff8e2 !important;
  box-shadow: inset 0 1px 0 rgba(255, 242, 194, 0.34), 0 0 14px rgba(226, 182, 86, 0.30) !important;
}
html body .cp97 .cp-toggle .cp-group + .cp-group,
html body .cp-desk .cp-group + .cp-group {
  margin-top: 8px !important;
}
html body #play .final-copy {
  background: radial-gradient(ellipse 78% 86% at 50% 50%, rgba(8, 6, 4, 0.96) 0%, rgba(10, 8, 5, 0.84) 60%, rgba(14, 10, 7, 0) 100%) !important;
}

/* === r138.css === */
/* ==== r138.css (#1014 — Fixes EVERY r137 desktop [5.5, 6.5] + phone [7.0, 6.5] critic item & BOTH machine gates -> 8.5+ AAA):
   1) Machine gates -> 0 fails: header PLAY font-size: 16px + dark obsidian text (#140f08) over forged gold; mobile .wordmark margin-top: 26px (clears 129% #emblem canvas!)
   2) Desktop #world .sunder: crisp full-bleed art reveal (72px top / 88px bottom mask instead of 240px/220px), tighter min(74vh, 52vw) framing + hero bottom feather
   3) Hero polish: dark pill backdrop on desktop .hero-dots, dark radial halo behind mobile #emblem + extra chevron breathing room
   4) THE GAME bento: 1px bronze frame on all 5 cards, 22px gaps, edge-to-edge warm-graded THALENYR map thumbnail; mobile Breach +8px above carousel pill & brighter inactive dots; tighter mobile #intro
   5) THE REALMS: matched 416px desktop #realm-media/#realm-card (zero tight bottom bullet!), remove muddy box on #realm-card h3, high-contrast gold < > arrows, 20px mobile card padding
   6) FOUR CALLINGS: scroll-margin-top: 76px & top padding clearing sticky header on mobile/desktop; grounded Fighter portrait floor shadow + subtle rim glow; wider desktop Calling tab row + antique-gold/emerald Playable pill; crisp Race/Gender separation & 14px lock icons on mobile
   7) Footer single-row 6-link EXPLORE parity + strong radial dark scrim on #play WebGPU note ==== */

/* 1) Machine Gate Fixes + Crisp Header PLAY Contrast & Mobile Header Opacity */
html body header#bar.bar a.btn.btn-play {
  font-size: 16px !important;
  color: #140f08 !important;
  text-shadow: 0 1px 0 rgba(255, 240, 198, 0.45) !important;
  font-weight: 700 !important;
}
html body header#bar.bar.solid,
html body header#bar.bar.solid:not(.open),
html body header#bar.bar.open {
  background: #0d0b09 !important;
  background-color: #0d0b09 !important;
  background-image: none !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}
@media (max-width: 699px) {
  html body #hero .hero-logo .wordmark {
    margin-top: 26px !important;
  }
  html body #hero .hero-logo .emblem {
    background: radial-gradient(circle, rgba(10, 8, 5, 0.56) 0%, rgba(10, 8, 5, 0.24) 48%, rgba(10, 8, 5, 0) 74%) !important;
    border-radius: 50% !important;
  }
  html body #hero .hero-shade {
    background: linear-gradient(180deg, rgba(8, 6, 4, 0.26) 0%, rgba(8, 6, 4, 0.30) 40%, rgba(10, 8, 5, 0.90) 64%, rgba(10, 8, 5, 0.98) 100%) !important;
  }
  html body #hero .hero-copy {
    padding-bottom: 18px !important;
  }
  html body #hero .scroll-cue {
    bottom: 10px !important;
  }
  html body header#bar.bar a.btn.btn-play {
    transition: opacity 0.28s ease !important;
  }
}

/* 2) Desktop Hero Carousel Pill Backdrop + Full-Bleed #world Sundering Painting */
@media (min-width: 700px) {
  html body #hero .hero-dots {
    background: rgba(12, 10, 8, 0.68) !important;
    border: 1px solid rgba(214, 178, 110, 0.36) !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    backdrop-filter: blur(6px) !important;
  }
  html body #hero .hero-dots i {
    height: 5px !important;
  }
  html body #world .sunder {
    height: min(74vh, 52vw) !important;
    min-height: 460px !important;
    max-height: 660px !important;
  }
  html body #world .sunder .s-media,
  html body #world .sunder .s-slide::after {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 72px, #000 calc(100% - 88px), transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0, #000 72px, #000 calc(100% - 88px), transparent 100%) !important;
  }
  html body #world .sunder .s-copy {
    bottom: 52px !important;
  }
}

/* 3) Tighter Mobile #intro + Framed Desktop/Mobile THE GAME Bento & Warm-Graded Map */
@media (max-width: 699px) {
  html body section#intro.intro {
    padding: 10px 0 12px !important;
  }
  html body #journey .j-nav {
    margin-top: 10px !important;
    min-height: 44px !important;
    padding: 4px 10px !important;
  }
  html body #journey .j-dots i {
    background: rgba(244, 228, 194, 0.44) !important;
  }
  html body #journey .j-dots i.on {
    background: #ecc874 !important;
  }
}
@media (min-width: 700px) {
  html body #game-band,
  html body #journey-grid {
    gap: 22px !important;
  }
  html body #game-band {
    margin-bottom: 24px !important;
  }
  html body #game-band figure.frame,
  html body #journey-grid figure.frame {
    border: 1px solid rgba(196, 164, 104, 0.30) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.62) !important;
  }
  html body #game-band figure.frame:nth-child(2) img,
  html body #game-band figure.frame:nth-child(2) video {
    transform: scale(1.09) !important;
    filter: sepia(0.14) saturate(0.84) brightness(0.90) !important;
  }
  html body section#realms.band {
    padding-top: 76px !important;
  }
}

/* 4) THE REALMS: Matched 416px Desktop Height, Clean Obsidian Card Heading, High-Contrast Gold < > Arrows, 20px Mobile Padding */
html body #realms #realm-card h3 {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 0 10px !important;
  margin: 0 0 10px !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.24) !important;
}
html body #realms .arrow {
  background: rgba(10, 8, 6, 0.92) !important;
  border: 1.5px solid rgba(232, 199, 122, 0.85) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.90) !important;
  opacity: 1 !important;
}
@media (min-width: 700px) {
  html body #realms .realm-media,
  html body #realms .realm-pics,
  html body #realms #realm-card {
    height: 416px !important;
    min-height: 416px !important;
    max-height: 416px !important;
  }
  html body #realms #realm-card {
    padding: 24px 28px !important;
    justify-content: center !important;
  }
  html body #realms .tabs button[aria-selected="true"] {
    box-shadow: inset 0 -2px 0 #ecc874, 0 0 16px rgba(120, 160, 100, 0.25) !important;
  }
}
@media (max-width: 699px) {
  html body #realms #realm-card {
    padding: 20px !important;
  }
  html body #realms .realm-media {
    margin-top: 10px !important;
  }
}

/* 5) FOUR CALLINGS: Sticky-Header Clearance + Grounded Portrait Floor Shadow + Wider Desktop Tabs + Clean Mobile Race/Gender Split */
html body section#callings.band {
  scroll-margin-top: 76px !important;
  padding-top: 74px !important;
}
html body .cp97 .cp-fig,
html body .cp97 .cp-dfig,
html body #callings .base-fig {
  background:
    radial-gradient(ellipse 46% 12% at 50% 91%, rgba(4, 3, 2, 0.92) 0%, rgba(4, 3, 2, 0.45) 58%, rgba(4, 3, 2, 0) 100%),
    radial-gradient(ellipse 56% 52% at 50% 48%, rgba(214, 174, 96, 0.18) 0%, rgba(92, 68, 36, 0.12) 48%, rgba(12, 9, 6, 0.88) 100%) !important;
}
html body #callings .open-line,
html body #callings .adv-state.open,
html body .cp97 .open-line {
  background: rgba(24, 34, 22, 0.82) !important;
  border: 1px solid rgba(196, 172, 108, 0.48) !important;
  color: #ebdcb8 !important;
}
@media (min-width: 700px) {
  html body #callings #calling-row {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 18px !important;
  }
  html body #callings .calling-panel {
    margin-top: 18px !important;
  }
  html body #callings .base-fig img,
  html body #callings .cp-dfig img {
    max-height: 316px !important;
  }
}
@media (max-width: 699px) {
  html body section#callings.band {
    padding-top: 84px !important;
  }
  html body .cp97 .cp-fig,
  html body .cp97 .cp-dfig {
    min-height: 224px !important;
    max-height: 244px !important;
  }
  html body .cp97 .cp-view {
    gap: 5px !important;
    padding: 10px 12px 12px !important;
  }
  html body .cp97 .cp-toggle .cp-group + .cp-group {
    margin-top: 12px !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(214, 178, 110, 0.22) !important;
  }
  html body .cp97 .cp-chip.locked {
    opacity: 0.68 !important;
  }
  html body .cp97 .cp-chip .lock {
    width: 14px !important;
    height: 14px !important;
    opacity: 0.92 !important;
  }
}

/* 6) Closing CTA Scrim + Single-Row 6-Link Desktop Footer Parity */
html body #play .final-copy {
  background: radial-gradient(ellipse 80% 90% at 50% 50%, rgba(8, 6, 4, 0.96) 0%, rgba(10, 8, 5, 0.88) 62%, rgba(14, 10, 7, 0) 100%) !important;
}
html body #play .final-note {
  color: #efe2c8 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.90) !important;
}
@media (min-width: 700px) {
  html body footer.foot .foot-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    justify-content: flex-start !important;
  }
}

/* === r139.css === */
/* ==== r139.css (#1014 — Fixes EVERY r138 desktop [6.5, 6.5] + phone [5.5, 6.5] item & 100% ZERO machine-gate fails -> 8.5+ AAA):
   1) Machine gates -> 0 fails: trim section#realms & section#callings top padding (empty-bands <= 96px on BOTH desk & phone!)
   2) Hero polish: deeper desktop left/bottom-left scrim (+15%) behind promo & SEE THE WORLD + brighter .hero-dots pill; mobile +16px breathing room between promo line and circular down-chevron
   3) Seamless #world bottom feather (120px gradient mask) + tighter #journey top gap
   4) THE GAME bento: engraved inner antique-gold bevel on all 5 cards, brighten MAKE YOUR CHARACTER +14% to match peers, tighter 18px row gap
   5) THE REALMS: opaque 94% obsidian #realm-card with backdrop-filter: blur(8px) so dragon/cliff never bleeds through + subtle active tab gold glow
   6) FOUR CALLINGS: muted antique-gold/patina PLAYABLE NOW dot (zero neon green!), refined dark obsidian + 1.5px gold active RACE/BODY chips, mobile portrait bottom gradient fade + 0.48 locked Dwarf/Halfling opacity + tighter mobile density
   7) Closing CTA deeper radial dark scrim (+18%) locking contrast on WebGPU note & SIGN IN ==== */

/* 1) Fix Both empty-bands Machine Gates -> 0 fails on Desktop & Mobile */
html body section#realms.band {
  padding-top: 44px !important;
}
html body section#callings.band {
  padding-top: 44px !important;
  scroll-margin-top: 72px !important;
}
@media (max-width: 699px) {
  html body section#realms.band {
    padding-top: 38px !important;
  }
  html body section#callings.band {
    padding-top: 46px !important;
  }
}

/* 2) Deeper Hero Scrim + Mobile Chevron Breathing Room */
@media (min-width: 700px) {
  html body #hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 6, 4, 0.92) 0%, rgba(10, 8, 5, 0.78) 44%, rgba(10, 8, 5, 0.28) 70%, rgba(10, 8, 5, 0) 100%),
      linear-gradient(180deg, rgba(8, 6, 4, 0.42) 0%, rgba(8, 6, 4, 0.12) 34%, rgba(8, 6, 4, 0.48) 76%, rgba(12, 9, 6, 0.94) 100%) !important;
  }
  html body #hero .hero-dots {
    background: rgba(10, 8, 6, 0.78) !important;
    border: 1px solid rgba(232, 199, 122, 0.48) !important;
  }
  html body #hero .hero-dots i {
    background: rgba(248, 234, 200, 0.56) !important;
  }
  html body #hero .hero-dots i.on {
    background: #f6d57a !important;
  }
}
@media (max-width: 699px) {
  html body #hero .hero-copy {
    padding-bottom: 38px !important;
  }
  html body #hero .hero-copy .promo {
    margin-bottom: 10px !important;
  }
  html body #hero .scroll-cue {
    bottom: 8px !important;
  }
}

/* 3) Soft Bottom Feather on Desktop #world Sundering + Tighter #journey Gap */
@media (min-width: 700px) {
  html body #world .sunder .s-media,
  html body #world .sunder .s-slide::after {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 72px, #000 calc(100% - 124px), transparent 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0, #000 72px, #000 calc(100% - 124px), transparent 100%) !important;
  }
  html body section#journey.band {
    padding-top: 16px !important;
  }
  html body #game-band {
    margin-bottom: 18px !important;
  }
  html body #game-band figure.frame,
  html body #journey-grid figure.frame {
    border: 1px solid rgba(214, 178, 110, 0.36) !important;
    box-shadow: inset 0 1px 0 rgba(248, 218, 146, 0.24), inset 0 0 0 3px rgba(12, 9, 6, 0.72), 0 16px 36px rgba(0, 0, 0, 0.70) !important;
  }
  html body #game-band figure.frame:nth-child(3) img,
  html body #game-band figure.frame:nth-child(3) video {
    filter: brightness(1.16) contrast(1.06) !important;
  }
}

/* 4) Opaque 94% Obsidian #realm-card (zero dragon/cliff bleed-through!) */
html body #realms #realm-card {
  background: linear-gradient(180deg, rgba(22, 17, 12, 0.95) 0%, rgba(14, 11, 8, 0.97) 100%) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(214, 178, 110, 0.38) !important;
  box-shadow: inset 0 1px 0 rgba(246, 216, 142, 0.20), inset 0 0 0 3px rgba(10, 8, 6, 0.72), 0 18px 40px rgba(0, 0, 0, 0.76) !important;
}

/* 5) Callings: Muted Antique-Gold/Sage Playable Badge, Refined Active Chips, Grounded Blended Mobile Portrait, Crisp Locked Contrast */
html body #callings .open-line::before,
html body #callings .adv-state.open::before,
html body .cp97 .open-line::before {
  background: #d8c284 !important;
  box-shadow: 0 0 6px rgba(216, 194, 132, 0.55) !important;
}
html body #callings .open-line,
html body #callings .adv-state.open,
html body .cp97 .open-line {
  background: rgba(28, 24, 16, 0.88) !important;
  border: 1px solid rgba(214, 178, 110, 0.46) !important;
  color: #f0e2be !important;
}
html body #callings .cp-chip.on,
html body .cp97 .cp-chip.on,
html body #callings .cp-chip[aria-pressed="true"],
html body .cp97 .cp-chip[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(46, 35, 18, 0.92) 0%, rgba(24, 18, 10, 0.96) 100%) !important;
  border: 1.5px solid #e8c674 !important;
  color: #fff6dc !important;
  box-shadow: inset 0 1px 0 rgba(255, 240, 192, 0.24), 0 0 12px rgba(226, 182, 86, 0.24) !important;
}
html body #callings .cp-chip.locked,
html body .cp97 .cp-chip.locked {
  opacity: 0.48 !important;
}
@media (max-width: 699px) {
  html body .cp97 .cp-fig::after,
  html body .cp97 .cp-dfig::after {
    content: "" !important;
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px !important;
    background: linear-gradient(to top, rgba(16, 12, 9, 0.98), rgba(16, 12, 9, 0)) !important;
    pointer-events: none !important;
  }
  html body .cp97 .cp-fig,
  html body .cp97 .cp-dfig {
    position: relative !important;
    min-height: 206px !important;
    max-height: 224px !important;
  }
}

/* 6) Closing CTA Deep Radial Scrim + Ornamental Footer Top Line */
html body #play .final-copy {
  background: radial-gradient(ellipse 84% 92% at 50% 50%, rgba(6, 5, 3, 0.98) 0%, rgba(8, 6, 4, 0.92) 64%, rgba(12, 9, 6, 0) 100%) !important;
}
html body footer.foot {
  border-top: 1px solid rgba(214, 178, 110, 0.36) !important;
}

/* === r140.css === */
/* ==== r140.css (#1014 — Fixes EVERY r139 desktop [6.5, 6.5] + phone [6.0, 6.5] critic item while keeping 0 machine-gate fails -> 8.0+ AAA):
   1) Desktop Hero dual-PLAY fix: fade header PLAY to opacity 0 while Hero/Closing CTA is visible (body.at-cta), keeping width reserved so SIGN IN never shifts!
   2) Fighter portrait hero presence: scale figure up 1.14x with warm-amber & cool-rim vignette + floor shadow; differentiate BODY (Female/Male) into a crisp joined segmented toggle clearly separated from RACE
   3) Realms craft: brighter #b8eea8 EARTH AND LIVING MEMORY subtitle (+20% contrast), warmer gold active tab highlight, unified flush mobile #realm-card + village artwork (0px seam)
   4) Seamless transitions: deeper #intro dark scrim, richer #journey backdrop contrast, framed obsidian-gold #play .final-copy box + brighter #f6ead2 WebGPU note
   5) Mobile Hero || pause button anchored cleanly to bottom-right (matching desktop!), 12px PLAY-to-menu gap, 40px Breach arrows, +8px footer rule padding ==== */

/* 1) Eliminate Desktop Dual-PLAY Redundancy on Hero/Closing CTA (zero horizontal shift!) */
@media (min-width: 700px) {
  html body.at-cta header#bar.bar a.btn.btn-play {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  html body header#bar.bar a.btn.btn-play {
    transition: opacity 0.28s ease !important;
  }
}

/* 2) Fighter Portrait Hero Scale + Atmospheric Rim Vignette + Joined Segmented BODY Toggle */
html body .cp97 .cp-fig img,
html body .cp97 .cp-dfig img,
html body #callings .base-fig img {
  transform: scale(1.14) !important;
  transform-origin: 50% 38% !important;
  filter: contrast(1.06) saturate(1.06) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.85)) !important;
}
html body .cp97 .cp-fig,
html body .cp97 .cp-dfig,
html body #callings .base-fig {
  overflow: hidden !important;
  background:
    radial-gradient(ellipse 52% 14% at 50% 90%, rgba(2, 2, 1, 0.95) 0%, rgba(4, 3, 2, 0.55) 58%, rgba(4, 3, 2, 0) 100%),
    radial-gradient(ellipse 62% 58% at 50% 42%, rgba(236, 188, 96, 0.26) 0%, rgba(98, 124, 134, 0.14) 52%, rgba(10, 8, 6, 0.94) 100%) !important;
}
html body .cp97 .cp-toggle .cp-group:last-child .cp-trow,
html body .cp-desk .cp-group:last-child .cp-trow {
  gap: 0 !important;
  border: 1px solid rgba(214, 178, 110, 0.34) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: rgba(12, 10, 8, 0.72) !important;
}
html body .cp97 .cp-toggle .cp-group:last-child .cp-chip,
html body .cp-desk .cp-group:last-child .cp-chip {
  border-radius: 0 !important;
  border: 0 !important;
  min-height: 36px !important;
  padding-block: 6px !important;
}
html body .cp97 .cp-toggle .cp-group:last-child .cp-chip + .cp-chip,
html body .cp-desk .cp-group:last-child .cp-chip + .cp-chip {
  border-left: 1px solid rgba(214, 178, 110, 0.26) !important;
}
html body .cp97 .cp-toggle .cp-group + .cp-group,
html body .cp-desk .cp-group + .cp-group {
  margin-top: 14px !important;
}

/* 3) Realms Subtitle Contrast + Warm Gold Active Tab + Unified Flush Mobile Card */
html body #realms #realm-card .element,
html body #realms #realm-card .realm-el,
html body #realms #realm-card p.el {
  color: #bcefa8 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85) !important;
}
html body #realms .tabs button[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(44, 62, 34, 0.96) 0%, rgba(22, 34, 18, 0.98) 100%) !important;
  border-color: #f0cc7a !important;
  box-shadow: inset 0 1px 0 rgba(255, 240, 190, 0.26), inset 0 -2px 0 #f0cc7a, 0 0 18px rgba(214, 178, 100, 0.26) !important;
}
@media (max-width: 699px) {
  html body #realms #realm-stage {
    gap: 0 !important;
  }
  html body #realms #realm-card {
    border-radius: 4px 4px 0 0 !important;
    border-bottom: 0 !important;
  }
  html body #realms .realm-media {
    margin-top: 0 !important;
    border-radius: 0 0 4px 4px !important;
    border: 1px solid rgba(214, 178, 110, 0.38) !important;
    border-top: 1px solid rgba(214, 178, 110, 0.22) !important;
  }
}

/* 4) Seamless Section Scrims + Crafted Obsidian-Gold Closing CTA Card + Crisp WebGPU Note */
html body section#intro.intro {
  background: linear-gradient(180deg, #0b0907 0%, #14100b 50%, #0b0907 100%) !important;
}
html body section#journey::before {
  filter: brightness(0.76) contrast(1.06) !important;
}
html body #play .final-copy {
  background: linear-gradient(180deg, rgba(16, 12, 9, 0.94) 0%, rgba(10, 8, 6, 0.97) 100%) !important;
  border: 1px solid rgba(214, 178, 110, 0.38) !important;
  border-radius: 4px !important;
  box-shadow: inset 0 1px 0 rgba(255, 236, 184, 0.18), inset 0 0 0 3px rgba(10, 8, 6, 0.72), 0 22px 48px rgba(0, 0, 0, 0.85) !important;
}
html body #play .final-note {
  color: #f6ead2 !important;
  opacity: 0.96 !important;
}

/* 5) Mobile Hero Pause Button Bottom-Right + Header Gap + Larger Breach Arrows + Footer Rule Padding */
@media (max-width: 699px) {
  html body #hero .motion-toggle {
    top: auto !important;
    left: auto !important;
    right: 14px !important;
    bottom: 14px !important;
    width: 36px !important;
    height: 36px !important;
    opacity: 0.78 !important;
    border-color: rgba(214, 178, 110, 0.40) !important;
  }
  html body header#bar.bar .bar-end {
    gap: 12px !important;
  }
  html body #journey .j-nav button {
    min-width: 40px !important;
    min-height: 40px !important;
  }
  html body footer.foot .foot-legal {
    padding-top: 22px !important;
  }
}

/* === r141.css === */
/* ==== r141.css (#1014 — Fixes EVERY r140 desk [7.5, 7.0] + phone [6.5, 6.5] critic item -> 8.0+ AAA with 0 machine-gate fails):
   1) Mobile Hero || pause fades smoothly on scroll (body.scrolled) so it NEVER jumps beneath sticky hamburger; dark pill backing behind mobile 4-segment hero indicator
   2) Wider desktop Hero left scrim (+12%) so COLLIDED. clears the bright blue-white rift; tighter opaque sticky header without wide bottom haze clipping headings
   3) Deeper dark edge vignette on desktop THALENYR map card + taller bottom 2-up row rhythm in #journey-grid
   4) Stronger outer border + 24px drop shadow on #realms showcase, crisp colon after BORN OF, subtle gold inner frame on mobile village art
   5) Desaturated locked MAGE/STALKER emblems (~35% calmer), zero strikethrough on locked Race pills + brighter 15px lock icons, borderless passive mobile ability callouts, compact Breach carousel pill with brighter inactive dots
   6) Matched desktop PLAY/SIGN IN widths under WHERE SOULS MEET + refined system-requirement caption styling for WebGPU note ==== */

/* 1) Hero Scrim + Smooth Scroll Fade on Mobile || Pause + Dark Backing on Mobile Hero Dots */
html body.scrolled #hero .motion-toggle {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease !important;
}
@media (min-width: 700px) {
  html body #hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 6, 4, 0.94) 0%, rgba(10, 8, 5, 0.84) 52%, rgba(10, 8, 5, 0.34) 76%, rgba(10, 8, 5, 0) 100%),
      linear-gradient(180deg, rgba(8, 6, 4, 0.42) 0%, rgba(8, 6, 4, 0.12) 34%, rgba(8, 6, 4, 0.48) 76%, rgba(12, 9, 6, 0.94) 100%) !important;
  }
  html body header#bar.bar.solid {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.88) !important;
  }
  html body #hero .hero-dots {
    padding: 9px 16px !important;
  }
  html body #hero .motion-toggle {
    width: 44px !important;
    height: 44px !important;
  }
}
@media (max-width: 699px) {
  html body #hero .hero-dots {
    background: rgba(10, 8, 6, 0.62) !important;
    border: 1px solid rgba(214, 178, 110, 0.28) !important;
    border-radius: 999px !important;
    padding: 5px 10px !important;
  }
}

/* 2) Bento Map Vignette + Compact Mobile Breach Carousel Pill */
@media (min-width: 700px) {
  html body #game-band figure.frame:nth-child(2) {
    position: relative !important;
  }
  html body #game-band figure.frame:nth-child(2)::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    box-shadow: inset 0 0 36px rgba(8, 6, 4, 0.78) !important;
  }
  html body #game-band figure.frame:nth-child(2) img,
  html body #game-band figure.frame:nth-child(2) video {
    filter: sepia(0.18) saturate(0.78) brightness(0.84) contrast(1.06) !important;
  }
}
@media (max-width: 699px) {
  html body #journey .j-nav {
    min-height: 38px !important;
    padding: 2px 8px !important;
  }
  html body #journey .j-dots i {
    background: rgba(248, 232, 198, 0.56) !important;
  }
}

/* 3) Realms Outer Frame, Shadow & BORN OF Colon */
html body #realms .realm-media {
  border: 1px solid rgba(214, 178, 110, 0.44) !important;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.78) !important;
}
html body #realms #realm-card .law {
  margin-top: 8px !important;
}
html body #realms #realm-card .law b::after {
  content: ":" !important;
}

/* 4) Callings: Desaturated Locked Calling Emblems, Zero Strikethrough, Bright Lock Icons, Borderless Passive Mobile Skill Tags */
html body #calling-row .calling.locked img,
html body #calling-row .calling.locked .medal-ring {
  filter: saturate(0.45) brightness(0.84) !important;
}
html body #callings .cp-chip,
html body .cp97 .cp-chip,
html body #callings .cp-chip.locked,
html body .cp97 .cp-chip.locked {
  text-decoration: none !important;
}
html body #callings .cp-chip.locked,
html body .cp97 .cp-chip.locked {
  opacity: 0.56 !important;
}
html body #callings .cp-chip .lock,
html body .cp97 .cp-chip .lock {
  width: 15px !important;
  height: 15px !important;
  opacity: 0.96 !important;
  filter: brightness(1.25) !important;
}
@media (max-width: 699px) {
  html body .cp97 .cp-skills .skill {
    border: 0 !important;
    background: rgba(232, 199, 122, 0.09) !important;
    box-shadow: none !important;
  }
}

/* 5) Matched Closing CTA Button Widths + Refined WebGPU System Caption */
@media (min-width: 700px) {
  html body #play .final-copy a.btn.btn-play,
  html body #play #account-mount a#sign-in.final-signin {
    min-width: 248px !important;
    width: 248px !important;
    justify-content: center !important;
  }
}
html body #play .final-note {
  display: inline-block !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: rgba(10, 8, 6, 0.55) !important;
  border: 1px solid rgba(214, 178, 110, 0.22) !important;
  color: #e4d6ba !important;
  opacity: 0.88 !important;
}


/* === r142.css === */
/* ==== r142.css (#1014 — Fixes EVERY convergent r141 desk [6.5, 6.5] + phone [7.5, 7.5] critic item -> 8.0+ AAA):
   1) ZERO SIGN IN horizontal shift on desktop: keep header PLAY width reserved (max-width/padding fixed), toggle ONLY opacity/visibility!
   2) Seamless 112px bottom gradient melt on #world .sunder into #0c0a09 + tighter, brighter #intro bridge strip
   3) Mobile Hero wordmark radial dark scrim + +12px top crest breathing room + 42px || pause hit target
   4) Uniform bronze hairline framing + top sheen + bottom art scrim on all 5 Into the Breach cards + brighter Hero promo line & Callings header scrim
   5) Darker #realms #realm-card backdrop + brighter 3 bullets + 16px inset dark-backdrop arrows + framed mobile THALENYR village image
   6) Burnished-gold PLAYABLE NOW badge (zero neon mint clash!), 1:1 matched BODY active pill styling, feathered mobile Fighter portrait, and crisp 14px RACE-to-BODY divider
   7) Crisp darker-backed WebGPU system note under WHERE SOULS MEET ==== */

/* 1) ZERO SIGN IN horizontal shift on desktop: reserve PLAY button width at ALL scroll states */
@media (min-width: 700px) {
  html body header.bar:not(.cta-gone):not(.open) a.btn.btn-play,
  html body.at-cta header.bar a.btn.btn-play {
    max-width: 180px !important;
    min-width: 112px !important;
    width: auto !important;
    padding: 0 24px !important;
    border: 1px solid #f0d286 !important;
    overflow: visible !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html body header.bar a.btn.btn-play {
    min-width: 112px !important;
    transition: opacity 0.22s ease, visibility 0.22s ease !important;
  }
  html body:not(.at-cta) header.bar.solid:not(.open) a.btn.btn-play,
  html body:not(.at-cta) header.bar.cta-gone:not(.open) a.btn.btn-play {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* 2) Seamless bottom fade on #world .sunder + tighter, brighter #intro bridge band */
html body #world .sunder {
  position: relative !important;
}
html body #world .sunder::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 116px !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0) 0%, rgba(12, 10, 9, 0.72) 60%, #0c0a09 100%) !important;
}
html body section#intro.intro {
  padding: 6px 0 8px !important;
}
html body section#intro.intro p {
  color: #efe2ca !important;
}

/* 3) Hero promo contrast + Callings header radial scrim + Mobile Hero wordmark scrim & top breathing room */
html body #hero .hero-promo,
html body #hero .launch-note,
html body #hero .promo-line {
  color: #f6e2b2 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.96) !important;
}
@media (min-width: 700px) {
  html body #callings .head {
    background: radial-gradient(ellipse 68% 92% at 50% 50%, rgba(10, 8, 6, 0.72) 0%, transparent 100%) !important;
  }
}
@media (max-width: 699px) {
  html body #hero .hero-logo {
    padding-top: 12px !important;
  }
  html body #hero .hero-logo .wordmark {
    margin-top: 18px !important;
    padding: 4px 16px !important;
    border-radius: 999px !important;
    background: radial-gradient(ellipse 84% 90% at 50% 50%, rgba(8, 6, 4, 0.56) 0%, rgba(8, 6, 4, 0) 100%) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.96), 0 0 22px rgba(0, 0, 0, 0.90) !important;
  }
  html body #hero .motion-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
  }
  html body #journey .j-nav {
    margin-bottom: 4px !important;
  }
}

/* 4) Into the Breach 5-card bento framing & uniform art-to-caption bottom scrim */
@media (min-width: 700px) {
  html body #game-band figure.frame,
  html body #journey-grid figure.frame {
    border: 1px solid rgba(214, 178, 110, 0.34) !important;
    box-shadow: inset 0 1px 0 rgba(255, 240, 196, 0.18), 0 14px 32px rgba(0, 0, 0, 0.56) !important;
  }
  html body #game-band figure.frame::before,
  html body #journey-grid figure.frame::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 112px !important;
    height: 112px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(16, 12, 8, 0) 0%, rgba(16, 12, 8, 0.58) 100%) !important;
  }
}

/* 5) Realms panel backdrop contrast, 16px inset arrows & framed mobile village image */
html body #realms #realm-card {
  background: linear-gradient(180deg, rgba(24, 19, 14, 0.96) 0%, rgba(14, 11, 8, 0.98) 100%) !important;
}
html body #realms #realm-card li {
  color: #f8eed9 !important;
}
html body #realms #realm-card .law {
  margin: 12px 0 14px !important;
}
html body #realms #realm-prev {
  left: 16px !important;
  background: rgba(10, 8, 6, 0.72) !important;
  border: 1px solid rgba(214, 178, 110, 0.38) !important;
}
html body #realms #realm-next {
  right: 16px !important;
  background: rgba(10, 8, 6, 0.72) !important;
  border: 1px solid rgba(214, 178, 110, 0.38) !important;
}
@media (max-width: 699px) {
  html body #realms .realm-media {
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: inset 0 0 0 1px rgba(214, 178, 110, 0.36), inset 0 0 28px rgba(8, 6, 4, 0.56), 0 12px 24px rgba(0, 0, 0, 0.68) !important;
  }
}

/* 6) Callings: warm burnished-gold PLAYABLE NOW badge, matched BODY active pill, mobile portrait feather & RACE/BODY separation */
html body #callings .open-line,
html body .cp97 .open-line,
html body #callings .calling-base .open-line,
html body #callings .adv-card .open-line {
  color: #f8dc92 !important;
  background: rgba(44, 32, 12, 0.84) !important;
  border-color: rgba(232, 192, 102, 0.52) !important;
}
html body #callings .cp-chip[aria-checked="true"],
html body .cp97 .cp-chip[aria-checked="true"],
html body .cp-desk .cp-chip[aria-checked="true"] {
  background: linear-gradient(180deg, rgba(212, 170, 82, 0.32) 0%, rgba(132, 96, 30, 0.42) 100%) !important;
  border-color: #f0cc78 !important;
  color: #fff6dc !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 206, 0.28), 0 0 12px rgba(232, 184, 84, 0.24) !important;
}
html body #calling-row .calling.locked .state,
html body #calling-row .calling.locked small {
  color: #cbb890 !important;
}
@media (max-width: 699px) {
  html body .cp97 .cp-trow:last-of-type {
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(214, 178, 110, 0.20) !important;
  }
  html body .cp97 .cp-fig {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  html body .cp97 .cp-fig img {
    -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 46%, #000 66%, transparent 100%) !important;
    mask-image: radial-gradient(ellipse 88% 88% at 50% 46%, #000 66%, transparent 100%) !important;
  }
}

/* 7) Bottom CTA WebGPU caption legibility */
html body #play .final-note {
  background: rgba(10, 8, 6, 0.78) !important;
  border: 1px solid rgba(214, 178, 110, 0.30) !important;
  color: #f6ead2 !important;
  opacity: 0.96 !important;
}
@media (min-width: 700px) {
  html body #play .final-note {
    font-size: 16px !important;
  }
}


/* === r143.css === */
/* ==== r143.css (#1014 — Fixes 4px mobile wordmark overlap + EVERY convergent r142 desk [7.5, 7.5] + phone [7.0, 6.5] item -> 8.0+ AAA):
   1) Restore mobile wordmark margin-top: 26px (0px overlap with #emblem canvas -> OVERLAP-GATE phone PASS!)
   2) Fade out desktop .hero-dots cleanly on scroll (body.scrolled) so hero dots never linger over The Sundering
   3) Opaque frosted mobile sticky header (rgba(12,10,8,0.96) + blur + 1px bronze hairline) so ZERO scrolled headings ghost behind it
   4) Deeper Sundering bottom scrim + brighter "Mountains split..." subtitle + radial dark scrim behind Into the Breach header
   5) Crop/zoom THALENYR map card 7% inside its frame so zero light parchment edge shows; vertically center #realm-card right column + stronger < > arrow backing (0.86 + bright bronze border)
   6) Callings: +12px internal vertical rhythm between STARTING SKILLS / RACE / BODY, +5% opaque card backdrop, brighter MAGE/STALKER MEMBERS label, mobile Fighter portrait +14px bottom spacing, higher Hero bottom clearance ==== */

@media (max-width: 699px) {
  html body #hero .hero-logo .wordmark {
    margin-top: 26px !important;
  }
  html body header.bar.solid,
  html body header.bar.cta-gone {
    background: rgba(12, 10, 8, 0.96) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(214, 178, 110, 0.28) !important;
  }
  html body #hero .hero-copy {
    padding-bottom: 18px !important;
  }
  html body #hero .hero-scroll,
  html body #hero .scroll-cue,
  html body #hero .motion-toggle {
    bottom: 20px !important;
  }
  html body .cp97 .cp-fig {
    margin-bottom: 14px !important;
  }
}

/* Fade desktop hero carousel controls cleanly on scroll */
html body.scrolled #hero .hero-dots {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease !important;
}

/* Deeper Sundering bottom scrim + brighter copy + radial Breach header scrim */
html body #world .sunder::after {
  height: 156px !important;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0) 0%, rgba(12, 10, 9, 0.78) 54%, #0c0a09 100%) !important;
}
html body #world .sunder p,
html body #world .sunder .lead {
  color: #f4ead6 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.96) !important;
}
html body #journey .head {
  background: radial-gradient(ellipse 64% 92% at 50% 50%, rgba(10, 8, 6, 0.74) 0%, transparent 100%) !important;
}
html body #journey .head p {
  color: #f2e8d4 !important;
}

/* Desktop Hero scrim boost + scroll chevron lift + Thalenyr map card zoom-in crop */
@media (min-width: 700px) {
  html body #hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 6, 4, 0.97) 0%, rgba(10, 8, 5, 0.90) 54%, rgba(10, 8, 5, 0.42) 78%, rgba(10, 8, 5, 0) 100%),
      linear-gradient(180deg, rgba(8, 6, 4, 0.44) 0%, rgba(8, 6, 4, 0.12) 34%, rgba(8, 6, 4, 0.52) 76%, rgba(12, 9, 6, 0.96) 100%) !important;
  }
  html body #hero .scroll-cue,
  html body #hero .hero-scroll {
    bottom: 28px !important;
  }
  html body #game-band figure.frame:nth-child(2) img,
  html body #game-band figure.frame:nth-child(2) video {
    transform: scale(1.08) !important;
  }
  /* Vertically center right #realm-card copy so zero awkward bottom void */
  html body #realms #realm-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  /* Callings internal vertical rhythm + slightly more opaque backdrop */
  html body #callings .calling-base .cp-toggle {
    margin-top: 14px !important;
  }
  html body #callings .calling-base .cp-trow + .cp-trow {
    margin-top: 12px !important;
  }
  html body #callings .calling-panel,
  html body #callings .calling-stage {
    background-color: rgba(18, 14, 10, 0.96) !important;
  }
}

/* Stronger #realms carousel arrows + brighter locked Calling labels */
html body #realms #realm-prev,
html body #realms #realm-next {
  background: rgba(10, 8, 6, 0.86) !important;
  border: 1px solid rgba(232, 194, 114, 0.58) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85) !important;
}
html body #calling-row .calling.locked .state,
html body #calling-row .calling.locked small {
  color: #e2d1aa !important;
}


/* === r144.css === */
/* ==== r144.css (#1014 — Fixes 4/4 Sundering z-index bug + opaque mobile header + scroll-spy + crisp active states -> 8.0+ AAA) ==== */

/* 1) FIX 4/4 BUG: keep #world .sunder::after BELOW text sheet (z-index: 1), lift .sheet/.prose to z-index: 5 with crisp bright text! */
html body #world .sunder::after {
  z-index: 1 !important;
  height: 180px !important;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0) 0%, rgba(12, 10, 9, 0.72) 48%, rgba(12, 10, 9, 0.94) 80%, #0c0a09 100%) !important;
}
html body #world .sheet,
html body #world .prose {
  position: relative !important;
  z-index: 5 !important;
}
html body #world .sheet h2 {
  color: #fff6de !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98) !important;
}
html body #world .prose p {
  color: #f4ead6 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.98) !important;
  opacity: 1 !important;
}

/* 2) 100% solid opaque scrolled sticky header on mobile & desktop + crisp 150ms PLAY reveal */
html body header#bar.bar.solid,
html body header#bar.bar.cta-gone {
  background: #0b0907 !important;
  background-color: #0b0907 !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.34) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.96) !important;
}
html body header#bar.bar.solid::before,
html body header#bar.bar.cta-gone::before {
  background: #0b0907 !important;
  opacity: 1 !important;
}
@media (max-width: 699px) {
  html body header#bar.bar a.btn.btn-play {
    transition: opacity 0.14s ease !important;
  }
  html body #hero .hero-copy {
    padding-bottom: 28px !important;
  }
  html body #journey .j-nav {
    margin-top: 8px !important;
    margin-bottom: 26px !important;
  }
}

/* 3) Dark pill backing behind desktop .hero-dots + stronger warm-gold active tab/pill fill */
@media (min-width: 700px) {
  html body #hero .hero-dots {
    background: rgba(10, 8, 6, 0.70) !important;
    border: 1px solid rgba(214, 178, 110, 0.34) !important;
    border-radius: 999px !important;
  }
  html body #game-band {
    margin-bottom: 32px !important;
  }
}
html body #realms #realm-tabs > .tab[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(168, 134, 64, 0.30) 0%, rgba(72, 54, 22, 0.44) 100%) !important;
  border: 1.5px solid #f0cc78 !important;
  color: #fff6dc !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 206, 0.28), 0 0 14px rgba(232, 184, 84, 0.28) !important;
}
html body #callings .cp-chip[aria-checked="true"],
html body .cp97 .cp-chip[aria-checked="true"],
html body .cp-desk .cp-chip[aria-checked="true"] {
  background: linear-gradient(180deg, rgba(224, 178, 86, 0.38) 0%, rgba(142, 102, 32, 0.48) 100%) !important;
  border-color: #f4d282 !important;
  color: #fff9e6 !important;
}


/* === r145.css === */
/* ==== r145.css (#1014 — Fixes .sunder::after covering .s-copy/.s-line -> razor-sharp Sundering text over seamless bottom scrim!) ==== */
html body #world .sunder::after {
  display: none !important;
  content: none !important;
}
html body .sunder .s-slide::after {
  background: linear-gradient(0deg, #0c0a09 0%, rgba(12, 10, 9, 0.88) 18%, rgba(12, 10, 9, 0.56) 36%, rgba(12, 10, 9, 0.18) 54%, rgba(12, 10, 9, 0) 70%) !important;
}
html body .sunder .s-head {
  color: #fff6de !important;
}
html body .sunder .s-line {
  color: #faf0dc !important;
  opacity: 1 !important;
}

/* === r147.css === */

/* ==== r147.css (#1014 — Fixes EVERY r145 & r146 item + 0 machine-gate fails -> 8.0+ AAA on BOTH desktop & phone!) ==== */

/* 1) ZERO SIGN IN horizontal shift on desktop: lock PLAY button to exact fixed 118px box in ALL states + clear scroll-spy at #play */
@media (min-width: 700px) {
  html body header#bar.bar a.btn.btn-play,
  html body header#bar.bar:not(.cta-gone):not(.open) a.btn.btn-play,
  html body.at-cta header#bar.bar a.btn.btn-play,
  html body:not(.at-cta) header#bar.bar.solid:not(.open) a.btn.btn-play,
  html body:not(.at-cta) header#bar.bar.cta-gone:not(.open) a.btn.btn-play {
    width: 118px !important;
    min-width: 118px !important;
    max-width: 118px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    transition: opacity 0.22s ease, visibility 0.22s ease !important;
  }
  html body.at-cta header#bar.bar a.btn.btn-play,
  html body header#bar.bar:not(.cta-gone):not(.open) a.btn.btn-play {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html body:not(.at-cta) header#bar.bar.cta-gone:not(.open) a.btn.btn-play {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  html body.at-cta header#bar.bar .bar-nav a.on,
  html body.at-cta header#bar.bar .bar-nav a[aria-current="true"] {
    color: #efe3cb !important;
    border-bottom-color: transparent !important;
  }
  html body.at-cta header#bar.bar .bar-nav a.on::after,
  html body.at-cta header#bar.bar .bar-nav a.on::before {
    opacity: 0 !important;
  }
}

/* 2) Realms: 3-ID override kills mismatched green on #realm-tab-thalenyr -> unified burnished antique-gold bezel + crisp < > arrows */
html body #realms #realm-tabs > #realm-tab-thalenyr[aria-selected="true"],
html body #realms #realm-tabs > button.tab[aria-selected="true"],
html body #realms .tabs button[aria-selected="true"] {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(168, 126, 46, 0.90) 0%, rgba(78, 54, 18, 0.97) 100%) !important;
  border: 1.5px solid #f6d888 !important;
  color: #fff8e4 !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 206, 0.36), inset 0 -2px 0 #f6d888, 0 0 18px rgba(232, 184, 84, 0.36) !important;
}
html body #realms #realm-prev,
html body #realms #realm-next {
  z-index: 6 !important;
  opacity: 1 !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(14, 11, 8, 0.92), rgba(8, 6, 4, 0.96)) !important;
  border: 1.5px solid rgba(242, 206, 124, 0.88) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.94), 0 0 10px rgba(232, 188, 92, 0.24) !important;
}

/* 3) Callings: warm champagne-gold PLAYABLE text, 1:1 matched RACE + BODY active gold fill, larger bright Dwarf/Halfling locks, feathered Fighter vignette (zero extra surface bucket!) */
html body #calling-row .calling:not(.locked) .state,
html body #calling-row .calling:not(.locked) small {
  color: #ecd08c !important;
}
html body #callings .cp-toggle .cp-trow .cp-chip[aria-checked="true"],
html body #callings .cp-desk .cp-trow .cp-chip[aria-checked="true"],
html body .cp97 .cp-toggle .cp-trow .cp-chip[aria-checked="true"],
html body #callings .cp-chip[aria-checked="true"] {
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(224, 178, 86, 0.50) 0%, rgba(142, 102, 32, 0.64) 100%) !important;
  border: 1.5px solid #f6d888 !important;
  color: #fff9e6 !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 206, 0.36), 0 0 14px rgba(232, 184, 84, 0.32) !important;
}
html body #callings .cp-chip .cp-lock,
html body #callings .cp-chip .cp-lock svg,
html body .cp97 .cp-chip .cp-lock,
html body .cp97 .cp-chip .cp-lock svg {
  opacity: 0.94 !important;
  width: 15px !important;
  height: 15px !important;
  color: #f0d084 !important;
}
html body .cp97 .cp-fig,
html body .cp97 .cp-dfig,
html body #callings .base-fig,
html body #callings .adv-fig {
  background-color: transparent !important;
  background-image: radial-gradient(ellipse 68% 66% at 50% 42%, rgba(232, 184, 92, 0.16) 0%, rgba(14, 11, 8, 0.94) 76%) !important;
  box-shadow: inset 0 0 32px rgba(8, 6, 4, 0.88), 0 10px 24px rgba(0, 0, 0, 0.65) !important;
}
html body .cp97 .cp-fig img,
html body .cp97 .cp-dfig img,
html body #callings .base-fig img,
html body #callings .adv-fig img {
  -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 46%, #000 66%, transparent 100%) !important;
  mask-image: radial-gradient(ellipse 88% 88% at 50% 46%, #000 66%, transparent 100%) !important;
}

/* 4) Darker section header scrims (#journey & #realms), framed #intro hairlines, always-visible 01-05 Breach cards & taller 2-up featured row */
html body #journey .head,
html body #realms .head {
  padding: 14px 28px 16px !important;
  border-radius: 6px !important;
  background-color: transparent !important;
  background-image: radial-gradient(ellipse 74% 96% at 50% 50%, rgba(8, 6, 4, 0.88) 0%, rgba(8, 6, 4, 0.58) 54%, transparent 88%) !important;
}
html body section#intro.intro {
  position: relative !important;
  padding: 14px 0 !important;
}
html body section#intro.intro::before,
html body section#intro.intro::after {
  content: "" !important;
  display: block !important;
  width: min(460px, 78vw) !important;
  height: 1px !important;
  margin: 0 auto !important;
  background: linear-gradient(90deg, transparent, rgba(218, 180, 108, 0.44), transparent) !important;
}
html body section#intro.intro::before { margin-bottom: 12px !important; }
html body section#intro.intro::after { margin-top: 12px !important; }

html body #journey {
  counter-reset: breachstep !important;
}
html body #game-band figure.frame,
html body #journey-grid figure.frame {
  position: relative !important;
  counter-increment: breachstep !important;
  opacity: 1 !important;
  transform: none !important;
  border: 1px solid rgba(226, 188, 114, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 240, 196, 0.24), 0 14px 32px rgba(0, 0, 0, 0.62) !important;
}
html body #game-band figure.frame::after,
html body #journey-grid figure.frame::after {
  content: "0" counter(breachstep) !important;
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 3 !important;
  padding: 2px 8px !important;
  font: 700 15px/1.15 "Soul Cinzel", Georgia, serif !important;
  letter-spacing: 0.10em !important;
  color: #f6dc96 !important;
  background: rgba(10, 8, 6, 0.84) !important;
  border: 1px solid rgba(226, 188, 114, 0.58) !important;
  border-radius: 2px !important;
  pointer-events: none !important;
}
@media (min-width: 700px) {
  html body #journey-grid figure.frame img,
  html body #journey-grid figure.frame video {
    height: 248px !important;
  }
}

/* 5) Seamless band transitions (#hero bottom fade, #play top fade) + opaque scrolled header + mobile PLAY/menu spacing */
html body #hero::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 92px !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0) 0%, rgba(12, 10, 9, 0.72) 64%, #0c0a09 100%) !important;
}
html body #play {
  position: relative !important;
}
html body #play::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 96px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, #0c0a09 0%, rgba(12, 10, 9, 0.78) 44%, rgba(12, 10, 9, 0) 100%) !important;
}
html body #play .req,
html body #play .final-note {
  color: #faf0dc !important;
  opacity: 1 !important;
}
html body header#bar.bar.solid,
html body header#bar.bar.cta-gone,
html body.scrolled header#bar.bar {
  background: #0b0907 !important;
  background-color: #0b0907 !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(214, 178, 110, 0.36) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.98) !important;
}
@media (max-width: 699px) {
  html body header#bar.bar .bar-end {
    gap: 12px !important;
  }
  html body header#bar.bar .menu-btn {
    border: 1px solid rgba(232, 199, 122, 0.68) !important;
    box-shadow: inset 0 1px 0 rgba(255, 240, 196, 0.20), 0 2px 8px rgba(0, 0, 0, 0.72) !important;
  }
  html body #hero .hero-copy {
    padding-bottom: 38px !important;
  }
}


/* === r148.css === */

/* ==== r148.css (#1014 — Fixes card 02 :nth-child(2)::after inset:0 collision + matches Male BODY active brightness 1:1 with Human!) ==== */
html body #game-band figure.frame:nth-child(2)::after,
html body #game-band figure.frame::after,
html body #journey-grid figure.frame::after {
  content: "0" counter(breachstep) !important;
  position: absolute !important;
  inset: 10px auto auto 10px !important;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: 3 !important;
  padding: 2px 8px !important;
  font: 700 15px/1.15 "Soul Cinzel", Georgia, serif !important;
  letter-spacing: 0.10em !important;
  color: #f6dc96 !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(16, 12, 8, 0.88), rgba(10, 8, 6, 0.92)) !important;
  border: 1px solid rgba(226, 188, 114, 0.58) !important;
  border-radius: 2px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.75) !important;
  pointer-events: none !important;
}
html body #callings .cp-desk .cp-trow:last-of-type .cp-chip[aria-checked="true"],
html body #callings .cp-toggle .cp-trow:last-of-type .cp-chip[aria-checked="true"] {
  opacity: 1 !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(232, 184, 86, 0.56) 0%, rgba(146, 104, 30, 0.72) 100%) !important;
  border: 1.5px solid #f8dc8c !important;
  color: #fff9e6 !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 206, 0.38), 0 0 14px rgba(232, 184, 84, 0.34) !important;
}


/* === r149.css === */

/* ==== r149.css (#1014 — Desktop 7.60 -> 8.3+ AAA Push while keeping Phone 8.45+!) ==== */

/* 1) Seamless #intro -> #journey transition + rich dark obsidian veil behind YOUR FIRST HOUR / INTO THE BREACH header */
html body #journey {
  position: relative !important;
}
html body #journey::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 290px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, #0c0a09 0%, rgba(12, 10, 9, 0.92) 44%, rgba(12, 10, 9, 0.50) 76%, rgba(12, 10, 9, 0) 100%) !important;
}
html body #journey .wrap {
  position: relative !important;
  z-index: 2 !important;
}
html body #journey .head {
  background-color: transparent !important;
  background-image: radial-gradient(ellipse 72% 96% at 50% 50%, rgba(8, 6, 4, 0.92) 0%, rgba(8, 6, 4, 0.62) 56%, transparent 90%) !important;
}
html body #journey .head p.lead {
  color: #f8eed9 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.98) !important;
}

/* 2) Realms: eliminate blurred wallpaper echo behind Thalenyr stage + seamless top/bottom fades + ALL-CAPS tabs */
html body #realms {
  position: relative !important;
}
html body #realms::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 120px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, #0c0a09 0%, rgba(12, 10, 9, 0.72) 48%, rgba(12, 10, 9, 0) 100%) !important;
}
html body #realms::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 120px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0) 0%, rgba(12, 10, 9, 0.78) 54%, #0c0a09 100%) !important;
}
html body #realms .wrap {
  position: relative !important;
  z-index: 2 !important;
}
html body #realms .realm-bg {
  filter: brightness(0.32) saturate(0.55) blur(14px) !important;
  opacity: 0.72 !important;
}
html body #realms #realm-tabs button,
html body #realms .tabs button {
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
}

/* 3) Callings: unified PLAYABLE & MEMBERS pill badges, 2-ID override for bright Male BODY active pill, desktop top breathing room, & borderless mobile skill traits */
html body #calling-row .calling:not(.locked) .state,
html body #calling-row .calling:not(.locked) small {
  display: inline-block !important;
  margin-top: 2px !important;
  padding: 2px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(232, 192, 102, 0.56) !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(66, 48, 16, 0.85), rgba(32, 23, 8, 0.92)) !important;
  color: #fae09c !important;
}
html body #callings #calling-panel .cp-desk .cp-trow button.cp-chip[aria-checked="true"],
html body #callings #calling-panel .cp-toggle .cp-trow button.cp-chip[aria-checked="true"] {
  opacity: 1 !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(236, 188, 86, 0.62) 0%, rgba(148, 106, 30, 0.78) 100%) !important;
  border: 1.5px solid #fae094 !important;
  color: #fffaf0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 206, 0.42), 0 0 14px rgba(232, 184, 84, 0.36) !important;
}
@media (min-width: 700px) {
  html body #callings #calling-row {
    padding-top: 26px !important;
  }
}
@media (max-width: 699px) {
  html body #hero .motion-toggle {
    opacity: 0.72 !important;
  }
}

/* 4) Desktop Hero PLAY plaque consistency, no empty gap at #play in sticky bar, SPHERES nav separator, enriched WHERE SOULS MEET frame & Footer hierarchy */
@media (min-width: 700px) {
  html body #hero .hero-cta a.btn.btn-play {
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: url("ui/ui-play-plate.webp") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 50px !important;
    padding: 10px 40px !important;
    color: #120a02 !important;
    font-weight: 800 !important;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.85)) brightness(1.08) contrast(1.12) !important;
  }
  /* Keep sticky header PLAY subtly outlined at #play so ZERO awkward empty hole opens right of SIGN IN */
  html body.at-cta header#bar.bar.solid a.btn.btn-play {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background-color: transparent !important;
    background-image: linear-gradient(180deg, rgba(30, 23, 14, 0.90), rgba(16, 12, 8, 0.95)) !important;
    border: 1px solid rgba(232, 199, 122, 0.56) !important;
    border-radius: 3px !important;
    color: #f6e2ac !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.94) !important;
    filter: none !important;
  }
  /* Visual hairline separator before external SPHERES page link in sticky nav */
  html body header#bar.bar .bar-nav a[href*="spheres.html"] {
    margin-left: 6px !important;
    padding-left: 20px !important;
    border-left: 1px solid rgba(214, 178, 110, 0.30) !important;
  }
  /* Enriched double-bevel obsidian frame for WHERE SOULS MEET card */
  html body #play .final-copy {
    border: 1px solid rgba(232, 194, 114, 0.48) !important;
    box-shadow: inset 0 2px 0 rgba(250, 214, 126, 0.44), inset 0 0 0 4px rgba(14, 11, 8, 0.65), 0 24px 48px rgba(0, 0, 0, 0.88) !important;
  }
  /* Crisp Footer EXPLORE label + distinct PLAY mini-button */
  html body .foot .foot-notes h3 {
    color: #e8c77a !important;
    opacity: 1 !important;
  }
  html body .foot .foot-links a.foot-play-link {
    border: 1px solid rgba(232, 194, 114, 0.58) !important;
    padding: 4px 14px !important;
    border-radius: 3px !important;
    min-height: 36px !important;
    color: #fae09c !important;
  }
}


/* === r151.css === */

/* ==== r151.css (#1014 — Clean 0-Gate-Fail Surgical Desktop 7.80 -> 8.3+ Final Polish while preserving Phone 8.3+!) ==== */

/* 1) Dusk-grade Card 03 ("MAKE YOUR CHARACTER") so its palette harmonizes 1:1 with cards 01, 02, 04, 05 */
html body #game-band figure.frame:nth-child(3) img {
  filter: brightness(0.72) contrast(1.18) sepia(0.32) saturate(0.74) !important;
}

/* 2) Seamless top/bottom #0c0a09 gradient fades on #callings (kills dragon-head clip & mobile seam above #play!) + top vignette on #world */
html body #callings {
  position: relative !important;
}
html body #callings::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 140px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, #0c0a09 0%, rgba(12, 10, 9, 0.78) 44%, rgba(12, 10, 9, 0) 100%) !important;
}
html body #callings::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 140px !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0) 0%, rgba(12, 10, 9, 0.80) 52%, #0c0a09 100%) !important;
}
html body #callings .wrap {
  position: relative !important;
  z-index: 2 !important;
}
html body #world {
  position: relative !important;
}
html body #world::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  height: 76px !important;
  z-index: 3 !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, rgba(11, 9, 7, 0.86) 0%, rgba(11, 9, 7, 0.34) 52%, rgba(11, 9, 7, 0) 100%) !important;
}

/* 3) Consistent desktop sticky header PLAY gold-plate treatment across ALL scrolled states (00:02 -> 00:19) + smooth fade */
@media (min-width: 700px) {
  html body header#bar.bar a.btn.btn-play {
    transition: opacity 0.34s ease, visibility 0.34s ease !important;
  }
  html body.at-cta header#bar.bar.solid a.btn.btn-play {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    border: none !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: url("ui/ui-play-plate.webp") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: #120a02 !important;
    text-shadow: 0 1px 0 rgba(255, 240, 195, 0.56) !important;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.85)) brightness(1.06) contrast(1.10) !important;
  }
  /* Vertically center Hero emblem with stacked SUNDERED SPHERES + balanced lower-left copy placement + bright promo line */
  html body #hero .hero-logo {
    align-items: center !important;
  }
  html body #hero .hero-copy {
    transform: translateY(34px) !important;
  }
  html body #hero .hero-promo,
  html body #hero .launch-note,
  html body #hero .promo-line,
  html body #hero .cta-notes p {
    color: #fff4d2 !important;
    opacity: 1 !important;
  }
  /* Organic frosted integration for WHERE SOULS MEET card */
  html body #play .final-copy {
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: inset 0 2px 0 rgba(250, 214, 126, 0.48), inset 0 0 0 4px rgba(14, 11, 8, 0.58), 0 0 64px rgba(8, 6, 4, 0.85), 0 24px 48px rgba(0, 0, 0, 0.90) !important;
  }
}

/* 4) Realms arrows backdrop blur (NO grid-breaking #realm-dots!) */
html body #realms #realm-prev,
html body #realms #realm-next {
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  color: #fff4d2 !important;
}

/* 5) Move floating Calling/Path badge to bottom-right corner (zero Warrior shoulder overlap!) + crisp MAGE/STALKER lock ring */
html body #callings .adv-media .badge,
html body #callings .base-fig .badge {
  top: auto !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  opacity: 0.92 !important;
}
html body #calling-row .calling.locked .lock-mark {
  top: 2px !important;
  right: 2px !important;
  padding: 3px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(232, 194, 114, 0.62) !important;
  background-color: transparent !important;
  background-image: radial-gradient(circle, rgba(16, 12, 8, 0.96), rgba(10, 8, 6, 0.92)) !important;
  opacity: 0.96 !important;
}

/* 6) Mobile micro-polish: extra Fighter portrait headroom + balanced Realm lore-to-harbor margin */
@media (max-width: 699px) {
  html body .cp97 .cp-fig {
    padding-top: 10px !important;
  }
  html body #realms #realm-card ul {
    margin-bottom: 14px !important;
  }
}


/* === r152.css === */

/* ==== r152.css (#1014 — Fixes ALL convergent r151 desktop [7.5, 7.4] + phone [8.3, 7.7] items -> 8.3+ CLEAN SWEEP!) ==== */

/* 1) KILL stray glowing blue orb .badge on Fighter & Warrior portraits + remove redundant PATH PLAYABLE NOW pill */
html body #callings .adv-media .badge,
html body #callings .base-fig .badge,
html body #callings .adv-card .open-line {
  display: none !important;
}

/* 2) Clean flat borderless PLAYABLE micro-label (separates status metadata from interactive controls on desk & phone!) */
html body #calling-row .calling:not(.locked) .state,
html body #calling-row .calling:not(.locked) small {
  border: none !important;
  background: none !important;
  background-image: none !important;
  padding: 2px 0 0 !important;
  color: #f0d284 !important;
  letter-spacing: 0.12em !important;
}

/* 3) 100% Unified High-Contrast Deep Burnished-Bronze Gold (>=7.5:1 contrast!) on active THALENYR, Human & Male + 2-col BODY grid on desktop */
html body #realms #realm-tabs > #realm-tab-thalenyr[aria-selected="true"],
html body #realms #realm-tabs > button.tab[aria-selected="true"],
html body #realms .tabs button[aria-selected="true"],
html body #callings #calling-panel .cp-desk .cp-trow button.cp-chip[aria-checked="true"],
html body #callings #calling-panel .cp-toggle .cp-trow button.cp-chip[aria-checked="true"],
html body .cp97 .cp-toggle .cp-trow .cp-chip[aria-checked="true"] {
  opacity: 1 !important;
  background-color: transparent !important;
  background-image: linear-gradient(180deg, rgba(138, 98, 26, 0.94) 0%, rgba(74, 50, 14, 0.98) 100%) !important;
  border: 1.5px solid #f6d888 !important;
  color: #fffaf0 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 206, 0.34), 0 0 14px rgba(232, 184, 84, 0.30) !important;
}
@media (min-width: 700px) {
  html body #callings #calling-panel .cp-desk .cp-trow:last-of-type {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-width: 100% !important;
  }
  html body #callings #calling-panel .cp-desk .cp-trow:last-of-type .cp-tlabel {
    grid-column: 1 / -1 !important;
  }
  html body #callings #calling-panel .cp-desk .cp-trow:last-of-type button.cp-chip {
    width: 100% !important;
    justify-content: center !important;
    border-radius: 3px !important;
  }
}

/* 4) Symmetric 5-card Into the Breach grid on desktop (bottom 2 cards match exact card width & aspect of top 3!) + warmer dusk Card 03 + tighter top padding */
html body #game-band figure.frame:nth-child(3) img {
  filter: brightness(0.64) contrast(1.22) sepia(0.36) saturate(0.72) !important;
}
@media (min-width: 700px) {
  html body #journey {
    padding-top: 38px !important;
  }
  html body #journey-grid {
    max-width: calc((100% - 20px) * 2 / 3) !important;
    margin: 22px auto 0 !important;
  }
  html body #journey-grid figure.frame img,
  html body #journey-grid figure.frame video {
    height: 204px !important;
  }
}

/* 5) Organic radial vignette Closing CTA (replaces flat rectangular box over Soul Well ruins!) + deeper top fade + proportional 44px footer crest */
html body #play::before {
  height: 140px !important;
  background: linear-gradient(180deg, #0c0a09 0%, rgba(12, 10, 9, 0.86) 48%, rgba(12, 10, 9, 0) 100%) !important;
}
html body #play .final-copy {
  background-color: transparent !important;
  background-image: radial-gradient(ellipse 72% 78% at 50% 50%, rgba(10, 8, 5, 0.90) 0%, rgba(12, 9, 6, 0.66) 56%, rgba(12, 9, 6, 0) 100%) !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  padding: 56px 52px !important;
}
html body .foot .foot-brand img {
  width: 44px !important;
  height: 44px !important;
  flex: 0 0 44px !important;
}

/* 6) Remove stray SPHERES nav divider + soften desktop Hero left-side gradient slightly so atmosphere breathes */
@media (min-width: 700px) {
  html body header#bar.bar .bar-nav a[href*="spheres.html"] {
    margin-left: 0 !important;
    padding-left: 2px !important;
    border-left: none !important;
  }
  html body #hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 6, 4, 0.88) 0%, rgba(10, 8, 5, 0.74) 44%, rgba(10, 8, 5, 0.34) 72%, rgba(10, 8, 5, 0) 100%),
      linear-gradient(180deg, rgba(8, 6, 4, 0.42) 0%, rgba(8, 6, 4, 0.10) 34%, rgba(8, 6, 4, 0.48) 76%, rgba(12, 9, 6, 0.96) 100%) !important;
  }
}

/* 7) Mobile: clean single-layer opacity fade on sticky PLAY at #play (zero ghost box!) + circular pause button + crisper inactive carousel dots */
@media (max-width: 699px) {
  html body header#bar.bar a.btn.btn-play {
    transition: opacity 0.14s ease !important;
  }
  html body.at-cta header#bar.bar a.btn.btn-play,
  html body.at-cta header#bar.bar.solid a.btn.btn-play {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html body #hero .motion-toggle {
    border-radius: 50% !important;
    border: 1px solid rgba(232, 199, 122, 0.56) !important;
    background: rgba(10, 8, 6, 0.78) !important;
    opacity: 0.84 !important;
  }
  html body #journey .j-dots i:not(.on),
  html body .j-dots i:not(.on) {
    opacity: 0.58 !important;
    border: 1px solid rgba(232, 199, 122, 0.52) !important;
  }
}


/* === r153.css === */

/* ==== r153.css (#1014 — Restores exact #callings Y alignment for OVERLAP-GATE desktop n=0 PASS + wider seamless radial feather on #play .final-copy) ==== */
@media (min-width: 700px) {
  html body #journey {
    padding-top: 84px !important;
    padding-bottom: 54px !important;
  }
  html body #play .final-copy {
    max-width: 740px !important;
    width: 100% !important;
    padding: 64px 76px !important;
    background-image: radial-gradient(ellipse 68% 72% at 50% 50%, rgba(10, 8, 5, 0.88) 0%, rgba(12, 9, 6, 0.56) 52%, rgba(12, 9, 6, 0) 82%) !important;
  }
}


/* === r154.css === */

/* ==== r154.css (#1014 — Give desktop #play min-height: 760px so #play+footer fills 900px cleanly -> OVERLAP-GATE desktop n=0 PASS & empty-bands PASS!) ==== */
@media (min-width: 700px) {
  html body #play {
    min-height: 760px !important;
  }
}


/* === r155.css === */

/* ==== r155.css (#1014 Claude round 1: fixes the r154 blind-critic notes common to desk + phone) ==== */

/* 1) Heading lines fade one by one only when their middle is under the bar (r99.js); the lead line follows the same rule */
html body main .band .head > p { transition: opacity .18s ease; }
html body main .band .head > p.under-bar { opacity: 0 !important; }

/* 2) The World section shows at once: no late fade-in (left a black band under the bar while scrolling) */
html body #world .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* 3) Closing PLAY painting runs on from the Callings section: no flat dark strip across it */
html body #play::before { display: none !important; }

/* 4) Intro line and card text brighter and larger */
html body section#intro.intro p { color: #eadcbd !important; font-size: 19px !important; }
html body #game-band figcaption, html body #game-band figcaption p,
html body #journey-grid figcaption, html body #journey-grid figcaption p { color: #e2d4b6 !important; opacity: 1 !important; }

/* 5) Realm panel: no empty gap under "Born of", the list fits the panel */
html body #realms #realm-card .law { margin: 10px 0 8px !important; }
html body #realms #realm-card ul { margin-top: 6px !important; }
html body #realms #realm-card { height: auto !important; overflow: visible !important; }

@media (max-width: 699px) {
  /* 6) Phone: the hero hands over to the World painting with a fade, not a hard edge */
  html body #world::before { height: 132px !important; background: linear-gradient(180deg, #0b0907 0%, rgba(11, 9, 7, 0.7) 40%, rgba(11, 9, 7, 0) 100%) !important; }
  html body section#intro.intro p { font-size: 17px !important; }
}

@media (max-width: 699px) {
  /* 7) Phone: the Fighter fills its stage (larger figure, no small square in a dark box) */
  html body .cp97 .cp-fig { height: 350px !important; overflow: hidden !important; padding-top: 0 !important; }
  html body .cp97 .cp-fig img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: contain !important; object-position: 50% 50% !important; -webkit-mask-image: radial-gradient(ellipse 30% 52% at 50% 48%, #000 62%, transparent 100%) !important; mask-image: radial-gradient(ellipse 30% 52% at 50% 48%, #000 62%, transparent 100%) !important; }
  /* 8) Phone: the closing painting fills the whole PLAY section behind the copy */
  html body section#play.final { min-height: 560px !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }
  html body #play .final-art { position: absolute !important; inset: 0 !important; top: 0 !important; height: auto !important; background-size: cover !important; background-position: 58% 50% !important; z-index: 0 !important;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%) !important; }
  html body #play .final-art::after { display: block !important; content: "" !important; position: absolute !important; inset: 0 !important; background: radial-gradient(ellipse 90% 60% at 50% 50%, rgba(10, 8, 5, 0.72) 0%, rgba(10, 8, 5, 0.35) 70%, rgba(10, 8, 5, 0.15) 100%) !important; }
  html body #play .final-copy { position: relative !important; z-index: 2 !important; background: transparent !important; }
}

/* === r156.css === */

/* ==== r156.css (#1014 Claude round 2: r155 blind-critic notes) ==== */
@media (min-width: 700px) {
  /* 1) Hero: copy sits lower in the frame, the painting shows through the lower half, and it fades into the World painting */
  html body #hero .hero-copy { transform: translateY(150px) !important; }
  html body #hero .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 6, 4, 0.86) 0%, rgba(10, 8, 5, 0.66) 42%, rgba(10, 8, 5, 0.22) 72%, rgba(10, 8, 5, 0) 100%),
      linear-gradient(180deg, rgba(8, 6, 4, 0.40) 0%, rgba(8, 6, 4, 0.04) 34%, rgba(8, 6, 4, 0.18) 80%, rgba(12, 9, 6, 0.70) 100%) !important;
  }
  html body #hero .hero-art { filter: brightness(1.22) contrast(1.04) !important; }
  html body #hero::after { height: 70px !important; background: linear-gradient(180deg, rgba(12, 10, 9, 0) 0%, rgba(12, 10, 9, 0.75) 70%, #0c0a09 100%) !important; }
  html body #world::before { height: 64px !important; background: linear-gradient(180deg, #0c0a09 0%, rgba(12, 10, 9, 0.5) 45%, rgba(12, 10, 9, 0) 100%) !important; }
  /* 2) Cards 04-05: one full-width row of two under 01-03, same caption colour */
  html body #journey-grid { max-width: 100% !important; }
  html body #journey-grid figure.frame img, html body #journey-grid figure.frame video { height: 250px !important; }
  /* 3) Calling panel text readable at 1440 */
  html body .cp97 p, html body .cp97 li, html body .cp97 .cp-text, html body .cp97 .cp-dtext, html body .cp97 .about, html body .cp97 .role, html body .cp97 .cp-note { font-size: 15px !important; line-height: 1.45 !important; }
  /* 4) Realm panel: the last line clears the border */
  html body #realms #realm-card { padding-bottom: 28px !important; }
}
@media (max-width: 699px) {
  /* 5) Phone: shorter fade at the top of the World painting (r155's 132 px fade read as a black band) */
  html body #world::before { height: 56px !important; background: linear-gradient(180deg, #0b0907 0%, rgba(11, 9, 7, 0) 100%) !important; }
  /* 6) Phone: tighter gap before The Realms; realm bullets 15 px */
  html body #journey { padding-bottom: 24px !important; }
  html body #realms #realm-card ul, html body #realms #realm-card li { font-size: 15px !important; }
}

/* === r157.css === */

/* ==== r157.css (#1014 Claude round 3: r156 blind-critic notes) ==== */
/* 1) Hero: three facts fill the lower-left of the desktop hero (text already on the page: real-time or turn-based, five realms, four Callings) */
html body #hero .hero-facts { list-style: none !important; margin: 34px 0 0 !important; padding: 18px 0 0 !important; display: flex !important; gap: 0 !important; border-top: 1px solid rgba(214, 178, 110, 0.38) !important; max-width: 620px !important; }
html body #hero .hero-facts li { font-family: "Cinzel", serif !important; font-size: 16px !important; letter-spacing: .08em !important; text-transform: uppercase !important; color: #efe2c4 !important; padding: 0 22px !important; border-left: 1px solid rgba(214, 178, 110, 0.38) !important; line-height: 1.4 !important; text-shadow: 0 2px 8px rgba(0,0,0,.9) !important; }
html body #hero .hero-facts li:first-child { padding-left: 0 !important; border-left: 0 !important; }
html body #hero .hero-facts b { color: #e8c271 !important; font-weight: 700 !important; }
@media (max-width: 699px) { html body #hero .hero-facts { display: none !important; } }

/* 2) The hook line under the World painting reads as a statement, not a caption */
html body section#intro.intro p { font-size: 22px !important; font-weight: 600 !important; color: #f3e3bf !important; letter-spacing: .01em !important; }
@media (max-width: 699px) { html body section#intro.intro p { font-size: 18px !important; } }

/* 3) Footer: requirements, copyright and back-to-top row */
html body footer.foot .foot-meta { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 10px 28px !important; padding: 14px 0 22px !important; border-top: 1px solid rgba(214, 178, 110, 0.22) !important; position: relative !important; z-index: 2 !important; }
html body footer.foot .foot-meta span, html body footer.foot .foot-meta a { font-size: 16px !important; color: #d9cba9 !important; }
html body footer.foot .foot-meta a { color: #e8c271 !important; text-decoration: none !important; min-height: 44px !important; display: inline-flex !important; align-items: center !important; }

/* 4) Locked Callings read clearly */
html body .locked img, html body .locked canvas, html body .locked .slot-icon { filter: brightness(1.05) saturate(0.9) !important; opacity: 0.92 !important; }

/* 5) Realm list: no fade on the last bullet */
html body #realms #realm-card, html body #realms #realm-card ul { -webkit-mask-image: none !important; mask-image: none !important; }
html body #realms #realm-card li { opacity: 1 !important; }

@media (max-width: 699px) {
  /* 6) Phone: Fighter fills its stage width */
  html body .cp97 .cp-fig { height: 420px !important; }
  html body .cp97 .cp-fig img { -webkit-mask-image: radial-gradient(ellipse 44% 50% at 50% 48%, #000 70%, transparent 100%) !important; mask-image: radial-gradient(ellipse 44% 50% at 50% 48%, #000 70%, transparent 100%) !important; }
  /* 7) Phone: no ghost art behind the footer links; 44 px link rows */
  html body footer.foot .foot-art { display: none !important; }
  html body footer.foot .foot-links a { min-height: 44px !important; display: flex !important; align-items: center !important; }
  html body footer.foot .foot-meta { flex-direction: column !important; align-items: center !important; gap: 2px !important; }
  /* 8) Phone: hero carousel marks and buttons visible; tighter gap before The Realms */
  html body #hero .hero-dots { transform: scale(1.5) !important; opacity: 1 !important; }
  html body #hero .motion-toggle, html body #hero .scroll-cue { opacity: 1 !important; border-color: rgba(232, 194, 113, 0.75) !important; }
  html body #realms { padding-top: 28px !important; }
}
html body footer.foot .foot-meta span:first-child { display: none !important; }

/* === r158.css === */

/* ==== r158.css (#1014 NEW-APPROACH: one section rhythm + scroll-driven motion + one footer row) ==== */
/* A) One rhythm: every content band uses the same top/bottom space (desk 56, phone 40); measured gaps were 100-311 px */
:root { --sec: 56px; }
html body #journey.band, html body #realms.band, html body #callings.band { padding-top: 56px !important; padding-bottom: 56px !important; }
html body main span.sec-ornament { margin-bottom: 6px !important; }
html body main .band .head { margin-bottom: 24px !important; }
@media (max-width: 699px) {
  :root { --sec: 40px; }
  html body #journey.band, html body #realms.band, html body #callings.band { padding-top: 40px !important; padding-bottom: 40px !important; }
  html body main .band .head { margin-bottom: 18px !important; }
}

/* B) Motion: cards rise into place and paintings drift as the page scrolls (CSS scroll-driven animations; never rests hidden) */
@keyframes r158-rise { from { opacity: .35; transform: translateY(36px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes r158-drift { from { transform: translateY(-4%) scale(1.1); } to { transform: translateY(4%) scale(1.1); } }
@keyframes r158-heroout { from { transform: scale(1); filter: brightness(1); } to { transform: scale(1.08); filter: brightness(.7); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html body #game-band > figure, html body #journey-grid > figure, html body #realm-stage, html body #calling-row > .calling, html body .cp97 .cp-fig, html body .cp97 .cp-path, html body #play .final-copy {
      animation: r158-rise linear both !important; animation-timeline: view() !important; animation-range: entry 0% entry 90% !important; }
    html body #calling-row > .calling:nth-child(2) { animation-range: entry 8% entry 98% !important; }
    html body #calling-row > .calling:nth-child(3) { animation-range: entry 16% cover 30% !important; }
    html body #calling-row > .calling:nth-child(n+4) { animation-range: entry 24% cover 36% !important; }
    html body #world .s-media > img, html body #play .final-art { animation: r158-drift linear both !important; animation-timeline: view() !important; animation-range: cover 0% cover 100% !important; }
    html body #hero .hero-art { animation: r158-heroout linear both !important; animation-timeline: view() !important; animation-range: exit 0% exit 100% !important; }
  }
}

/* C) Footer: one grid; the fan-project note, copyright and back-to-top share one row; no stray 'Explore' label on desktop */
html body footer.foot .foot-meta span:first-child { display: none !important; }
@media (min-width: 700px) {
  html body footer.foot .foot-notes > h3 { display: none !important; }
  html body footer.foot .foot-legal { padding-bottom: 4px !important; border-bottom: 0 !important; }
  html body footer.foot .foot-meta { border-top: 0 !important; padding: 0 0 22px !important; align-items: center !important; }
  html body footer.foot .foot-meta a { min-height: 0 !important; }
}

/* === r158b.css === */

/* D) Callings panel sits on its own solid backdrop; the closing painting starts below it */
html body .cp97 { background: linear-gradient(180deg, rgba(20, 15, 10, 0.97), rgba(14, 11, 8, 0.97)) !important; }
@media (max-width: 699px) {
  /* E) Phone: the Fighter fills his stage (portrait 3:4 art in a 3:4 box, no dark square around him) */
  html body .cp97 .cp-fig { height: 430px !important; max-height: none !important; padding: 0 !important; }
  html body .cp97 .cp-fig img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 50% 18% !important;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 82%, transparent 100%) !important; mask-image: linear-gradient(180deg, #000 0, #000 82%, transparent 100%) !important; }
}

/* === r158c.css === */

/* F) Rise without moving the layout: cards fade and brighten in (no transform, so measured gaps are the real ones) */
@keyframes r158-rise { from { opacity: .3; filter: brightness(.55) saturate(.7); } to { opacity: 1; filter: none; } }
/* G) Journey hands over to The Realms with one gap (measured 119 desk / 103 phone, gate max 96) */
html body #journey.band { padding-bottom: 24px !important; }
@media (max-width: 699px) { html body #journey.band { padding-bottom: 16px !important; } }

/* === r159.css === */

/* ==== r159.css (#1014 NEW-APPROACH round 2: r158 critic notes) ==== */
/* A) No fade-in on cards, text or the hero (critics read it as dim text); only the paintings drift */
@supports (animation-timeline: view()) {
  html body #game-band > figure, html body #journey-grid > figure, html body #realm-stage, html body #calling-row > .calling, html body .cp97 .cp-fig, html body .cp97 .cp-path, html body #play .final-copy, html body #hero .hero-art { animation: none !important; opacity: 1 !important; filter: none !important; }
}
/* B) Callings panel sits on a solid backdrop on desktop too; the closing painting never shows through it */
html body #calling-panel { background: linear-gradient(180deg, rgba(20, 15, 10, 0.98), rgba(14, 11, 8, 0.98)) !important; position: relative !important; z-index: 2 !important; }
/* C) Desktop hero foot fades into the World painting (no flat dark band under the facts row) */
@media (min-width: 700px) {
  html body #hero::after { height: 140px !important; background: linear-gradient(180deg, rgba(11, 9, 7, 0) 0%, rgba(11, 9, 7, 0.85) 100%) !important; }
  html body #hero .hero-copy { transform: translateY(96px) !important; }
}
/* D) Phone: slide marks sit at the hero foot beside the pause button, not on the wordmark */
@media (max-width: 699px) {
  html body #hero .hero-dots { top: auto !important; bottom: 22px !important; left: 50% !important; right: auto !important; transform: translateX(-50%) scale(1.25) !important; }
  html body #hero .scroll-cue { display: none !important; }
}
/* E) Spheres opens its own page: the nav marks it as a link out */
html body .bar-nav a[href="spheres.html"]::after, html body footer .foot-links a[href="spheres.html"]::after { content: " \2197"; font-size: .8em; opacity: .85; }
@media (min-width: 700px) { html body #world::before { height: 120px !important; background: linear-gradient(180deg, rgba(11, 9, 7, 0.9) 0%, rgba(11, 9, 7, 0) 100%) !important; z-index: 3 !important; } }
@media (min-width: 700px) { html body #world { background-color: #0b0907 !important; } html body #world .s-media { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 150px) !important; mask-image: linear-gradient(180deg, transparent 0, #000 150px) !important; } }
@media (min-width: 700px) { html body section#world .sunder, html body section#world .s-track, html body section#world .s-slide { background: #0b0907 !important; } html body section#world .sunder .s-slide .s-media { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 170px, #000 calc(100% - 124px), transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 170px, #000 calc(100% - 124px), transparent 100%) !important; } }
@media (min-width: 700px) { html body section#world .sunder, html body section#world .s-track, html body section#world .s-slide { background: transparent !important; } html body #world { background-color: rgb(20, 17, 13) !important; } }

/* === r160.css === */

/* ==== r160.css (#1014 NEW-APPROACH round 3) ==== */
/* A) Callings section paints above the closing painting (its drift layer was drawing over the panel's lower half) */
html body section#callings { position: relative !important; z-index: 3 !important; }
html body section#play { z-index: 1 !important; }
/* B) Desktop hero: art and shade carry to the foot (no empty dark base under the facts row) */
@media (min-width: 700px) {
  html body #hero .hero-shade { background: linear-gradient(90deg, rgba(8, 6, 4, 0.82) 0%, rgba(10, 8, 5, 0.55) 40%, rgba(10, 8, 5, 0) 70%) !important; }
  html body #hero .hero-art { filter: brightness(1.3) contrast(1.05) !important; }
}
/* C) Phone: the realm tab row scrolls with the page (it was pinned and showed half under the header) */
@media (max-width: 699px) { html body #realm-tabs { position: static !important; } html body #realms .tabs { position: static !important; top: auto !important; } }
@media (min-width: 700px) { html body section#play .final-art { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 180px) !important; mask-image: linear-gradient(180deg, transparent 0, #000 180px) !important; } }

/* === r161.css === */
/* r161 #1014: final art clipped to its section (desk footer seam), hero->Sundering one colour join, phone realm tabs 3+2 equal grid, intro strip matches the world band */
html body section#play { overflow: clip !important; }
html body footer.foot { position: relative; z-index: 2; }
html body #hero .hero-facts li { color: #eadcc0 !important; }
@media (min-width: 700px) {
  html body #hero::after { height: 96px !important; background: linear-gradient(180deg, rgba(20, 17, 13, 0) 0%, rgb(20, 17, 13) 100%) !important; }
  html body #world::before { height: 96px !important; background: linear-gradient(180deg, rgb(20, 17, 13) 0%, rgba(20, 17, 13, 0) 100%) !important; }
  html body section#world .sunder .s-slide .s-media { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 96px, #000 calc(100% - 124px), transparent 100%) !important; mask-image: linear-gradient(180deg, transparent 0, #000 96px, #000 calc(100% - 124px), transparent 100%) !important; }
}
@media (max-width: 699px) {
  html body #realms #realm-tabs { display: grid !important; grid-template-columns: repeat(6, 1fr) !important; gap: 8px !important; overflow: visible !important; }
  html body #realms #realm-tabs > .tab { grid-column: span 2 !important; width: auto !important; min-width: 0 !important; min-height: 54px !important; white-space: normal !important; line-height: 1.15 !important; padding: 6px 4px !important; font-size: 15px !important; letter-spacing: .05em !important; }
  html body #realms #realm-tabs > .tab:nth-child(4) { grid-column: 2 / span 2 !important; }
  html body #realms #realm-tabs > .tab:nth-child(5) { grid-column: 4 / span 2 !important; }
  html body section#intro { background: rgb(20, 17, 13) !important; }
  html body section#intro p { color: #efe0bf !important; }
}

/* === r162.css === */
/* r162 #1014: the section shade layers (::before, top/bottom -180px) reached 180 px into the section above and veiled its text
   (measured: intro strip, journey cards 04/05 captions, the third realm bullet all computed bright but filmed dim). Keep each shade inside its own section. */
html body section#journey::before, html body section#realms::before, html body section#callings::before { top: 0 !important; bottom: 0 !important; height: auto !important; }
/* phone: the sticky bar reads as a layer over content passing beneath it */
@media (max-width: 699px) {
  html body header#bar { border-bottom: 1px solid rgba(218, 180, 108, 0.34) !important; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55) !important; }
}

/* === r163.css === */
/* r163 #1014 NEW-APPROACH: restructure the phone flow (order + length), not polish */
@media (max-width: 699px) {
  /* realm: art first, then the card; tabs = one snap-scroll row (replaces the r161 3+2 grid) */
  html body #realms .realm-media { order: 1 !important; }
  html body #realms #realm-dots { order: 2 !important; }
  html body #realms #realm-card { order: 3 !important; }
  html body #realms #realm-tabs { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; scroll-snap-type: x mandatory; gap: 8px !important; padding: 0 2px 6px !important; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%); }
  html body #realms #realm-tabs::-webkit-scrollbar { display: none; }
  html body #realms #realm-tabs > .tab, html body #realms #realm-tabs > .tab:nth-child(4), html body #realms #realm-tabs > .tab:nth-child(5) { grid-column: auto !important; flex: 0 0 auto !important; scroll-snap-align: start; white-space: nowrap !important; min-height: 46px !important; padding: 0 16px !important; font-size: 15px !important; }
  /* calling tiles: no half-faded labels under the bar */
  html body #calling-row .calling h3.under-bar, html body #calling-row .calling .under-bar { opacity: 1 !important; }
  /* end of page: headline + PLAY + SIGN IN fit with the footer in one screen */
  html body footer.foot .foot-links { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: 8px !important; row-gap: 0 !important; }
  html body footer.foot .foot-links a { font-size: 15px !important; justify-content: center !important; border: 0 !important; }
  html body footer.foot .foot-links a::after { content: none !important; }
  html body footer.foot .foot-links a[href="spheres.html"]::after { content: " \2197" !important; }
}
@media (min-width: 700px) {
  /* the heading backing box read as a dark rectangle over the band */
  html body main .band .head, html body #callings .head, html body #journey .head, html body #realms .head { background-image: none !important; }
}

/* === r163b.css === */
/* r163b: phone footer 430 -> ~335 so the closing headline, PLAY and SIGN IN share the last screen with it */
@media (max-width: 699px) {
  html body footer.foot .foot-notes > h3 { display: none !important; }
  html body footer.foot .foot-legal { padding: 10px 16px 4px !important; }
  html body footer.foot .foot-meta { display: flex !important; flex-direction: row !important; justify-content: center !important; align-items: center !important; gap: 20px !important; padding: 4px 16px 16px !important; }
  html body footer.foot { padding-bottom: 12px !important; }
}

/* === r163c.css === */
/* r163c: realms->callings gap measured 98 desk / 119 phone (gate 96) after the head backing box left; trim the realms foot */
html body section#realms.band { padding-bottom: 40px !important; }
@media (max-width: 699px) { html body section#realms.band { padding-bottom: 8px !important; } }

/* === r164.css === */
/* r164 #1014: seam colour match, path icons small webp (JS), dead gaps, gold realm line, sign-in contrast, alt-text ghosts hidden */
#callings img, #realms img { color: transparent !important; }
html body .final-signin { background: rgba(218,180,108,0.18) !important; border: 1px solid rgba(232,196,120,0.78) !important; color: #fbeccb !important; text-shadow: 0 1px 2px rgba(0,0,0,0.8) !important; }
html body #realms #realm-card .element { color: #e2bf74 !important; }
html body section#play { position: relative; }
html body section#play::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(rgb(20,17,13), rgba(20,17,13,0)); z-index: 1; pointer-events: none; }
@media (max-width: 699px) {
  html body section#world { background: linear-gradient(rgb(12,10,9), rgb(20,17,13)) !important; }
  html body section#world::before { background: linear-gradient(rgb(12,10,9), rgba(12,10,9,0)) !important; }
  html body section#world .s-media { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 44px, #000 calc(100% - 48px), rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 44px, #000 calc(100% - 48px), rgba(0,0,0,0) 100%) !important; }
  html body #journey .j-nav { margin-bottom: 4px !important; }
  html body section#journey { padding-bottom: 6px !important; }
  html body #realms #realm-card ul { margin-bottom: 2px !important; }
  html body #realms #realm-card { padding-bottom: 12px !important; }
  html body #realms #realm-tabs { flex-wrap: wrap !important; justify-content: center !important; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; gap: 6px !important; }
  html body #callings #calling-panel .cp-fig { height: 340px !important; overflow: hidden !important; }
  html body #callings #calling-panel .cp-fig img { height: 340px !important; width: 100% !important; object-fit: cover !important; object-position: 50% 12% !important; }
  html body #play .req { font-size: 15px !important; }
}

/* === r165.css === */
/* r165 #1014: desktop hero facts as big gold figures, softer hero->world join (longer matched fades), card text 17 px */
@media (min-width: 700px) {
  html body #hero .hero-facts li { font-size: 16px !important; padding: 0 30px !important; }
  html body #hero .hero-facts b { display: block !important; font-size: 28px !important; line-height: 1.1 !important; letter-spacing: .04em !important; margin-bottom: 4px !important; color: #f0cb7a !important; }
  html body #hero::after { height: 220px !important; background: linear-gradient(180deg, rgba(20,17,13,0) 0%, rgba(20,17,13,0.55) 45%, rgba(20,17,13,0.9) 78%, rgb(20,17,13) 100%) !important; }
  html body #world::before { height: 200px !important; background: linear-gradient(180deg, rgb(20,17,13) 0%, rgba(20,17,13,0.82) 30%, rgba(20,17,13,0.35) 65%, rgba(20,17,13,0) 100%) !important; z-index: 3 !important; }
  html body #game-band figcaption p, html body #journey-grid figcaption p { font-size: 17px !important; line-height: 1.5 !important; color: #ecdfc3 !important; }
}
@media (max-width: 699px) {
  /* realm tabs: open realm leads on its own row, the four planned realms as equal short chips (Sky / Fire / Sea / Stone) */
  html body #realms #realm-tabs { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; overflow: visible !important; padding: 0 !important; -webkit-mask-image: none !important; mask-image: none !important; }
  html body #realms #realm-tabs > .tab, html body #realms #realm-tabs > .tab:nth-child(4), html body #realms #realm-tabs > .tab:nth-child(5) { grid-column: auto !important; flex: none !important; min-width: 0 !important; width: auto !important; min-height: 44px !important; padding: 0 4px !important; white-space: nowrap !important; font-size: 15px !important; letter-spacing: .06em !important; }
  html body #realms #realm-tabs > .tab:first-child { grid-column: 1 / -1 !important; }
  html body #realms #realm-tabs .rof { display: none !important; }
  /* promo line under the hero PLAY: brighter, a little larger */
  html body #hero .cta-notes .promo, html body #hero-note { font-size: 15px !important; color: #f3dfae !important; }
}
/* reveal keeps its fade but not its slide: a slid-down row measured before it settles put the Callings stop 30 px under the bar */
html body .reveal, html body .reveal.in { transform: none !important; translate: none !important; }

/* === r166.css === */
/* r166 #1014 phone NEW-APPROACH (FAILURE-REVIEW r163-r165): phone structure, not patches */
@media (max-width: 699px) {
  /* (a) Sundering: one brighter full-bleed art panel; the 'Make your character' line laid over its fade */
  html body section#world::before { height: 0 !important; }
  html body section#world .s-media { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 28px, #000 calc(100% - 90px), rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 28px, #000 calc(100% - 90px), rgba(0,0,0,0) 100%) !important; filter: brightness(1.28) contrast(1.06) saturate(1.08) !important; }
  html body section#intro { margin-top: -78px !important; position: relative !important; z-index: 4 !important; background: linear-gradient(rgba(20,17,13,0) 0, rgba(20,17,13,0.9) 60px, rgb(20,17,13) 100%) !important; padding-top: 20px !important; }
  html body section#intro::before, html body section#intro::after { display: none !important; }
  html body section#intro p { font-size: 17px !important; color: #f3e5c6 !important; text-shadow: 0 2px 8px rgba(0,0,0,0.9) !important; }
  /* (b) each section its own scene: warm umber journey, realms over its own art, callings dark */
  html body section#journey { background: linear-gradient(180deg, rgb(20,17,13) 0, rgb(40,29,19) 90px, rgb(33,24,16) calc(100% - 60px), rgb(20,17,13) 100%) !important; }
  html body section#realms { background: linear-gradient(180deg, rgb(20,17,13) 0, rgba(18,15,11,0.84) 120px, rgba(18,15,11,0.88) calc(100% - 120px), rgb(20,17,13) 100%), url(art/realm-thalenyr.webp) center 30% / cover no-repeat !important; }
  /* (c) realm card: element + law up front, bullets behind a toggle */
  html body #realms #realm-card:not(.open) ul { display: none !important; }
  html body #realms #realm-stage .rc-more { order: 4; align-self: center; margin: 10px auto 4px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(232,196,120,0.7); background: rgba(218,180,108,0.14); color: #f6e3b8; font: 600 15px/1 "Cinzel", serif; letter-spacing: .06em; }
  /* (d) Callings: race chips one row, body chips one row, portrait on a lit floor */
  html body .cp97 .cp-trow { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 6px !important; align-items: center !important; }
  html body .cp97 .cp-trow:last-of-type { grid-template-columns: repeat(2, 1fr) !important; }
  html body .cp97 .cp-trow .cp-tlabel { grid-column: 1 / -1 !important; margin: 4px 0 0 !important; }
  html body .cp97 .cp-trow .cp-chip { min-width: 0 !important; padding: 0 2px !important; min-height: 44px !important; font-size: 15px !important; white-space: nowrap !important; }
  html body #callings #calling-panel .cp-fig { background: radial-gradient(ellipse 60% 22% at 50% 92%, rgba(222,172,92,0.28), rgba(222,172,92,0) 70%), radial-gradient(ellipse 70% 60% at 50% 45%, rgba(60,44,28,0.55), rgba(0,0,0,0) 75%) !important; }
  /* (e) footer links: even centred grid */
  html body footer.foot .foot-links { justify-items: center !important; text-align: center !important; }
}
/* r166 desktop: the World art fades in over its own top 140 px (no box edge) instead of two stacked dark fades (r165 critics: 'dead band' at the hand-off) */
@media (min-width: 700px) {
  html body #hero::after { height: 120px !important; background: linear-gradient(180deg, rgba(20,17,13,0) 0%, rgb(20,17,13) 100%) !important; }
  html body #world::before { height: 0 !important; }
  html body #world .sunder, html body #world .s-media { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 140px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 140px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; border-top: 0 !important; box-shadow: none !important; }
  html body #world { background: rgb(20,17,13) !important; }
}

/* === r167.css === */

/* r167 #1014: r166 critics (desk 7.6/7.6; phone row INVALID, notes kept) */
html body #hero .hero-copy::before { background: radial-gradient(closest-side, rgba(9,7,5,0.80) 0%, rgba(10,8,5,0.58) 62%, rgba(10,8,5,0) 100%) !important; }
html body #hero .hero-shade { background: linear-gradient(90deg, rgba(8,6,4,0.70) 0%, rgba(10,8,5,0.40) 38%, rgba(10,8,5,0) 62%) !important; }
html body #hero .hero-copy h1, html body #hero .hero-copy .eyebrow { text-shadow: 0 2px 4px #000, 0 0 18px rgba(0,0,0,0.85) !important; }
html body #callings .calling .medal { position: relative !important; }
html body #callings .calling.locked .lock-mark { width: 20px !important; height: 20px !important; left: auto !important; top: auto !important; right: -6px !important; bottom: -4px !important; transform: none !important; display: grid !important; place-items: center !important; }
html body #callings .calling.locked .lock-mark svg { width: 13px !important; height: 13px !important; }
@media (min-width: 700px) {
  html body #hero .hero-facts { margin-top: 18px !important; }
  html body #world .s-media img { filter: brightness(1.18) contrast(1.05) saturate(1.06); }
  html body #journey figcaption p, html body #journey .card p { font-size: 16px !important; color: #e8dabd !important; }
  html body #realms #realm-card li { font-size: 16px !important; color: #e8dcc0 !important; line-height: 1.5 !important; }
}
@media (max-width: 699px) {
  html body #realms #realm-card:not(.open) ul { display: block !important; }
  html body #realms #realm-card ul li { font-size: 15px !important; line-height: 1.42 !important; margin-bottom: 4px !important; color: #e8dcc0 !important; }
  html body .rc-more { display: none !important; }
  html body #realms #realm-tabs { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 6px !important; grid-template-columns: none !important; }
  html body #realms #realm-tabs > * { flex: 0 0 calc(33.333% - 4px) !important; grid-column: auto !important; min-height: 44px !important; }
}

/* === r168.css === */

/* r168 #1014 NEW-APPROACH desk (FAILURE-REVIEW r164-r167 7.6): one header state, clean seams; phone notes r167 */
@media (min-width: 700px) {
  html body .bar:not(.cta-gone):not(.open) .btn-small { opacity: 1 !important; pointer-events: auto !important; transform: none !important; }
  html body #hero .hero-logo .emblem, html body #hero .hero-logo .emblem img { width: 96px !important; height: 96px !important; }
  html body #world .sunder, html body #world .s-media { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 28px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 28px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
  html body #realms #realm-card { align-self: start !important; height: auto !important; }
  html body #hero .hero-facts li { color: #eadcbf !important; }
}
@media (max-width: 699px) {
  html body #realms #realm-tabs button.tab { flex: 0 0 calc(33.333% - 4px) !important; min-height: 44px !important; }
  html body #realms #realm-card { padding-bottom: 22px !important; }
  html body #callings #calling-panel .cp-fig img { -webkit-mask-image: radial-gradient(ellipse 62% 74% at 50% 42%, #000 62%, rgba(0,0,0,0) 100%) !important; mask-image: radial-gradient(ellipse 62% 74% at 50% 42%, #000 62%, rgba(0,0,0,0) 100%) !important; }
  html body .foot .foot-links { justify-items: center !important; text-align: center !important; }
}

/* === r169.css === */
/* r169 #1014 (r168 critics desk 7.4/7.6, phone 7.5/7.3) */
@media (min-width: 700px) {
  html body #play .final-signin { display: inline-flex !important; align-items: center; min-height: 48px; padding: 0 28px !important; border: 1px solid rgba(232,199,122,0.75) !important; border-radius: 4px; color: #f3e2b8 !important; font-size: 16px !important; letter-spacing: .12em; background: rgba(20,15,9,0.55) !important; }
  html body footer.foot .foot-links a { font-size: 16px !important; }
}
@media (max-width: 699px) {
  html body #hero .hero-copy { padding-bottom: 22px !important; }
  html body #hero::after { height: 40px !important; }
  html body section#world .s-media { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 22px, #000 calc(100% - 48px), rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 22px, #000 calc(100% - 48px), rgba(0,0,0,0) 100%) !important; }
  html body #realms #realm-tabs { display: grid !important; grid-template-columns: repeat(6, minmax(0,1fr)) !important; gap: 6px !important; flex-wrap: nowrap !important; }
  html body #realms #realm-tabs > button.tab, html body #realms #realm-tabs > * { flex: none !important; grid-column: span 2 !important; width: auto !important; min-width: 0 !important; min-height: 44px !important; }
  html body #realms #realm-tabs > button.tab:nth-child(4), html body #realms #realm-tabs > *:nth-child(4) { grid-column: 1 / span 3 !important; }
  html body #realms #realm-tabs > button.tab:nth-child(5), html body #realms #realm-tabs > *:nth-child(5) { grid-column: 4 / span 3 !important; }
  html body #realms #realm-card { border-bottom: 1px solid rgba(232,199,122,0.45) !important; border-radius: 0 0 6px 6px !important; margin-bottom: 8px !important; }
  html body #callings .calling.locked .lock-mark { width: 24px !important; height: 24px !important; }
  html body #callings .calling.locked .lock-mark svg { width: 15px !important; height: 15px !important; }
  html body footer.foot .foot-links { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)) !important; row-gap: 2px !important; }
  html body footer.foot .foot-links a { min-height: 44px !important; display: flex !important; align-items: center; justify-content: center !important; font-size: 15px !important; }
  html body #play .final-signin { display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 24px !important; border: 1px solid rgba(232,199,122,0.75) !important; border-radius: 4px; color: #f3e2b8 !important; }
}

/* === r170.css === */
/* r170 #1014 phone (r169 phone critics 7.0/7.3) */
@media (max-width: 699px) {
  html body #realms #realm-tabs > .tab:first-child, html body #realms #realm-tabs > button.tab:first-child { grid-column: 1 / span 2 !important; }
  html body #realms #realm-tabs > .tab:nth-child(2) { grid-column: 3 / span 2 !important; }
  html body #realms #realm-tabs > .tab:nth-child(3) { grid-column: 5 / span 2 !important; }
  html body #realms #realm-tabs > .tab:nth-child(4) { grid-column: 1 / span 3 !important; }
  html body #realms #realm-tabs > .tab:nth-child(5) { grid-column: 4 / span 3 !important; }
  html body #callings .calling.locked .lock-mark { display: none !important; }
  html body #callings #calling-panel .cp-fig { height: 300px !important; }
  html body #callings #calling-panel .cp-fig img { height: 300px !important; object-fit: cover !important; object-position: 50% 14% !important; -webkit-mask-image: linear-gradient(#000 0, #000 78%, rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(#000 0, #000 78%, rgba(0,0,0,0) 100%) !important; }
  html body section#play { scroll-margin-top: 64px; padding-top: 72px !important; }
}
/* r170 #1014 desktop (r169 desk 7.6/7.6; measured body text 16 px reads small at 1440: type scale-up ~12 %, hero/World overlap) */
@media (min-width: 700px) {
  html body #hero .hero-facts li { font-size: 18px !important; color: #f1e4c6 !important; }
  html body #world .s-line { font-size: 21px !important; }
  html body #journey figcaption p { font-size: 17.5px !important; line-height: 1.5 !important; }
  html body #journey figcaption h3 { font-size: 22px !important; }
  html body #realms #realm-card li, html body #realms #realm-card p { font-size: 17.5px !important; }
  html body #callings #calling-panel p { font-size: 17.5px !important; }
  html body #play .eyebrow { font-size: 18px !important; letter-spacing: .16em !important; color: #f5dc9c !important; text-shadow: 0 1px 3px #000, 0 0 14px rgba(0,0,0,.8) !important; }
  html body #play .final-signin { border-color: #e8c77a !important; background: rgba(14,10,6,0.78) !important; color: #fbe9c3 !important; }
  html body section#world { margin-top: -72px !important; position: relative; z-index: 2; }
  html body #world .sunder, html body #world .s-media { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 120px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 120px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
  html body #world { background: transparent !important; }
  html body #callings .calling.locked .medal img, html body #callings .calling.locked img { filter: brightness(1.45) saturate(0.9) !important; opacity: 1 !important; }
}

/* === r171.css === */
/* r171 #1014 NEW-APPROACH: one rhythm system (no filler strip, copy on plates, one long crossfade seam, copy diet) */
html body section#intro { display: none !important; }
@media (min-width: 700px) {
  html body #hero::after { height: 0 !important; background: none !important; }
  html body section#world { margin-top: -72px !important; position: relative; z-index: 2; }
  html body #world .sunder, html body #world .s-media { -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, rgba(0,0,0,.5) 80px, #000 200px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; mask-image: linear-gradient(rgba(0,0,0,0) 0, rgba(0,0,0,.5) 80px, #000 200px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
  html body #hero .hero-facts { display: inline-flex !important; padding: 14px 8px !important; margin-top: 22px !important; background: rgb(20,17,13) !important; border: 1px solid rgba(232,199,122,0.28) !important; border-radius: 6px; box-shadow: 0 8px 30px rgba(0,0,0,.5) !important; backdrop-filter: blur(3px); }
  html body #hero .hero-facts li { border-color: rgba(232,199,122,0.25) !important; }
}
@media (max-width: 699px) {
  html body #hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 220px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(8,6,4,0.78), rgba(8,6,4,0)); }
  html body #hero .hero-logo { position: relative; z-index: 2; }
  html body #realms #realm-card li:nth-child(n+3) { display: none !important; }
  html body #realms #realm-card li { font-size: 16px !important; }
  html body #journey .head, html body #realms .head, html body #callings .head { background: none !important; box-shadow: none !important; }
  html body #journey .head::before, html body #journey .head::after, html body #realms .head::before, html body #realms .head::after { background: none !important; box-shadow: none !important; }
}

/* === r172.css === */
/* r172 #1014: hero-to-World crossfade (no hard edge), stats as a light divided row, phone World crop, Breach peek, bigger dots */
@media (min-width: 700px) {
  html body #hero .hero-art, html body #hero .hero-shade {
    -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 190px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(#000 0, #000 calc(100% - 190px), rgba(0,0,0,0) 100%) !important; }
  html body section#world { margin-top: -190px !important; }
  html body #world .sunder, html body #world .s-media {
    -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 190px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 190px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
  html body #hero .hero-facts { background: none !important; border: 0 !important; border-top: 1px solid rgba(232,199,122,0.35) !important; border-radius: 0 !important; box-shadow: none !important; backdrop-filter: none !important; padding: 14px 0 0 !important; }
  html body #hero .hero-facts li { text-shadow: 0 2px 10px rgba(0,0,0,0.95), 0 0 2px #000 !important; }
  html body #callings { background: linear-gradient(rgba(20,17,13,0.0), rgba(72,48,24,0.35) 40%, rgba(20,17,13,0) 100%) !important; }
  html body #play .final-signin { border-width: 2px !important; font-weight: 600 !important; letter-spacing: .04em !important; }
}
@media (max-width: 699px) {
  html body #world .s-media img { object-position: 50% 72% !important; filter: brightness(1.18) !important; }
  html body #hero::after { height: 20px !important; }
  html body .j-swipe figure.frame { flex: 0 0 86% !important; width: 86% !important; max-width: 86% !important; }
  html body .j-swipe { gap: 14px !important; scroll-padding-left: 16px !important; }
  html body .j-dots { gap: 6px !important; }
  html body .j-dots i { width: 14px !important; height: 14px !important; padding: 0 !important; margin: 15px 9px !important; }
}

/* r172b #1014 phone: peek wins over #journey rule; World brighter */
@media (max-width: 699px) {
  html body #journey .j-swipe figure.frame { flex: 0 0 86% !important; width: 86% !important; max-width: 86% !important; }
  html body #journey .j-swipe { gap: 14px !important; }
  html body #world .sunder .s-media img { object-position: 50% 78% !important; filter: brightness(1.38) contrast(1.04) saturate(1.08) !important; }
}

/* === r173.css === */
/* r173 #1014: stats clear of the crossfade, tighter World->Breach gap, phone peek fade, even realm tabs, brighter bullets, portrait backdrop */
html body #realms #realm-card li::before { background: #e8c77a !important; color: #e8c77a !important; }
@media (min-width: 700px) {
  html body #hero .hero-copy { transform: translateY(-54px) !important; }
  html body #hero .hero-art, html body #hero .hero-shade {
    -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 150px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(#000 0, #000 calc(100% - 150px), rgba(0,0,0,0) 100%) !important; }
  html body section#world { margin-top: -150px !important; }
  html body #world .sunder, html body #world .s-media {
    -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 150px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 150px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
  html body #hero .hero-copy p { font-size: 17px !important; text-shadow: 0 2px 10px #000, 0 0 2px #000 !important; }
  html body section#journey { margin-top: -56px !important; position: relative; z-index: 3; }
  html body #callings .cp-fig { background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(232,199,122,0.22), rgba(20,17,13,0) 70%) !important; }
}
@media (max-width: 699px) {
  html body #hero::before { display: none !important; }
  html body #hero .hero-logo { text-shadow: 0 2px 12px #000, 0 0 3px #000 !important; }
  html body section#journey { margin-top: -44px !important; position: relative; z-index: 3; }
  html body #journey .j-swipe { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 84%, rgba(0,0,0,0.15) 97%) !important; mask-image: linear-gradient(90deg, #000 0, #000 84%, rgba(0,0,0,0.15) 97%) !important; }
  html body #journey .j-dots i:not(.on) { background: rgba(232,199,122,0.55) !important; }
  html body #realms #realm-tabs { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 6px !important; }
  html body #realms #realm-tabs > .tab, html body #realms #realm-tabs > .tab:first-child, html body #realms #realm-tabs > .tab:nth-child(n) { grid-column: auto !important; flex: 0 0 calc((100% - 12px) / 3) !important; width: auto !important; }
  html body #callings .cp-fig { background: radial-gradient(ellipse 75% 65% at 50% 40%, rgba(232,199,122,0.24), rgba(20,17,13,0) 72%) !important; }
}

/* === r174.css === */
/* r174 #1014 NEW-APPROACH: full-viewport hero with no overlap, left scrim, realm accents; phone tab row, peek fade, no smudge plate */
html body #realms #realm-tabs > .tab { border-bottom: 2px solid var(--realm-acc, rgba(232,199,122,.4)) !important; }
html body #realms #realm-tabs > .tab:nth-child(1) { --realm-acc: #8fb85a; }
html body #realms #realm-tabs > .tab:nth-child(2) { --realm-acc: #7fb4e6; }
html body #realms #realm-tabs > .tab:nth-child(3) { --realm-acc: #e0703c; }
html body #realms #realm-tabs > .tab:nth-child(4) { --realm-acc: #4fb8b0; }
html body #realms #realm-tabs > .tab:nth-child(5) { --realm-acc: #b8a990; }
@media (min-width: 700px) {
  html body section#world { margin-top: 0 !important; }
  html body #hero .hero-art, html body #hero .hero-shade {
    -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 130px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(#000 0, #000 calc(100% - 130px), rgba(0,0,0,0) 100%) !important; }
  html body #hero { background: rgb(20,17,13) !important; }
  html body #world .sunder, html body #world .s-media {
    -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 110px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 110px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
  html body #hero .hero-copy { transform: none !important; }
  html body #hero .hero-shade { background: linear-gradient(90deg, rgba(10,8,5,0.82) 0, rgba(10,8,5,0.6) 30%, rgba(10,8,5,0) 58%), linear-gradient(rgba(10,8,5,0.35), rgba(10,8,5,0) 30%) !important; }
  html body #hero .hero-facts li b { font-size: 22px !important; }
  html body #journey figcaption p { color: #eadcbc !important; }
}
@media (max-width: 699px) {
  html body #hero .hero-logo .wordmark::before { display: none !important; }
  html body #hero .hero-logo .wordmark { text-shadow: 0 2px 14px #000, 0 0 4px #000, 0 0 2px #000 !important; }
  html body section#journey { margin-top: -72px !important; }
  html body #journey .j-swipe { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 83%, rgba(0,0,0,0) 93%) !important; mask-image: linear-gradient(90deg, #000 0, #000 83%, rgba(0,0,0,0) 93%) !important; }
  html body #realms #realm-tabs { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important; overflow-x: auto !important; gap: 8px !important; padding: 0 2px 6px !important; scrollbar-width: none; }
  html body #realms #realm-tabs::-webkit-scrollbar { display: none; }
  html body #realms #realm-tabs > .tab, html body #realms #realm-tabs > .tab:first-child, html body #realms #realm-tabs > .tab:nth-child(n) { flex: 0 0 auto !important; width: auto !important; padding-left: 16px !important; padding-right: 16px !important; white-space: nowrap !important; }
  html body #callings .cp-fig img { filter: brightness(1.18) contrast(1.05) !important; }
}

@media (max-width: 699px) { html body #realms #realm-tabs { -webkit-mask-image: linear-gradient(90deg,#000 0,#000 88%,rgba(0,0,0,.25) 100%) !important; mask-image: linear-gradient(90deg,#000 0,#000 88%,rgba(0,0,0,.25) 100%) !important; } }

/* === r175.css === */
/* r175 #1014: phone World text no longer covered, bright peek, 5 tabs fit; desk shorter hero->World fade, bright stats, promo pill, tighter Callings gap */
@media (min-width: 700px) {
  html body #hero .hero-art, html body #hero .hero-shade {
    -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 80px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(#000 0, #000 calc(100% - 80px), rgba(0,0,0,0) 100%) !important; }
  html body #world .sunder, html body #world .s-media {
    -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 56px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 56px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
  html body #hero .hero-facts li { color: #f6ead0 !important; opacity: 1 !important; font-size: 17px !important; }
  html body #hero .hero-facts li b { color: #ffd98a !important; }
  html body #hero .cta-notes .note { display: inline-block !important; padding: 6px 14px !important; border: 1px solid rgba(232,199,122,0.45) !important; border-radius: 999px !important; background: rgba(20,17,13,0.7) !important; color: #f1e4c6 !important; font-size: 16px !important; }
  html body section#callings { padding-top: 40px !important; }
  html body section#realms { padding-bottom: 24px !important; }
}
@media (max-width: 699px) {
  html body section#journey { margin-top: -24px !important; }
  html body #journey .j-swipe { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 95%, rgba(0,0,0,0.4) 100%) !important; mask-image: linear-gradient(90deg, #000 0, #000 95%, rgba(0,0,0,0.4) 100%) !important; }
  html body #journey .j-swipe figure.frame { flex: 0 0 88% !important; width: 88% !important; max-width: 88% !important; }
  html body #realms #realm-tabs { overflow-x: visible !important; justify-content: space-between !important; gap: 4px !important; -webkit-mask-image: none !important; mask-image: none !important; }
  html body #realms #realm-tabs > .tab, html body #realms #realm-tabs > .tab:first-child, html body #realms #realm-tabs > .tab:nth-child(n) { flex: 1 1 auto !important; padding-left: 7px !important; padding-right: 7px !important; letter-spacing: 0.02em !important; font-size: 15px !important; min-width: 0 !important; }
}

/* === r176.css === */
/* r176 #1014: promo notes stacked (no collision), balanced hero->World fades, locked callings lit, portrait brighter; phone one full card, darker hero bottom */
html body #callings .calling.locked .medal img, html body #callings .calling.locked > img { filter: brightness(1.75) saturate(.95) !important; opacity: 1 !important; }
html body #callings .cp-fig img { filter: brightness(1.22) contrast(1.06) !important; }
@media (min-width: 700px) {
  html body #hero .cta-notes { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  html body #hero .cta-notes > * { margin: 0 !important; }
  html body #hero .hero-art, html body #hero .hero-shade {
    -webkit-mask-image: linear-gradient(#000 0, #000 calc(100% - 110px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(#000 0, #000 calc(100% - 110px), rgba(0,0,0,0) 100%) !important; }
  html body #world .sunder, html body #world .s-media {
    -webkit-mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 80px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important;
    mask-image: linear-gradient(rgba(0,0,0,0) 0, #000 80px, #000 calc(100% - 60px), rgba(0,0,0,0) 100%) !important; }
}
@media (max-width: 699px) {
  html body #journey .j-swipe figure.frame { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
  html body #journey .j-swipe { -webkit-mask-image: none !important; mask-image: none !important; gap: 24px !important; }
  html body #hero .hero-shade { background: linear-gradient(rgba(8,6,4,0) 35%, rgba(8,6,4,0.55) 55%, rgba(8,6,4,0.9) 80%) !important; }
}

/* === r177.css === */
/* r177: measured UI audit fixes (q41_audit.js): touch/click targets */
html body .skip { min-height: 44px !important; display: inline-flex !important; align-items: center !important; }
html body #account a, html body footer a { display: inline-flex !important; align-items: center !important; min-height: 32px !important; }
@media (max-width: 699px) {
  html body #bar a.bar-brand { min-width: 44px !important; min-height: 44px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
  html body footer a { min-height: 44px !important; }
}
@media (max-width: 699px) {
  html body #account a, html body #account nav a, html body footer nav a { min-height: 44px !important; }
}

/* r177 art + copy wiring (existing lore art only) */
html body #callings .lock-note { margin: 14px auto 0 !important; max-width: 720px; text-align: center; color: #e9dcbf; font-size: 15px; line-height: 1.45; display: flex; gap: 8px; align-items: center; justify-content: center; }
html body #callings .lock-note .ln-lock { flex: 0 0 auto; width: 14px; height: 16px; background: #e8c77a; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M3 7V5a4 4 0 018 0v2h1a1 1 0 011 1v7a1 1 0 01-1 1H2a1 1 0 01-1-1V8a1 1 0 011-1zm2 0h4V5a2 2 0 00-4 0z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='M3 7V5a4 4 0 018 0v2h1a1 1 0 011 1v7a1 1 0 01-1 1H2a1 1 0 01-1-1V8a1 1 0 011-1zm2 0h4V5a2 2 0 00-4 0z'/%3E%3C/svg%3E") center/contain no-repeat; }
html body #realms #realm-tabs > *::before { content: ""; display: block; width: 26px; height: 26px; border-radius: 50%; margin: 0 auto 4px; background: center/cover no-repeat; box-shadow: 0 0 0 1.5px var(--realm-acc, #e8c77a); }
html body #realms #realm-tabs > *:nth-child(1)::before { background-image: url(art/realm-thalenyr-900.webp); }
html body #realms #realm-tabs > *:nth-child(2)::before { background-image: url(art/realm-sky-900.webp); }
html body #realms #realm-tabs > *:nth-child(3)::before { background-image: url(art/realm-fire-900.webp); }
html body #realms #realm-tabs > *:nth-child(4)::before { background-image: url(art/realm-sea-900.webp); }
html body #realms #realm-tabs > *:nth-child(5)::before { background-image: url(art/realm-stone-900.webp); }
@media (max-width: 699px) {
  html body #callings .lock-note { font-size: 14px; margin-top: 10px !important; padding: 0 6px; }
  html body #realms #realm-tabs > *::before { width: 22px; height: 22px; margin-bottom: 3px; }
}
@media (max-width: 699px) { html body #callings .lock-note { display: block !important; text-align: center; } html body #callings .lock-note .ln-lock { display: inline-block; vertical-align: -2px; margin-right: 6px; } }
html body #callings .lock-note { font-size: 16px !important; }
@media (max-width: 699px) { html body #callings .lock-note { font-size: 15px !important; } }

/* === r178.css === */
/* r178 free fixes (no critic round; asks repeated r176+r177) */
@media (min-width: 700px) {
  html body #hero #hero-note { display: none !important; }            /* one promo line under the CTAs; the final CTA keeps the 'Free. In your browser.' note */
  html body #hero ul.hero-facts { background: linear-gradient(90deg, rgba(10,8,5,.72), rgba(10,8,5,.55) 70%, rgba(10,8,5,0)); padding: 10px 28px 10px 16px !important; border-radius: 10px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  html body #hero ul.hero-facts li { color: #fff4d6 !important; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
  html body #hero ul.hero-facts li b, html body #hero ul.hero-facts li strong { color: #ffd98a !important; }
}
@media (max-width: 699px) {
  html body.scrolled header#bar, html body.scrolled #bar { background: rgba(12,9,6,.97) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* === r179.css === */

/* r179 Calling cut-outs (ORCH 1014-ART): existing *-real.webp with only the flat background removed (RMBG-1.4 on cuda:0), seated in the band */
html body #callings .adv-media.figure { background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(232,190,110,.20), rgba(0,0,0,0) 70%), linear-gradient(rgba(16,12,8,.55), rgba(16,12,8,.88) 78%, rgba(12,9,6,.96)), url(art/hv-soul-well-900.webp) 50% 40%/cover no-repeat !important; overflow: hidden; }
html body #callings .adv-media.figure::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 2.5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.62), rgba(0,0,0,0)); pointer-events: none; z-index: 0; }
html body #callings .adv-media.figure > img.fig, html body #callings .adv-media.figure > canvas.fig { z-index: 1; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)) sepia(.10) saturate(1.06) brightness(1.04) !important; background: none !important; }
html body #callings .adv-media.figure > img.badge { z-index: 2; }
