/* ==========================================================================
   Shadowblade AE preview, round 2: every major section is its OWN window
   with its OWN font and its OWN open/close motion. Still ember/dragon.
   Fonts are scoped by redefining --font-display / --font-head / --font-body /
   --font-hud on each section, so every existing rule underneath follows.
   ========================================================================== */
@property --c { syntax: "<percentage>"; inherits: true; initial-value: 9%; }
@keyframes aeBlink { 50% { opacity: .15; } }

/* ---------------------------------------------------------------- HERO / ENTRANCE
   Fonts: Cinzel Decorative (logo, unchanged) + Bebas Neue (kicker, marquee, Enter button) */
html.aefx .intro, html.aefx .hero, html.aefx .marquee { --font-hud: "Bebas Neue", Impact, sans-serif; }
html.aefx .logo-kicker { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .6em; font-size: 1rem; color: #38e8ff; }
html.aefx .btn-enter { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.25rem; letter-spacing: .5em; font-weight: 400; }
html.aefx .marquee {
  background: linear-gradient(90deg, #080b1a, #080b1a 50%, #080b1a); border-block: 1px solid rgba(255,178,30,.8);
  box-shadow: 0 0 24px rgba(255,178,30,.35), inset 0 0 18px rgba(5,7,16,.7);
}
html.aefx .marquee-track span { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.2rem; letter-spacing: .3em; color: #dfe6ff; }

/* ---------------------------------------------------------------- GATHER (notice board)
   Fonts: Pirata One (titles) + Caveat (handwritten notes) */
html.aefx #gather {
  --font-display: "Inter", system-ui, sans-serif; --font-head: "Inter", system-ui, sans-serif; --font-body: "Caveat", cursive; --font-hud: "Caveat", cursive;
  --h-color: #dfe6ff; --ch-from: translate3d(0, -1.3em, 0) rotate(-16deg); --ch-blur: 0px; --ch-ease: cubic-bezier(.34, 1.8, .5, 1); --ch-gap: 40ms; --glint: #dfe6ff;
}
html.aefx #gather > .panel.ae-win {
  border: 10px solid #080b1a; border-radius: 3px;
  background: repeating-linear-gradient(92deg, rgba(5,7,16,.2) 0 2px, transparent 2px 7px), linear-gradient(180deg, #080b1a, #080b1a);
  box-shadow: inset 0 0 0 2px #7a4a22, inset 0 0 70px rgba(5,7,16,.65), 0 22px 50px -20px #080b1a;
}
html.aefx #gather > .panel.ae-win::before {
  display: block; content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    radial-gradient(circle at 12px 12px, #38e8ff 0 3px, #6a4520 4px, transparent 5px), radial-gradient(circle at calc(100% - 12px) 12px, #38e8ff 0 3px, #6a4520 4px, transparent 5px),
    radial-gradient(circle at 12px calc(100% - 12px), #38e8ff 0 3px, #6a4520 4px, transparent 5px), radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), #38e8ff 0 3px, #6a4520 4px, transparent 5px);
  height: auto; opacity: 1; animation: none;
}
html.aefx #gather h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); letter-spacing: .04em; font-weight: 400; text-transform: none; }
html.aefx #gather .books-kicker { font-size: 1.35rem; letter-spacing: .04em; text-transform: none; font-weight: 700; }
html.aefx .gather-tile {
  clip-path: none; border: 0; border-radius: 2px; color: #080b1a; min-height: 156px; padding-top: 1.6rem;
  background: linear-gradient(170deg, #dfe6ff, #38e8ff); box-shadow: 0 9px 14px rgba(5,7,16,.55);
  transform: rotate(var(--r, -1.2deg));
}
html.aefx .gather-tile:nth-child(1) { --r: -1.7deg; } html.aefx .gather-tile:nth-child(2) { --r: 1.3deg; }
html.aefx .gather-tile:nth-child(3) { --r: -.8deg; } html.aefx .gather-tile:nth-child(4) { --r: 1.9deg; }
html.aefx .gather-tile::after { display: none; }
html.aefx .gather-tile::before {
  content: ""; position: absolute; top: 8px; left: 50%; width: 15px; height: 15px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #38e8ff, #16284f 60%, #4a0a02); box-shadow: 0 3px 4px rgba(5,7,16,.5);
}
html.aefx .gather-tile:hover, html.aefx .gather-tile:focus-visible { transform: rotate(0) translateY(-5px) scale(1.03); box-shadow: 0 16px 24px rgba(5,7,16,.6), 0 0 22px rgba(56,232,255,.4); color: #080b1a; }
html.aefx .gt-kick { font: 700 1.05rem/1 "Caveat", cursive; letter-spacing: .03em; text-transform: none; color: #16284f; }
html.aefx .gather-tile strong { font: 400 1.55rem/1.05 "Inter", system-ui, sans-serif; letter-spacing: .01em; color: #0c1024; }
html.aefx .gt-sub { font: 500 1.28rem/1.1 "Caveat", cursive; color: #0c1024; }
html.aefx .gt-news strong { font-size: 1.28rem; -webkit-line-clamp: 3; }
html.aefx #gather .ae-open .gather-tile { animation: aeNoteDrop .85s cubic-bezier(.3, 1.5, .5, 1) both; }
html.aefx #gather .ae-open .gather-tile:nth-child(2) { animation-delay: .12s; } html.aefx #gather .ae-open .gather-tile:nth-child(3) { animation-delay: .24s; } html.aefx #gather .ae-open .gather-tile:nth-child(4) { animation-delay: .36s; }
@keyframes aeNoteDrop { from { opacity: 0; transform: translate3d(0, -70px, 0) rotate(calc(var(--r) * 5)) scale(1.12); } to { opacity: 1; transform: rotate(var(--r)); } }
html.aefx #gather > .panel.ae-win.ae-open { animation: none; }

/* ---------------------------------------------------------------- GAMING NEWS (broadsheet / teletype wire)
   Fonts: Playfair Display 900 (headlines) + Source Serif 4 (stories) + IBM Plex Mono (wire labels) */
html.aefx #news, html.aefx .news-ticker {
  --font-display: "Inter", system-ui, sans-serif; --font-head: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif; --font-hud: "IBM Plex Mono", ui-monospace, monospace;
  --h-color: #f6ecd8; --ch-from: translate3d(-.45em, 0, 0) skewX(-18deg); --ch-blur: 0px; --ch-gap: 20ms; --ch-shadow: none; --glint: #ffb21e;
}
html.aefx #news > .panel.ae-win {
  padding-top: 3rem; border: 0; border-top: 5px double #ffb21e; border-bottom: 1px solid rgba(255, 255, 255, .2); border-radius: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 28px), linear-gradient(180deg, #080b1a, #080b1a);
  box-shadow: 0 26px 60px -26px #080b1a;
}
html.aefx #news > .panel.ae-win::before {
  display: flex; align-items: center; content: "THE WIRE  //  LIVE FROM THE DESK  //  MORNING EDITION 7:00 AM ET";
  position: absolute; left: 0; right: 0; top: 0; height: 1.9rem; width: auto; padding: 0 2.2rem 0 .9rem; z-index: 2; pointer-events: none; opacity: 1; animation: none;
  font: 500 .62rem/1 "IBM Plex Mono", monospace; letter-spacing: .16em; white-space: nowrap; overflow: hidden; color: #dfe6ff; background: #080b1a; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
html.aefx #news > .panel.ae-win::after { content: ""; position: absolute; top: .72rem; right: .9rem; width: 8px; height: 8px; border-radius: 50%; background: #ffb21e; box-shadow: 0 0 10px #ffb21e; z-index: 3; }
html.aefx #news > .panel.ae-live::after { animation: aeBlink 1.2s steps(2) infinite; animation-play-state: var(--fx-play); }
@media (max-width: 859px) {
  html.aefx #news > .panel.ae-win {
    padding-top: 2.2rem; /* THE WIRE bar is 1.9rem; leave a little air, give the desk the rest */
  }
}
html.aefx #news h2 { font-size: clamp(2.4rem, 11vw, 4.6rem); text-align: left; text-transform: none; letter-spacing: -.01em; font-weight: 900; line-height: 1; margin-bottom: .4rem; }
html.aefx #news h2.ae-kin::after { margin: .45rem 0 0; width: 4.5rem; height: 4px; background: #ffb21e; box-shadow: none; }
html.aefx #news .news-kicker { justify-content: flex-start; color: #ffb21e !important; letter-spacing: .3em !important; }
html.aefx #news .news-kicker::before, html.aefx #news .news-kicker::after { display: none; }
html.aefx #news .news-lede { text-align: left; margin-left: 0; color: #cdbba2; font-size: 1.02rem; }
html.aefx #news .news-hero-main { border-radius: 0; border: 0; border-top: 3px solid #ffb21e; background: #080b1a; }
html.aefx #news .news-hero-title { font-weight: 900; text-shadow: none; line-height: 1.12; color: #fff4e0; }
html.aefx #news .news-tab { border-radius: 0; }
html.aefx .news-ticker { border-top: 2px solid #ffb21e; padding-right: max(.7rem, env(safe-area-inset-right, 0px)); }
html.aefx .news-ticker-kicker {
  background: linear-gradient(180deg, #ffb21e, #16284f);
  z-index: 1;
}
html.aefx .news-ticker-viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent, #080b1a 14px);
  mask-image: linear-gradient(90deg, transparent, #080b1a 14px);
}
@media (max-width: 700px) {
  html.aefx .news-ticker { padding-right: 58px; } /* keep the last words clear of the flame button */
}
html.aefx #news > .panel.ae-win.ae-open { animation: aeTeletype .95s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes aeTeletype { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 -20px 0 0); } }

/* ---------------------------------------------------------------- ENTER A CHAMBER (arched gates)
   Fonts: Uncial Antiqua (names, numerals) + Cormorant Garamond (copy) */
html.aefx #hall {
  --font-display: "Inter", system-ui, sans-serif; --font-head: "Inter", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif; --font-hud: "Inter", system-ui, sans-serif;
  --h-color: #dfe6ff; --ch-from: scale(2.6); --ch-blur: 10px; --ch-gap: 60ms; --ch-ease: cubic-bezier(.2, 1.4, .3, 1); --glint: #dfe6ff;
}
html.aefx #hall > .panel.ae-win {
  border: 0; box-shadow: none; padding-bottom: 2.6rem;
  background: radial-gradient(ellipse 70% 38% at 50% 0%, rgba(56,232,255,.2), transparent 72%), radial-gradient(ellipse 90% 36% at 50% 100%, rgba(255,178,30,.26), transparent 72%);
}
html.aefx #hall > .panel.ae-win::before { /* stone lintel */
  display: block; content: ""; position: absolute; left: 0; right: 0; top: 0; width: auto; height: 16px; z-index: -1; opacity: 1; animation: none;
  background: repeating-linear-gradient(90deg, #080b1a 0 46px, #0c1024 46px 48px); border-bottom: 2px solid #ffb21e; box-shadow: 0 6px 22px rgba(255,178,30,.35);
}
html.aefx #hall > .panel.ae-win::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, #ffb21e, #dfe6ff, #ffb21e, transparent); z-index: -1; }
html.aefx #hall h2 { font-size: clamp(1.9rem, 8.5vw, 3.2rem); text-transform: none; letter-spacing: .06em; font-weight: 400; margin-top: .6rem; }
html.aefx #hall .lede { font-size: 1.3rem; font-style: italic; }
html.aefx #hall .books-kicker { font-size: .95rem; letter-spacing: .4em !important; }
html.aefx #hall .hub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; counter-reset: gate; margin-top: 1rem; }
html.aefx #hall .hub-cards .card {
  counter-increment: gate; min-height: 190px; padding: 2.1rem .4rem .8rem; animation: none; display: flex; justify-content: center;
  border: 0; border-radius: 84px 84px 6px 6px;
  background: radial-gradient(ellipse at 50% 112%, rgba(255,178,30,.55), transparent 62%), linear-gradient(180deg, #080b1a, #080b1a 75%);
  box-shadow: inset 0 0 0 6px #080b1a, inset 0 0 0 7px rgba(56,232,255,.45), 0 8px 18px rgba(5,7,16,.5);
}
html.aefx #hall .hub-cards .card::before {
  content: counter(gate, upper-roman); position: absolute; top: 1rem; left: 0; right: 0; text-align: center;
  font: 400 .8rem/1 "Inter", system-ui, sans-serif; letter-spacing: .3em; color: rgba(56,232,255,.6);
}
html.aefx #hall .hub-cards .card h3 { font-family: "Inter", system-ui, sans-serif; font-weight: 400; font-size: .95rem; letter-spacing: .04em; text-transform: none; color: #dfe6ff; }
html.aefx #hall .hub-cards .card .moment-count { font-family: "Inter", system-ui, sans-serif; font-size: .95rem; font-style: italic; letter-spacing: 0; text-transform: none; color: #dfe6ff; }
html.aefx #hall .hub-cards .card:hover, html.aefx #hall .hub-cards .card:focus-visible {
  transform: translateY(-6px); box-shadow: inset 0 0 0 6px #080b1a, inset 0 0 0 7px #38e8ff, inset 0 -60px 70px rgba(255,178,30,.45), 0 0 30px rgba(255,178,30,.55);
}
/* the Animus gate: big, cyan, painted */
html.aefx #hall .hub-cards .card.ac-chamber {
  grid-column: 1 / -1; min-height: 340px; border-radius: 170px 170px 6px 6px; justify-content: flex-end; padding-bottom: 1.6rem;
  background: linear-gradient(180deg, rgba(2, 14, 20, .15), rgba(5,7,16,.9) 85%), url("/assets/ac/bg/hub.webp") center/cover;
  box-shadow: inset 0 0 0 6px #080b1a, inset 0 0 0 7px #7fe9ff, 0 0 40px rgba(127, 233, 255, .3);
}
html.aefx #hall .hub-cards .card.ac-chamber::before { color: rgba(127, 233, 255, .8); }
html.aefx #hall .hub-cards .card.ac-chamber .icon { color: #7fe9ff; width: 96px; height: 96px; filter: drop-shadow(0 0 12px rgba(127, 233, 255, .8)); }
html.aefx #hall .hub-cards .card.ac-chamber h3 { font-size: 1.4rem; color: #e8fbff; }
html.aefx #hall .hub-cards .card.ac-chamber .card-sub { color: #7fe9ff; font-size: 1.05rem; }
html.aefx #hall .hub-cards .card.ac-chamber:hover { box-shadow: inset 0 0 0 6px #080b1a, inset 0 0 0 7px #e8fbff, 0 0 60px rgba(127, 233, 255, .6); }
@media (min-width: 800px) {
  html.aefx #hall .hub-cards { grid-template-columns: repeat(12, 1fr); gap: .9rem; }
  html.aefx #hall .hub-cards .card { grid-column: span 4; border-radius: 120px 120px 6px 6px; min-height: 200px; }
  html.aefx #hall .hub-cards .card.ac-chamber { grid-column: 1 / 7; grid-row: 1 / 3; min-height: 0; border-radius: 260px 260px 6px 6px; }
  html.aefx #hall .hub-cards .card:nth-child(1) { grid-column: 7 / 10; grid-row: 1; }
  html.aefx #hall .hub-cards .card:nth-child(3) { grid-column: 10 / 13; grid-row: 1; }
  html.aefx #hall .hub-cards .card:nth-child(4) { grid-column: 7 / 10; grid-row: 2; }
  html.aefx #hall .hub-cards .card:nth-child(5) { grid-column: 10 / 13; grid-row: 2; }
  html.aefx #hall .hub-cards .card:nth-child(6) { grid-column: 1 / 7; grid-row: 3; min-height: 140px; border-radius: 60px 60px 6px 6px; }
  html.aefx #hall .hub-cards .card:nth-child(7) { grid-column: 7 / 13; grid-row: 3; min-height: 140px; border-radius: 60px 60px 6px 6px; }
  html.aefx #hall .hub-cards .card:nth-child(n+8) { grid-column: span 4; grid-row: auto; } /* room for Zelda and beyond */
}
html.aefx #hall .ae-open .hub-cards .card { animation: aeGateIn .9s var(--ae-ease) both; animation-delay: calc(.3s + var(--ci, 0) * 90ms); transform-origin: 50% 100%; }
@keyframes aeGateIn { from { opacity: 0; transform: perspective(700px) rotateX(-55deg) translateY(40px) scale(.86); filter: brightness(2.4); } to { opacity: 1; transform: none; filter: none; } }
html.aefx #hall > .panel.ae-win.ae-open { animation: none; }

/* ---------------------------------------------------------------- ABOUT (character card / unrolled scroll)
   Fonts: Almendra (title) + Alegreya (copy) */
html.aefx #about {
  --font-display: "Inter", system-ui, sans-serif; --font-head: "Inter", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif; --font-hud: "Inter", system-ui, sans-serif;
  --h-color: #dfe6ff; --ch-from: translate3d(0, .2em, 0); --ch-blur: 8px; --ch-gap: 55ms; --glint: #dfe6ff;
}
html.aefx #about > .panel.ae-win {
  border: 0; border-radius: 0; box-shadow: none;
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
  background: radial-gradient(ellipse at 20% 0%, rgba(56,232,255,.14), transparent 60%), linear-gradient(180deg, #080b1a, #080b1a);
}
html.aefx #about > .panel.ae-win::before {
  display: block; content: ""; position: absolute; inset: 6px; z-index: -1; width: auto; height: auto; top: 6px; opacity: 1; animation: none; background: none;
  border: 1px solid rgba(243, 217, 164, .5); clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
}
html.aefx #about h2 { font-weight: 700; text-transform: none; letter-spacing: .08em; font-size: clamp(1.9rem, 8vw, 2.8rem); }
html.aefx #about .lede { font-size: 1.18rem; line-height: 1.6; color: #dfe6ff; }
html.aefx #about .about-grid img { border-radius: 999px 999px 4px 4px; border: 3px double #dfe6ff; box-shadow: 0 0 0 5px #080b1a, 0 0 28px rgba(56,232,255,.35); }
html.aefx #about > .panel.ae-win.ae-open { animation: aeUnroll 1s var(--ae-ease) both; }
@keyframes aeUnroll { from { opacity: 1; clip-path: polygon(20px 0, calc(100% - 20px) 0, calc(100% - 20px) 0, 20px 0); } to { opacity: 1; clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px); } }

