/* The game's palette and buttons (src/game/ui/style.h, controls.cpp), as the launcher has them. */
:root {
  --ground: #0D0B0A; --panel: #100C0A; --edge: #1E1814; --line: #221A15;
  --bone-hi: #F3E8D4; --bone: #D9CFBD; --label: #C9BFAE; --quiet: #8F8575;
  --danger: #E07A6C; --live: #7FD66A;
  --field: #050303; --field-edge: #241B15; --field-focus: #A88B6C;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--bone); font: 17px/1.55 'Alegreya Sans', system-ui, sans-serif; }
a { color: var(--label); text-decoration: none; }
a:hover { color: var(--bone-hi); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--quiet); }
.h2 { margin: 0; font: 700 24px/1.2 Cinzel, serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-hi); text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 4px; font: 700 17px/1 'Alegreya Sans SC', sans-serif; cursor: pointer;
  transition: color .15s, transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(0); }
/* Each button lit from above: a border bright at its top and gone dark at its foot, a hairline of light
   inside the top edge, and a shadow under it. Hovered, it lifts a pixel and warms. */
.btn-red { background: linear-gradient(#7E1C14, #3A0B07) padding-box, linear-gradient(#E05A4A, #8A2418 45%, #4A100A) border-box; color: #F6E7D0;
  box-shadow: inset 0 1px 0 rgba(255,200,180,.2), 0 0 16px rgba(194,54,43,.22), 0 6px 16px rgba(0,0,0,.5); }
.btn-red:hover { color: #fff; transform: translateY(-1px);
  background: linear-gradient(#98251B, #4A0F0A) padding-box, linear-gradient(#F57060, #A42C1F 45%, #5C140D) border-box;
  box-shadow: inset 0 1px 0 rgba(255,210,190,.26), 0 0 22px rgba(224,90,74,.3), 0 10px 24px rgba(0,0,0,.55); }
.btn-red:disabled, .btn-red[aria-disabled="true"] { background: #181210; border-color: #2E251E; color: var(--quiet); box-shadow: none; cursor: default; transform: none; }
.btn-dark { background: linear-gradient(#2B211B, #140F0C) padding-box, linear-gradient(#8E7258, #4A3B2F 45%, #241B15) border-box; color: var(--bone);
  box-shadow: inset 0 1px 0 rgba(255,236,210,.07), 0 6px 18px rgba(0,0,0,.45), 0 1px 2px rgba(0,0,0,.6); }
.btn-dark svg { color: #C9A27E; transition: color .15s; }
.btn-dark:hover { color: #FFF4E2; transform: translateY(-1px);
  background: linear-gradient(#352920, #19130F) padding-box, linear-gradient(#B48E6B, #5E4A3A 45%, #2A2019) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.1), 0 0 18px rgba(201,162,126,.13), 0 10px 26px rgba(0,0,0,.5); }
.btn-dark:hover svg { color: #ECCFAD; }
.btn-dark[aria-disabled="true"] { opacity: .5; cursor: default; transform: none; }
#service-dialog:not([open]) { display: none; }
#service-dialog::backdrop { background: rgba(5,3,3,.76); }
.slide .ebw-trailer { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }
.btn:focus-visible, .link:focus-visible, .nav:focus-visible { outline: 2px solid var(--field-focus); outline-offset: 2px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--label); text-decoration: underline; cursor: pointer; }
.link:hover { color: var(--bone-hi); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { color: var(--label); font-weight: 500; font-size: 15px; }
.field input, .comment input { height: 44px; padding: 0 12px; border: 1px solid var(--field-edge); border-radius: 3px;
  background: linear-gradient(#020101, #090706); box-shadow: inset 0 1px 3px rgba(0,0,0,.7);
  color: var(--bone); font: inherit; font-size: 16px; width: 100%; transition: border-color .15s; }
.field input:hover, .comment input:hover { border-color: #3A2D24; }
.field input:focus, .comment input:focus { outline: 2px solid var(--field-focus); outline-offset: -1px; }
.field input[aria-invalid="true"] { border-color: #C2362B; }
.err { font-size: 14px; color: var(--danger); }
.err:empty { display: none; }
.hint { font-size: 14px; color: var(--quiet); }
.alert { padding: 12px 14px; border-radius: 3px; background: #9E2A1F; color: #fff; font-size: 15px; }
.form { display: flex; flex-direction: column; gap: 14px; }

/* Top */
header.top { position: relative; overflow: hidden; }
/* The heroes in full, as bright as painted: up to 1500 pixels wide, falling to the ground at the
   foot and at both sides; only the bar's strip is darkened. The front page's words sit up on the
   heroes' feet and the art's dark rocks (.top .hero). */
.top .bg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1500px, 100%); height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, #000 66%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
          mask-composite: intersect; }
.top .shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,11,10,.6) 0, rgba(13,11,10,0) 120px); }
.top .hero { padding-top: clamp(110px, calc(min(100vw, 1500px) * .26), 390px); }
.top .hero p, .top .get small { text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 18px rgba(0,0,0,.8); }
.top .hero h1 { text-shadow: 0 2px 4px rgba(0,0,0,.8), 0 0 30px rgba(0,0,0,.85); }
.top .wrap { position: relative; }
/* The top bar spans the whole width, the logo at the left edge and the link at the right. */
.bar { position: relative; display: flex; justify-content: space-between; align-items: center; height: 84px;
  padding: 0 clamp(16px, 3vw, 40px); font-size: 18px; }
.bar img { height: 50px; width: auto; display: block; }
/* The community group and support links sit beside the language picker. */
.bar-links { display: flex; align-items: center; gap: 6px; }
/* Home and Account (and Sign out): pills like their neighbours, lit only on hover, so every item
   has the same height and the gaps between them read even. */
.bar-links > a:not(.bar-vote):not(.bar-donate):not(.bar-qq), .bar-links > .bar-out { display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
  border-radius: 19px; font-size: 16px; font-weight: 500; text-decoration: none; transition: background .15s; }
.bar-links > a:not(.bar-vote):not(.bar-donate):not(.bar-qq):hover, .bar-links > .bar-out:hover { background: rgba(201,162,126,.1); }
.bar-links .lang-pick { margin-right: 4px; }
.bar-qq { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 19px;
  font-size: 16px; font-weight: 500; background: rgba(13,11,10,.55); box-shadow: inset 0 0 0 1px rgba(201,162,126,.28); transition: box-shadow .15s, color .15s; }
.bar-qq svg { color: #C9A27E; transition: color .15s; }
.bar-qq:hover { box-shadow: inset 0 0 0 1px rgba(236,207,173,.55); }
.bar-qq:hover svg { color: #ECCFAD; }
/* Beside them: the language picker (web/i18n.py picker), the same quiet pill, opening a menu. */
.lang-pick { position: relative; z-index: 5; }
.lang-pick summary { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 19px; cursor: pointer;
  list-style: none; user-select: none; font: 700 14px/1 'Alegreya Sans', sans-serif; letter-spacing: .06em; color: var(--bone);
  background: rgba(13,11,10,.55); box-shadow: inset 0 0 0 1px rgba(201,162,126,.28); transition: box-shadow .15s, color .15s; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary svg { color: #C9A27E; }
.lang-pick summary b { width: 6px; height: 6px; margin: -3px 1px 0 1px; border: solid #A88A6E; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .18s ease; }
.lang-pick[open] summary b { transform: rotate(-135deg); margin-top: 3px; }
.lang-pick summary:hover, .lang-pick[open] summary { box-shadow: inset 0 0 0 1px rgba(236,207,173,.55); color: var(--bone-hi); }
.lang-pick summary:focus-visible { outline: 1px solid var(--field-focus); outline-offset: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 196px; padding: 6px; border-radius: 10px;
  background: #110D0B; border: 1px solid #3A2E25; box-shadow: 0 18px 40px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4);
  display: flex; flex-direction: column; animation: lang-in .14s ease-out; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 6px;
  font-size: 15.5px; color: var(--label); }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(243,232,212,.06); color: var(--bone-hi); outline: none; }
.lang-menu a[aria-current] { color: var(--bone-hi); }
.lang-menu a i { width: 9px; height: 5px; border: solid transparent; border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg) translateY(-2px); }
.lang-menu a[aria-current] i { border-color: #C9A27E; }
@media (max-width: 420px) { .lang-pick summary { padding: 0 10px; gap: 5px; } }
.hero { max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 88px 0 40px; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; color: var(--bone); font-weight: 500; font-size: 13.5px; line-height: 1; white-space: nowrap; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 6px var(--live); }
/* The name centred on its capitals, not on the font's line box (Alegreya sits it high or low by
   browser): trimmed to cap height, its middle is the dot's and the capsule's; the padding keeps
   the capsule the height it was. */
@supports (text-box: trim-both cap alphabetic) {
  .live { padding-block: 7.5px; }
  .live span { text-box: trim-both cap alphabetic; }
}
/* The front page's servers: every region in one capsule, its dot green while up (index.html, /api/status);
   the status itself is in each region's title. */
.servers { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 100%; padding: 2px; border-radius: 999px;
  background: rgba(13,11,10,.55); box-shadow: inset 0 0 0 1px rgba(201,162,126,.22); backdrop-filter: blur(6px); }
.live + .live { box-shadow: inset 1px 0 0 rgba(201,162,126,.18); }
.live.down { color: var(--quiet); }
.live.down i { background: #6B6259; box-shadow: none; }
@media (max-width: 560px) { .servers { border-radius: 14px; } }
.hero h1 { margin: 0; font: 700 clamp(40px, 5.6vw, 76px)/1.05 Cinzel, serif; color: var(--bone-hi); letter-spacing: .03em;
  text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.hero p { margin: 0; max-width: 680px; font-size: 20px; line-height: 1.5; }
.get { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; width: 100%; max-width: 640px; margin-top: 8px; }
.get > div { display: flex; flex-direction: column; gap: 6px; }
.get small { font-size: 14px; color: var(--quiet); text-align: center; }
/* Phones: the heroes cropped tall and full width so they fill the first screen, the bar over them,
   the words close under their feet on the rocks; the buttons a tight stack. */
@media (max-width: 640px) {
  .top .bg { width: 100%; aspect-ratio: 6 / 5; object-position: 50% 0;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .top .shade { background: linear-gradient(180deg, rgba(13,11,10,.7) 0, rgba(13,11,10,0) 90px); }
  .bar { height: 64px; }
  .bar img { height: 38px; }
  .top .hero { padding-top: calc(100vw * .56); padding-bottom: 28px; gap: 14px; }
  /* The four regions one thin row, sized to the phone's width so they fit on it. */
  .servers { padding: 1px; }
  .live { gap: 4px; padding: 7px 6px; font-size: clamp(10.5px, 3vw, 12.5px); }
  .live i { width: 5px; height: 5px; }
  .hero h1 { font-size: clamp(30px, 9.4vw, 40px); }
  .hero p { font-size: 16.5px; line-height: 1.5; }
  /* The game has no phone version: nothing to download here. */
  .get { display: none; }
}
@media (max-width: 340px) { .live { gap: 3px; padding-inline: 3px; } }
.copied { max-width: 640px; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 4px; background: rgba(5,3,3,.85);
  box-shadow: inset 0 0 0 1px #2B221B; font-size: 15px; }
.copied code { color: var(--quiet); font: 13px/1.5 ui-monospace, Menlo, monospace; word-break: break-all; }

/* Screenshots: an endless row, the middle one large */
.shots { padding: 8px 0 24px; overflow: hidden; }
/* The gallery's title and its one line (the user, 2026-11-18), as the Ranking's. */
.shots-head { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 24px auto 20px; text-align: center; }
.shots-head p { margin: 0; font-size: 15px; color: var(--quiet); }
.track { --slide: min(72vw, 140vh); position: relative; width: 100%; height: calc(var(--slide) * 9 / 16 + 20px); touch-action: pan-y; }
.slide { position: absolute; left: 50%; top: 50%; width: var(--slide); aspect-ratio: 16 / 9; margin: 0; cursor: pointer;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s, filter .6s; }
.slide img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px;
  opacity: 0; transition: opacity .45s ease; }
.slide.ready img { opacity: 1; }
/* Under the picture until it comes: the shot at 240 pixels, sent inside the page. */
.slide .ph { position: absolute; inset: 0; border-radius: 6px; background: #1A1411 var(--ph) center / cover;
  box-shadow: 0 0 0 1px rgba(201,162,126,.2), 0 28px 60px rgba(0,0,0,.65), 0 8px 18px rgba(0,0,0,.45); }
.slide.video { border-radius: 6px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(201,162,126,.2), 0 28px 60px rgba(0,0,0,.65), 0 8px 18px rgba(0,0,0,.45); }
.slide.video iframe { position: relative; width: 100%; height: 100%; display: block; border: 0; pointer-events: none; }
.sound { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px 0 12px; border: 0; border-radius: 19px; background: rgba(13,11,10,.7); color: var(--bone-hi);
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1; cursor: pointer; }
.sound:hover { background: rgba(13,11,10,.9); }
.slide[aria-hidden="true"] .sound { display: none; }
/* Beside the middle a video is its thumbnail, not a paused player's play button and title. */
.slide[aria-hidden="true"] iframe { visibility: hidden; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; z-index: 20;
  background: rgba(13,11,10,.55); color: var(--bone-hi); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav:hover { background: rgba(13,11,10,.85); }
.nav.prev { left: 16px; } .nav.next { right: 16px; }
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition: none; } html { scroll-behavior: auto; } }

/* Game leaders: the best ten as cards in one row that scrolls by snaps, four in view on a wide screen
   (the user picked board B of claude.ai/artifact/E2jUTsZ6oba2Q5fHmSgD9i, 2026-11-18). Gold is the
   first place's badge and the rings of the pager's thumbs in view, nothing else. */
.leaders { padding: 40px 0 32px; }
.leaders .wrap { max-width: 1200px; display: flex; flex-direction: column; gap: 20px; }
.leaders-head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.leaders-head p { margin: 0; font-size: 15px; color: var(--quiet); }
/* Standard and Hardcore: one sunk well, the ladder shown a lit chip in it (the game's "cluster" switch). */
.ladder-tabs { align-self: center; display: inline-flex; padding: 3px; gap: 2px; border-radius: 6px; border: 1px solid #241B15;
  background: linear-gradient(#0A0807, #120E0C); box-shadow: inset 0 1px 3px rgba(0,0,0,.6); }
.ladder-tabs .tab { min-height: 38px; min-width: 120px; padding: 0 20px; border: 0; border-radius: 4px; background: none; cursor: pointer;
  font: 700 16px/1 'Alegreya Sans SC', sans-serif; color: var(--quiet); transition: color .15s, background .15s; }
.ladder-tabs .tab:hover { color: var(--bone); }
.ladder-tabs .tab[aria-selected="true"] { color: var(--bone-hi); background: linear-gradient(#2B211B, #17110D);
  box-shadow: inset 0 1px 0 rgba(255,236,210,.08), 0 1px 2px rgba(0,0,0,.5); }
.ladder-tabs .tab:focus-visible { outline: 2px solid var(--field-focus); outline-offset: 2px; }
.leaders-empty { margin: 24px 0; text-align: center; color: var(--quiet); }
/* Hardcore (the user, 2026-11-18: "use special styling for hardcore, use red and icon"): its tab carries the skull, and
   while it is open the ladder is drawn in blood -- the chip, the cards' edges and the light behind each hero, the guilds'
   cards alike -- the game's Hardcore red (sim/glows.h kGlowRows[0], 1.0 0.13 0.08). The podium's metals stay. */
.ladder-tabs .tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.ladder-tabs .hc-tab svg { color: #B8473C; transition: color .15s; }
.ladder-tabs .hc-tab:hover svg { color: #E25A48; }
.ladder-tabs .hc-tab[aria-selected="true"] { color: #FFE9E4; background: linear-gradient(#7E1C14, #3A0B07);
  box-shadow: inset 0 1px 0 rgba(255,200,180,.2), 0 0 14px rgba(255,33,20,.22); }
.ladder-tabs .hc-tab[aria-selected="true"] svg { color: #FFD0C6; filter: drop-shadow(0 0 4px rgba(255,60,40,.6)); }
.leaders.hc .h2 { color: #FFE2DC; text-shadow: 0 0 18px rgba(255,33,20,.25); }
.leaders.hc .leader { border-color: #3E1612; background: linear-gradient(#1A0F0D, #0F0A09); }
.leaders.hc .leader .fig { background: radial-gradient(closest-side at 50% 58%, rgba(255,40,24,.18), rgba(255,40,24,0)); }
.leaders.hc .leader .info { border-color: #2E1210; }
.leaders.hc .leader:nth-child(1) { border-color: #6E5524; }
@media (hover: hover) and (pointer: fine) {
  .leaders.hc .leader:hover .fig { background: radial-gradient(closest-side at 50% 58%, rgba(255,40,24,.3), rgba(255,40,24,0)); }
  .leaders.hc .leader:hover { border-color: transparent;
    background: linear-gradient(#1A0F0D, #0F0A09) padding-box,
                linear-gradient(155deg, #FF9A86 0%, #D9382A 22%, #6E120B 45%, #E2503E 65%, #8C1A10 82%, #FF8A72 100%) border-box;
    box-shadow: 0 14px 30px rgba(0,0,0,.55), 0 0 12px rgba(255,40,24,.2); }
}
.arrow { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer;
  border: 1px solid #3A2D24; background: #120E0C; color: #C9A27E; transition: color .15s, border-color .15s, opacity .15s; }
.arrow:hover:not(:disabled) { color: #ECCFAD; border-color: #8E7258; }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow:focus-visible, .leader-row:focus-visible, .ticks button:focus-visible { outline: 2px solid var(--field-focus); outline-offset: 2px; }
.leader-row { --in-view: 4; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; gap: 16px;
  grid-auto-columns: calc((100% - (var(--in-view) - 1) * 16px) / var(--in-view));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.leader-row::-webkit-scrollbar { display: none; }
.leader { scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; border-radius: 4px; overflow: hidden;
  border: 1px solid #1E1814; background: linear-gradient(#151110, #0F0C0A);  transition: transform .2s ease, border-color .2s, box-shadow .2s; }
.leader .fig { position: relative; height: 250px; overflow: hidden;
  background: radial-gradient(closest-side at 50% 58%, rgba(201,162,126,.16), rgba(201,162,126,0)); }
.leader .fig img { position: absolute; left: 50%; top: -22px; width: 300px; height: 300px; transform: translateX(-50%); }
/* First place stands in a low fire (the user, 2026-11-19: "add minimal flame animation around first place on web"):
   soft tongues along the foot of his picture, tallest at the sides so they frame him and leave his feet clear, a warm
   floor under them and a few embers rising. Behind the hero (index.html puts .flames first in .fig); Hardcore burns red. */
.leader:nth-child(1) { border-color: #4A3418; }
.leader .flames { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background: linear-gradient(to top, rgba(255,128,32,.16), rgba(255,128,32,0) 34%); }
.leader .flames .tongue { position: absolute; bottom: 0; left: var(--x); width: 20px; margin-left: -10px; height: 20px; transform-origin: 50% 100%;
  opacity: .42; animation: leader-flame var(--t) ease-in-out var(--d) infinite alternate; }
/* A teardrop: a square with three round corners turned so the sharp one points up, then drawn tall. */
.leader .flames .tongue::before { content: ""; position: absolute; inset: 0; border-radius: 0 50% 50% 50%; filter: blur(3px);
  transform-origin: 50% 100%; transform: translateY(6px) scaleY(calc(var(--h) * 3.6)) rotate(45deg);
  background: radial-gradient(circle at 78% 78%, rgba(255,226,140,.9), rgba(255,140,36,.5) 55%, rgba(255,96,20,0) 125%); }
.leader .flames .ember { position: absolute; bottom: 6px; left: var(--x); width: 3px; height: 3px; border-radius: 50%; opacity: 0;
  background: #FFD27A; box-shadow: 0 0 4px 1px rgba(255,160,50,.8); animation: leader-ember var(--t) ease-out var(--d) infinite; }
.leaders.hc .leader .flames { background: linear-gradient(to top, rgba(255,40,24,.18), rgba(255,40,24,0) 34%); }
.leaders.hc .leader .flames .tongue::before { background: radial-gradient(circle at 78% 78%, rgba(255,190,150,.9), rgba(255,56,28,.5) 55%, rgba(200,20,10,0) 125%); }
.leaders.hc .leader .flames .ember { background: #FF9A7A; box-shadow: 0 0 4px 1px rgba(255,50,30,.8); }
@keyframes leader-flame {
  0%   { transform: scale(1, .82) skewX(-4deg); opacity: .32; }
  50%  { transform: scale(.88, 1.06) skewX(3deg); opacity: .55; }
  100% { transform: scale(1.04, .94) skewX(-1deg); opacity: .42; } }
@keyframes leader-ember {
  0%   { transform: translate(0, 0); opacity: 0; }
  15%  { opacity: .9; }
  100% { transform: translate(var(--drift), -150px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .leader .flames .tongue { animation: none; } .leader .flames .ember { display: none; } }
/* The hero breathing (leaders3d.js) over his picture, which goes once the first frame is drawn. */
/* A card under the mouse lifts and warms: an iron edge lit, a deeper shadow, the hero's backdrop brighter. */
@media (hover: hover) and (pointer: fine) {
  /* A gold edge, struck metal rather than flat yellow: bright where the light catches it, dark
     between, and the faintest gold breath round it (the user, 2026-11-18). */
  .leader:hover { transform: translateY(-4px); border-color: transparent;
    background: linear-gradient(#151110, #0F0C0A) padding-box,
                linear-gradient(155deg, #F7E7B0 0%, #D4AF5A 18%, #8A6424 38%, #E9CB7A 58%, #A67C2E 78%, #F3DC94 100%) border-box;
    box-shadow: 0 14px 30px rgba(0,0,0,.55), 0 0 10px rgba(230,186,96,.16), 0 0 1px rgba(247,231,176,.35); }
  .leader .fig { transition: background .2s; }
  .leader:hover .fig { background: radial-gradient(closest-side at 50% 58%, rgba(201,162,126,.26), rgba(201,162,126,0)); }
}
@media (prefers-reduced-motion: reduce) { .leader, .leader:hover { transition: none; transform: none; } }
.leader .fig .live-figure { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .45s ease; }
.leader .fig.live .live-figure { opacity: 1; }
/* While his 3D comes (the user, 2026-11-18: "use some preloader for three js object"): his class's picture held back
   and a thin ring turning over it; the figure fades in over them when its first frame is drawn. */
.leader .fig img { transition: opacity .3s ease; }
/* No picture while he loads (the user, 2026-11-18: "dont show character on prealoder"): the ring alone. */
.leaders.three .leader .fig:not(.live):not(.still) img { opacity: 0; }
.leaders.three .leader .fig:not(.live):not(.still)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; border: 2px solid rgba(201,162,126,.18); border-top-color: rgba(233,203,138,.85);
  animation: leader-spin .9s linear infinite; }
@keyframes leader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .leaders.three .leader .fig::after { animation-duration: 3s; } }
.leader .fig.live img { visibility: hidden; }
/* His gear score and points, over the foot of his picture on a desktop's hover; never on touch. */
.leader .more { display: none; }
@media (hover: hover) and (pointer: fine) {
  .leader .more { display: flex; position: absolute; left: 0; right: 0; bottom: 0; justify-content: space-around; gap: 8px; padding: 10px 12px;
    background: linear-gradient(rgba(13,11,10,0), rgba(13,11,10,.92) 40%); opacity: 0; transform: translateY(6px);
    transition: opacity .18s, transform .18s; pointer-events: none; }
  .leader:hover .more { opacity: 1; transform: none; }
  .leader .more span { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; color: var(--quiet); }
  .leader .more b { font: 700 17px/1.1 'Alegreya Sans', sans-serif; color: var(--bone-hi); font-variant-numeric: tabular-nums; }
  /* The achievement tiers' inks (src/game/ui/achievement_glyphs.cpp achievementTierInk). */
  .leader .more b.tier-ancient { color: #00CCFF; }
  .leader .more b.tier-legendary { color: #FF8000; }
  .leader .more b.tier-epic { color: #A335EE; }
  .leader .more b.tier-rare { color: #2F8BE6; }
  .leader .more b.tier-common { color: #E9E4DA; }
  /* The gear score's rungs, the game's inks (tip.cpp colourOf: Uncommon white, Legendary green, Rare blue, Epic purple,
     RuneLegendary orange, in scoreInk's order). */
  .leader .more b.rung-common { color: #FFFFFF; }
  .leader .more b.rung-uncommon { color: #1EFF00; }
  .leader .more b.rung-rare { color: #0070DD; }
  .leader .more b.rung-epic { color: #A335EE; }
  .leader .more b.rung-legendary { color: #FF8000; }
}
@media (prefers-reduced-motion: reduce) { .leader .more { transition: none; } }
.leader .rank { position: absolute; left: 12px; top: 12px; min-width: 32px; height: 32px; padding: 0 6px; display: flex; align-items: center;
  justify-content: center; border-radius: 3px; font: 700 18px/1 Cinzel, serif; background: #0A0807; border: 1px solid #2E251E; color: var(--bone); }
/* The top five (the user, 2026-11-18: "top 5 place formating has to be more special", then "well polished not cheap"
   and "smaller"): a small dark plate in a fine ring of its metal, the numeral itself struck in that metal -- gold,
   silver, bronze, then burnished steel for 4th and 5th; gold alone breathes a little light. */
.leader:nth-child(-n+5) .rank { --metal: linear-gradient(165deg, #EEF3F8 0%, #B4C0CC 35%, #7F8C99 60%, #D2DBE4 82%, #9AA7B4 100%);
  min-width: 28px; height: 28px; padding: 0 5px; left: 10px; top: 10px; font-size: 16px; border: 1px solid transparent; border-radius: 3px;
  color: transparent; text-shadow: none;
  background: radial-gradient(120% 100% at 50% 0%, #241C16, #0A0807) padding-box, var(--metal) border-box;
  box-shadow: 0 2px 6px rgba(0,0,0,.55); }
/* The numeral, struck in the metal: its own layer over the plate (index.html puts the place in data-n). */
.leader:nth-child(-n+5) .rank::after { content: attr(data-n); position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.6)); }
.leader:nth-child(1) .rank { --metal: linear-gradient(165deg, #FFF3CC 0%, #E9C766 30%, #B0832A 58%, #F4D88A 80%, #C99D42 100%); }
.leader:nth-child(1) .rank { box-shadow: 0 2px 6px rgba(0,0,0,.55), 0 0 8px rgba(233,199,102,.22); }
.leader:nth-child(2) .rank { --metal: linear-gradient(165deg, #FFFFFF 0%, #D8DDE2 30%, #959DA5 58%, #EEF1F4 80%, #AEB5BC 100%); }
.leader:nth-child(3) .rank { --metal: linear-gradient(165deg, #FFE0BF 0%, #D9975C 30%, #8F5226 58%, #EAB27E 80%, #B06C36 100%); }
.leader .on { position: absolute; right: 12px; top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--live);
  text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.leader .on i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }
.leader .info { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; border-top: 1px solid #1E1814; }
.leader .name { font: 700 21px/1.15 Cinzel, serif; color: var(--bone-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader .cls { font-size: 15px; color: var(--label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader .nums { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--quiet); }
.leader .nums b { color: var(--bone-hi); }
/* Grand Rebirths in the Grand Rebirth mark's red. */
.leader .nums b.gr { color: #E8604E; }
.leader .nums span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The pager: an arrow, a thumb a place (each hero's face; those in view ringed gold, the rest dimmed), "1–4 of 10", an arrow. */
.leader-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.ticks { display: flex; gap: 6px; }
.ticks button { position: relative; width: 40px; height: 40px; flex: none; padding: 0; overflow: hidden; cursor: pointer; border-radius: 50%;
  border: 2px solid #2E251E; background: radial-gradient(circle at 50% 35%, #2E241D, #0A0807); opacity: .5;
  transition: opacity .25s, border-color .25s, transform .15s; }
.ticks button img { position: absolute; left: -51px; top: -4px; width: 140px; height: 140px; }
.ticks button:hover { opacity: .85; transform: translateY(-1px); }
.ticks button.lit { opacity: 1; border-color: #C9A27E; }
.leader-pager .count { min-width: 64px; font: 500 14px/1 'Alegreya Sans', sans-serif; color: var(--quiet); font-variant-numeric: tabular-nums; text-align: center; }
/* Top guilds: a card a guild (the user, 2026-11-18: "use cards for top guilds with more info"), five in a row on a wide
   screen. Its place in the heroes' metal, its mark large in a fine ring, its points in their tier's colour. */
.guilds { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.guilds-title { margin: 0; font: 700 18px/1.2 Cinzel, serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bone-hi); text-align: center; }
/* Under it a line of what it is (the user, 2026-11-19: "and some nice tagline under the title top guilds"). */
.guilds-tagline { margin: -10px 0 4px; text-align: center; font-size: 14px; color: var(--quiet); }
.guild-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.guild { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 14px; border-radius: 4px;
  border: 0; background: none; transition: transform .2s ease; }
.guild { --metal: linear-gradient(165deg, #EEF3F8 0%, #B4C0CC 35%, #7F8C99 60%, #D2DBE4 82%, #9AA7B4 100%); }
.guild:nth-child(1) { --metal: linear-gradient(165deg, #FFF3CC 0%, #E9C766 30%, #B0832A 58%, #F4D88A 80%, #C99D42 100%); }
.guild:nth-child(2) { --metal: linear-gradient(165deg, #FFFFFF 0%, #D8DDE2 30%, #959DA5 58%, #EEF1F4 80%, #AEB5BC 100%); }
.guild:nth-child(3) { --metal: linear-gradient(165deg, #FFE0BF 0%, #D9975C 30%, #8F5226 58%, #EAB27E 80%, #B06C36 100%); }
/* Below the podium a quiet edge, not a metal (the user, 2026-11-19: "dont use so vissible outline for guilds which is not on top 3"). */
.guild:nth-child(n+4) { --metal: linear-gradient(165deg, #4A4038 0%, #2E2722 50%, #3E352E 100%); }
.guild:nth-child(n+4) .place::after { background: none; color: var(--label); -webkit-text-fill-color: currentColor; }
/* The place, a small plate of its metal pinned to the foot of the mark, the numeral struck in it. */
.guild .place { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); min-width: 28px; height: 26px; padding: 0 6px;
  display: flex; align-items: center; justify-content: center; border-radius: 4px; font: 700 16px/1 Cinzel, serif; color: transparent;
  border: 1px solid transparent; background: radial-gradient(120% 100% at 50% 0%, #241C16, #0A0807) padding-box, var(--metal) border-box;
  box-shadow: 0 2px 6px rgba(0,0,0,.6); }
.guild .place::after { content: attr(data-n); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0,0,0,.6)); }
.guild:nth-child(1) .place { box-shadow: 0 2px 6px rgba(0,0,0,.6), 0 0 8px rgba(233,199,102,.25); }
/* Between them, a hairline fading in and out (the user, 2026-11-18: "use clean gradient style seperators"): upright
   while they stand in a row, across when they stack. */
.guild + .guild::before { content: ""; position: absolute; left: -7px; top: 8%; bottom: 8%; width: 1px; pointer-events: none;
  background: linear-gradient(rgba(201,162,126,0), rgba(201,162,126,.45) 50%, rgba(201,162,126,0)); }
/* Both ladders' guilds in one list, the best ten by points (the user, 2026-11-19: "top 10 from both guilds combined"),
   all ten in one row of slim cards (the user, 2026-11-19: "show on 1 row and make more compact"): each its mark with its
   place, its name, its region, its points and its members by a person glyph, stacked; no labels, no founder. Where ten
   do not fit (under 1100 px) the row slides. A Hardcore guild carries a red HC pill with its skull and a red glow. */
@media (min-width: 761px) {
  .guilds { margin-top: 28px; gap: 16px; }
  /* Wider than the page's column, so ten fit with room between them. */
  .guilds { width: min(calc(100vw - 48px), 1900px); max-width: none; align-self: center; --guild-gap: clamp(20px, calc(3vw - 16px), 60px); }
  .guilds .guild-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(92px, 1fr); gap: var(--guild-gap);  /* the user, 2026-11-19: "need larger gaps", twice: wider with the screen */
    overflow-x: auto; scrollbar-width: thin; padding: 2px 0 6px; }
  .guilds .guild { align-items: center; gap: 6px; padding: 8px 4px 6px; min-width: 0; }
  .guilds .guild:hover { transform: translateY(-2px); }
  .guilds .guild + .guild::before { left: calc(var(--guild-gap) / -2); }
  .guilds .guild .head { flex-direction: column; gap: 6px; width: 100%; }
  .guilds .guild .mark { width: 48px; height: 48px; padding: 4px; margin-bottom: 8px; border-radius: 5px; }
  .guilds .guild .mark.blank { font-size: 20px; }
  .guilds .guild .place { width: 20px; min-width: 20px; height: 20px; bottom: -10px; font-size: 11px; }
  .guilds .guild .who { align-items: center; gap: 2px; width: 100%; }
  .guilds .guild .name { font-size: 15px; text-align: center; }
  .guilds .guild .region { justify-content: center; flex-wrap: nowrap; white-space: nowrap; overflow: hidden; max-width: 100%; font-size: 13px; line-height: 1.25; text-align: center; }
  .guilds .guild .region svg { width: 12px; height: 12px; }
  /* The HC pill pinned to its mark's top corner, so a Hardcore card keeps the others' lines. */
  .guilds .guild .hc-tag { position: absolute; top: 2px; left: calc(50% + 12px); z-index: 1; margin: 0; padding: 1px 5px 1px 4px; font-size: 9px; }
  .guilds .guild .stats { gap: 10px; align-items: center; }
  .guilds .guild .stat span { display: none; }
  .guilds .guild .stat b { font-size: 15px; }
  .guilds .guild .stat:not(.points) { flex-direction: row; align-items: center; gap: 3px; }
  .guilds .guild .stat:not(.points)::before { content: ""; width: 11px; height: 11px; flex: none; background: var(--quiet);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128 136a52 52 0 1 0-52-52 52 52 0 0 0 52 52Zm0 16c-46 0-84 26-92 62a8 8 0 0 0 8 10h168a8 8 0 0 0 8-10c-8-36-46-62-92-62Z'/%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 256 256'%3E%3Cpath d='M128 136a52 52 0 1 0-52-52 52 52 0 0 0 52 52Zm0 16c-46 0-84 26-92 62a8 8 0 0 0 8 10h168a8 8 0 0 0 8-10c-8-36-46-62-92-62Z'/%3E%3C/svg%3E") center / contain no-repeat; }
  .guilds .guild .stat:not(.points) b { font-size: 12px; color: var(--bone); }
  .guilds .guild .foot { display: none; }
}
.guild .hc-tag { display: inline-flex; align-items: center; gap: 3px; margin-right: 4px; padding: 2px 6px 2px 5px;
  border: 1px solid rgba(226,90,72,.55); border-radius: 4px; background: linear-gradient(#5A140E, #2A0805);
  font: 700 10px/1 Cinzel, serif; letter-spacing: .08em; color: #FFD9D2; box-shadow: 0 0 10px rgba(255,33,20,.18); }
.guild .hc-tag svg { color: #FF6A55; }
/* Its card in the Hardcore red: a low red light behind its mark, the mark's ring glowing red, its name warmed. */
.guild.hc { background: radial-gradient(60% 55% at 50% 30%, rgba(255,40,24,.09), rgba(255,40,24,0)); }
.guild.hc .mark { box-shadow: inset 0 1px 0 rgba(255,236,210,.06), 0 6px 16px rgba(0,0,0,.55), 0 0 16px rgba(255,33,20,.3); }
.guild.hc .name { color: #FFE2DC; }
@media (max-width: 760px) {
  .guild-list, .guilds .guild-list { grid-template-columns: 1fr; gap: 14px; }
  .guild + .guild::before { left: 12%; right: 12%; top: -7px; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, rgba(201,162,126,0), rgba(201,162,126,.32) 50%, rgba(201,162,126,0)); }
}
.guild .head { display: flex; align-items: center; justify-content: center; gap: 14px; min-width: 0; max-width: 100%; }
.guild .who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.guild .mark { position: relative; width: 72px; height: 72px; flex: none; padding: 8px; margin-bottom: 12px; box-sizing: border-box; border-radius: 6px;
  border: 1px solid transparent; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 35%, #1C1511, #070504) padding-box, var(--metal) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.06), 0 6px 16px rgba(0,0,0,.55); }
/* The first guild's mark burns at its rim (the user, 2026-11-19: "and some minimal also for guild border"): a short
   flame running round the gold edge, and a warm glow breathing outside it. Hardcore burns red. */
@property --flame-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.guild:nth-child(1) .mark { animation: guild-glow 2.4s ease-in-out infinite alternate; }
.guild:nth-child(1) .mark::before { content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--flame-a), rgba(255,140,40,0) 0 62%, rgba(255,140,40,.7) 76%, #FFF0C2 84%, rgba(255,110,24,.8) 90%, rgba(255,110,24,0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 3px rgba(255,150,50,.9)); animation: guild-flame 3.2s linear infinite; }
@keyframes guild-flame { to { --flame-a: 360deg; } }
@keyframes guild-glow {
  from { box-shadow: inset 0 1px 0 rgba(255,236,210,.06), 0 6px 16px rgba(0,0,0,.55), 0 0 8px rgba(255,140,40,.14); }
  to   { box-shadow: inset 0 1px 0 rgba(255,236,210,.06), 0 6px 16px rgba(0,0,0,.55), 0 0 16px rgba(255,140,40,.3); } }
.leaders.hc .guild:nth-child(1) .mark::before { filter: drop-shadow(0 0 3px rgba(255,50,30,.9));
  background: conic-gradient(from var(--flame-a), rgba(255,50,30,0) 0 62%, rgba(255,50,30,.7) 76%, #FFD2C4 84%, rgba(220,30,16,.8) 90%, rgba(220,30,16,0) 100%); }
@media (prefers-reduced-motion: reduce) { .guild:nth-child(1) .mark, .guild:nth-child(1) .mark::before { animation: none; } }
.guild .mark canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.guild .mark.blank { font: 700 30px/1 Cinzel, serif; color: var(--quiet); }
.guild .name { max-width: 100%; font: 700 23px/1.15 Cinzel, serif; color: var(--bone-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guild .region { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--label); }
.guild .region svg { flex: none; color: var(--quiet); }
/* The points in the game's achievement tiers' colours, by place (achievement_glyphs.cpp achievementTierInk). */
.guild .stat.points b { color: #E9E4DA; }
.guild:nth-child(1) .stat.points b { color: #00CCFF; } .guild:nth-child(2) .stat.points b { color: #FF8000; }
.guild:nth-child(3) .stat.points b { color: #A335EE; } .guild:nth-child(4) .stat.points b { color: #2F8BE6; }
.guild .stats { display: flex; justify-content: center; gap: 28px; }
.guild .stat { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 0; }
.guild .stat b { font: 700 20px/1.15 Cinzel, serif; color: var(--bone-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.guild .stat span { font-size: 11px; color: var(--quiet); }
.guild .stat.on b { color: var(--live); }
.guild .stat em.gr { font-style: normal; font-size: 13px; color: #E8604E; }
.guild .foot { display: block; margin-top: auto; text-align: center;
  font-size: 12px; color: var(--quiet); }
.guild .foot b { color: var(--bone); font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
  /* No outline and no fill (the user, 2026-11-18: "dont use outline", "remove bg color from card"): a lift alone. */
  .guild:hover { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .guild, .guild:hover { transition: none; transform: none; } }
/* A big screen (the user, 2026-11-18: "we have big screen on chrome use full width so we can fit all 10 players", "on 1
   row"): the whole width, all ten in one row; the guilds keep their own width under them. */
@media (min-width: 1700px) {
  .leaders .wrap { max-width: none; padding: 0 clamp(40px, 4vw, 96px); }
  /* And "Why MU Classic" (the user, 2026-11-18: "use full width"). */
  #why .wrap { max-width: none !important; padding: 0 clamp(40px, 4vw, 96px) !important; }
  .leader-row { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; overflow: visible; gap: 16px; }
  .leader .fig { height: 250px !important; }
  .leader .info { padding: 12px 12px 14px; gap: 8px; }
  .leader .name { font-size: 17px !important; }
  .leader .cls { font-size: 14px; }
  .leader .nums { flex-direction: column; gap: 2px; font-size: 13px; }
}
/* A wide screen shows all ten, two rows of five, and needs no pager (index.html hides it). */
@media (min-width: 1100px) {
  .leader-row { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; row-gap: 16px; }
  .leader .fig { height: 240px; }
  .leader .fig img { width: 280px; height: 280px; top: -20px; }
  .leader .name { font-size: 19px; }
}
@media (max-width: 900px) { .leader-row { --in-view: 3; } }
@media (max-width: 680px) { .leader-row { --in-view: 2; } .leader-pager { flex-wrap: wrap; gap: 10px; } .ticks { order: -1; width: 100%; justify-content: center; gap: 4px; }
  .ticks button { width: 30px; height: 30px; } .ticks button img { left: -40px; top: -4px; width: 108px; height: 108px; } }
@media (max-width: 440px) { .leader-row { --in-view: 1.4; } .leader .fig { height: 230px; } }
/* A phone (the user, 2026-11-18: "slider has to be 100% width on mobile without paddings"): the row runs the screen's
   full width, edge to edge, out of the page's side margins. */
/* The first card keeps the page's 24px from the left edge (the user, 2026-11-18: "some sidepadding from left side for
   first slide"); the snaps stop there too, so each card turned to rests at the same place. */
@media (max-width: 680px) { .leader-row { margin: 0 -24px; padding: 0 24px; scroll-padding-inline: 24px; } }
@media (prefers-reduced-motion: reduce) { .leader-row { scroll-behavior: auto; } }

/* Why it is different: three tiles, then the features in two groups */
#why { padding: 48px 0 72px; }
#why .wrap { max-width: 1600px; }
.why-head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 36px; text-align: center; }
.why-head p { margin: 0; font-size: 18px; color: var(--label); }
.why-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-bottom: 64px; }
/* Four tiles (the user, 2026-11-19: "add forth option"): four across on a wide screen, two by two below it, one on a phone. */
@media (min-width: 1100px) { .why-top { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1099px) { .why-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The tiles and the requirements' panel outlined as the buttons are: lit along the top, gone dark below. */
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: 8px;
  border: 1px solid transparent;
  background: radial-gradient(120% 90% at 0% 0%, rgba(194,54,43,.16), rgba(194,54,43,0) 60%) padding-box,
              linear-gradient(180deg, #1C1410, #110C0A) padding-box,
              linear-gradient(180deg, #5A4636, #33271F 40%, #1E1712) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.05), 0 18px 44px rgba(0,0,0,.45); }
.tile svg { color: #E07A6C; width: 30px; height: 30px; }
.tile h3 { margin: 4px 0 0; font: 700 21px/1.25 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); }
.tile p { margin: 0; font-size: 16px; color: var(--label); }
.tile-beta { background: radial-gradient(120% 100% at 50% 0%, rgba(212,73,59,.32), rgba(212,73,59,0) 65%) padding-box,
              linear-gradient(180deg, #2A110D, #150B09) padding-box,
              linear-gradient(180deg, #B4483A, #6B2A20 45%, #3A1510) border-box;
  box-shadow: inset 0 1px 0 rgba(255,200,180,.1), 0 0 40px rgba(194,54,43,.12), 0 18px 44px rgba(0,0,0,.5); text-align: center; align-items: center; }
.tile-beta .big { font: 700 64px/1 Cinzel, serif; color: #F6E7D0; text-shadow: 0 0 24px rgba(224,122,108,.45); }
.tile-beta h3 { font-size: 19px; }
.group { margin-top: 8px; }
.group + .group { margin-top: 48px; }
/* A Full HD screen: wider gutters, larger headings, the groups further apart. */
@media (min-width: 1600px) {
  #why .wrap, #requirements .wrap { padding: 0 48px; }
  .h2 { font-size: 30px; }
  .why-head { margin-bottom: 44px; }
  .why-head p { font-size: 20px; }
  .group + .group { margin-top: 64px; }
  .group-title { margin-bottom: 24px; font-size: 15px; }
}
.group-title { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; font: 700 14px/1 'Alegreya Sans SC', sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: #E07A6C; }
.group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, #3A2C22, rgba(58,44,34,0)); }
/* The features: six bands the width of the screen, each a main feature. Its picture melts in from one
   side -- masked soft on every edge (the outer one as dark as the inner), warmed by a colour grade, a red glow where the words begin -- and the
   words stand flat on the dark beside it: a small red heading line, the name, its line and its things.
   Every second band the other way round. */
#why { overflow-x: clip; }
.bands { list-style: none; margin: 0 calc(50% - 50vw); padding: 0; }
.band { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 640px; overflow: hidden; background: var(--ground); }
.band + .band { margin-top: 24px; }
/* Between the bands a hairline, barely there and fading at both ends (the user, 2026-11-19: "seperated big blocks with
   minimal opacity stroke"). */
.band + .band { border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(201,162,126,0), rgba(201,162,126,.16) 25%, rgba(201,162,126,.16) 75%, rgba(201,162,126,0)) 1; }
.band-bg { position: absolute; top: 0; bottom: 0; left: 0; z-index: -3; width: 68%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%);
  --side: 90deg;
  -webkit-mask-image: linear-gradient(var(--side), transparent 0%, transparent 4%, rgba(0,0,0,.4) 18%, #000 36%, #000 46%, rgba(0,0,0,.6) 66%, transparent 94%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(var(--side), transparent 0%, transparent 4%, rgba(0,0,0,.4) 18%, #000 36%, #000 46%, rgba(0,0,0,.6) 66%, transparent 94%), linear-gradient(180deg, transparent 0, #000 16%, #000 80%, transparent 100%);
  mask-composite: intersect; }
.band:nth-child(even) .band-bg { left: auto; right: 0; --side: 270deg; }
/* The grade: warm light on the picture's middle, cool shade toward the words. */
.band::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(38% 60% at 32% 50%, rgba(255,150,90,.5), rgba(255,150,90,0) 75%), linear-gradient(90deg, rgba(40,60,110,0) 45%, rgba(40,60,110,.45) 70%); }
.band:nth-child(even)::before { background: radial-gradient(38% 60% at 68% 50%, rgba(255,150,90,.5), rgba(255,150,90,0) 75%), linear-gradient(270deg, rgba(40,60,110,0) 45%, rgba(40,60,110,.45) 70%); }
/* A red glow where the picture meets the words. */
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 62% 50%, rgba(194,54,43,.16), rgba(194,54,43,0) 70%); }
.band:nth-child(even)::after {
  background: radial-gradient(40% 60% at 38% 50%, rgba(194,54,43,.16), rgba(194,54,43,0) 70%); }
.band-inner { width: 100%; max-width: 1600px; margin: 0 auto; padding: 72px 48px; display: flex; justify-content: flex-end; }
.band:nth-child(even) .band-inner { justify-content: flex-start; }
.panel { width: min(720px, 44%); }
.panel-bar { display: flex; align-items: center; gap: 14px; font: 700 13px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: #E07A6C; }
.panel-bar::before { content: ""; width: 40px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(224,122,108,0), #E07A6C); }
.panel h3 { margin: 18px 0 14px; font: 700 46px/1.08 Cinzel, serif; letter-spacing: .02em;
  background: linear-gradient(180deg, #FFF4E2 30%, #D9B48C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel > p { margin: 0; max-width: 46ch; font-size: 19px; line-height: 1.5; color: var(--bone); }
.slots { list-style: none; margin: 34px 0 0; padding: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px;
  background: linear-gradient(90deg, #4A3A2D, rgba(74,58,45,0)) top left / 100% 1px no-repeat; }
.slot { display: flex; gap: 14px; align-items: flex-start; }
.socket { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #EBC79F;
  background: radial-gradient(circle at 50% 30%, rgba(201,162,126,.22), rgba(201,162,126,.04) 70%); }
.socket svg { width: 19px; height: 19px; }
.slot h4 { margin: 2px 0 3px; font: 700 15.5px/1.25 'Alegreya Sans SC', sans-serif; letter-spacing: .05em; color: var(--bone-hi); }
.slot p { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--label); }
@media (min-width: 1600px) { .band { min-height: 700px; } .panel h3 { font-size: 52px; } }
@media (max-width: 1000px) {
  .band { display: block; min-height: 0; }
  .band + .band { margin-top: 48px; }
  .band-bg, .band:nth-child(even) .band-bg { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .band::before, .band:nth-child(even)::before { bottom: auto; height: 0; padding-top: 56.25%;
    background: linear-gradient(160deg, rgba(255,150,90,.5), rgba(255,150,90,0) 45%, rgba(40,60,110,.45)); }
  .band::after, .band:nth-child(even)::after { display: none; }
  .band-inner, .band:nth-child(even) .band-inner { display: block; padding: 0 16px; margin-top: -40px; position: relative; }
  .panel { width: 100%; }
  .panel h3 { font-size: 32px; margin: 14px 0 10px; }
  .panel > p { font-size: 16.5px; }
  .slots { margin-top: 24px; padding-top: 22px; }
}
@media (max-width: 600px) {
  .slots { grid-template-columns: 1fr; gap: 16px; }
  .panel h3 { font-size: 28px; }
}
.tag { display: inline-block; padding: 4px 10px 5px; border-radius: 999px; font: 700 11.5px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: #F6D9C4; background: rgba(120,28,20,.72); box-shadow: inset 0 0 0 1px rgba(240,120,100,.45); }
.theme-list { margin-top: 80px; }
.theme-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 26px; padding-bottom: 14px; box-shadow: inset 0 -1px 0 #2E241D; }
.theme-head h3 { margin: 0; font: 700 22px/1.15 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); }
@media (max-width: 600px) { .theme-list { margin-top: 52px; } }
/* What is coming: one panel cut in three, each its icon, name and line, centred; one under the
   other on a narrow screen, so none is left alone on a row. */
.minis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 10px; overflow: hidden; border: 1px solid transparent;
  background: radial-gradient(70% 120% at 50% 0%, rgba(194,54,43,.14), rgba(194,54,43,0) 70%) padding-box,
              linear-gradient(180deg, #1C1410, #110C0A) padding-box,
              linear-gradient(180deg, #5A4636, #33271F 40%, #1E1712) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.05), 0 18px 44px rgba(0,0,0,.45); }
.mini { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 28px 32px; text-align: center; }
.mini + .mini { box-shadow: inset 1px 0 0 #2E241D; }
/* The icon's seat: a small square of dark bronze, lit at its top edge, the icon in gold. */
.badge { display: grid; place-items: center; flex: none; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 14px; color: #EBC79F;
  background: linear-gradient(180deg, #3A2A20, #1A120E) padding-box, linear-gradient(180deg, #C9A27E, #6B5240 50%, #2A1F18) border-box;
  border: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255,236,210,.18), 0 6px 18px rgba(0,0,0,.55), 0 0 24px rgba(201,162,126,.1); }
.badge svg { width: 25px; height: 25px; }
.mini h4 { margin: 0; font: 700 19px/1.25 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); }
.mini p { margin: 0; max-width: 30ch; font-size: 15.5px; line-height: 1.5; color: var(--label); }
@media (max-width: 800px) {
  .minis { grid-template-columns: 1fr; }
  .mini + .mini { box-shadow: inset 0 1px 0 #2E241D; }
}
@media (max-width: 600px) {
  .tag { font-size: 10.5px; padding: 3px 8px 4px; }
  .minis { grid-template-columns: 1fr; }
  .mini, .mini:nth-child(n) { padding: 24px 20px; box-shadow: none; }
  .mini + .mini, .mini:nth-child(n+2) { box-shadow: inset 0 1px 0 #2E241D; }
  .badge { width: 44px; height: 44px; }
  .badge svg { width: 21px; height: 21px; }
  .mini h4 { font-size: 17px; }
  .mini p { font-size: 14.5px; }
}
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 32px; }
@media (min-width: 900px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat svg { flex: none; color: #C9A27E; margin-top: 2px; }
.feat h4 { margin: 0 0 4px; font: 700 16px/1.3 'Alegreya Sans SC', sans-serif; letter-spacing: .04em; color: var(--bone-hi); }
.feat p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--label); }
.feat p.soon { margin-top: 6px; font: 700 12.5px/1.3 'Alegreya Sans SC', sans-serif; letter-spacing: .08em; color: #C9A27E; }
/* A phone: the features two across, the icon over its words, so the list is half as long. */
@media (max-width: 600px) {
  #why { padding: 36px 0 52px; }
  .why-head { margin-bottom: 24px; }
  .why-top { gap: 12px; margin-bottom: 40px; }
  .tile { padding: 22px 20px; gap: 6px; }
  .tile h3 { font-size: 18px; }
  .tile p { font-size: 15px; }
  .tile-beta .big { font-size: 52px; }
  .group + .group { margin-top: 36px; }
  .feats { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .feat { flex-direction: column; gap: 6px; }
  .feat svg { width: 22px; height: 22px; margin: 0; }
  .feat h4 { margin-bottom: 2px; font-size: 14.5px; }
  .feat p { font-size: 14px; line-height: 1.42; }
}

/* System requirements: a card a platform, above the footer */
#requirements { padding: 56px 0 64px; }
#requirements .wrap { max-width: 1600px; }
.reqs { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 8px; overflow: hidden; border: 1px solid transparent;
  background: linear-gradient(180deg, #1C1410, #110C0A) padding-box, linear-gradient(180deg, #5A4636, #33271F 40%, #1E1712) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.05), 0 18px 44px rgba(0,0,0,.45); }
.req { display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 26px; }
.req + .req { box-shadow: inset 1px 0 0 #2E241D; }
.req h3 { display: flex; align-items: center; gap: 10px; margin: 0; padding-bottom: 16px; font: 700 19px/1.25 Cinzel, serif; letter-spacing: .03em;
  color: var(--bone-hi); box-shadow: inset 0 -1px 0 #2A211A; }
.req h3 svg { color: #C9A27E; flex: none; }
.req dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 18px; }
.req dt { font: 700 13px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #A88A6E; }
.req dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--bone); }
/* The panel's foot, across all three: what every platform needs. */
.reqs-note { grid-column: 1 / -1; margin: 0; padding: 14px 24px; text-align: center; font-size: 15px; color: var(--quiet);
  background: rgba(5,3,3,.35); box-shadow: inset 0 1px 0 #2E241D; }
@media (max-width: 900px) {
  .reqs { grid-template-columns: 1fr; }
  .req + .req { box-shadow: inset 0 1px 0 #2E241D; }
}

/* The title and download controls share the left edge on wide screens. */
#get { scroll-margin-top: 140px; }
.hero-split { display: flex; flex-direction: column; align-items: flex-start; }
.hero-split .hero { width: 100%; margin: 0; text-align: left; align-items: flex-start; }
.hero-split .hero p { text-wrap: pretty; }
.hero-split .get small { text-align: left; }
.join-card { padding: 28px; border-radius: 4px; display: flex; flex-direction: column; gap: 20px; background: #120E0B; box-shadow: inset 0 0 0 1px #2E241D, 0 20px 50px rgba(0,0,0,.55); }
.join-title { margin: 0; text-wrap: balance; font: 700 24px/1.2 Cinzel, serif; letter-spacing: .02em; color: var(--bone-hi); }
.join-card .btn { width: 100%; min-height: 54px; margin-top: 6px; font-size: 19px; }
.join-card .field input { height: 48px; width: 100%; font-size: 17px; }
.join-card .center { text-align: left; }
.join-card .done { align-items: flex-start; text-align: left; padding: 0; }
.join-card .done .btn { margin-top: 10px; }
.pw { position: relative; }
.pw input { padding-right: 52px; }
.pw-show { position: absolute; top: 0; right: 0; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--quiet); cursor: pointer; }
.pw-show:hover, .pw-show[aria-pressed="true"] { color: var(--bone-hi); }
.pw-show:focus-visible { outline: 2px solid var(--field-focus); outline-offset: -2px; border-radius: 3px; }
.pw-slash { display: none; }
.pw-show[aria-pressed="true"] .pw-slash { display: inline; }
/* Keep the header in view on short desktop windows. */
@media (min-width: 1100px) {
  .top { --art: min(2400px, 100vw, max(1000px, calc((100vh - 580px) / .12))); --art-top: max(40px, min(calc(var(--art) * .26), calc(100vh - 580px))); }
  /* Lifted a little on a short window, so the content starts under the heroes' faces. */
  .top .bg { width: var(--art); top: max(-90px, min(0px, calc(var(--art-top) - var(--art) * .2))); }
  .top .shade { background: linear-gradient(180deg, rgba(13,11,10,0) calc(var(--art-top) + 20px), rgba(13,11,10,.55) calc(var(--art-top) + 240px), var(--ground) 100%),
    linear-gradient(180deg, rgba(13,11,10,.6) 0, rgba(13,11,10,0) 120px); }
  .top .wrap.hero-split { max-width: 1400px; }
  .top .hero-split .hero { max-width: none; padding-top: var(--art-top); padding-bottom: 24px; }
  .hero-split .hero h1 { font-size: clamp(44px, min(4.3vw, 8vh), 76px); }
  .join-card { padding: 24px 28px; gap: 16px; }
  .join-card .form { gap: 12px; }
  .join-card .field input { height: 44px; }
  .join-card .pw-show { width: 44px; height: 44px; }
  .join-card .btn { min-height: 50px; margin-top: 2px; }
  .join-card .done .btn { display: none; }
}
/* Center the title and download controls at tablet widths. */
@media (min-width: 641px) and (max-width: 1099.98px) {
  .top .hero { padding-top: calc(100vw * .46); }
  .hero-split { align-items: center; }
  .hero-split .hero { align-items: center; text-align: center; }
  .hero-split .get small { text-align: center; }
}
/* Full HD: the heroes' picture a little narrower than the screen (the user, 2026-11-08: "also little bit to wide on full-hd"). */
@media (min-width: 1700px) and (max-width: 1999.98px) {
  .top { --art: min(1700px, 100vw, max(1000px, calc((100vh - 580px) / .12))); }
  .top .hero-split .hero { padding-bottom: 88px; }
}
/* 2K and up: the block higher on the heroes and as wide as the screen allows (the user, 2026-11-08: "on 2k to low", "and to narrow"). */
@media (min-width: 2000px) {
  .top { --art: min(1960px, 100vw, max(1000px, calc((100vh - 580px) / .12))); --art-top: max(40px, min(calc(var(--art) * .19), calc(100vh - 660px))); }
  .top .wrap.hero-split { max-width: 1680px; }
  .top .hero-split .hero { padding-bottom: 88px; }
  .hero-split .hero h1 { font-size: clamp(76px, min(4.3vw, 8vh), 96px); }
  .hero-split .hero p { max-width: 860px; font-size: 22px; }
}
@media (max-width: 520px) { .join-card { padding: 22px 18px; } }

/* Account */
.account-page { padding: 40px 0; background: var(--panel); box-shadow: inset 0 1px 0 var(--edge), inset 0 -1px 0 var(--edge); }
.account-page .wrap { max-width: 560px; display: flex; flex-direction: column; gap: 20px; }
.intro { display: flex; flex-direction: column; gap: 10px; text-align: center; margin-bottom: 10px; }
.intro strong { font: 700 34px/1.2 Cinzel, serif; letter-spacing: .04em; color: var(--bone-hi); }
.intro span { font-size: 18px; }
.intro span { color: var(--label); }
.center { text-align: center; font-size: 15px; }
.line { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: baseline; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--line); }
.line > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 260px; }
.line .sub { font-size: 15px; color: var(--quiet); }
.done { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 8px 0; }
.done strong { color: var(--bone-hi); font-size: 19px; }
.danger { color: var(--danger); }

/* Updates */
#updates { padding: 56px 0 64px; }
#updates .wrap { max-width: 640px; }
.post { display: flex; flex-direction: column; padding: 28px 0; box-shadow: inset 0 -1px 0 var(--line); }
.post h3 { margin: 2px 0 8px; font: 700 20px/1.3 Cinzel, serif; color: var(--bone-hi); }
.post p { margin: 0; color: var(--label); }
.changes { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.changes b { display: inline-block; width: 76px; font: 700 13px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .06em; }
.k-New { color: #A8E89A; } .k-Fixed { color: #F2A094; } .k-Improved { color: #9CC6EE; }
.post > .link { align-self: flex-start; margin-top: 12px; font-size: 15px; }
.thread { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-left: 16px; box-shadow: inset 2px 0 0 #2B221B; }
.thread .who { color: var(--bone-hi); font-weight: 700; }
.thread .text { color: var(--label); white-space: pre-wrap; overflow-wrap: anywhere; }
.comment { display: flex; gap: 8px; }
.comment input { flex: 1; min-width: 0; height: 42px; }
.comment .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }

footer { padding: 52px 0 36px; box-shadow: inset 0 1px 0 var(--edge); }
footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.to-top { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #EBC79F; background: rgba(13,11,10,.55);
  box-shadow: inset 0 0 0 1px rgba(201,162,126,.22); transition: color .15s, box-shadow .15s; }
.to-top:hover { color: var(--bone-hi); box-shadow: inset 0 0 0 1px rgba(236,207,173,.55); }
.to-top:focus-visible { outline: 2px solid var(--field-focus); outline-offset: 2px; }
footer img { height: 52px; width: auto; opacity: .3; }
footer p { margin: 0 auto; max-width: 660px; text-align: center; font-size: 13px; line-height: 1.7; color: rgba(212,200,184,.5); }
/* The site's pages in one small-caps row, a hairline between each */
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; font: 700 13px/1.2 'Alegreya Sans SC', sans-serif; letter-spacing: .1em; }
.foot-links a { padding: 2px 16px; color: var(--label); text-decoration: none; transition: color .15s; }
.foot-links a + a { box-shadow: inset 1px 0 0 #3A2E25; }
.foot-links a:hover { color: var(--bone-hi); }
@media (max-width: 560px) { .foot-links { column-gap: 4px; } .foot-links a + a { box-shadow: none; } .foot-links a { padding: 2px 10px; } }
/* The Nostalgic.gg vote banner: its own colours, not the faded logo's; quiet until pointed at. */
/* The vote banner: to the account page's Vote tab, which puts his account on RaGEZONE's link. */
footer .vote { display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-radius: 8px;
  border: 1px solid transparent; text-align: left; text-decoration: none; transition: filter .15s;
  background: linear-gradient(180deg, #2A1512, #150B09) padding-box, linear-gradient(180deg, #8E3A2E, #4A231C 45%, #24130F) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.06), 0 10px 26px rgba(0,0,0,.4); }
footer .vote:hover, footer .vote:focus-visible { filter: brightness(1.18); }
footer .vote img { display: block; width: 64px; height: 64px; opacity: 1; border: 0; border-radius: 6px; flex: none; }
footer .vote > span { display: flex; flex-direction: column; gap: 2px; }
footer .vote b { font: 700 15px/1.3 'Alegreya Sans SC', sans-serif; letter-spacing: .08em; color: var(--bone-hi); }
footer .vote > span > span { font-size: 13px; color: #C9A27E; }
/* The site's languages (web/i18n.py), the one shown in full colour, under a hairline. */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; width: min(100%, 560px); padding-top: 20px;
  box-shadow: inset 0 1px 0 var(--edge); font-size: 13.5px; }
.langs a { color: var(--quiet); }
.langs a:hover { color: var(--bone); }
.langs a[aria-current] { color: var(--bone-hi); }
footer p.foot-legal { margin-top: -8px; font-size: 12px; color: rgba(143,133,117,.65); }
/* Cinzel has no Cyrillic and no Vietnamese: those pages set its headings in Alegreya SC. */
html:is([lang="ru"], [lang="vi"], [lang="el"]) :is(.h2, .hero h1, .tile h3, .tile-beta .big, .req h3,
  .intro strong, .join-title, .post h3, .page-title, .tp-card h2, .faq h2) { font-family: 'Alegreya SC', serif; }
/* Chinese: headings in Noto Serif SC, the rest in the system's own Chinese font. */
html[lang="zh-CN"] :is(.h2, .hero h1, .tile h3, .tile-beta .big, .req h3,
  .intro strong, .join-title, .post h3, .page-title, .tp-card h2, .faq h2, .acct-stat b, .acct-region-head b, .acct-who b, .acct-level b, .acct-box h2) {
  font-family: 'Noto Serif SC', 'Songti SC', serif; letter-spacing: .04em; }
html[lang="zh-CN"] body { font-family: 'Alegreya Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }

@media (max-width: 700px) {
  .intro strong { font-size: 27px; }
  .track { height: auto; aspect-ratio: 16 / 7.8; }
  .slide { width: 84%; }
  .nav { display: none; }
}

/* The account page */
.account-page { min-height: calc(100vh - 84px - 220px); padding: 48px 0 64px; }
.page-title { margin: 0 0 8px; font: 700 34px/1.2 Cinzel, serif; letter-spacing: .04em; color: var(--bone-hi); text-align: center; }
/* The Account page signed in: the name and three counts, a row of tabs, and a panel or more a tab. */
.bar .bar-out { font-weight: 500; }
.acct { padding-top: 28px; background: radial-gradient(60% 420px at 50% 0%, rgba(194,54,43,.12), rgba(194,54,43,0) 70%), var(--panel); }
.acct-cap { font: 700 12px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #A88A6E; }
.acct-head { max-width: 880px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.acct-head .page-title { margin: 0; font-size: clamp(32px, 5vw, 44px); overflow-wrap: anywhere; }
.acct-head > .muted { font-size: 16px; overflow-wrap: anywhere; }
.acct-panel { border: 1px solid transparent; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #1C1410, #110C0A) padding-box, linear-gradient(180deg, #5A4636, #33271F 40%, #1E1712) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.05), 0 18px 44px rgba(0,0,0,.45); }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 520px; margin-top: 18px; }
.acct-stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 8px; border-radius: 8px; border: 1px solid transparent;
  background: linear-gradient(180deg, #1C1410, #110C0A) padding-box, linear-gradient(180deg, #5A4636, #33271F 40%, #1E1712) border-box; }
.acct-stat b { font: 700 26px/1.1 Cinzel, serif; color: #F6E7D0; }
.acct-stat span { font: 700 12px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #A88A6E; }
.acct-admin { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; }
.acct-chip { padding: 5px 12px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(201,162,126,.28); }
.acct-chip:hover { box-shadow: inset 0 0 0 1px rgba(236,207,173,.55); }
.acct-tabs { max-width: 880px; margin: 24px auto 0; padding: 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px;
  box-shadow: inset 0 -1px 0 #2A211A; }
.acct-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 700 16px/1 'Alegreya Sans SC', sans-serif; letter-spacing: .06em; color: var(--quiet); }
.acct-tab:hover { color: var(--bone-hi); }
.acct-tab[aria-selected="true"] { color: var(--bone-hi); box-shadow: inset 0 -2px 0 #C2362B; }
.acct-tab:focus-visible { outline: 2px solid var(--field-focus); outline-offset: -2px; }
.acct-tab[data-n]::after { content: attr(data-n); min-width: 20px; padding: 3px 6px; border-radius: 999px; background: #1E1712;
  font: 700 12px/1 'Alegreya Sans', sans-serif; letter-spacing: 0; color: #A88A6E; text-align: center; }
.acct-body { max-width: 880px; margin: 0 auto; padding: 32px 16px 0; }
.acct-pane { display: flex; flex-direction: column; gap: 24px; }
.acct-pane:empty { display: none; }
.acct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 22px; box-shadow: inset 0 -1px 0 #2A211A; }
.acct-row:last-child, .acct-char:last-child, .acct-char .acct-row { box-shadow: none; }
.acct-row .sub { font-size: 14px; color: var(--quiet); }
.acct-grow { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.acct-row-head { background: rgba(5,3,3,.35); padding-top: 10px; padding-bottom: 10px; }
.acct-end { margin-left: auto; }
.acct-note { margin: 0; text-align: center; font-size: 15px; color: var(--quiet); }
/* The /vote page's pieces: the pill, the note, the claim, the coin, how it works. */
.vote-pill { padding: 6px 12px; border-radius: 999px; font: 700 13px/1.2 'Alegreya Sans', sans-serif; white-space: nowrap; }
.vote-pill.todo { color: #E8C9A0; background: rgba(201,162,126,.12); box-shadow: inset 0 0 0 1px rgba(201,162,126,.3); }
.vote-pill.ok { color: #A8E89A; background: rgba(36,64,28,.45); box-shadow: inset 0 0 0 1px rgba(127,214,106,.3); }
.vote-pill.bad { color: #fff; background: #9C2B22; }
.vote-coin { width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px #8A6420, inset 0 -3px 0 rgba(0,0,0,.25), 0 4px 10px rgba(0,0,0,.45);
  background: radial-gradient(circle at 35% 30%, #FFF0B8, #E7B94C 45%, #A87A22 100%); }
.vote-note { padding: 10px 14px; border-radius: 6px; font-size: 15px; color: #E8D9C2; background: rgba(201,162,126,.09); box-shadow: inset 0 0 0 1px rgba(201,162,126,.22); }
.vote-note.bad { color: #fff; background: rgba(156,43,34,.55); }
.vote-claim { font-size: 15px; color: var(--quiet); text-decoration: underline; }
.vote-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: how; }
.vote-how li { counter-increment: how; display: flex; flex-direction: column; gap: 2px; padding-left: 40px; position: relative; font-size: 14px; color: var(--quiet); }
.vote-how li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font: 700 14px/1 Cinzel, serif; color: var(--bone-hi); box-shadow: inset 0 0 0 1px rgba(201,162,126,.4); }
.vote-how b { color: #E8D9C2; font-size: 15px; }
/* The /vote page and its Vote link in the bar. */
.bar-vote { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 19px; font-size: 16px; font-weight: 700;
  color: #F6E7D0; background: linear-gradient(180deg, #8E2A21, #5E1A14); box-shadow: inset 0 1px 0 rgba(255,220,200,.18), 0 6px 16px rgba(0,0,0,.35); }
.bar-vote:hover { filter: brightness(1.15); }
.vote-page { display: flex; flex-direction: column; gap: 32px; }
/* Its featured banner: the front page's art faded into the page, the reward as glowing tiles, one call. */
.vote-main { padding-bottom: 64px; }
/* Not overflow: hidden: the bar's language menu drops out of it. The art is held to the banner by its own height. */
.vote-feature { position: relative; padding: 0 0 32px; margin-bottom: 24px;
  box-shadow: inset 0 -1px 0 var(--edge); }
.vote-feature-art { position: absolute; inset: 0 0 auto; height: min(430px, 100%); overflow: hidden; background: url(assets/emberfront.webp) center 25% / cover no-repeat; opacity: .5; }
/* The bar over the art, as the front page's: a shade under it so its links read. */
.vote-feature > .bar { z-index: 6; background: linear-gradient(180deg, rgba(13,11,10,.75), rgba(13,11,10,0)); margin-bottom: 8px; }
.vote-feature-art::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 40%, rgba(13,11,10,.35), rgba(13,11,10,.92) 75%), linear-gradient(180deg, rgba(13,11,10,.2), var(--ground) 96%); }
.vote-feature-in { position: relative; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.vote-eyebrow { font: 700 13px/1.4 'Alegreya Sans SC', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: #E0B57A; }
.vote-feature h1 { margin: 0; font: 700 clamp(30px, 5vw, 48px)/1.1 Cinzel, serif; letter-spacing: .03em; color: #F6E7D0; text-shadow: 0 4px 30px rgba(0,0,0,.7); }
.vote-lead { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.5; color: #E8D9C2; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.vote-tiles { list-style: none; margin: 8px 0 4px; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.vote-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 12px; border-radius: 10px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(36,26,20,.92), rgba(17,12,10,.94)) padding-box, linear-gradient(180deg, #7A5E44, #3A2C22 60%, #241A14) border-box;
  box-shadow: inset 0 1px 0 rgba(255,236,210,.07), 0 18px 40px rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.vote-tile-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 4px;
  background: radial-gradient(circle, rgba(232,190,120,.22), rgba(232,190,120,0) 68%); }
.vote-tile-icon img { width: 44px; height: 44px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.vote-tile .vote-coin { width: 38px; height: 38px; }
.vote-tile b { font: 700 22px/1 Cinzel, serif; color: #F6E7D0; }
.vote-tile > span:last-child { font-size: 14px; line-height: 1.25; color: #C9B8A0; }
.vote-tile-zen { background: linear-gradient(180deg, rgba(58,40,16,.94), rgba(24,16,8,.95)) padding-box, linear-gradient(180deg, #E7B94C, #8A6420 55%, #3A2A10) border-box; }
.vote-tile-zen b { color: #FFE3A0; }
.vote-tile-rare { background: linear-gradient(180deg, rgba(30,30,44,.94), rgba(14,12,20,.95)) padding-box, linear-gradient(180deg, #A9A6D8, #55527A 55%, #24223A) border-box; }
.vote-tile-rare .vote-tile-icon { background: radial-gradient(circle, rgba(170,166,230,.28), rgba(170,166,230,0) 68%); }
.vote-tile-rare em { font-style: normal; color: #B9B5F0; }
.vote-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.vote-go { min-height: 54px; padding: 0 44px; font-size: 18px; box-shadow: 0 0 0 1px rgba(224,90,74,.25), 0 14px 40px rgba(194,54,43,.35); }
.vote-cap { font-size: 14px; color: var(--quiet); }
.vote-feature .vote-note { max-width: 560px; }
@media (max-width: 860px) { .vote-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 420px) { .vote-tile b { font-size: 20px; } }
.vote-faq .vote-how { grid-template-columns: 1fr; }
/* Not the text page's diamond bullets: the steps are numbered. */
.vote-page .vote-how li { padding-left: 40px; font-size: 15px; line-height: 1.5; }
.vote-page .vote-how li::before { content: counter(how); left: 0; top: 0; width: 28px; height: 28px; background: none; transform: none; }
.vote-faq p { margin: 0 0 10px; }
@media (max-width: 720px) {
  .bar-vote { height: 34px; padding: 0 12px; }
  .vote-how { grid-template-columns: 1fr; }
}
/* A region's panel: its name over its characters, the strongest first. */
.acct-region-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 14px 22px; background: rgba(5,3,3,.35); box-shadow: inset 0 -1px 0 #2E241D; }
.acct-region-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); }
.acct-region-head b { font: 700 17px/1.3 Cinzel, serif; color: var(--bone-hi); }
.acct-region-head .sub { font-size: 14px; color: var(--quiet); }
.acct-char { box-shadow: inset 0 -1px 0 #2A211A; }
.acct-char .acct-row { padding-top: 16px; padding-bottom: 16px; }
.acct-badge { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 700 15px/1 Cinzel, serif; color: #ECCFAD; background: radial-gradient(circle at 50% 30%, #3A2B20, #140F0C); box-shadow: inset 0 0 0 1px #5A4636; }
.acct-char .acct-grow { flex-basis: 160px; }
.acct-who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.acct-who b { font: 700 18px/1.3 Cinzel, serif; color: var(--bone-hi); }
.acct-live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #A8E89A; }
.acct-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.acct-level { flex: 0 0 64px; display: flex; flex-direction: column; align-items: flex-end; }
.acct-level b { font: 700 22px/1 Cinzel, serif; color: #F6E7D0; }
.acct-level span { font: 700 11px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #A88A6E; }
.acct-act { flex: 0 0 150px; display: flex; justify-content: flex-end; text-align: right; }
.btn.acct-small { min-height: 38px; padding: 0 14px; font-size: 15px; }
/* The Move form under its character. */
.acct-move { margin: 0 22px 20px; padding: 20px 22px; border-radius: 6px; background: #0B0807; box-shadow: inset 0 0 0 1px #2E241D;
  display: flex; flex-direction: column; gap: 16px; }
.acct-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.acct-region { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 4px; border: 1px solid #2E241D; background: #0B0807;
  color: var(--bone); font: inherit; text-align: left; cursor: pointer; }
.acct-region b { color: var(--bone-hi); }
.acct-region .sub { font-size: 14px; color: var(--quiet); }
.acct-region:hover { border-color: #5A4636; }
.acct-region[aria-pressed="true"] { border-color: #C2362B; box-shadow: inset 0 0 0 1px #C2362B; }
.acct-region:focus-visible { outline: 2px solid var(--field-focus); outline-offset: 2px; }
.acct-move-mid { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; }
.acct-move-mid .field { flex: 0 1 240px; }
.acct-terms { flex: 1 1 260px; margin: 0; padding: 0 0 4px; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; font-size: 14px; }
.acct-terms .yes { color: var(--label); }
.acct-terms .yes::before { content: "✓ "; color: var(--live); }
.acct-terms .no { color: var(--quiet); }
.acct-terms .no::before { content: "✕ "; }
.acct-move-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
/* A move under way: Asked, Handed over, Arrived. */
.acct-transit { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.acct-transit .sub { font-size: 14px; color: var(--quiet); }
.acct-transit-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 12px; }
.acct-transit-top b { color: var(--bone-hi); }
.acct-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 14px; color: var(--quiet); }
.acct-steps > div { display: flex; flex-direction: column; gap: 6px; }
.acct-steps i { height: 4px; border-radius: 2px; background: #2E241D; }
.acct-steps .on { color: var(--bone); }
.acct-steps .on i { background: #C2362B; }
.acct-steps .next i { background: linear-gradient(90deg, #C2362B, #2E241D); background-size: 200% 100%; animation: acct-wait 1.6s ease-in-out infinite alternate; }
@keyframes acct-wait { from { background-position: 100% 0; } to { background-position: 30% 0; } }
@media (prefers-reduced-motion: reduce) { .acct-steps .next i { animation: none; } }
.acct-held { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acct-held input { height: 38px; width: 160px; padding: 0 10px; border: 1px solid var(--field-edge); border-radius: 3px; background: var(--field); color: var(--bone); font: inherit; font-size: 16px; }
/* Security: the two forms. */
.acct-box { padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.acct-box h2 { margin: 0; font: 700 19px/1.25 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); }
.acct-box h2.danger { color: var(--danger); }
.acct-box > .muted { font-size: 15px; }
.acct-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.acct-law { display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; max-width: 620px; margin: 28px auto 0; padding: 0 16px; }
.acct-law[hidden], .acct-stats[hidden], .acct-tab[hidden] { display: none; }
.acct-locked { padding: 20px 22px; border-radius: 8px; background: #9E2A1F; color: #fff; text-align: center; }
.acct-locked[hidden] { display: none; }
.acct-locked .acct-cap { color: #fff; }
.acct-locked h2 { margin: 4px 0 10px; font: 700 26px/1.2 Cinzel, serif; color: #fff; }
.acct-locked p { margin: 6px 0 0; font-size: 16px; overflow-wrap: anywhere; }
#a-warnings { display: flex; flex-direction: column; gap: 8px; }
#a-warnings:empty { display: none; }
.acct-warning { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 3px; background: #B4530F; color: #fff; font-size: 15px; overflow-wrap: anywhere; }
.acct-ok { padding: 10px 14px; border-radius: 3px; font-size: 15px; color: #A8E89A; background: rgba(36,64,28,.45); box-shadow: inset 0 0 0 1px rgba(127,214,106,.26); }
.btn-dark.acct-delete { color: var(--danger); }
@media (max-width: 600px) {
  .acct-row, .acct-region-head { padding-left: 16px; padding-right: 16px; }
  .acct-move { margin: 0 12px 16px; padding: 16px; }
  .acct-act { flex: 1 0 100%; justify-content: flex-start; padding-left: 62px; text-align: left; }
  .acct-box { padding: 20px 18px; }
  .acct-tabs { gap: 0 14px; padding: 0 8px; }
  .acct-tab { font-size: 14px; letter-spacing: .02em; gap: 5px; }
  .acct-tab[data-n]::after { min-width: 16px; padding: 2px 5px; }
}
html:is([lang="ru"], [lang="vi"], [lang="el"]) :is(.acct-stat b, .acct-region-head b, .acct-who b, .acct-level b, .acct-box h2) { font-family: 'Alegreya SC', serif; }

/* The text pages (Privacy, Contact, Mac, Linux): a header with a rule under it, then panels */
.text-main { padding: 56px 0 72px; }
.account-page .wrap.text-page { max-width: 760px; gap: 14px; }
.tp-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 18px; text-align: center; }
.tp-head .page-title { margin: 0; font-size: clamp(30px, 5vw, 40px); }
.tp-head .page-title::after { content: ""; display: block; width: 132px; height: 10px; margin: 16px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='10'%3E%3Cdefs%3E%3ClinearGradient id='l'%3E%3Cstop offset='0' stop-color='%236E5640' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%236E5640'/%3E%3C/linearGradient%3E%3ClinearGradient id='r'%3E%3Cstop offset='0' stop-color='%236E5640'/%3E%3Cstop offset='1' stop-color='%236E5640' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='4.5' width='56' height='1' fill='url(%23l)'/%3E%3Crect x='76' y='4.5' width='56' height='1' fill='url(%23r)'/%3E%3Crect x='62' y='1' width='8' height='8' fill='none' stroke='%23A88A6E' transform='rotate(45 66 5)'/%3E%3C/svg%3E") no-repeat; }
.tp-lead { margin: 0; max-width: 600px; font-size: 18.5px; line-height: 1.55; color: var(--label); }
.tp-date { margin: 0; font: 700 12px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--quiet); }
.text-page p, .text-page ul { margin: 0; }
.text-page p, .text-page li { font-size: 16.5px; line-height: 1.65; color: var(--label); }
.text-page b { color: var(--bone-hi); font-weight: 500; }
.text-page a { color: #E2BC8E; text-underline-offset: 3px; text-decoration-color: rgba(226,188,142,.45); transition: color .15s; }
.text-page a:hover { color: var(--bone-hi); text-decoration-color: currentColor; }
.text-page ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.text-page li { position: relative; padding-left: 20px; }
.text-page li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; background: #A88A6E; transform: rotate(45deg); }
.tp-card { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 26px; border: 1px solid #2A211A; border-radius: 8px;
  background: linear-gradient(180deg, rgba(243,232,212,.025), rgba(243,232,212,0) 60%), #0E0A08; }
.tp-card h2, .faq h2 { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 19px/1.3 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); }
.tp-icon { flex: none; color: #C9A27E; }
.tp-key { border-color: #4A3828; box-shadow: 0 0 0 1px rgba(201,162,126,.08), 0 18px 40px -24px rgba(201,162,126,.35); }
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.platform-shot { display: block; width: 100%; max-width: 100%; height: auto; margin: 4px 0; border-radius: 8px; border: 1px solid #2A211A; }
.text-page code.line { display: block; padding: 12px 14px; border: 1px solid #2E241D; border-radius: 6px; background: #070504;
  color: var(--bone-hi); font: 14px/1.55 ui-monospace, Menlo, monospace; word-break: break-all; user-select: all; }
.tp-grid .tp-card h2 { font-size: 17px; }
.req-more { margin-top: auto; font-size: 15px; color: var(--label); text-decoration: underline; }
.tp-more { margin-top: 10px !important; text-align: center; font-size: 15.5px !important; }
/* A page's questions: each one a row that opens */
.faq { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.faq h2 { justify-content: center; }
.faq-list { border: 1px solid #2A211A; border-radius: 8px; background: #0E0A08; overflow: hidden; }
.faq-item + .faq-item { box-shadow: inset 0 1px 0 #2A211A; }
.faq-item summary { display: flex; align-items: center; gap: 14px; padding: 17px 24px; cursor: pointer; list-style: none; user-select: none;
  font-weight: 500; font-size: 17px; color: var(--bone); transition: color .15s, background .15s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-left: auto; border: solid #A88A6E; border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-2px, -1px); }
.faq-item summary:hover { color: var(--bone-hi); background: rgba(243,232,212,.025); }
.faq-item summary:focus-visible { outline: 1px solid var(--field-focus); outline-offset: -3px; }
.faq-item[open] summary { color: var(--bone-hi); }
.faq-item > p { padding: 0 24px 20px; }
@media (max-width: 640px) {
  .text-main { padding: 40px 0 56px; }
  .tp-grid { grid-template-columns: 1fr; }
  .tp-card { padding: 20px 20px 22px; }
  .faq-item summary { padding: 15px 18px; }
  .faq-item > p { padding: 0 18px 18px; }
}
.signed-note { text-align: center; font-size: 16px; color: var(--label); }
/* The /donate page: a short banner, the account page's tabs, and one pane at a time. */
.don-hero { padding-bottom: 8px; }
.don-hero .vote-lead { max-width: 520px; }
.don-tabs { margin-top: 0; }
.don-body { max-width: 880px; padding: 28px 16px 0; display: flex; flex-direction: column; gap: 20px; }
.don-note { text-align: center; }
.don-note.ok { color: #CFF2C4; background: rgba(36,64,28,.45); box-shadow: inset 0 0 0 1px rgba(127,214,106,.3); }
.don-pane { display: flex; flex-direction: column; gap: 18px; }
.don-pane[hidden] { display: none; }
.don-h { margin: 0; font: 700 22px/1.2 Cinzel, serif; color: #F6E7D0; text-align: center; }
.don-sub { margin: -8px auto 0; max-width: 560px; text-align: center; color: var(--quiet); font-size: 15.5px; line-height: 1.5; }
.don-packs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.don-pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 24px 10px 0; border-radius: 10px; cursor: pointer; overflow: hidden;
  background: #15100D; box-shadow: inset 0 0 0 1px #2E241C; color: var(--quiet); transition: transform .12s, box-shadow .12s, background .12s; user-select: none; }
.don-pack:hover { box-shadow: inset 0 0 0 1px rgba(201,162,126,.5); transform: translateY(-2px); }
.don-pack:focus-visible { outline: 2px solid var(--field-focus); outline-offset: 3px; }
.don-pack.on { background: linear-gradient(180deg, #4A1610, #1C0B08); box-shadow: inset 0 0 0 2px #C2362B, 0 10px 30px rgba(0,0,0,.5); }
.don-pack img { filter: drop-shadow(0 3px 8px rgba(0,0,0,.6)); margin-bottom: 4px; }
.don-pack b { font: 700 26px/1.1 Cinzel, serif; color: #F6E7D0; }
.don-unit { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.don-pack em { margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 700; color: #A8E89A; }
.don-pack em.none { visibility: hidden; }
.don-pack strong { align-self: stretch; margin-top: 14px; padding: 10px 0; text-align: center; font-size: 19px; color: #F6E7D0; background: rgba(0,0,0,.3); box-shadow: inset 0 1px 0 #2E241C; }
.don-pack.on strong { background: rgba(194,54,43,.32); box-shadow: inset 0 1px 0 rgba(194,54,43,.5); }
.don-flag { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 0 0 6px 6px; white-space: nowrap;
  font: 700 11px/1.3 'Alegreya Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #1A0F08; background: linear-gradient(#F2CF7E, #C99A3E); }
.don-pay { border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #181210, #110D0A); box-shadow: inset 0 0 0 1px #2E241C, 0 12px 30px rgba(0,0,0,.35); }
.don-pay-main { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 24px; flex-wrap: wrap; }
.don-pay-sum { display: flex; align-items: center; gap: 14px; min-width: 0; }
.don-pay-sum img { flex: none; filter: drop-shadow(0 3px 8px rgba(0,0,0,.6)); }
.don-pay-sum div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.don-pay-sum b { font: 700 24px/1.15 Cinzel, serif; color: #F6E7D0; }
.don-pay-sum span { font-size: 14.5px; color: var(--quiet); }
.don-pay-act { display: flex; align-items: center; gap: 20px; }
.don-total { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.don-total small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
.don-total b { font: 700 26px/1.1 Cinzel, serif; color: #F6E7D0; }
.don-go { min-width: 200px; }
.don-pay-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 24px;
  background: rgba(0,0,0,.25); box-shadow: inset 0 1px 0 #2A211A; font-size: 13px; color: var(--quiet); }
.don-coins { display: flex; flex-wrap: wrap; gap: 6px; }
.don-coins i { font-style: normal; padding: 3px 9px; border-radius: 999px; color: #D8C6AC; background: rgba(201,162,126,.08); box-shadow: inset 0 0 0 1px rgba(201,162,126,.18); }
.don-safe { display: inline-flex; align-items: center; gap: 6px; }
.don-safe svg { color: #A8E89A; }
.don-center { align-self: center; }
.don-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.don-steps li { counter-increment: step; position: relative; padding-left: 38px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; color: var(--quiet); }
.don-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 13px/1 Cinzel, serif; color: var(--bone-hi); box-shadow: inset 0 0 0 1px rgba(201,162,126,.4); }
.don-steps b { color: #E8D9C2; font-size: 15px; }
.don-list { list-style: none; margin: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #120E0B; box-shadow: inset 0 0 0 1px #2A211A; }
.don-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; box-shadow: inset 0 -1px 0 #2A211A; }
.don-row:last-child { box-shadow: none; }
.don-row.just { background: rgba(194,54,43,.1); }
.don-what { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.don-what b { color: #F6E7D0; font-size: 16px; }
.don-what span { color: var(--quiet); font-size: 14px; }
.don-state { flex: none; padding: 4px 11px; border-radius: 999px; font-style: normal; font-size: 13px; font-weight: 700; color: #E8C9A0; background: rgba(201,162,126,.12); }
.don-state.wait { color: #F2CF7E; background: rgba(201,154,62,.16); }
.don-state.ok { color: #A8E89A; background: rgba(36,64,28,.45); }
.don-state.off { color: var(--quiet); background: rgba(255,255,255,.05); }
.don-state.bad { color: #fff; background: #9C2B22; }
.don-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px; text-align: center; color: var(--quiet); }
.don-empty p { margin: 0; }
.don-empty .link { color: #E8C9A0; text-decoration: underline; }
.don-faq { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #120E0B; box-shadow: inset 0 0 0 1px #2A211A; }
.don-faq details { box-shadow: inset 0 -1px 0 #2A211A; }
.don-faq details:last-child { box-shadow: none; }
.don-faq summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 18px; position: relative; font-weight: 700; font-size: 16px; color: #E8D9C2; }
.don-faq summary::-webkit-details-marker { display: none; }
.don-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 22px/1 'Alegreya Sans', sans-serif; color: var(--quiet); }
.don-faq details[open] summary::after { content: "–"; }
.don-faq summary:hover { color: #F6E7D0; }
.don-faq summary:focus-visible { outline: 2px solid var(--field-focus); outline-offset: -2px; }
.don-faq p { margin: 0; padding: 0 18px 16px; color: var(--quiet); font-size: 15.5px; line-height: 1.55; }
.don-faq a { color: #E8C9A0; text-decoration: underline; }
@media (max-width: 720px) {
  .don-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .don-steps { grid-template-columns: 1fr; }
  .don-pay-main { padding: 18px; }
  .don-pay-act { width: 100%; justify-content: space-between; }
  .don-go { min-width: 0; flex: 1; }
  .don-pay-foot { padding: 12px 18px; justify-content: center; }
}
/* Vote, Donate and Discord in the bar: one cluster of pills, the same height, type and padding, each
   label centred on the pill's middle (line-height 1, and 3px on top: Alegreya Sans' capitals sit high in its box). Red to act, gold to give,
   quiet for Discord. */
.bar-links > .bar-vote, .bar-links > .bar-donate, .bar-links > .bar-qq {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; height: 38px; padding: 3px 17px 0;
  border-radius: 19px; font: 700 15px/1 'Alegreya Sans', sans-serif; letter-spacing: .02em; white-space: nowrap; text-decoration: none;
  transition: background .15s, box-shadow .15s, color .15s, filter .15s; }
.bar-links > .bar-donate { color: #F2CF7E; background: rgba(13,11,10,.55); box-shadow: inset 0 0 0 1px rgba(242,207,126,.55); }
.bar-links > .bar-donate:hover { color: #FFE3A3; background: rgba(242,207,126,.1); box-shadow: inset 0 0 0 1px rgba(242,207,126,.85); }
.bar-links > .bar-qq { padding: 3px 17px 0 14px; font-weight: 600; color: #E8D9C2; }
/* The icon on the pill's true middle, not on the text's nudge. */
.bar-links > .bar-qq svg { flex: none; margin-top: -3px; }
.bar-links > .bar-vote + .bar-donate, .bar-links > .bar-donate + .bar-qq, .bar-links > .bar-vote + .bar-qq { margin-left: 2px; }
.bar-donate[hidden] { display: none !important; }
@media (max-width: 720px) {
  .bar-links > .bar-vote, .bar-links > .bar-donate, .bar-links > .bar-qq { height: 34px; padding: 3px 13px 0; font-size: 14px; }
  .bar-links > .bar-qq { padding: 3px 11px 0; }
}
@media (max-width: 420px) {
  .bar-links > .bar-qq { padding: 3px 8px 0; gap: 4px; }
  .bar-links > .bar-qq svg { width: 16px; height: 16px; }
}
/* The donate page's checkout: the QR beside the sum and address, its time and state under them. */
.don-checkout { display: flex; flex-direction: column; gap: 16px; }
.don-checkout[hidden], #don-shop[hidden] { display: none; }
#don-shop { display: flex; flex-direction: column; gap: 18px; }
.don-co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.don-back { color: var(--quiet); font-size: 15px; }
.don-back:hover { color: #E8D9C2; }
.don-co-for { font: 700 18px/1.2 Cinzel, serif; color: #F6E7D0; }
.don-co-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; border-radius: 12px;
  background: linear-gradient(180deg, #181210, #110D0A); box-shadow: inset 0 0 0 1px #2E241C, 0 12px 30px rgba(0,0,0,.35); }
.don-qr { width: 240px; aspect-ratio: 1; padding: 0; border-radius: 10px; overflow: hidden; background: #fff; }
.don-qr svg { display: block; width: 100%; height: 100%; }
.don-co-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.don-co-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--quiet); }
.don-co-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-width: 0; }
.don-co-amount { font: 700 26px/1.2 Cinzel, serif; color: #F6E7D0; }
.don-co-addr { flex: 1; min-width: 0; font: 500 14.5px/1.45 ui-monospace, Menlo, monospace; color: #E8D9C2; word-break: break-all;
  padding: 8px 10px; border-radius: 6px; background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px #2A211A; }
.don-copy { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; cursor: pointer; font: 700 14px/1 'Alegreya Sans', sans-serif;
  color: #E8D9C2; background: rgba(201,162,126,.12); box-shadow: inset 0 0 0 1px rgba(201,162,126,.3); }
.don-copy:hover { background: rgba(201,162,126,.2); }
.don-copy.done { color: #A8E89A; box-shadow: inset 0 0 0 1px rgba(127,214,106,.5); }
.don-co-open { align-self: flex-start; margin-top: 4px; }
.don-co-warn { margin: 6px 0 0; font-size: 13.5px; color: var(--quiet); }
.don-co-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-radius: 10px; font-size: 15.5px; color: #E8D9C2;
  background: rgba(201,162,126,.08); box-shadow: inset 0 0 0 1px rgba(201,162,126,.2); }
.don-co-status.ok { color: #CFF2C4; background: rgba(36,64,28,.45); box-shadow: inset 0 0 0 1px rgba(127,214,106,.3); }
.don-co-status.bad { color: #fff; background: rgba(156,43,34,.55); box-shadow: none; }
.don-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #F2CF7E; animation: don-pulse 1.4s ease-in-out infinite; }
.don-co-status.ok .don-dot { background: #7FD66A; animation: none; }
.don-co-status.bad .don-dot { background: #fff; animation: none; }
@keyframes don-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .don-dot { animation: none; } }
.don-co-time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--quiet); }
.don-checkout.done .don-co-body { opacity: .55; }
.don-resume { flex: none; color: #E8C9A0; text-decoration: underline; font-size: 15px; }
@media (max-width: 720px) {
  .don-co-body { grid-template-columns: 1fr; justify-items: center; padding: 18px; gap: 18px; }
  .don-qr { width: min(260px, 100%); }
  .don-co-info { width: 100%; }
  .don-co-open { align-self: stretch; }
  .don-co-time { margin-left: 0; }
}
/* Compact spacing for the header controls on phones. */
@media (max-width: 480px) {
  .bar-links { gap: 4px; }
  .bar-links > a:not(.bar-vote):not(.bar-donate):not(.bar-qq) { padding: 0 8px; }
}
/* Cancelling an unpaid donation: quiet, beside Pay and in the checkout's head. */
.don-cancel { flex: none; color: var(--quiet); text-decoration: underline; font-size: 15px; }
.don-cancel:hover { color: #FF8A7A; }
.don-cancel[hidden] { display: none; }
.don-co-head .don-co-for { margin-left: auto; }

/* The podium (the user, 2026-11-18: "use special styling for top 3"): each card in its place's metal -- an edge struck
   as the badges are, the light behind the hero in the metal's hue, a faint halo round the card (gold's the strongest)
   and the name written in the metal. On the Hardcore tab they keep their metal over its red. */
.leader:nth-child(1) { --edge: linear-gradient(160deg, #FFF3CC 0%, #E9C766 22%, #8A6424 50%, #F4D88A 75%, #B0832A 100%); --glow: 233, 199, 102; --halo: .2; }
.leader:nth-child(2) { --edge: linear-gradient(160deg, #FFFFFF 0%, #D8DDE2 22%, #6E767E 50%, #EEF1F4 75%, #959DA5 100%); --glow: 200, 214, 228; --halo: .12; }
.leader:nth-child(3) { --edge: linear-gradient(160deg, #FFE0BF 0%, #D9975C 22%, #6E3C18 50%, #EAB27E 75%, #8F5226 100%); --glow: 217, 151, 92; --halo: .14; }
.leader:nth-child(-n+3) { border-color: transparent;
  background: linear-gradient(#17120F, #0F0C0A) padding-box, var(--edge) border-box;
  box-shadow: 0 10px 26px rgba(0,0,0,.5), 0 0 18px rgba(var(--glow), var(--halo)); }
.leader:nth-child(-n+3) .fig { background: radial-gradient(closest-side at 50% 60%, rgba(var(--glow), .22), rgba(var(--glow), 0)); }
.leader:nth-child(-n+3) .info { border-top-color: rgba(var(--glow), .18); }
.leader:nth-child(-n+3) .name { background: var(--edge); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.7)); }
.leaders.hc .leader:nth-child(-n+3) { border-color: transparent; background: linear-gradient(#1A0F0D, #0F0A09) padding-box, var(--edge) border-box;
  box-shadow: 0 10px 26px rgba(0,0,0,.5), 0 0 18px rgba(var(--glow), var(--halo)); }
/* The podium on Hardcore (the user, 2026-11-18: "for HC top 3 missing special effects"): its metal's light behind the
   hero over the tab's red, and its metal on the divider, as on Standard. */
.leaders.hc .leader:nth-child(-n+3) .fig { background: radial-gradient(closest-side at 50% 60%, rgba(var(--glow), .2), rgba(var(--glow), 0)),
  radial-gradient(closest-side at 50% 58%, rgba(255,40,24,.14), rgba(255,40,24,0)); }
.leaders.hc .leader:nth-child(-n+3) .info { border-top-color: rgba(var(--glow), .18); }
/* Under the mouse every card is the same, the podium's too (the user, 2026-11-18: "all hover for char cards has to be
   same"): the one gold edge and lit backdrop, the Hardcore tab's red one. */
@media (hover: hover) and (pointer: fine) {
  .leader:nth-child(-n+3):hover { border-color: transparent;
    background: linear-gradient(#151110, #0F0C0A) padding-box,
                linear-gradient(155deg, #F7E7B0 0%, #D4AF5A 18%, #8A6424 38%, #E9CB7A 58%, #A67C2E 78%, #F3DC94 100%) border-box;
    box-shadow: 0 14px 30px rgba(0,0,0,.55), 0 0 10px rgba(230,186,96,.16), 0 0 1px rgba(247,231,176,.35); }
  .leader:nth-child(-n+3):hover .fig { background: radial-gradient(closest-side at 50% 58%, rgba(201,162,126,.26), rgba(201,162,126,0)); }
  .leaders.hc .leader:nth-child(-n+3):hover {
    background: linear-gradient(#1A0F0D, #0F0A09) padding-box,
                linear-gradient(155deg, #FF9A86 0%, #D9382A 22%, #6E120B 45%, #E2503E 65%, #8C1A10 82%, #FF8A72 100%) border-box;
    box-shadow: 0 14px 30px rgba(0,0,0,.55), 0 0 12px rgba(255,40,24,.2); }
  .leaders.hc .leader:nth-child(-n+3):hover .fig { background: radial-gradient(closest-side at 50% 58%, rgba(255,40,24,.3), rgba(255,40,24,0)); }
}

/* The place in a circle (the user, 2026-11-18: "use cirlcle for place"): every hero's and every guild's. */
.leader .rank { width: 30px; min-width: 30px; height: 30px; padding: 0; border-radius: 50%; }
.leader:nth-child(-n+5) .rank { width: 30px; min-width: 30px; height: 30px; padding: 0; border-radius: 50%; }
.guild .place { width: 30px; min-width: 30px; height: 30px; padding: 0; border-radius: 50%; bottom: -17px; }

/* Phones (the user, 2026-11-19: "mobile looks broken", then "more compact"): each guild one slim row -- its mark small
   with its place, its name over its region, then its points and its members by a person glyph; no labels, no founder. */
@media (max-width: 760px) {
  .guilds { gap: 8px; margin-top: 28px; }
  .guild-list, .guilds .guild-list { gap: 0; }
  .guild { flex-direction: row; align-items: center; gap: 10px; padding: 6px 2px; }
  .guild:hover { transform: none; }
  .guild .head { flex: 1; justify-content: flex-start; gap: 10px; }
  .guild .mark { width: 34px; height: 34px; padding: 3px; margin-bottom: 0; border-radius: 4px; }
  .guild .mark.blank { font-size: 16px; }
  .guild .place { width: 18px; min-width: 18px; height: 18px; bottom: -7px; font-size: 10px; }
  .guild .who { gap: 0; }
  .guild .name { font-size: 15px; }
  .guild .region { font-size: 12px; gap: 4px; }
  .guild .region svg { width: 11px; height: 11px; }
  .guild .stats { flex: none; gap: 12px; align-items: center; }
  .guild .stat span { display: none; }
  .guild .stat b { font-size: 15px; }
  .guild .stat:not(.points) { flex-direction: row; align-items: center; gap: 4px; min-width: 34px; justify-content: flex-end; }
  .guild .stat:not(.points)::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--quiet);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128 136a52 52 0 1 0-52-52 52 52 0 0 0 52 52Zm0 16c-46 0-84 26-92 62a8 8 0 0 0 8 10h168a8 8 0 0 0 8-10c-8-36-46-62-92-62Z'/%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 256 256'%3E%3Cpath d='M128 136a52 52 0 1 0-52-52 52 52 0 0 0 52 52Zm0 16c-46 0-84 26-92 62a8 8 0 0 0 8 10h168a8 8 0 0 0 8-10c-8-36-46-62-92-62Z'/%3E%3C/svg%3E") center / contain no-repeat; }
  .guild .stat:not(.points) b { font-size: 13px; color: var(--bone); }
  .guild .foot { display: none; }
  .guild.hc { background: linear-gradient(90deg, rgba(255,40,24,.08), rgba(255,40,24,0) 70%); }
  .guild .hc-tag { padding: 1px 5px 1px 4px; font-size: 9px; }
  .guild + .guild::before, .guilds .guild + .guild:nth-child(5n+1)::before { display: block; left: 0; right: 0; top: 0; }
}

/* The big blocks come in as they are scrolled to (the user, 2026-11-19: "when scroll on big blocks add some nice
   animations"): a band's picture fades up and settles from a slight zoom, drifting in from its own side; then its
   words follow, the label, the title, the line, each feature a beat after the one before. The four "Why" tiles rise
   one after another. Only when the page's script set html.reveal (IntersectionObserver there, no reduced motion), so
   without it everything simply stands. */
html.reveal .band .band-bg { opacity: 0; transform: scale(1.07) translateX(-2.5%);
  transition: opacity 1.2s ease, transform 1.8s cubic-bezier(.16,.7,.2,1); }
html.reveal .band:nth-child(even) .band-bg { transform: scale(1.07) translateX(2.5%); }
html.reveal .band.shown .band-bg { opacity: 1; transform: none; }
html.reveal .band::before, html.reveal .band::after { opacity: 0; transition: opacity 1.4s ease .3s; }
html.reveal .band.shown::before, html.reveal .band.shown::after { opacity: 1; }
html.reveal .band .panel > *, html.reveal .band .slot { opacity: 0; transform: translateY(22px);
  transition: opacity .8s ease, transform 1s cubic-bezier(.16,.7,.2,1); transition-delay: calc(.25s + var(--i, 0) * .09s); }
html.reveal .band.shown .panel > *, html.reveal .band.shown .slot { opacity: 1; transform: none; }
html.reveal .why-top .tile { opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.16,.7,.2,1); transition-delay: calc(var(--i, 0) * .1s); }
html.reveal .why-top.shown .tile { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal .band .band-bg, html.reveal .band .panel > *, html.reveal .band .slot, html.reveal .why-top .tile,
  html.reveal .band::before, html.reveal .band::after { opacity: 1; transform: none; transition: none; }
}

/* An account's characters as the character select stands them (account.html renderCharacters): a card each, his hero
   breathing in his gear (leaders3d.js, the canvas over the class's picture until it is drawn), name, class and level on
   a plate under him, then where he is, his rebirths, Zen, hours and stats. */
.acct-heroes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; padding: 16px 22px 20px; }
.acct-hero { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #2A211A; border-radius: 6px; overflow: hidden;
  background: linear-gradient(#120D0A, #0C0908); transition: border-color .2s; }
.acct-hero:hover, .acct-hero.moving { border-color: #4A3B2F; }
.acct-hero.on { border-color: rgba(127,214,106,.35); }
.acct-hero-fig { position: relative; height: 270px; overflow: hidden;
  background: radial-gradient(closest-side at 50% 60%, rgba(214,150,80,.16), rgba(214,150,80,0)), radial-gradient(ellipse at 50% 100%, #2A1F17 0%, #120D0A 70%); }
.acct-hero-fig::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.acct-hero-fig img { position: absolute; left: 50%; bottom: 0; height: 100%; transform: translateX(-50%); transition: opacity .3s ease; }
.acct-hero-fig .live-figure { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; transition: opacity .45s ease; }
.acct-hero-fig.live .live-figure { opacity: 1; }
.acct-hero-fig.live img { visibility: hidden; }
.acct-hero-fig .acct-live { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(12,20,10,.78); font-size: 12px; }
.acct-hero-rb { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.55);
  font: 700 13px/1.3 'Alegreya Sans', sans-serif; color: #F2C14E; box-shadow: inset 0 0 0 1px rgba(242,193,78,.35); }
.acct-hero-plate { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 14px 10px; text-align: center;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.25)); box-shadow: inset 0 1px 0 #2A211A; }
.acct-hero-name { font: 700 20px/1.15 Cinzel, serif; color: #F6E7D0; overflow-wrap: anywhere; }
.acct-hero-class { font-size: 14px; color: var(--quiet); }
.acct-hero-level { margin-top: 4px; font: 700 12px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #E4B97A; }
.acct-hero-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; padding: 4px 16px 10px; font-size: 14px; }
.acct-hero-facts dt { color: var(--quiet); }
.acct-hero-facts dd { margin: 0; text-align: right; color: var(--bone); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.acct-hero-stats { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: center; padding: 8px 12px 12px; box-shadow: inset 0 1px 0 #221A15; font-size: 13px; }
.acct-hero-stats span { display: inline-flex; gap: 4px; align-items: baseline; }
.acct-hero-stats i { font-style: normal; color: var(--quiet); }
.acct-hero-stats b { font-weight: 700; color: var(--bone); font-variant-numeric: tabular-nums; }
.acct-hero-stats .free { color: #A8E89A; }
.acct-hero .acct-act { flex: none; justify-content: center; margin-top: auto; padding: 0 14px 14px; text-align: center; }
.acct-hero .acct-act .sub { font-size: 13px; color: var(--quiet); }
@media (max-width: 600px) {
  .acct-heroes { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 12px; }
  .acct-hero-fig { height: 210px; }
  .acct-hero-name { font-size: 17px; }
  .acct-hero .acct-act { padding: 0 10px 12px; }
}
/* The ring in place of his picture while his hero loads, as on the front page (the user, 2026-11-19: "use some preloader
   for threejs object"); with no WebGL (#a-groups never .three) or a hero that cannot be had (.still), the picture. */
#a-groups.three .acct-hero-fig:not(.live):not(.still) img { opacity: 0; }
#a-groups.three .acct-hero-fig:not(.live):not(.still)::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 26px; height: 26px;
  margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid rgba(201,162,126,.18); border-top-color: rgba(233,203,138,.85);
  animation: leader-spin .9s linear infinite; }
@media (prefers-reduced-motion: reduce) { #a-groups.three .acct-hero-fig::before { animation-duration: 3s; } }
