:root { --realm-night: #071521; --realm-panel: #102a3a; --realm-paper: #eee3cc; --realm-gold: #c5a16a; --realm-light: #e6cc97; --realm-muted: #bcc1bd; --reading-progress: 0; }
.alba-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 50; width: 100%; height: 2px; pointer-events: none; background: var(--realm-light); transform-origin: left; transform: scaleX(var(--reading-progress)); }
.alba-page { --night: var(--realm-night); --white: var(--realm-paper); --muted: var(--realm-muted); --sky: var(--realm-light); background: var(--realm-night); }
.alba-page :is(a, button):focus-visible { outline: 2px solid var(--realm-light); outline-offset: 6px; }
.alba-page .skip-link { z-index: 60; }
.alba-header { position: fixed; z-index: 20; top: 0; left: 0; width: 100%; border-bottom: 1px solid #e6cc971f; background: linear-gradient(#071521ba, #07152100); transition: background .3s, border-color .3s; }
.alba-header.has-scrolled { background: #071521f5; border-color: #c5a16a40; }
.alba-header .header-shell { width: min(1360px, calc(100% - 96px)); min-height: 88px; }
.alba-page .brand-accent, .alba-page .footer-brand span { color: var(--brand-sky); }
.alba-page .main-nav { gap: 36px; }
.alba-page .main-nav a { color: var(--realm-paper); font-size: 13px; }
.nav-chronicles { display: inline-flex; align-items: center; gap: 10px; }
.nav-chronicles svg { width: 19px; height: 19px; color: var(--realm-light); }
.alba-hero { position: relative; min-height: min(960px, max(720px, 100svh)); overflow: hidden; isolation: isolate; background: var(--realm-night); }
.alba-scene, .alba-hero-shade, .alba-embers { position: absolute; inset: 0; pointer-events: none; }
.alba-scene { inset: -18px; z-index: -3; transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0); transition: transform .4s ease-out; }
.alba-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; transform: scale(1.04); }
.alba-hero-shade { z-index: -2; background: linear-gradient(90deg, #071521e8 0%, #071521b8 30%, #07152132 64%, #07152136), linear-gradient(0deg, #071521 0%, #07152110 27%, #07152112 76%, #07152170); }
.alba-hero-shell { width: min(1360px, calc(100% - 96px)); min-height: inherit; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; margin: 0 auto; padding: 120px 0 132px; }
.alba-hero-copy { max-width: 720px; }
.alba-prelude { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; color: var(--realm-light); font: italic 17px/1.5 Georgia, serif; }
.alba-prelude > span { width: 36px; height: 1px; background: currentColor; }
.alba-hero h1 { margin: 0 0 24px; color: var(--brand-white); font: 400 clamp(80px, 10.5vw, 156px)/.94 Georgia, serif; letter-spacing: -.065em; text-shadow: 0 4px 32px #07152170; }
.alba-hero-verse { margin: 0; color: #f0e5d0; font: 400 clamp(25px, 2.9vw, 38px)/1.3 Georgia, serif; letter-spacing: -.025em; }
.alba-hero-intro { max-width: 41ch; margin: 24px 0 0; color: #ced1c9; font-size: 14px; line-height: 1.9; }
.alba-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 32px; margin-top: 32px; }
.alba-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 24px; border: 1px solid #e6cc97; outline: 1px solid #07152138; outline-offset: -5px; background: linear-gradient(120deg, #e6cc97, #c5a16a); color: #15232b; font-size: 13px; font-weight: 700; box-shadow: 0 6px 20px #0003; transition: background .2s, box-shadow .2s; }
.alba-button svg { width: 21px; height: 21px; flex-shrink: 0; }
.alba-button:hover { background: #edd8b0; box-shadow: 0 7px 28px #c5a16a30; }
.alba-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--realm-light); font-size: 12px; }
.alba-text-link > span { font-size: 18px; }
.alba-text-link:hover { color: #fff0cf; }
.alba-pact-emblem { align-self: center; justify-self: end; width: min(280px, 100%); margin-right: 28px; padding-top: 36px; text-align: center; color: #e6cc97b5; }
.alba-pact-emblem > svg { width: 186px; height: 186px; margin: 0 auto 28px; filter: drop-shadow(0 3px 10px #071521); }
.alba-pact-emblem p { margin: 0; color: #efdfbf; font: italic 20px/1.6 Georgia, serif; text-shadow: 0 2px 12px #000; }
.alba-hero-foot { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1360px, calc(100% - 96px)); margin: 0 auto; padding-top: 24px; border-top: 1px solid #e6cc9736; }
.alba-hero-foot p { margin: 0; color: #cbc2ac; font-size: 11px; line-height: 1.8; }
.alba-hero-foot p > span { padding-inline: 12px; color: var(--realm-gold); }
.alba-hero-foot > a { display: flex; align-items: center; gap: 12px; min-height: 32px; color: #ded2b8; font: italic 13px Georgia, serif; }
.alba-scroll-mark { width: 13px; height: 24px; border: 1px solid #c5a16a80; border-radius: 10px; position: relative; }
.alba-scroll-mark::after { content: ""; position: absolute; top: 5px; left: 5px; width: 1px; height: 5px; background: var(--realm-light); }
.alba-stage::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border: 1px solid var(--realm-gold); transform: rotate(45deg); vertical-align: 1px; }
.alba-embers { z-index: -1; }
.alba-embers span { position: absolute; bottom: 16%; width: 3px; height: 3px; background: #edce91; border-radius: 50%; opacity: 0; box-shadow: 0 0 9px #edce91; }
.alba-embers span:nth-child(1) { left: 10%; --ember-delay: .2s; }
.alba-embers span:nth-child(2) { left: 19%; --ember-delay: 1.1s; }
.alba-embers span:nth-child(3) { left: 30%; --ember-delay: .7s; }
.alba-embers span:nth-child(4) { left: 43%; --ember-delay: 1.4s; }
.alba-embers span:nth-child(5) { left: 61%; --ember-delay: .4s; }
.alba-embers span:nth-child(6) { left: 72%; --ember-delay: 1.8s; }
.alba-embers span:nth-child(7) { left: 83%; --ember-delay: .9s; }
.alba-embers span:nth-child(8) { left: 94%; --ember-delay: 1.6s; }
.alba-section { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.alba-origin { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 88px; padding-block: 112px 120px; scroll-margin-top: 104px; }
.alba-section-label { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; color: var(--realm-gold); font-size: 12px; line-height: 1.6; }
.alba-section-label svg { width: 30px; height: 30px; flex-shrink: 0; }
.alba-section h2 { margin: 0; color: var(--realm-paper); font: 400 clamp(38px, 4.4vw, 60px)/1.12 Georgia, serif; letter-spacing: -.035em; text-wrap: balance; }
.alba-origin-copy > p:not(.alba-section-label) { max-width: 50ch; margin: 20px 0 0; color: var(--realm-muted); font-size: 14px; line-height: 1.9; }
.alba-origin-copy > .alba-lead { color: #ded6c5 !important; font: 20px/1.7 Georgia, serif !important; }
.alba-origin-copy .alba-text-link { margin-top: 20px; }
.alba-river-frame { position: relative; margin: 0; padding: 12px; border: 1px solid #c5a16a55; background: #0d202d; }
.alba-river-frame::before, .alba-river-frame::after { content: "✦"; position: absolute; z-index: 1; background: var(--realm-night); padding-inline: 10px; color: var(--realm-gold); font-size: 12px; }
.alba-river-frame::before { top: -9px; left: 20px; }
.alba-river-frame::after { bottom: -9px; right: 20px; }
.alba-river-frame > img { aspect-ratio: 1.13; width: 100%; height: auto; object-fit: cover; object-position: 55% center; }
.alba-river-frame figcaption { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 16px; padding: 52px 24px 24px; background: linear-gradient(transparent, #071521e8); color: #e8d9b9; font: 18px/1.6 Georgia, serif; }
.alba-river-frame figcaption svg { width: 40px; height: 40px; flex-shrink: 0; }
.alba-river-frame figcaption small { display: block; margin-top: 4px; color: #b7b4a6; font: 10px/1.6 "Trebuchet MS", sans-serif; }
.alba-archive { border-block: 1px solid #c5a16a30; background: radial-gradient(ellipse at 14% 75%, #87603312, transparent 44%), #0b1d2a; }
.alba-archive-shell { padding-block: 80px 96px; }
.alba-archive-heading { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 88px; align-items: end; margin-bottom: 56px; }
.alba-archive-heading .alba-section-label { grid-column: 1 / -1; }
.alba-archive-heading > p:last-child { max-width: 47ch; margin: 0 0 4px; color: var(--realm-muted); font-size: 14px; line-height: 1.9; }
.alba-archive-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 96px; align-items: center; }
.alba-codex { display: grid; place-items: center; min-width: 0; min-height: 470px; perspective: 1400px; padding: 16px 28px; }
.codex-cover { --cover-base: -16deg; position: relative; display: flex; flex-direction: column; align-items: center; width: min(318px, 100%); min-height: 426px; padding: 36px 28px 28px; border: 3px double #b08d50; border-left: 12px solid #091c29; border-radius: 3px 8px 8px 3px; outline: 1px solid #c5a16a45; outline-offset: -14px; color: var(--realm-light); background: repeating-linear-gradient(105deg, #ffffff02 0 1px, transparent 1px 4px), linear-gradient(100deg, #071521, #143144 12%, #102633); box-shadow: 18px 28px 40px #0006, inset 5px 0 8px #0008, inset -3px 0 5px #c5a16a25; transform: perspective(1100px) rotateY(calc(var(--cover-base) + var(--tilt-x, 0deg))) rotateX(var(--tilt-y, 0deg)) rotateZ(2deg); transition: transform .25s ease-out, box-shadow .25s; }
.codex-cover::before { content: ""; position: absolute; z-index: -1; top: 9px; bottom: 9px; right: -10px; width: 8px; background: repeating-linear-gradient(90deg, #e6d7b8 0 1px, #aa9774 1px 2px); border-block: 1px solid #ba9d6b; transform: skewY(-4deg); }
.codex-cover::after { content: "◆"; position: absolute; top: 12px; right: 13px; color: #c5a16a90; font-size: 8px; }
.codex-volume { font: 11px/1.6 "Trebuchet MS", sans-serif; color: #bdac88; }
.codex-name { margin-top: 24px; color: #edddb9; text-align: center; font: 400 44px/1.05 Georgia, serif; letter-spacing: -.025em; }
.codex-seal { width: 106px; height: 106px; margin-block: 24px; color: #c5a16aaa; }
.codex-motto { color: #c3b390; font: italic 12px/1.8 Georgia, serif; text-align: center; }
.codex-open { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px solid #c5a16a4d; font: 11px/1.6 "Trebuchet MS", sans-serif; }
.codex-open svg { width: 18px; height: 18px; }
.cover-light { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at var(--light-x, 35%) var(--light-y, 18%), #f5e2b72b, transparent 65%); }
.alba-codex:hover .codex-cover, .alba-codex:focus-visible .codex-cover { box-shadow: 18px 30px 48px #0008, inset 5px 0 8px #0008, 0 0 32px #c5a16a12; }
.alba-relics { display: grid; }
.alba-relic { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid #c5a16a30; }
.alba-relic:first-child { border-top: 1px solid #c5a16a30; }
.alba-relic-art { display: grid; place-items: center; min-height: 120px; background: radial-gradient(circle, #c5a16a12, transparent 70%); }
.alba-relic-art img { width: 100px; height: 100px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 9px 10px #0005); transition: transform .3s ease; }
.alba-relic-copy { min-width: 0; }
.alba-relic-copy small { color: var(--realm-gold); font-size: 10px; }
.alba-relic h3 { margin: 8px 0 12px; color: #ece0c9; font: 400 26px/1.2 Georgia, serif; letter-spacing: -.02em; }
.alba-relic p { max-width: 47ch; margin: 0; color: #b9beb9; font-size: 12px; line-height: 1.85; }
.alba-relic-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 12px; color: var(--realm-light); font-size: 11px; }
.alba-relic:hover .alba-relic-art img, .alba-relic:focus-visible .alba-relic-art img { transform: translateY(-4px) rotate(-3deg); }
.alba-invitation { position: relative; padding-block: 112px; text-align: center; }
.alba-invitation-seal { width: 74px; height: 74px; margin: 0 auto 28px; color: #c5a16a8c; }
.alba-invitation .alba-section-label { justify-content: center; margin-bottom: 20px; }
.alba-invitation > p:not(.alba-section-label) { max-width: 54ch; margin: 24px auto 32px; color: var(--realm-muted); font-size: 14px; line-height: 1.9; }
.alba-footer { width: min(1360px, calc(100% - 96px)); gap: 24px; min-height: 92px; border-top: 1px solid #c5a16a30; }
.alba-footer > a:last-child { color: var(--realm-gold); font-size: 11px; }
.alba-footer > p { color: #a5b0b3; }

/* A physical cover leads into the wiki's existing paper pages. */
.wiki-page .wiki-hero { position: relative; isolation: isolate; overflow: hidden; gap: 56px; margin-top: 24px; padding: 56px 40px; border: 3px double #c5a16a50; background: #0c1e2c; }
.wiki-cover-scene { position: absolute; z-index: -2; inset: 0; pointer-events: none; }
.wiki-cover-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; opacity: .17; }
.wiki-cover-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1724ed, #0a172452), linear-gradient(0deg, #0a1724, transparent 60%); }
.wiki-page .wiki-hero-copy { position: relative; z-index: 1; }
.wiki-page .wiki-hero .eyebrow { text-transform: none; letter-spacing: .02em; }
.wiki-page .wiki-hero h1 { font-size: clamp(64px, 6.8vw, 88px); }
.wiki-page .wiki-hero-art { --cover-base: -12deg; overflow: visible; width: min(348px, 100%); max-width: 348px; height: 412px; justify-self: center; border: 3px double #b08d50; border-left: 11px solid #091c29; border-radius: 3px 8px 8px 3px; background: var(--grain), repeating-linear-gradient(105deg, #ffffff02 0 1px, transparent 1px 4px), linear-gradient(100deg, #071521, #183447 14%, #102633); box-shadow: 18px 28px 40px #0006, inset 5px 0 8px #0008; transform: perspective(1100px) rotateY(calc(var(--cover-base) + var(--tilt-x, 0deg))) rotateX(var(--tilt-y, 0deg)) rotateZ(2deg); transition: transform .25s ease-out; }
.wiki-page .wiki-hero-art::before { inset: 12px; border-color: #c5a16a6b; border-radius: 0; }
.wiki-page .wiki-hero-art::after { content: ""; z-index: -1; top: 8px; bottom: 8px; left: auto; right: -10px; width: 8px; border-block: 1px solid #ba9d6b; border-radius: 0; background: repeating-linear-gradient(90deg, #e6d7b8 0 1px, #aa9774 1px 2px); transform: skewY(-4deg); }
.wiki-page .art-coordinate { top: 48px; font: 11px/1.6 "Trebuchet MS", sans-serif; letter-spacing: .03em; color: #c8b991; }
.wiki-page .hero-solar-seal { top: 86px; width: 204px; height: 204px; }
.wiki-page .hero-medallion { top: 114px; width: 148px; height: 148px; }
.wiki-page .hero-gold { top: 113px; left: calc(50% - 74px); width: 148px; height: 148px; }
.wiki-page .hero-silver { top: 218px; left: 14%; width: 59px; height: 59px; }
.wiki-page .hero-copper { top: 233px; right: 13%; width: 50px; height: 50px; }
.wiki-page .art-inscription { bottom: 75px; font: 24px/1.2 Georgia, serif; }
.wiki-page .art-caption { bottom: 42px; font-size: 11px; }
.wiki-page .wiki-stats { border-top: 0; margin-top: 8px; padding-block: 28px; }
.wiki-page .chapter-index a { position: relative; }
.wiki-page .chapter-index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.wiki-page .chapter-index a[aria-current="location"]::after { transform: scaleX(1); }
.wiki-page .item-card { scroll-margin-top: 80px; }
.wiki-page :is(.wiki-catalog, .legacy-section, .lore-section) { scroll-margin-top: 80px; }

@media (prefers-reduced-motion: no-preference) {
  .alba-scene img { animation: alba-world-enter 1800ms cubic-bezier(.2, .65, .25, 1); }
  .alba-hero h1 { animation: alba-title-enter 1100ms cubic-bezier(.2, .65, .25, 1); }
  .alba-pact-emblem > svg { animation: alba-seal-enter 1600ms ease-out; }
  .alba-embers span { animation: alba-ember-travel 6s ease-out var(--ember-delay) both; }
  .alba-scroll-mark::after { animation: alba-follow-river 1600ms ease-in-out 2s 3; }
  @keyframes alba-world-enter { from { opacity: .4; transform: scale(1.12); } to { opacity: 1; transform: scale(1.04); } }
  @keyframes alba-title-enter { from { opacity: 0; transform: translateY(18px); letter-spacing: -.02em; } to { opacity: 1; transform: none; letter-spacing: -.065em; } }
  @keyframes alba-seal-enter { from { opacity: 0; transform: rotate(-16deg) scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes alba-ember-travel { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 20% { opacity: .6; } 100% { opacity: 0; transform: translate3d(46px, -230px, 0); } }
  @keyframes alba-follow-river { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(5px); } }
}
@media (max-width: 1100px) {
  .alba-header .header-shell, .alba-hero-shell, .alba-hero-foot, .alba-footer { width: calc(100% - 64px); }
  .alba-section { width: calc(100% - 64px); }
  .alba-hero-shell { grid-template-columns: 1.25fr .75fr; gap: 32px; }
  .alba-hero h1 { font-size: clamp(90px, 11.5vw, 128px); }
  .alba-pact-emblem { margin-right: 0; }
  .alba-pact-emblem > svg { width: 148px; height: 148px; }
  .alba-pact-emblem p { font-size: 17px; }
  .alba-origin { gap: 48px; padding-block: 88px; }
  .alba-archive-heading { column-gap: 48px; }
  .alba-archive-content { gap: 48px; grid-template-columns: .9fr 1.1fr; }
  .alba-relic { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
  .alba-relic-art img { width: 88px; height: 88px; }
  .alba-relic h3 { font-size: 24px; }
  .wiki-page .wiki-hero { gap: 32px; padding: 48px 28px; }
  .wiki-page .wiki-hero-art { width: min(300px, 100%); }
}
@media (max-width: 760px) {
  .alba-header .header-shell { min-height: 76px; }
  .alba-page .main-nav { gap: 24px; }
  .alba-hero { min-height: max(700px, 94svh); }
  .alba-hero-shell { grid-template-columns: 1fr; padding-block: 140px 144px; }
  .alba-hero h1 { font-size: clamp(86px, 14vw, 116px); }
  .alba-hero-copy { max-width: 540px; }
  .alba-hero-shade { background: linear-gradient(90deg, #071521c9, #07152157), linear-gradient(0deg, #071521 0%, #07152116 46%, #07152159); }
  .alba-pact-emblem { display: none; }
  .alba-hero-foot > a { display: none; }
  .alba-origin { grid-template-columns: 1fr; gap: 40px; padding-block: 72px 80px; }
  .alba-origin-copy { max-width: 600px; }
  .alba-river-frame > img { aspect-ratio: 1.5; }
  .alba-archive-shell { padding-block: 64px 72px; }
  .alba-archive-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .alba-archive-heading .alba-section-label { margin-bottom: 0; }
  .alba-archive-heading > p:last-child { max-width: 60ch; }
  .alba-archive-content { grid-template-columns: 1fr; gap: 40px; }
  .alba-codex { min-height: 440px; }
  .alba-relic { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .alba-relic-art img { width: 104px; height: 104px; }
  .alba-invitation { padding-block: 80px; }
  .alba-footer { flex-wrap: wrap; padding-block: 24px; min-height: 92px; }
  .wiki-page .wiki-hero { grid-template-columns: 1fr; gap: 48px; padding: 40px 28px 44px; }
  .wiki-page .wiki-hero-art { width: 290px; height: 384px; }
  .wiki-page .wiki-hero h1 { font-size: 74px; }
  .wiki-page .hero-solar-seal { top: 78px; }
  .wiki-page .hero-medallion, .wiki-page .hero-gold { top: 106px; }
  .wiki-page .hero-silver { top: 211px; }
  .wiki-page .hero-copper { top: 220px; }
  .wiki-page .art-inscription { bottom: 64px; }
  .wiki-page .art-caption { bottom: 33px; }
}
@media (max-width: 480px) {
  .alba-header .header-shell, .alba-hero-shell, .alba-hero-foot, .alba-section, .alba-footer { width: calc(100% - 40px); }
  .alba-header .header-shell { min-height: 72px; }
  .alba-page .brand { font-size: 18px; gap: 8px; }
  .alba-page .brand img { width: 34px; height: 34px; }
  .alba-page .main-nav { gap: 20px; }
  .alba-page .main-nav a { font-size: 11px; }
  .nav-chronicles { gap: 7px; }
  .nav-chronicles svg { width: 17px; height: 17px; }
  .alba-hero { min-height: max(730px, 100svh); }
  .alba-hero-shell { padding-block: 144px 132px; }
  .alba-scene img { object-position: 64% center; }
  .alba-prelude { margin-bottom: 28px; font-size: 15px; gap: 12px; }
  .alba-prelude > span { width: 24px; }
  .alba-hero h1 { margin-bottom: 28px; font-size: clamp(71px, 20.5vw, 96px); }
  .alba-hero-verse { font-size: 28px; }
  .alba-hero-intro { max-width: 34ch; font-size: 13px; margin-top: 24px; }
  .alba-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 28px; }
  .alba-button { min-height: 50px; padding-inline: 22px; font-size: 12px; }
  .alba-hero-foot { bottom: 24px; align-items: flex-start; gap: 12px; padding-top: 20px; }
  .alba-hero-foot p { font-size: 9px; }
  .alba-hero-foot p > span { padding-inline: 4px; }
  .alba-stage { max-width: 12ch; text-align: right; }
  .alba-stage::before { display: none; }
  .alba-origin { padding-block: 64px 72px; gap: 36px; }
  .alba-section h2 { font-size: 39px; }
  .alba-section-label { margin-bottom: 20px; font-size: 11px; }
  .alba-origin-copy > p:not(.alba-section-label) { font-size: 13px; }
  .alba-origin-copy > .alba-lead { font-size: 18px !important; }
  .alba-river-frame { padding: 8px; }
  .alba-river-frame > img { aspect-ratio: 1.12; }
  .alba-river-frame figcaption { bottom: 8px; left: 8px; right: 8px; padding-inline: 16px; gap: 12px; font-size: 17px; }
  .alba-archive-shell { padding-block: 56px 64px; }
  .alba-archive-heading > p:last-child { font-size: 13px; }
  .alba-codex { padding: 12px 20px; min-height: 430px; }
  .codex-cover { width: min(286px, 100%); min-height: 402px; padding: 32px 24px 24px; }
  .codex-name { font-size: 40px; }
  .codex-seal { width: 92px; height: 92px; }
  .alba-relic { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding-block: 24px; }
  .alba-relic-art { min-height: 88px; }
  .alba-relic-art img { width: 76px; height: 76px; }
  .alba-relic h3 { font-size: 23px; }
  .alba-relic p { font-size: 12px; }
  .alba-invitation { padding-block: 72px; }
  .alba-invitation h2 { font-size: 37px; }
  .alba-invitation > p:not(.alba-section-label) { font-size: 13px; }
  .alba-footer { justify-content: space-between; gap: 16px; }
  .alba-footer > p { max-width: none; font-size: 10px; }
  .alba-footer > a:last-child { flex-basis: 100%; text-align: center; }
  .wiki-page .wiki-hero { margin-top: 16px; padding: 32px 22px 40px; gap: 40px; }
  .wiki-page .wiki-hero h1 { font-size: clamp(54px, 15.2vw, 72px); }
  .wiki-page .wiki-hero-art { width: min(258px, 100%); height: 374px; }
  .wiki-page .art-coordinate { top: 40px; }
  .wiki-page .hero-solar-seal { width: 180px; height: 180px; top: 78px; }
  .wiki-page .hero-medallion, .wiki-page .hero-gold { width: 128px; height: 128px; top: 104px; }
  .wiki-page .hero-gold { left: calc(50% - 64px); }
  .wiki-page .hero-silver { width: 50px; height: 50px; left: 12%; top: 202px; }
  .wiki-page .hero-copper { width: 44px; height: 44px; right: 11%; top: 214px; }
  .wiki-page .art-inscription { font-size: 22px; bottom: 65px; }
  .wiki-page .art-caption { font-size: 10px; bottom: 35px; padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .alba-page *, .alba-page *::before, .alba-page *::after, .wiki-page .wiki-hero * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .alba-scene { transform: none; }
}