/* ---------------------------------------------------------------- GAMER TAGS (dog-tag steel plate)
   Fonts: Teko (title, tags) + Barlow Condensed (copy) */
html.aefx #sb-tags {
  --font-display: "Teko", sans-serif; --font-head: "Teko", sans-serif; --font-body: "Barlow Condensed", sans-serif; --font-hud: "Teko", sans-serif;
  --h-color: #e6ebef; --ch-from: translate3d(0, -1.1em, 0); --ch-blur: 0px; --ch-gap: 28ms; --ch-ease: cubic-bezier(.3, 1.6, .5, 1); --ch-shadow: 0 2px 0 #080b1a; --glint: #ffb21e;
}
html.aefx #sb-tags > .panel.ae-win {
  border: 2px solid #59616a; border-radius: 0; padding-top: 2.1rem;
  clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px), linear-gradient(180deg, #2b3034, #080b1a 45%, #080b1a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 20px 40px -18px #080b1a;
}
html.aefx #sb-tags > .panel.ae-win::before {
  display: block; content: ""; position: absolute; left: 0; right: 0; top: 0; width: auto; height: 10px; z-index: 2; opacity: 1; animation: none;
  background: repeating-linear-gradient(135deg, #ffb21e 0 12px, #080b1a 12px 24px);
}
html.aefx #sb-tags > .panel.ae-win::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 14px 24px, #cfd6dc 0 3px, #4a5158 4px, transparent 5px), radial-gradient(circle at calc(100% - 14px) 24px, #cfd6dc 0 3px, #4a5158 4px, transparent 5px),
    radial-gradient(circle at 14px calc(100% - 14px), #cfd6dc 0 3px, #4a5158 4px, transparent 5px), radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #cfd6dc 0 3px, #4a5158 4px, transparent 5px);
}
html.aefx #sb-tags h2 { font-weight: 700; letter-spacing: .06em; font-size: clamp(2.2rem, 10vw, 3.6rem); line-height: 1; }
html.aefx #sb-tags .sb-tags-kicker { font-family: "Teko", sans-serif; letter-spacing: .3em; color: #ffb21e; }
html.aefx #sb-tags .lede { font-size: 1.15rem; color: #c3cbd2; }
html.aefx #sb-tags > .panel.ae-win.ae-open { animation: aeClank .9s cubic-bezier(.3, 0, .2, 1) both; }
@keyframes aeClank { 0% { opacity: 0; transform: translate3d(0, -70px, 0); } 55% { opacity: 1; transform: translate3d(0, 0, 0); } 65% { transform: translate3d(0, 7px, 0); } 75% { transform: translate3d(0, -3px, 0); } 85% { transform: translate3d(0, 2px, 0); } 100% { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- HOME GALLERY + THE BATTLE (stone tablet, focus-pull)
   Fonts: Marcellus SC (titles) + Marcellus (copy) */
html.aefx #hall-gallery {
  --font-display: "Marcellus SC", serif; --font-head: "Marcellus SC", serif; --font-body: "Marcellus", serif; --font-hud: "Marcellus SC", serif;
  --h-color: #dfe6ff; --ch-from: scale(1.5); --ch-blur: 12px; --ch-gap: 50ms; --ch-shadow: 0 2px 0 #080b1a; --glint: #fff;
}
html.aefx #hall-gallery > .panel.ae-win {
  border: 1px solid #6b5a48; border-radius: 0; box-shadow: 0 22px 50px -20px #080b1a;
  clip-path: polygon(0 12px, 12px 12px, 12px 0, calc(100% - 12px) 0, calc(100% - 12px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 12px), 0 calc(100% - 12px));
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 5px), linear-gradient(180deg, #080b1a, #080b1a);
}
html.aefx #hall-gallery > .panel.ae-win::before {
  display: block; content: ""; position: absolute; inset: 8px; width: auto; height: auto; z-index: -1; opacity: 1; animation: none; background: none; border: 1px solid rgba(214, 186, 146, .28);
}
html.aefx #hall-gallery h2 { letter-spacing: .24em; font-weight: 400; font-size: clamp(1.5rem, 6.4vw, 2.4rem); }
html.aefx #hall-gallery .lede { color: #cdbda4; }
html.aefx #hall-gallery .gallery-grid a { border-color: #6b5a48; box-shadow: none; }
html.aefx #hall-gallery > .panel.ae-win.ae-open { animation: aeFocus 1.1s var(--ae-ease) both; }
@keyframes aeFocus { from { opacity: 0; transform: scale(1.07); filter: blur(12px) brightness(1.6); } to { opacity: 1; transform: none; filter: none; } }

