/* MEX site effects layer (fx.js). Calm, military, own look: brass target brackets, contour lamp, field dust, ledger ticker.
   Everything here is extra: the pages read fine without it, and reduced motion turns the moving parts off. */

/* Small QoL basics */
::selection { background: rgba(201, 162, 39, .35); color: var(--paper); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
html { scrollbar-width: thin; }
@view-transition { navigation: auto; }
/* Page change: the new page cuts in on a diagonal over the old one, which drops back */
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .22s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Film grain over the whole page (static, no cost while scrolling) */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Top bar: firmer once the page scrolls, with a brass progress line */
.top { transition: background-color .3s, box-shadow .3s; }
.top.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.fx-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--verde-txt), var(--brass)); pointer-events: none; }

/* Último parte: a thin ticker under the top bar, faded at both sides */
.ticker { position: relative; display: flex; align-items: center; height: 34px; overflow: hidden; background: var(--ink-2); border-bottom: 1px solid var(--line); font: 600 13px/1 var(--label); letter-spacing: .04em; color: var(--paper-2); }
.ticker__tag { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px 0 clamp(20px, 4vw, 40px); background: var(--ink-2); color: var(--brass); text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.ticker__clock { color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--verde-txt); box-shadow: 0 0 0 0 rgba(70, 195, 132, .6); animation: live 2s ease-out infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(70, 195, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 195, 132, 0); } }
.ticker__lane { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; animation: tick var(--dur, 60s) linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: flex; align-items: center; gap: 8px; padding: 0 22px; white-space: nowrap; color: var(--paper-2); }
.ticker__item::after { content: ""; width: 5px; height: 5px; margin-left: 22px; background: var(--line-2); transform: rotate(45deg); }
.ticker__item b { color: var(--paper); font-weight: 700; }
.ticker__item .w { color: var(--verde-txt); } .ticker__item .l { color: #F0596F; } .ticker__item .d { color: var(--mute); }
a.ticker__item:hover b { color: var(--brass); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .ticker__clock { display: none; } .ticker__tag { padding-right: 10px; } }

/* Field dust: a small canvas behind hero and page heads */
.fx-dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* Contour lamp: the hero's map lights up in brass around the pointer */
.fx-lamp { position: absolute; left: 0; top: 0; z-index: -1; width: 560px; height: 560px; margin: -280px 0 0 -280px; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(201, 162, 39, .14), transparent 62%); transform: translate(var(--mx, 50vw), var(--my, 50%)); will-change: transform; }
.hero:hover .fx-lamp { opacity: .5; }

/* Reveal on scroll: a wipe, not a fade-up. Headings get a brass rule drawn under them. */
.motion [data-rev] { clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease) var(--d, 0s); }
.motion [data-rev="up"] { clip-path: inset(100% 0 0 0); }
.motion [data-rev].in { clip-path: inset(-20px -20px -20px -20px); }
.motion [data-rev].now { transition: none; animation: rev-up .55s var(--ease) both; }
@keyframes rev-up { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-20px -20px -20px -20px); } }
.fx-rule::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 14px; background: var(--brass); transform-origin: left; }
.motion .fx-rule::after { transform: scaleX(0); transition: transform .8s var(--ease) .35s; }
.motion .fx-rule.in::after { transform: scaleX(1); }
.motion .stagger > * { opacity: 0; translate: 0 14px; transition: opacity .5s ease, translate .6s var(--ease); transition-delay: calc(var(--i, 0) * 35ms); }
.motion .stagger.in > * { opacity: 1; translate: 0 0; }

/* Target lock: brass corner brackets close in on hover (cards, credentials, badges, map tiles) */
.lock { position: relative; }
.lock::before { content: ""; position: absolute; inset: -5px; z-index: 3; pointer-events: none; opacity: 0;
  --b: linear-gradient(var(--brass), var(--brass));
  background: var(--b) 0 0 / 14px 2px, var(--b) 0 0 / 2px 14px, var(--b) 100% 0 / 14px 2px, var(--b) 100% 0 / 2px 14px,
              var(--b) 0 100% / 14px 2px, var(--b) 0 100% / 2px 14px, var(--b) 100% 100% / 14px 2px, var(--b) 100% 100% / 2px 14px;
  background-repeat: no-repeat; transform: scale(1.06); transition: opacity .2s, transform .35s var(--ease); }
