/* 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; }
@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; }
/* Beside Sign in: the Discord, a quiet pill so the account link stays the bar's word. */
.bar-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); }
.bar-discord { 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-discord svg { color: #C9A27E; transition: color .15s; }
.bar-discord:hover { box-shadow: inset 0 0 0 1px rgba(236,207,173,.55); }
.bar-discord:hover svg { color: #ECCFAD; }
@media (max-width: 420px) { .bar-discord { padding: 0 10px; } .bar-discord span { display: none; } }
/* 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; } }
/* Under the updates: the Discord, a card with its button. */
#community { padding: 0 0 64px; }
#community .wrap { max-width: 1160px; }
.community { display: flex; align-items: center; gap: 28px; padding: 28px 32px; border-radius: 8px; 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); }
.community > svg { flex: none; color: #C9A27E; }
.community .say { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.community h2 { margin: 0; font: 700 22px/1.25 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); }
.community p { margin: 0; font-size: 16px; color: var(--label); }
.community .btn { flex: none; }
@media (max-width: 720px) { .community { flex-direction: column; text-align: center; gap: 18px; padding: 26px 22px; } }
.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: 8px; padding: 8px 16px; color: var(--bone); font-weight: 500; font-size: 15px; line-height: 1; white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px 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: 10.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; } .live { padding: 7px 12px; font-size: 14px; } .live + .live { box-shadow: none; } }
.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 a 2×2 grid of equal cells, hairlines between them. */
  .servers { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; padding: 0; border-radius: 12px; }
  .live { justify-content: center; padding: 11px 8px; font-size: 14px; }
  .live:nth-child(2) { box-shadow: inset 1px 0 0 rgba(201,162,126,.18); }
  .live:nth-child(3) { box-shadow: inset 0 1px 0 rgba(201,162,126,.18); }
  .live:nth-child(4) { box-shadow: inset 1px 0 0 rgba(201,162,126,.18), inset 0 1px 0 rgba(201,162,126,.18); }
  .hero h1 { font-size: clamp(30px, 9.4vw, 40px); }
  .hero p { font-size: 16.5px; line-height: 1.5; }
  .get { grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
  .get > div { gap: 4px; }
  .get small { font-size: 13px; }
}
.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; }
.track { position: relative; width: 100%; aspect-ratio: 16 / 4.85; touch-action: pan-y; }
.slide { position: absolute; left: 50%; top: 50%; width: 52%; 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 { 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; }
.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; } }

/* Why it is different: three tiles, then the features in two groups */
#why { padding: 48px 0 72px; }
#why .wrap { max-width: 1160px; }
.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: 16px; margin-bottom: 56px; }
/* 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; }
.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)); }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 32px; }
.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); }
/* 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: 1160px; }
.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; }
/* Under the panel: what the latest updates fixed, in a panel of its own. */
.fixes { margin-top: 28px; padding: 26px 28px; border-radius: 8px; 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); }
.fixes h3 { margin: 0; padding-bottom: 14px; font: 700 19px/1.25 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); box-shadow: inset 0 -1px 0 #2A211A; }
/* One release a row: the date opens it, the newest stands open. */
.fix-day { box-shadow: inset 0 -1px 0 #2A211A; }
.fix-day summary { display: flex; align-items: baseline; gap: 12px; padding: 15px 2px; cursor: pointer; list-style: none; user-select: none; }
.fix-day summary::-webkit-details-marker { display: none; }
.fix-day summary::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: 2px; align-self: center;
  border: solid #A88A6E; border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .18s ease; }
.fix-day[open] summary::before { transform: rotate(45deg) translate(-2px, -2px); }
.fix-date { font: 700 16px/1.4 Cinzel, serif; letter-spacing: .03em; color: var(--bone-hi); }
.fix-count { margin-left: auto; font: 700 12px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--quiet); white-space: nowrap; }
.fix-day summary:hover .fix-date, .fix-day summary:focus-visible .fix-date { color: #fff; }
.fix-day summary:hover::before { border-color: var(--bone-hi); }
.fix-day summary:focus-visible { outline: 1px solid var(--field-focus); outline-offset: 2px; border-radius: 4px; }
.fix-group { padding: 0 0 16px 21px; }
.fix-group + .fix-group { padding-top: 2px; }
.fixes h4 { margin: 0 0 8px; font: 700 13px/1.6 'Alegreya Sans SC', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #A88A6E; }
.fixes ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15.5px; line-height: 1.5; color: var(--bone); }
.fixes li::marker { color: #C9A27E; }
.fixes p { margin: 14px 0 0; font-size: 15px; color: var(--quiet); }
@media (max-width: 600px) {
  .fixes { padding: 20px 18px; }
  .fix-group { padding-left: 0; }
  .fix-date { font-size: 15px; }
}
@media (max-width: 900px) {
  .reqs { grid-template-columns: 1fr; }
  .req + .req { box-shadow: inset 0 1px 0 #2E241D; }
}

/* Account */
#account, .account-page { padding: 40px 0; background: var(--panel); box-shadow: inset 0 1px 0 var(--edge), inset 0 -1px 0 var(--edge); }
#account .wrap, .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; }
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. */
footer .vote { opacity: .7; transition: opacity .15s; }
footer .vote:hover, footer .vote:focus-visible { opacity: 1; }
footer .vote img { display: block; width: 168px; max-width: 100%; height: auto; opacity: 1; border: 0; }
/* 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"]) :is(.h2, .hero h1, .tile h3, .tile-beta .big, .req h3, .fixes h3, .fix-date,
  .intro strong, .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, .fixes h3, .fix-date,
  .intro strong, .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 { 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-size: 18px; font-weight: 500; text-decoration: none; }
.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); }
/* 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-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"]) :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); }