/* ---------------------------------------------------------------- ALBUMS (35mm film strip)
   Fonts: Special Elite (titles, labels) + Courier Prime (copy) */
html.aefx #gaming, html.aefx #album-view {
  --font-display: "Special Elite", "Courier New", monospace; --font-head: "Special Elite", monospace; --font-body: "Courier Prime", "Courier New", monospace; --font-hud: "Special Elite", monospace;
  --h-color: #dfe6ff; --ch-from: translate3d(0, -.6em, 0) rotate(-8deg); --ch-blur: 0px; --ch-gap: 30ms; --ch-ease: cubic-bezier(.3, 1.7, .5, 1); --ch-shadow: 0 2px 0 #080b1a; --glint: #fff;
}
html.aefx #gaming > .panel.ae-win {
  padding-inline: 2.7rem; border: 0; border-radius: 0; box-shadow: 0 22px 50px -20px #080b1a;
  background: radial-gradient(ellipse at 50% 0%, rgba(22,40,79,.2), transparent 60%), linear-gradient(180deg, #080b1a, #080b1a);
}
html.aefx #gaming > .panel.ae-win::before, html.aefx #gaming > .panel.ae-win::after {
  display: block; content: ""; position: absolute; top: 0; bottom: 0; width: 30px; height: auto; z-index: -1; opacity: 1; animation: none;
  background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(215, 200, 165, .9) 8px 22px, transparent 22px 30px) center / 12px 100% no-repeat, #080b1a;
}
html.aefx #gaming > .panel.ae-win::before { left: 0; border-right: 1px solid #0c1024; right: auto; }
html.aefx #gaming > .panel.ae-win::after { right: 0; border-left: 1px solid #0c1024; }
@media (min-width: 800px) {
  html.aefx #gaming > .panel.ae-live::before, html.aefx #gaming > .panel.ae-live::after { animation: aeReel 1.6s linear infinite; animation-play-state: var(--fx-play); }
}
@keyframes aeReel { to { background-position: center 30px; } }
html.aefx #gaming h2 { text-transform: none; letter-spacing: .03em; font-weight: 400; font-size: clamp(1.5rem, 6.6vw, 2.5rem); }
html.aefx #gaming .cards { counter-reset: fr; }
html.aefx #gaming .card { counter-increment: fr; border-radius: 2px; border: 1px solid #3a3226; background: #080b1a; box-shadow: inset 0 0 0 3px #080b1a, inset 0 0 0 4px rgba(215, 200, 165, .3); animation: none; }
html.aefx #gaming .card::before { content: counter(fr, decimal-leading-zero) "A"; position: absolute; top: 6px; left: 8px; font: 400 .62rem/1 "Special Elite", monospace; color: #f2c46a; letter-spacing: .1em; }
html.aefx #gaming .card h3 { font-family: "Special Elite", monospace; text-transform: none; font-weight: 400; letter-spacing: .02em; font-size: .86rem; color: #dfe6ff; }
html.aefx #gaming > .panel.ae-win.ae-open { animation: aeFilmIn .9s steps(1) both; }
@keyframes aeFilmIn { 0% { opacity: 0; } 15% { opacity: 1; transform: translateX(-14px); filter: brightness(2.2) sepia(1); } 30% { opacity: .2; } 45% { opacity: 1; transform: translateX(8px); filter: brightness(1.5) sepia(.6); } 70% { transform: translateX(-3px); filter: brightness(1.2); } 100% { opacity: 1; transform: none; filter: none; } }