.lock:hover::before, .lock:focus-within::before { opacity: 1; transform: none; }

/* Map tiles: tilt toward the pointer with a glare; the photo leans in */
.map { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), border-color .2s; }
.map.is-tilting { transition: transform .08s linear, border-color .2s; }
.map img { transition: transform 1.2s var(--ease), filter .6s; }
.map:hover img { transform: scale(1.05); filter: saturate(1.15) contrast(1.05); }
.map::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 236, 180, .16), transparent 60%); }
.map:hover::after { opacity: 1; }

/* Buttons: a sheen crosses on hover, a short press on click */
.btn, .tabs button, .lang__btn, .search-btn { transition: transform .12s, background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .2) 50%, transparent 65%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn:active, .tabs button:active, .lang__btn:active, .search-btn:active, .raid__open:active { transform: translateY(1px) scale(.98); }
.btn:not(.btn--line):not(.login--discord):hover { box-shadow: 0 0 0 1px rgba(70, 195, 132, .35), 0 8px 24px rgba(11, 107, 58, .35); }

/* Parte del día: a live dot and a slow radar sweep */
.parte__head h2::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; vertical-align: 5px; border-radius: 50%; background: var(--verde-txt); animation: live 2s ease-out infinite; }
.motion .parte { overflow: hidden; }
.motion .parte::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(70, 195, 132, .06) 50%, transparent); transform: translateY(-100%); animation: sweep 6s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateY(100%); } }

/* Live tables: rows answer the pointer; the top three of a board shine */
.reg tbody tr { transition: background-color .15s; }
.reg tbody tr:hover { background: rgba(201, 162, 39, .05); }
.reg tbody tr:hover > td:first-child { box-shadow: inset 2px 0 0 var(--brass); }
#tablas tbody tr:nth-child(1) .place { color: #E2BC45; text-shadow: 0 0 14px rgba(226, 188, 69, .5); }
#tablas tbody tr:nth-child(2) .place { color: #C9CDD2; }
#tablas tbody tr:nth-child(3) .place { color: #C27C4A; }
#tablas tbody tr:nth-child(-n+3) td:nth-child(2) a { background: linear-gradient(100deg, var(--paper) 40%, var(--brass-hi) 50%, var(--paper) 60%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.res--victoria { box-shadow: 0 0 12px rgba(70, 195, 132, .25); }
.raid__more:not([hidden]) td > * { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* Loading lines shimmer instead of sitting still (fx.js tags them) */
.is-loading { background: linear-gradient(90deg, var(--dim) 30%, var(--paper-2) 50%, var(--dim) 70%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: shine 1.6s linear infinite; }

/* Profile: the XP bar fills and glints, medals catch light, the portrait gets a scan */
.bar i { position: relative; overflow: hidden; transform-origin: left; }
.motion .bar i { animation: fill 1.4s var(--ease) .3s both; }
@keyframes fill { from { transform: scaleX(0); } }
.bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); animation: glint 3.2s ease-in-out 1.8s infinite; }
@keyframes glint { 40%, 100% { transform: translateX(100%); } }
.medal, .divbadge, .cred { transition: border-color .2s, background-color .2s, transform .25s var(--ease); }
.medal:hover, .divbadge:hover { background: var(--panel-2); transform: translateY(-2px); }
.medal > img, .divbadge img { transition: transform .5s var(--ease), filter .3s; }
.medal:hover > img, .divbadge:hover img { transform: rotate(-6deg) scale(1.08); filter: drop-shadow(0 0 10px rgba(201, 162, 39, .45)); }
.divbadge--main { box-shadow: inset 0 0 0 1px rgba(201, 162, 39, .25), 0 0 24px rgba(201, 162, 39, .08); }
.fx-face { position: relative; overflow: hidden; flex-shrink: 0; align-self: center; }
.fx-face::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(180deg, transparent, rgba(70, 195, 132, .22), transparent); animation: facescan 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes facescan { 55%, 100% { top: 110%; } }
.sold__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Vacant posts breathe a little */
.cred--vacant { animation: vacant 3.6s ease-in-out infinite; }
@keyframes vacant { 50% { border-color: var(--line-2); } }
.cred:hover { background: var(--panel-2); }

/* Copy-on-click IDs */
.fx-copy { cursor: copy; text-decoration: underline dotted var(--line-2); text-underline-offset: 3px; }
.fx-copy:hover { color: var(--brass); }

/* Toast: a thin strip with faded sides, bottom centre */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; padding: 11px 64px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(12, 14, 10, .94) 22%, rgba(12, 14, 10, .94) 78%, transparent); color: var(--paper); font: 600 15px/1 var(--label); letter-spacing: .03em; white-space: nowrap; transition: opacity .25s, transform .35s var(--ease); }
.toast::before, .toast::after { content: ""; position: absolute; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }
.toast::before { top: 0; } .toast::after { bottom: 0; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Back to top, with a progress ring */
.to-top { position: fixed; right: 20px; bottom: 22px; z-index: 80; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; background: rgba(18, 20, 15, .92); border: 1px solid var(--line-2); color: var(--paper-2); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease), border-color .2s, color .2s; }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--brass); color: var(--paper); }
.to-top .ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
.to-top .ring rect { fill: none; stroke: var(--brass); stroke-width: 2; stroke-dasharray: 184; stroke-dashoffset: calc(184 - 184 * var(--p, 0)); }

@media (max-width: 720px) { .to-top { right: 14px; bottom: 16px; } }

/* Boot: once per visit, the crest comes up and the curtain opens */
.boot { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: var(--ink-2); animation: boot-out .35s var(--ease) .55s forwards; cursor: pointer; }
.boot.skip { animation-delay: 0s; animation-duration: .25s; }
.boot__in { display: grid; justify-items: center; gap: 18px; }
.boot img { width: 96px; height: 96px; animation: boot-crest .45s var(--ease) both; filter: drop-shadow(0 0 30px rgba(201, 162, 39, .35)); }
.boot__line { width: 220px; height: 2px; background: var(--line); overflow: hidden; }
.boot__line i { display: block; height: 100%; background: linear-gradient(90deg, var(--verde-txt), var(--brass)); transform-origin: left; animation: boot-load 1s var(--ease) .15s both; }
.boot p { font: 700 13px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--brass); animation: boot-txt .35s ease .1s both; }
@keyframes boot-crest { from { opacity: 0; transform: scale(.82); filter: blur(6px); } }
@keyframes boot-load { from { transform: scaleX(0); } }
@keyframes boot-txt { from { opacity: 0; letter-spacing: .6em; } }
@keyframes boot-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .live-dot, .parte__head h2::after, .cred--vacant, .bar i::after, .fx-face::after, .is-loading { animation: none; }
  #tablas tbody tr:nth-child(-n+3) td:nth-child(2) a { animation: none; color: var(--paper); background: none; }
  .ticker__lane { overflow-x: auto; }
  .map { transform: none !important; }
  .boot { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.map.lock::before { inset: 8px; }
.lang__opt span { white-space: nowrap; }
/* Lamp and dust sit above the hero's dark wash but under its text */
.hero__row { position: relative; z-index: 1; }
.hero > .fx-lamp, .hero > .fx-dust { z-index: 0; }
.hero:hover .fx-lamp { opacity: 1; }
@media (max-width: 720px) { body::after { display: none; } }

/* ================= Wave 2: the loud parts ================= */

/* Cinematic hero: the field art slowly crossfades behind the contour map, with fog and two searchlights */
.fx-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--ink-2); }
.fx-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.fx-slides img:first-child { opacity: .62; }
.motion .fx-slides img { animation: slide 24s linear infinite; animation-delay: calc(var(--i) * 8s); }
.motion .fx-slides img:first-child { opacity: 0; }
@keyframes slide { 0% { opacity: 0; transform: scale(1.06) translate(0, 0); } 6% { opacity: .62; } 33% { opacity: .62; } 40% { opacity: 0; transform: scale(1.16) translate(-2%, -1.5%); } 100% { opacity: 0; } }
.hero::after { background: linear-gradient(90deg, var(--ink-2) 0%, rgba(9, 10, 8, .82) 38%, rgba(9, 10, 8, .35) 70%, rgba(9, 10, 8, .55) 100%), linear-gradient(0deg, var(--ink-2) 0%, transparent 35%), linear-gradient(180deg, rgba(9, 10, 8, .7) 0%, transparent 25%); }
.fx-fog { position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(40% 30% at 20% 70%, rgba(214, 213, 204, .10), transparent 70%), radial-gradient(35% 25% at 70% 80%, rgba(214, 213, 204, .08), transparent 70%), radial-gradient(30% 20% at 50% 30%, rgba(201, 162, 39, .05), transparent 70%);
  animation: fog 38s ease-in-out infinite alternate; }