/* ---------------------------------------------------------------- GAMES (tactical HUD)
   Fonts: Black Ops One (titles) + Exo 2 (copy and labels) */
html.aefx #games {
  --font-display: "Black Ops One", Impact, sans-serif; --font-head: "Black Ops One", Impact, sans-serif; --font-body: "Exo 2", sans-serif; --font-hud: "Exo 2", sans-serif;
  --h-color: #ffd36a; --ch-from: translate3d(.5em, 0, 0) scaleX(2.2); --ch-blur: 0px; --ch-gap: 16ms; --ch-ease: steps(4); --ch-shadow: 0 0 12px rgba(56,232,255,.7); --glint: #fff;
}
html.aefx #games > .panel.ae-win {
  border: 0; border-radius: 0; padding-top: 1.9rem;
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
  background: linear-gradient(180deg, rgba(5,7,16,.94), rgba(5,7,16,.96));
  box-shadow: inset 0 0 0 1px rgba(56,232,255,.5), inset 0 0 50px rgba(255,178,30,.1);
}
html.aefx #games > .panel.ae-win::before { /* ammo/health segments */
  display: block; content: ""; position: absolute; left: 30px; top: 10px; width: 55%; height: 6px; z-index: 2; opacity: 1; animation: none;
  background: repeating-linear-gradient(90deg, #38e8ff 0 14px, transparent 14px 18px); box-shadow: 0 0 10px rgba(56,232,255,.6);
  -webkit-mask-image: linear-gradient(90deg, #080b1a 70%, transparent); mask-image: linear-gradient(90deg, #080b1a 70%, transparent);
}
html.aefx #games > .panel.ae-win::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .5; background: repeating-linear-gradient(0deg, rgba(5,7,16,.2) 0 1px, transparent 1px 3px); }
html.aefx #games h2 { text-transform: uppercase; font-weight: 400; letter-spacing: .1em; font-size: clamp(1.8rem, 8vw, 3rem); }
html.aefx #games .lede { color: #dfe6ff; }
html.aefx #games .idea-ad { border: 0; border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); box-shadow: inset 0 0 0 1px rgba(56,232,255,.5); background: linear-gradient(180deg, #080b1a, #080b1a); }
html.aefx #games > .panel.ae-win.ae-open { animation: aeGlitchIn .8s steps(1) both; }
@keyframes aeGlitchIn {
  0% { opacity: 0; transform: translateX(-14px); clip-path: polygon(24px 40%, 100% 40%, 100% 60%, 0 60%); }
  20% { opacity: 1; transform: translateX(10px); }
  35% { transform: translateX(-7px); clip-path: polygon(24px 5%, 100% 5%, 100% 45%, 0 45%); }
  50% { transform: translateX(5px); clip-path: polygon(24px 55%, 100% 55%, 100% 100%, 0 100%); }
  70% { transform: translateX(-2px); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
  100% { opacity: 1; transform: none; clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
}

/* ---------------------------------------------------------------- GALLERY chamber (gilded frame, spotlight)
   Fonts: Italiana (titles) + Bodoni Moda (copy) */
html.aefx #gallery {
  --font-display: "Italiana", serif; --font-head: "Italiana", serif; --font-body: "Bodoni Moda", Georgia, serif; --font-hud: "Italiana", serif;
  --h-color: #dfe6ff; --ch-from: translate3d(0, .3em, 0); --ch-blur: 6px; --ch-gap: 70ms; --ch-shadow: 0 0 18px rgba(255, 224, 160, .35); --glint: #fff;
}
html.aefx #gallery > .panel.ae-win {
  border: 18px solid transparent; border-radius: 0; padding-top: 1rem;
  border-image: linear-gradient(135deg, #dfe6ff, #8a5a1c 28%, #dfe6ff 50%, #7a4a14 72%, #e7c065) 1;
  background: radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 235, 190, .22), transparent 72%), #080b1a;
  box-shadow: inset 0 0 0 3px #080b1a, inset 0 0 0 16px #080b1a, inset 0 0 0 17px rgba(246, 217, 138, .5), 0 26px 60px -20px #080b1a;
}
html.aefx #gallery > .panel.ae-win::before { /* spotlight cone */
  display: block; content: ""; position: absolute; left: 20%; right: 20%; top: 0; width: auto; height: 78%; z-index: -1; opacity: .9; animation: none;
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); transform-origin: 50% 0;
  background: linear-gradient(180deg, rgba(255, 238, 196, .26), transparent 90%);
}
html.aefx #gallery > .panel.ae-live::before { animation: aeBeam 7s ease-in-out infinite alternate; animation-play-state: var(--fx-play); }
@keyframes aeBeam { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
html.aefx #gallery h2 { text-transform: uppercase; letter-spacing: .34em; font-weight: 400; font-size: clamp(1.6rem, 7vw, 2.8rem); }
html.aefx #gallery .lede { font-style: italic; color: #dfe6ff; }
html.aefx #gallery .gallery-soon { border: 1px solid rgba(246, 217, 138, .45); background: rgba(5,7,16,.35); }
html.aefx #gallery .gallery-soon-mark { font-family: "Italiana", serif; letter-spacing: .4em; color: #dfe6ff; }
html.aefx #gallery > .panel.ae-win.ae-open { animation: aeSpotOn 1.2s linear both; }
@keyframes aeSpotOn { 0% { opacity: 1; filter: brightness(0); } 22% { filter: brightness(.15); } 28% { filter: brightness(1.7); } 36% { filter: brightness(.2); } 52% { filter: brightness(1.4); } 60% { filter: brightness(.6); } 100% { opacity: 1; filter: none; } }

/* ---------------------------------------------------------------- BOOKS (leather bound, gold foil)
   Fonts: IM Fell English SC (titles) + IM Fell English (copy) */
html.aefx #books {
  --font-display: "IM Fell English SC", serif; --font-head: "IM Fell English SC", serif; --font-body: "IM Fell English", Georgia, serif; --font-hud: "IM Fell English", serif;
  --h-color: #ecc96a; --ch-from: none; --ch-blur: 10px; --ch-gap: 55ms; --ch-shadow: 0 1px 0 #080b1a, 0 0 14px rgba(236, 201, 106, .3); --glint: #dfe6ff;
}
html.aefx #books > .panel.ae-win {
  border: 0; border-radius: 3px; padding-left: 2.1rem; transform-origin: 0 50%;
  background: linear-gradient(90deg, #080b1a 0 20px, #0c1024 20px 22px, transparent 22px),
    repeating-radial-gradient(circle at 22% 30%, rgba(5,7,16,.14) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 50% 0%, rgba(120, 60, 20, .35), transparent 70%), linear-gradient(180deg, #080b1a, #080b1a);
  box-shadow: 0 26px 60px -20px #080b1a, inset 0 0 40px rgba(5,7,16,.5);
}
html.aefx #books > .panel.ae-win::before { /* gold fillet */
  display: block; content: ""; position: absolute; inset: 9px 9px 9px 30px; width: auto; height: auto; top: 9px; z-index: -1; opacity: 1; animation: none; background: none;
  border: 2px solid #38e8ff; box-shadow: inset 0 0 0 4px #080b1a, inset 0 0 0 5px rgba(56,232,255,.6);
}
html.aefx #books > .panel.ae-win::after { /* corner tooling */
  content: ""; position: absolute; inset: 17px 17px 17px 38px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(#e6bf62, #e6bf62) 0 0 / 24px 2px no-repeat, linear-gradient(#e6bf62, #e6bf62) 0 0 / 2px 24px no-repeat,
    linear-gradient(#e6bf62, #e6bf62) 100% 0 / 24px 2px no-repeat, linear-gradient(#e6bf62, #e6bf62) 100% 0 / 2px 24px no-repeat,
    linear-gradient(#e6bf62, #e6bf62) 0 100% / 24px 2px no-repeat, linear-gradient(#e6bf62, #e6bf62) 0 100% / 2px 24px no-repeat,
    linear-gradient(#e6bf62, #e6bf62) 100% 100% / 24px 2px no-repeat, linear-gradient(#e6bf62, #e6bf62) 100% 100% / 2px 24px no-repeat;
}
html.aefx #books h2 { text-transform: none; font-variant: small-caps; letter-spacing: .12em; font-weight: 400; font-size: clamp(2rem, 9vw, 3.2rem); }
html.aefx #books .lede { font-size: 1.12rem; font-style: italic; color: #dfe6ff; }
html.aefx #books .idea-ad { border-color: #38e8ff; border-radius: 2px; background: linear-gradient(180deg, #080b1a, #080b1a); }
html.aefx #books > .panel.ae-win.ae-open { animation: aeBookOpen 1.1s var(--ae-ease) both; }
@keyframes aeBookOpen { from { opacity: 0; transform: perspective(1500px) rotateY(-80deg); filter: brightness(.4); } to { opacity: 1; transform: none; filter: none; } }

/* ---------------------------------------------------------------- MOVIES (marquee bulbs, velvet curtains)
   Fonts: Limelight (titles) + Josefin Sans (copy) */
html.aefx #movies {
  --font-display: "Limelight", serif; --font-head: "Limelight", serif; --font-body: "Josefin Sans", sans-serif; --font-hud: "Josefin Sans", sans-serif;
  --h-color: #dfe6ff; --ch-from: rotateX(90deg) scaleY(.2); --ch-blur: 0px; --ch-gap: 55ms; --ch-ease: cubic-bezier(.3, 1.5, .5, 1); --ch-shadow: 0 0 16px rgba(56,232,255,.7); --glint: #fff;
}
html.aefx #movies > .panel.ae-win {
  border: 0; border-radius: 4px; padding-inline: 2.3rem; padding-top: 1.8rem;
  background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(56,232,255,.14), transparent 70%), linear-gradient(180deg, #080b1a, #080b1a);
  box-shadow: 0 0 40px rgba(56,232,255,.22), 0 24px 60px -20px #080b1a;
}
html.aefx #movies > .panel.ae-win::before { /* bulb ring */
  display: block; content: ""; position: absolute; inset: 0; width: auto; height: auto; top: 0; z-index: 4; pointer-events: none; opacity: 1; animation: none; padding: 9px;
  background: radial-gradient(circle, #dfe6ff 0 2.4px, rgba(56,232,255,.5) 3.4px, transparent 5px) 0 0 / 20px 20px;
  -webkit-mask: linear-gradient(#080b1a 0 0) content-box, linear-gradient(#080b1a 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#080b1a 0 0) content-box exclude, linear-gradient(#080b1a 0 0);
}
html.aefx #movies > .panel.ae-live::before { animation: aeChase .8s steps(1) infinite; animation-play-state: var(--fx-play); }
@keyframes aeChase { 0% { background-position: 0 0; } 50% { background-position: 10px 10px; } }
html.aefx #movies > .panel.ae-win::after { /* curtains */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, #16284f 0 11px, #0c1024 11px 22px);
  -webkit-mask-image: linear-gradient(90deg, #080b1a 0, #080b1a var(--c), transparent calc(var(--c) + 7%), transparent calc(100% - var(--c) - 7%), #080b1a calc(100% - var(--c)), #080b1a 100%);
  mask-image: linear-gradient(90deg, #080b1a 0, #080b1a var(--c), transparent calc(var(--c) + 7%), transparent calc(100% - var(--c) - 7%), #080b1a calc(100% - var(--c)), #080b1a 100%);
}
html.aefx #movies h2 { text-transform: none; font-weight: 400; letter-spacing: .06em; font-size: clamp(2rem, 9vw, 3.4rem); }
html.aefx #movies .lede { color: #dfe6ff; }
html.aefx #movies .idea-ad { border: 2px solid #dfe6ff; border-radius: 2px; background: linear-gradient(180deg, #080b1a, #080b1a); box-shadow: 0 0 22px rgba(56,232,255,.25); }
html.aefx #movies > .panel.ae-win.ae-open { animation: aeCurtainOpen 1.3s var(--ae-ease) both; }
@keyframes aeCurtainOpen { from { opacity: 1; --c: 52%; } to { opacity: 1; --c: 9%; } }

/* ---------------------------------------------------------------- FAN HALL (speech bubble, friendly)
   Fonts: Fredoka (titles) + Nunito (copy) */
html.aefx #fan-hall {
  --font-display: "Fredoka", sans-serif; --font-head: "Fredoka", sans-serif; --font-body: "Nunito", sans-serif; --font-hud: "Nunito", sans-serif;
  --h-color: #dfe6ff; --ch-from: scale(0) translate3d(0, .4em, 0); --ch-blur: 0px; --ch-gap: 38ms; --ch-ease: cubic-bezier(.34, 1.9, .5, 1); --ch-shadow: 0 3px 0 rgba(22,40,79,.8); --glint: #fff;
}
html.aefx #fan-hall > .panel.ae-win {
  border: 2px solid rgba(56,232,255,.6); border-radius: 30px; margin-bottom: 1.4rem;
  background: radial-gradient(ellipse at 15% 0%, rgba(255,178,30,.26), transparent 60%), linear-gradient(170deg, #080b1a, #080b1a);
  box-shadow: 0 0 0 4px rgba(255,178,30,.1), 0 0 36px rgba(255,178,30,.22), 0 20px 50px -20px #080b1a;
}
html.aefx #fan-hall > .panel.ae-win::before { /* avatar bubbles (decor, no counts) */
  display: block; content: ""; position: absolute; right: 24px; top: -16px; left: auto; width: 98px; height: 34px; z-index: 2; opacity: 1; animation: none;
  background:
    radial-gradient(circle at 17px 17px, #38e8ff 0 13px, #080b1a 14px 16px, transparent 17px), radial-gradient(circle at 48px 17px, #ffb21e 0 13px, #080b1a 14px 16px, transparent 17px), radial-gradient(circle at 79px 17px, #ffb21e 0 13px, #080b1a 14px 16px, transparent 17px);
}
html.aefx #fan-hall > .panel.ae-win::after { /* bubble tail */
  content: ""; position: absolute; left: 38px; bottom: -17px; width: 0; height: 0; border: 17px solid transparent; border-top-color: rgba(56,232,255,.6); border-bottom: 0; z-index: -1;
}
html.aefx #fan-hall h2 { text-transform: none; letter-spacing: .02em; font-weight: 700; font-size: clamp(2.2rem, 10vw, 3.4rem); }
html.aefx #fan-hall .lede { font-size: 1.06rem; color: #dfe6ff; }
html.aefx #fan-hall input, html.aefx #fan-hall .btn-fan { border-radius: 999px; }
html.aefx #fan-hall .fan-card { border-radius: 20px; border-color: rgba(56,232,255,.4); }
html.aefx #fan-hall > .panel.ae-win.ae-open { animation: aePop .85s cubic-bezier(.34, 1.56, .64, 1) both; transform-origin: 8% 100%; }
@keyframes aePop { from { opacity: 0; transform: translate3d(0, 50px, 0) scale(.6); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- FOOTER */
html.aefx .site-footer { --font-display: "Inter", system-ui, sans-serif; }
html.aefx .site-footer .brand { font-family: "Inter", system-ui, sans-serif; letter-spacing: .12em; font-size: 1.6rem; }

/* ---------------------------------------------------------------- MODALS
   Book window: Libre Caslon Display + Libre Caslon Text, parchment page that turns open */
html.aefx #book-modal { --font-display: "Libre Caslon Display", serif; --font-head: "Libre Caslon Display", serif; --font-body: "Libre Caslon Text", Georgia, serif; --font-hud: "Libre Caslon Text", serif; }
html.aefx #book-modal .book-modal-panel {
  color: #080b1a; border: 0; border-radius: 2px 2px 0 0; transform-origin: 0 50%; clip-path: none; filter: none;
  background: linear-gradient(90deg, rgba(5,7,16,.22), transparent 5%), linear-gradient(90deg, #d4bb8c, #dfe6ff 9%, #dfe6ff 50%, #dfe6ff 91%, #c7ab78);
  box-shadow: 0 -16px 50px rgba(5,7,16,.7), inset 0 0 70px rgba(120, 80, 30, .3);
  transform: perspective(1500px) rotateY(-70deg) translate3d(0, 30px, 0); transition: transform .85s var(--ae-ease), filter .6s;
}
html.aefx #book-modal.is-open .book-modal-panel { transform: none; }
html.aefx #book-modal:not(.is-open) .book-modal-panel { transition-duration: .35s; }
html.aefx #book-modal .book-modal-title { font-family: "Libre Caslon Display", serif; font-weight: 400; color: #0c1024; font-size: 1.9rem; letter-spacing: 0; line-height: 1.1; }
html.aefx #book-modal .book-modal-author, html.aefx #book-modal .book-modal-genre { color: #16284f; }
html.aefx #book-modal .book-modal-facts { color: #5c4630; }
html.aefx #book-modal .book-modal-desc { font-family: "Libre Caslon Text", Georgia, serif; font-size: 1.02rem; line-height: 1.72; color: #080b1a; }
html.aefx #book-modal .book-modal-desc p:first-child::first-letter { font-family: "Libre Caslon Display", serif; float: left; font-size: 3.6rem; line-height: .82; padding: .08em .1em 0 0; color: #16284f; }
html.aefx #book-modal .book-modal-close, html.aefx #book-modal .book-modal-loading, html.aefx #book-modal .book-modal-source { color: #5c4630; }
html.aefx #book-modal .book-modal-coverwrap img { box-shadow: 0 6px 14px rgba(5,7,16,.5); }
/* Photo viewer: a developing polaroid. Font: Caveat caption */
html.aefx .lightbox { --font-hud: "Caveat", cursive; --font-body: "Caveat", cursive; }
html.aefx .lightbox-figure { background: #f3ead8; padding: 14px 14px 6px; border-radius: 2px; box-shadow: 0 24px 60px rgba(5,7,16,.8); transform: scale(.8) rotate(-7deg); filter: sepia(1) brightness(2.2) blur(10px); opacity: 0; transition: transform .8s var(--ae-ease), filter 1.1s ease .1s, opacity .3s; }
html.aefx .lightbox.is-open .lightbox-figure { transform: rotate(-1.2deg); filter: none; opacity: 1; }
html.aefx .lightbox img { border: 0; box-shadow: none; }
html.aefx .lightbox-figure figcaption { font: 600 1.5rem/1.2 "Caveat", cursive; color: #080b1a; padding: .5rem .4rem .6rem; min-height: 1.6em; }
/* Album viewer overlay: darkroom contact sheet (Special Elite, set above) */
html.aefx #album-view { background: radial-gradient(ellipse at 50% 0%, rgba(22,40,79,.3), transparent 60%), #080b1a; }
html.aefx #album-view .album-inner { animation: none; }
html.aefx #album-view.ae-open .album-inner { animation: aeFilmIn .9s steps(1) both; }
html.aefx .hub-back-bar .btn-back { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .3em; font-size: 1rem; font-weight: 400; }

/* ---------------------------------------------------------------- reduced motion / small screens */
@media (prefers-reduced-motion: reduce) {
  html.aefx #movies > .panel.ae-win::after { --c: 9%; }
  html.aefx #book-modal .book-modal-panel { transform: none; }
  html.aefx .lightbox-figure { transform: none; filter: none; opacity: 1; }
}
@media (max-width: 520px) {
  html.aefx #gaming > .panel.ae-win { padding-inline: 2.4rem; }
  html.aefx #movies > .panel.ae-win, html.aefx #books > .panel.ae-win { padding-inline: 1.9rem; }
  html.aefx #books > .panel.ae-win { padding-left: 2.2rem; }
}

/* make sure plain text inherits each section's own body font */
html.aefx .section > .panel.ae-win, html.aefx #album-view { font-family: var(--font-body); }
html.aefx #album-view h2, html.aefx #album-view .album-empty { font-family: var(--font-display); font-weight: 400; }
html.aefx .lightbox-figure figcaption { text-shadow: none; letter-spacing: 0; }

/* phones: smaller painted gate */
@media (max-width: 700px) { html.aefx #hall .hub-cards .card.ac-chamber { background: linear-gradient(180deg, rgba(2, 14, 20, .15), rgba(5,7,16,.9) 85%), url("/assets/ac/bg/hub-sm.webp") center/cover; } }