@keyframes fog { to { transform: translateX(8%) translateY(-3%); } }
.fx-beams { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-beams i { position: absolute; bottom: -10%; width: 34vw; height: 140%; transform-origin: 50% 100%; opacity: .1;
  background: linear-gradient(0deg, rgba(255, 236, 190, .9), rgba(255, 236, 190, .25) 45%, transparent 85%); clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0); will-change: transform; }
.fx-beams i:nth-child(1) { right: 18%; animation: beam 14s ease-in-out infinite alternate; }
.fx-beams i:nth-child(2) { right: 2%; animation: beam 19s ease-in-out -6s infinite alternate-reverse; opacity: .07; }
@keyframes beam { from { transform: rotate(-22deg); } to { transform: rotate(14deg); } }

/* Title letters land one by one, then a brass light runs across them */
.hero__title .ch { display: inline-block; }
.motion .hero__title .ch { animation: land .45s var(--ease) both, glow .9s ease both; animation-delay: calc(var(--d) + var(--i) * 25ms), calc(var(--d) + .45s + var(--i) * 25ms); }
@keyframes land { from { opacity: 0; transform: translateY(-.35em) scale(1.35); } }
@keyframes glow { 40% { color: var(--brass-hi); text-shadow: 0 0 28px rgba(226, 188, 69, .55); } }
.motion .motto span { animation: motto .6s ease both; animation-delay: calc(var(--d) + .4s + var(--i) * 80ms); }
@keyframes motto { from { opacity: 0; letter-spacing: .5em; } }
.motion .hero__lede, .motion .hero__cta, .motion .parte { animation: rise .5s var(--ease) both; }
.motion .hero__lede { animation-delay: calc(var(--d) + .45s); }
.motion .hero__cta { animation-delay: calc(var(--d) + .55s); }
.motion .parte { animation-delay: calc(var(--d) + .3s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }


/* Division crests: a slow parade under the hero */
.crests { position: relative; padding: 26px 0; background: var(--ink); border-bottom: 1px solid var(--line); overflow: hidden; }
.crests__lane { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.crests__track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 0 9px; list-style: none; }
.motion .crests__track { animation: tick 46s linear infinite; }
.crests:hover .crests__track { animation-play-state: paused; }
.crest { display: grid; justify-items: center; gap: 10px; width: 150px; padding: 14px 8px; color: var(--mute); text-align: center; font: 700 13px/1.2 var(--label); text-transform: uppercase; letter-spacing: .05em; transition: color .2s; }
.crest img { width: 84px; height: 84px; filter: grayscale(.55) brightness(.8); transition: filter .4s, transform .5s var(--ease); }
.crest:hover { color: var(--paper); }
.crest:hover img { filter: none drop-shadow(0 0 18px rgba(201, 162, 39, .55)); transform: translateY(-6px) scale(1.1); }
@media (max-width: 720px) { .crest { width: 118px; } .crest img { width: 64px; height: 64px; } }

/* Podium: the board's top three stand above the table */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; max-width: 760px; margin: 0 0 28px; }
.podium__spot { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px 12px 0; text-align: center; color: var(--paper); }
.podium__spot a { font: 700 18px/1.2 var(--label); color: var(--paper); overflow-wrap: anywhere; }
.podium__spot a:hover { color: var(--brass-hi); }
.podium__val { font: 800 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.podium__rank { color: var(--mute); font-size: 13px; }
.podium__block { width: 100%; margin-top: 10px; display: grid; place-items: center; font: 900 54px/1 var(--display); color: rgba(0, 0, 0, .35); border-top: 3px solid var(--c); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, var(--panel)), var(--panel)); transform-origin: bottom; }
.podium__spot--1 { --c: #E2BC45; } .podium__spot--2 { --c: #C9CDD2; } .podium__spot--3 { --c: #C27C4A; }
.podium__spot--1 .podium__block { height: 130px; box-shadow: 0 0 40px rgba(226, 188, 69, .18); }
.podium__spot--2 .podium__block { height: 96px; } .podium__spot--3 .podium__block { height: 74px; }
.podium__spot--1::before { content: ""; position: absolute; top: -6px; width: 60px; height: 60px; background: radial-gradient(circle, rgba(226, 188, 69, .45), transparent 65%); filter: blur(4px); }
.motion .podium__block { animation: grow .8s var(--ease) both; animation-delay: calc(var(--o) * 160ms); }
.motion .podium__spot > :not(.podium__block) { animation: rise .6s var(--ease) both; animation-delay: calc(var(--o) * 160ms + .45s); }
@keyframes grow { from { transform: scaleY(0); } }
.motion .podium__spot--1 .podium__val { animation: rise .6s var(--ease) both calc(var(--o) * 160ms + .45s), pulse-gold 2.6s ease-in-out 1.5s infinite; }
@keyframes pulse-gold { 50% { color: var(--brass-hi); text-shadow: 0 0 18px rgba(226, 188, 69, .6); } }
@media (max-width: 720px) { .podium__spot a { font-size: 15px; } .podium__val { font-size: 20px; } .podium__block { font-size: 38px; } }

/* Profile dossier: a file label types in, and the record gets a stamp */
.sold__head { position: relative; }
.dossier { font: 700 12px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; min-height: 12px; }
.dossier::after { content: "▌"; margin-left: 2px; color: var(--brass); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.dossier-stamp { position: absolute; right: 0; top: 4px; padding: 7px 12px 5px; font: 900 22px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--verde-txt); border: 4px double var(--verde-txt); transform: rotate(-9deg); opacity: .75; pointer-events: none; }
.motion .dossier-stamp { animation: stamp-in .45s cubic-bezier(.3, 1.4, .5, 1) .9s both; }
@keyframes stamp-in { from { opacity: 0; transform: rotate(-9deg) scale(2.2); } 60% { opacity: .9; } }
@media (max-width: 720px) { .dossier-stamp { position: static; display: inline-block; margin-top: 14px; font-size: 16px; } }

/* Holographic foil on the main division badge and medals: follows the pointer */
.divbadge, .medal { position: relative; }
.divbadge::after, .medal::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(300px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .18), transparent 50%),
              linear-gradient(115deg, transparent 20%, rgba(70, 195, 132, .25) 35%, rgba(226, 188, 69, .3) 50%, rgba(200, 16, 46, .2) 65%, transparent 80%) var(--fx, 50%) 0 / 250% 100%; }
.divbadge:hover::after, .medal:hover::after { opacity: .7; }

/* Map tiles: a drone feed HUD on hover */
.map__hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .25s; font: 700 12px/1 var(--label); letter-spacing: .14em; color: var(--paper);
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }
.map:hover .map__hud { opacity: 1; }
.map__hud b { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 7px; color: #FF5A6E; }
.map__hud b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF3B53; animation: caret 1s steps(1) infinite; }
.map__hud span { position: absolute; right: 14px; top: 14px; font-variant-numeric: tabular-nums; }
.map__hud i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border: 1px solid rgba(242, 241, 236, .55); border-radius: 50%; }
.map__hud i::before, .map__hud i::after { content: ""; position: absolute; background: rgba(242, 241, 236, .55); }
.map__hud i::before { left: 50%; top: -10px; bottom: -10px; width: 1px; }
.map__hud i::after { top: 50%; left: -10px; right: -10px; height: 1px; }

/* The greca frieze marches slowly */
.greca { overflow: hidden; }
.motion .greca svg { width: calc(100% + 44px); animation: greca 4s linear infinite; }
@keyframes greca { to { transform: translateX(-44px); } }

@media (prefers-reduced-motion: reduce) {
  .fx-fog, .fx-beams i, .crests__track, .greca svg, .dossier::after, .map__hud b::before { animation: none !important; }
  .crests__lane { overflow-x: auto; }
}
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(0deg, var(--ink-2) 0%, rgba(9, 10, 8, .7) 55%, rgba(9, 10, 8, .5) 100%); }
  .fx-slides img { object-position: 62% center; }
}
