/* 4ALL website - one stylesheet (WEB2 look, 08.11.2026).
   Full-page background picture, dark "glass" panels, gold Marcellus titles, Raleway text.
   Fonts: Marcellus + Raleway, self-hosted in /assets/fonts (woff2 from Google Fonts, SIL Open Font
   License 1.1, licence files next to them). Only the latin + latin-ext subsets: English and Romanian
   (ă â î ș ț). The site loads nothing from other hosts. System fonts are the fallback. */

@font-face {
  font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/marcellus-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/marcellus-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Raleway is one variable font file per subset: it covers every weight from 400 to 700. */
@font-face {
  font-family: "Raleway"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/raleway-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Raleway"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/raleway-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  /* Background picture of the whole site: assets/img/bg-capital.jpg (Keter, rendered from our client data by
     Tools/Website/BgRender), approved by the user on 08.11.2026. Set this to "none" to turn it off; the dark
     gradient below stays behind it (and shows alone with "none"). */
  --page-bg-image: url("/assets/img/bg-capital.webp");
  /* GMIOS29: how dark the picture is made (top, middle, bottom); the owner's theme may change them */
  --page-dim-1: .30;
  --page-dim-2: .55;
  --page-dim-3: .80;

  --bg: #07090f;
  --bg-top: #121a2c;        /* GMIOS29: the gradient behind the picture (top, middle, bottom) */
  --bg-mid: #0a0e18;
  --bg-end: #06080d;
  --gold: #ecd19a;          /* titles, menu */
  --gold-rgb: 236 209 154;  /* GMIOS29: the same colour, for the see-through shades (rgb(var(--gold-rgb) / .12)) */
  --gold-hi: #f7e7c2;
  --gold-lo: #a88a52;
  --gold-soft: rgb(var(--gold-rgb) / .12);
  --gold-line: rgb(var(--gold-rgb) / .16);
  --text: #ebe7df;
  --text-2: #cdc7ba;
  --muted: #9b968b;
  --glass: rgba(6, 8, 13, .66);
  --glass-2: rgba(10, 13, 20, .78);
  --glass-row: rgba(255, 255, 255, .025);
  --blue: #2f6fe0;
  --blue-rgb: 47 111 224;   /* GMIOS29 */
  --blue-hi: #4c8cf6;
  --blue-lo: #1d4fb4;
  --ok: #5fd38a;
  --warn: #f0b44c;
  --bad: #ef6b5b;
  --info: #8fb8f2;
  --focus: #f6e3a8;
  --topbar-bg: #0b1326;
  --header-bg: rgba(10, 15, 30, .85);

  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --blur: blur(12px);
  --display: "Marcellus", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --container: 1248px;      /* 1200 px of content + the side gutters */
  --gutter: 16px;
  --header-h: 72px;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (min-width: 2200px) { html { font-size: 18px; } :root { --container: 1400px; } }
@media (min-width: 3000px) { html { font-size: 22px; } :root { --container: 1700px; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-x: hidden;
}
/* the fixed background picture (or its placeholder) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(5 7 12 / var(--page-dim-1)) 0%, rgb(5 7 12 / var(--page-dim-2)) 55%, rgb(5 7 12 / var(--page-dim-3)) 100%),
    var(--page-bg-image) center top / cover no-repeat,
    radial-gradient(ellipse 60% 40% at 50% 0%, rgb(var(--gold-rgb) / .13), transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 85%, rgb(var(--blue-rgb) / .14), transparent 70%),
    radial-gradient(ellipse 45% 40% at 10% 55%, rgba(120, 90, 50, .14), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-end) 100%);
}

/* language: both texts are in the page, the other one is hidden */
html[data-lang="en"] [lang="ro"],
html[data-lang="ro"] [lang="en"] { display: none !important; }

img, svg { max-width: 100%; height: auto; }
.ico { display: inline-block; vertical-align: middle; flex: none; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
::selection { background: rgb(var(--gold-rgb) / .35); color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.2; color: var(--gold); margin: 0 0 .6em; letter-spacing: .02em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.85rem); }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li + li { margin-top: .25em; }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); margin: 2rem 0; }
small, .small { font-size: .875rem; }
strong { color: #fff6e0; font-weight: 700; }
code, kbd { font-family: var(--mono); font-size: .9em; background: rgba(255, 255, 255, .06); border: 1px solid var(--gold-line); border-radius: 4px; padding: .05em .35em; }
kbd { border-bottom-width: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }
.muted { color: var(--muted); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 1rem; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: #1b1406; padding: .6em 1em; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------ top bar */
.topbar { background: var(--topbar-bg); border-bottom: 1px solid rgb(var(--gold-rgb) / .07); font-size: .78rem; color: var(--text-2); position: relative; z-index: 51; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.topbar-slogan { font-family: var(--display); letter-spacing: .24em; text-transform: uppercase; color: rgb(var(--gold-rgb) / .55); font-size: .7rem; }
.topbar-right { display: flex; align-items: center; gap: 4px; }
@media (max-width: 899px) { .topbar-slogan { display: none; } }

.server-status { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }
.server-status:hover { color: #fff; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #6c6f78; box-shadow: 0 0 0 3px rgba(108, 111, 120, .2); flex: none; }
.dot.is-ok, [data-state="online"] .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(95, 211, 138, .18), 0 0 10px rgba(95, 211, 138, .7); }
.dot.is-warn, [data-state="maintenance"] .dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(240, 180, 76, .2), 0 0 8px rgba(240, 180, 76, .5); }
.dot.is-bad, [data-state="offline"] .dot { background: var(--bad); box-shadow: 0 0 0 3px rgba(239, 107, 91, .2); }
[data-state="online"] { color: #bff0cf; }
[data-state="maintenance"] { color: #f7d9a0; }
[data-state="offline"] { color: #f6c0b8; }

.lang-switch { display: inline-flex; border: 1px solid var(--gold-line); border-radius: 999px; overflow: hidden; margin-right: 6px; }
.lang-switch a { display: inline-block; min-width: 34px; padding: 2px 9px; text-align: center; color: var(--text-2); text-decoration: none; font-weight: 700; letter-spacing: .08em; font-size: .7rem; }
.lang-switch a + a { border-left: 1px solid var(--gold-line); }
.lang-switch a:hover { background: var(--gold-soft); color: #fff; }
.lang-switch a[aria-current="true"] { background: var(--gold); color: #1b1406; }

.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 28px; border-radius: 6px; color: var(--text-2); }
.icon-link:hover { color: var(--gold); background: var(--gold-soft); }
.icon-link svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 30, .95);
  border-bottom: 1px solid rgb(var(--gold-rgb) / .10);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .35);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: var(--header-bg); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; padding: 4px 0; }
.brand img { display: block; height: 56px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }   /* BRAND1: the kit wordmark (its 4 is taller) */

.site-menu { display: flex; align-items: center; gap: 14px; flex: 1; }
.site-menu > nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list li + li { margin-top: 0; }
.nav-list > li[hidden] { display: none; }   /* NAV2: the Item Shop menu, only signed in (site.js) */
.nav-list a, .nav-account > summary, .nav-drop > summary {
  display: flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: var(--radius);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .09em; font-size: .9rem;
  color: var(--gold); text-decoration: none; white-space: nowrap;
}
.nav-list a:hover, .nav-account > summary:hover, .nav-drop > summary:hover { color: var(--gold-hi); background: rgb(var(--gold-rgb) / .07); }
.nav-list a[aria-current="page"], .nav-account:has([aria-current="page"]) > summary, .nav-drop:has([aria-current="page"]) > summary { background: var(--gold-soft); color: var(--gold-hi); }
/* dropdowns inside the main menu open to the left edge; their links are plain text, not menu buttons */
.nav-drop .dropdown-menu { left: 0; right: auto; }
.nav-list .dropdown-menu a { display: block; padding: 9px 12px; font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--text); }
.nav-list .dropdown-menu a:hover { color: var(--gold-hi); background: var(--gold-soft); }
.nav-list .dropdown-menu a[aria-current="page"] { color: var(--gold); background: rgb(var(--gold-rgb) / .07); }
/* narrow desktops: a tighter menu so logo, menu, account and download stay on one line */
@media (min-width: 1200px) and (max-width: 1439px) {
  .header-inner { gap: 12px; }
  .nav-list a, .nav-account > summary, .nav-drop > summary { padding: 8px 9px; letter-spacing: .06em; font-size: .84rem; }
  .header-actions .btn { padding-left: 16px; padding-right: 16px; }
}
/* VIDEO1: with Video Hub in the menu the wide menu is a little tighter as well (it measured 28 px (EN) and 50 px (RO)
   too wide for the 1248 px of the header at 1440 px and up) */
@media (min-width: 1440px) {
  .header-inner { gap: 14px; }
  .nav-list a, .nav-account > summary, .nav-drop > summary { padding: 8px 10px; letter-spacing: .07em; }
}
.nav-new { display: inline-block; padding: 1px 6px; border-radius: 4px; background: #2f9e5b; color: #fff; font: 700 .58rem/1.3 var(--sans); letter-spacing: .08em; }
.dropdown-menu .nav-new { margin-left: 8px; vertical-align: 1px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--radius);
  background: transparent; border: 1px solid var(--gold-line); color: var(--gold); cursor: pointer;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin: 0 auto; transition: transform .2s, opacity .2s;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* dropdown (account) built on <details> */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary .caret { display: inline-block; width: 0; height: 0; margin-left: 2px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.dropdown[open] > summary .caret { transform: translateY(-2px) rotate(180deg); }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; z-index: 60;
  list-style: none; margin: 0; padding: 6px;
  background: rgba(10, 15, 30, .97); border: 1px solid var(--gold-line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.dropdown-menu li + li { margin-top: 0; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: var(--radius); color: var(--text); text-decoration: none; font-size: .95rem; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: var(--gold-soft); color: var(--gold-hi); }
.dropdown-menu a[aria-current="page"] { color: var(--gold); background: rgb(var(--gold-rgb) / .07); }
.dropdown-menu .sep { height: 1px; background: var(--gold-line); margin: 6px 4px; }
/* WEBSHOP1: the Account menu follows the session (site.js); Logout is a button that looks like the links */
.dropdown-menu li[hidden] { display: none; }
.dropdown-menu .dropdown-btn { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: var(--radius); background: none; color: var(--text); font: inherit; font-size: .95rem; text-align: left; cursor: pointer; }
.dropdown-menu .dropdown-btn:hover, .dropdown-menu .dropdown-btn:focus-visible { background: var(--gold-soft); color: var(--gold-hi); }
.dropdown-menu .dropdown-btn:disabled { opacity: .6; cursor: wait; }
/* NAVHOVER1 (the user, 14.11.2026, photo of the reference's Account menu): on a desktop the menus of the header open
   while the pointer is over them (site.js) and look like the reference's: a dark blue glass panel with the labels in
   the title font, larger and light. The 10 px between the button and the panel belong to the panel (::before), so the
   pointer can cross them. The narrow menu (under 1200 px, phones) keeps the tap and its look. */
@media (min-width: 1200px) {
  .dropdown-menu {
    min-width: 220px; padding: 10px;
    background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-radius: 14px;
  }
  .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .dropdown-menu a, .nav-list .dropdown-menu a, .dropdown-menu .dropdown-btn {
    padding: 11px 16px; font-family: var(--display); font-size: 1.05rem; letter-spacing: .02em; color: var(--gold-hi);
  }
}

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px var(--gutter) 20px;
    background: #0a0f1e; border-bottom: 1px solid var(--gold-line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h) - 8px); overflow-y: auto;
  }
  .site-header.is-open .site-menu { display: flex; }
  .no-js .site-menu { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 12px; background: none; }
  .no-js .header-inner { flex-wrap: wrap; }
  .site-menu > nav { display: block; flex: none; }
  .nav-list { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; }
  .nav-list a { padding: 12px 14px; font-size: 1rem; }
  .header-actions { flex-direction: column-reverse; align-items: stretch; }
  .header-actions .btn { justify-content: center; }
  .nav-account > summary, .nav-drop > summary { padding: 12px 14px; font-size: 1rem; }
  .dropdown-menu { position: static; box-shadow: none; margin-top: 4px; background: rgba(255, 255, 255, .03); }
}

/* SITEPUB1: the community block at the end of the phone menu (layout/header.html .menu-community) */
.menu-community { display: none; }
@media (max-width: 1199px) {
  .menu-community { display: grid; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--gold-line); }
  .mc-title { margin: 0; text-align: center; font-family: var(--display); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
  .mc-discord { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; border-radius: 12px; text-decoration: none;
    font-family: var(--display); font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; color: #c9cdff;
    background: linear-gradient(180deg, rgba(88, 101, 242, .2), rgba(88, 101, 242, .1)); border: 1px solid rgba(88, 101, 242, .6); }
  .mc-discord svg { width: 26px; height: 26px; color: #7d88ff; }
  .mc-discord:hover, .mc-discord:active { color: #fff; background: rgba(88, 101, 242, .32); }
  .mc-socials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .mc-soc { display: grid; place-items: center; min-height: 50px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); color: var(--gold); }
  .mc-soc svg { width: 24px; height: 24px; }
  .mc-fb { color: #4d8dff; }
  .mc-fb:hover, .mc-fb:active { background: rgba(77, 141, 255, .14); border-color: rgba(77, 141, 255, .4); }
  .mc-soc.soon { opacity: .4; border-style: dashed; }
  .mc-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
  .mc-auth[hidden] { display: none; }
  .mc-auth-in { grid-template-columns: 1fr; }
  .mc-auth .btn { justify-content: center; min-height: 52px; }
  .mc-register { color: #1b1406; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); }
  .mc-register:hover { color: #1b1406; filter: brightness(1.06); }
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 20px; border-radius: 999px;
  font: 400 .92rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; border: 1px solid transparent; transition: filter .15s, background-color .15s, color .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-hi) 0%, var(--blue) 55%, var(--blue-lo) 100%);
  border-color: var(--btn-line, #3f7ff0);   /* GMIOS29: the theme sets it */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 16px rgb(var(--blue-rgb) / .35);
}
.btn-primary:hover { color: #fff; filter: brightness(1.1); }
.btn-secondary { color: var(--gold); background: rgb(var(--gold-rgb) / .06); border-color: var(--gold-lo); }
.btn-secondary:hover { color: var(--gold-hi); background: var(--gold-soft); }
.btn-ghost { color: var(--gold); background: transparent; border-color: var(--gold-line); }
.btn-ghost:hover { color: var(--gold-hi); border-color: var(--gold-lo); background: rgb(var(--gold-rgb) / .06); }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 1rem; }

/* SITEPUB1 (owner 29.11.2026: "Aș vrea ca toate butoanele să aibe efectul acesta"): every button has the light that
   passes over it (as the Discord button) and lifts with a glow under the pointer. Lighter on the gold outline ones. */
.btn, .mc-discord, .dc-card-go { position: relative; overflow: hidden; isolation: isolate; }
.btn::after, .mc-discord::after, .dc-card-go::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent); animation: dc-shine 3.6s ease-in-out infinite;
}
.btn-ghost::after, .btn-secondary::after { background: linear-gradient(90deg, transparent, rgba(247, 231, 194, .16), transparent); }
.btn:disabled::after, .btn[aria-disabled="true"]::after { display: none; }
.btn { transition: filter .15s, background-color .15s, color .15s, border-color .15s, transform .2s ease, box-shadow .2s ease; }
.btn:not(:disabled):not([aria-disabled="true"]):hover { transform: translateY(-2px); }
.btn-primary:not(:disabled):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 26px rgba(47, 111, 224, .5); }
.btn-ghost:not(:disabled):hover, .btn-secondary:not(:disabled):hover, .mc-register:hover { box-shadow: 0 8px 22px rgba(236, 209, 154, .18); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 34px; padding: 6px 14px; font-size: .8rem; }
.btn-wide { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { filter: grayscale(.7) brightness(.7); cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row-center { justify-content: center; }

/* ------------------------------------------------------------ glass panels */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  background: var(--glass-2);
  box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(8px)) { .panel { background: var(--glass); backdrop-filter: var(--blur); } }
.panel > :last-child { margin-bottom: 0; }
.panel-flat { box-shadow: none; }
.panel h2:first-child, .panel h3:first-child { margin-top: 0; }

.section { padding: clamp(22px, 3.5vw, 40px) 0; }
.section + .section { padding-top: 0; }
.section-title {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--gold);
  margin: 0 0 1.1rem;
}
.section-title::after {
  content: ""; flex: 1; height: 1px; min-width: 24px;
  background: linear-gradient(90deg, rgb(var(--gold-rgb) / .45), rgb(var(--gold-rgb) / 0));
}
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 1.1rem; }
.section-head .section-title { margin: 0; flex: 1; min-width: 14rem; }
.page-body { display: grid; gap: clamp(16px, 2vw, 22px); grid-template-columns: minmax(0, 1fr); }
.page-body > * { min-width: 0; }

.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.split { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: minmax(0, 1fr); }
.split > *, .grid > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .sticky-col { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
}

/* ------------------------------------------------------------ page title (glass panel) */
.page-hero { padding: clamp(20px, 3.5vw, 36px) 0 clamp(16px, 2vw, 22px); text-align: center; }
.page-hero > .container {
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter));
  padding: clamp(22px, 3vw, 34px) clamp(16px, 3vw, 32px);
  border: 1px solid var(--gold-line); border-radius: var(--radius-lg);
  background: var(--glass-2); box-shadow: var(--shadow);
}
@supports (backdrop-filter: blur(8px)) { .page-hero > .container { background: var(--glass); backdrop-filter: var(--blur); } }
.page-hero h1 {
  margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .16em; padding-left: .16em; color: var(--gold);
  font-size: clamp(1.75rem, 1.15rem + 2.5vw, 2.85rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
/* short gold line under the title that fades out at both ends */
.page-hero h1::after {
  content: ""; display: block; width: min(300px, 64%); height: 2px; margin: 14px auto 0;
  background: linear-gradient(90deg, rgb(var(--gold-rgb) / 0), var(--gold) 50%, rgb(var(--gold-rgb) / 0));
}
.page-hero .eyebrow { margin: 0 0 6px; font-family: var(--display); text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; color: var(--muted); }
.page-hero .lead { max-width: 46rem; margin: 14px auto 0; color: var(--text-2); font-size: 1.04rem; }
.page-hero .lead + p { margin: 14px 0 0; }
.page-hero .ornament { display: none; }
.page-hero .hero-meta { margin: 14px 0 0; color: var(--text-2); font-size: .92rem; }
.page-hero .hero-meta strong { color: var(--gold-hi); font-weight: 600; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .06em; }
.breadcrumbs a { color: var(--text-2); }

/* ------------------------------------------------------------ status block, stats (other pages) */
.status-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stat-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0; }
.stat-list dt { color: var(--muted); }
.stat-list dd { margin: 0; font-weight: 700; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }

/* ------------------------------------------------------------ badges, notices */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px;
  font: 700 .7rem/1.5 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--gold-line); color: var(--text-2); background: rgba(255, 255, 255, .04); white-space: nowrap;
}
.badge-gold { color: #1b1406; background: var(--gold); border-color: var(--gold); }
.badge-live { color: #07210f; background: var(--ok); border-color: var(--ok); }
.badge-soon { color: #2a1a02; background: var(--warn); border-color: var(--warn); }
.badge-next { color: #dfe9ff; background: rgb(var(--blue-rgb) / .25); border-color: rgba(76, 140, 246, .6); }
.badge-done { color: var(--muted); background: transparent; }
.badge-cat-patch { color: #dfe9ff; background: rgb(var(--blue-rgb) / .2); border-color: rgba(76, 140, 246, .55); }
.badge-cat-events { color: #ffe3da; background: rgba(239, 107, 91, .16); border-color: rgba(239, 107, 91, .5); }
.badge-cat-announcements { color: #f7ecc9; background: var(--gold-soft); border-color: var(--gold-lo); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--gold-line); background: rgba(255, 255, 255, .04); color: var(--text); }
.notice > svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--gold); }
.notice p:last-child { margin-bottom: 0; }
.notice ul:last-child { margin-bottom: 0; }
/* 4ALL GMIOS30: the banner of the whole site, set by the owner from the app (site.js) */
.site-banner { display: flex; align-items: center; gap: 12px; padding: 9px max(16px, calc((100% - 1200px) / 2)); font-size: .92rem; color: var(--text);
  background: linear-gradient(90deg, rgb(var(--blue-rgb) / .22), rgb(var(--blue-rgb) / .06)); border-bottom: 1px solid rgb(var(--blue-rgb) / .4); }
.site-banner-kind { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; color: var(--info); flex: none; }
.site-banner-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.site-banner-link { flex: none; color: var(--gold); text-decoration: none; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgb(var(--gold-rgb) / .4); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.site-banner-link:hover, .site-banner-link:focus-visible { background: rgb(var(--gold-rgb) / .12); }
.site-banner-close { flex: none; background: none; border: 0; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 4px 6px; line-height: 1; }
.site-banner-close:hover, .site-banner-close:focus-visible { color: var(--text); }
.site-banner-warn { background: linear-gradient(90deg, rgba(240, 180, 76, .22), rgba(240, 180, 76, .07)); border-bottom-color: rgba(240, 180, 76, .45); }
.site-banner-warn .site-banner-kind { color: var(--warn); }
.site-banner-info { background: linear-gradient(90deg, rgb(var(--gold-rgb) / .12), rgb(var(--gold-rgb) / .04)); border-bottom-color: rgb(var(--gold-rgb) / .3); }
.site-banner-info .site-banner-kind { color: var(--gold); }
@media (max-width: 640px) { .site-banner { flex-wrap: wrap; gap: 6px 10px; font-size: .88rem; } .site-banner-text { flex-basis: calc(100% - 40px); order: 2; } .site-banner-close { margin-left: auto; } }
.notice-gold { background: rgb(var(--gold-rgb) / .07); border-color: rgb(var(--gold-rgb) / .3); }
.notice-gold > svg { color: var(--gold); }
.notice-info { background: rgb(var(--blue-rgb) / .09); border-color: rgba(76, 140, 246, .35); }
.notice-info > svg { color: var(--info); }
.notice-error { background: rgba(239, 107, 91, .1); border-color: rgba(239, 107, 91, .45); }
.notice-error > svg { color: var(--bad); }
.notice-success { background: rgba(95, 211, 138, .09); border-color: rgba(95, 211, 138, .4); }
.notice-success > svg { color: var(--ok); }
.placeholder-mark { background: rgba(240, 180, 76, .14); border: 1px dashed var(--warn); border-radius: 4px; padding: 0 .3em; color: #ffe2a8; }

/* ------------------------------------------------------------ news */
.news-tabs { margin-bottom: 18px; }
.news-list { display: grid; gap: 18px; }
.news-card {
  display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; overflow: hidden;
  transition: border-color .15s, transform .15s;
}
.news-card:hover { border-color: rgb(var(--gold-rgb) / .35); }
@media (min-width: 760px) { .news-card { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.news-thumb {
  position: relative; display: grid; place-items: center; min-height: 180px; aspect-ratio: 16 / 9;
  background: #0d1220; overflow: hidden; text-decoration: none;
}
@media (min-width: 760px) { .news-thumb { aspect-ratio: auto; min-height: 210px; } }
.news-thumb img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* drawn picture while an article has no image of its own */
.news-thumb.is-drawn {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgb(var(--gold-rgb) / .20), transparent 70%),
    linear-gradient(135deg, #1a2238 0%, #0b0f1a 100%);
}
.news-thumb.is-drawn.cat-patch { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(76, 140, 246, .26), transparent 70%), linear-gradient(135deg, #14213f 0%, #090d18 100%); }
.news-thumb.is-drawn.cat-events { background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(239, 107, 91, .22), transparent 70%), linear-gradient(135deg, #2a1916 0%, #0d0a0b 100%); }
.news-thumb.is-drawn img { width: min(58%, 190px); height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .7)); opacity: .92; }
.news-thumb.is-drawn::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgb(var(--gold-rgb) / .16); border-radius: 8px; pointer-events: none; }
.news-thumb .badge { position: absolute; left: 14px; top: 14px; }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.news-body h2 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: .03em; }
.news-body h2 a { color: var(--gold); text-decoration: none; }
.news-body h2 a:hover { color: var(--gold-hi); }
.news-body p { margin: 0; color: var(--text-2); }
.news-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding-top: 6px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; text-decoration: none; }
.read-more svg { width: 16px; height: 16px; transition: transform .15s; }
.read-more:hover svg { transform: translateX(3px); }
.date { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .88rem; }
.date svg { width: 16px; height: 16px; color: var(--gold-lo); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; }
.pager button, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: var(--radius); border: 1px solid var(--gold-line); background: var(--glass-2); color: var(--text-2);
  font: 400 .92rem/1 var(--display); cursor: pointer;
}
.pager button:hover:not(:disabled) { color: var(--gold-hi); border-color: var(--gold-lo); }
.pager button[aria-current="page"] { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-lo); }
.pager button:disabled { opacity: .4; cursor: default; }
.pager span { border-color: transparent; background: none; cursor: default; }
.pager svg { width: 16px; height: 16px; }

.news-wrap { max-width: var(--container); }
.article { max-width: 54rem; margin: 0 auto; padding-top: clamp(20px, 3.5vw, 36px); }
.article .panel { padding: clamp(20px, 3vw, 36px); }
.article-head { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--gold-line); }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); margin-bottom: 12px; }
.article-head h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin: 0; }
.article-body { font-size: 1.04rem; }
.article-body h2 { font-size: 1.3rem; margin-top: 1.6em; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; text-decoration: none; }

/* older card blocks used on other pages */
.card-list { display: grid; gap: 14px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; }
.feature .icon {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgb(var(--gold-rgb) / .28), rgba(168, 138, 82, .12)); border: 1px solid var(--gold-lo); color: var(--gold);
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 0; font-size: 1.1rem; align-self: end; }
.feature p { margin: 0; color: var(--text-2); font-size: .95rem; }

.link-card { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); }
.link-card:hover { color: #fff; }
.link-card:hover h3 { text-decoration: underline; }
.link-card .icon { width: 52px; height: 52px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--gold-line); color: var(--gold); }
.link-card .icon svg { width: 28px; height: 28px; }
.link-card h3 { margin: 0 0 2px; font-size: 1.1rem; }
.link-card p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ------------------------------------------------------------ tabs, filters */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.tab {
  appearance: none; border: 1px solid var(--gold-line); background: rgba(255, 255, 255, .03); color: var(--text-2);
  padding: 8px 16px; border-radius: 999px; font: 400 .85rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; gap: 6px;
}
.tab:hover { color: var(--gold-hi); border-color: var(--gold-lo); }
.tab[aria-selected="true"] { color: var(--gold); background: var(--gold-soft); border-color: var(--gold-lo); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .15); }
.tab .count { opacity: .65; font-family: var(--sans); font-size: .78rem; letter-spacing: 0; }
.tabs-scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.tabs-scroll .tab { flex: none; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 16px; }
.filters .field { margin: 0; min-width: 9rem; flex: 1 1 9rem; }
.filters .field-search { flex: 2 1 14rem; }
.segmented { display: inline-flex; border: 1px solid var(--gold-line); border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, .25); }
.segmented button { appearance: none; border: 0; background: transparent; color: var(--text-2); padding: 8px 18px; font: 400 .82rem/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; min-height: 38px; }
.segmented button + button { border-left: 1px solid var(--gold-line); }
.segmented button[aria-pressed="true"] { background: var(--gold-soft); color: var(--gold); }
.segmented button:hover { color: var(--gold-hi); }

.search-box { position: relative; flex: 0 1 18rem; min-width: 12rem; }
.search-box svg { position: absolute; left: 12px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-box input[type="search"] { min-height: 40px; padding: 8px 12px 8px 38px; border-radius: 999px; }

/* ------------------------------------------------------------ tables */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: rgba(0, 0, 0, .25); }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
table.data caption { text-align: left; padding: 12px 14px; color: var(--muted); font-size: .85rem; caption-side: bottom; border-top: 1px solid var(--gold-line); }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid rgb(var(--gold-rgb) / .07); vertical-align: middle; }
table.data thead th {
  font-family: var(--display); font-weight: 400; color: var(--gold); letter-spacing: .12em; font-size: .78rem; text-transform: uppercase;
  background: rgb(var(--gold-rgb) / .06); border-bottom: 1px solid var(--gold-line); white-space: nowrap;
}
table.data tbody tr:nth-child(even) { background: var(--glass-row); }
@media (hover: hover) { table.data tbody tr:hover { background: rgb(var(--gold-rgb) / .06); } }   /* 4ALL SITEFIX1: not sticky after a tap */
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data .num { text-align: right; }
table.data .rank { width: 4.2rem; text-align: center; font-weight: 700; color: var(--text-2); }
table.data .name { font-weight: 700; color: var(--text); }
.req-table td:first-child, .req-table th[scope="row"] { color: var(--muted); font-weight: 600; white-space: nowrap; }
.empty-state { padding: 36px 16px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; color: var(--text-2); font-size: 1.05rem; margin-bottom: 4px; }

/* rankings */
.rk-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 4px 0 16px; padding-top: 16px; border-top: 1px solid var(--gold-line); }
.rank-table .who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rank-table .who .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-table .sub { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.rank-table .value { font-weight: 700; color: var(--gold-hi); font-size: 1rem; letter-spacing: .02em; }
/* the top 3 of a ranking table as in the reference layout (user 11.11.2026, row 96): only the place number is coloured -
   1 gold, 2 silver, 3 bronze - with no disc, no row tint and the name in the normal colour */
.rank-table .medal { display: inline; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; font-weight: 700; font-size: 1rem; }
.rank-table .medal-1 { color: #f2c94c; }
.rank-table .medal-2 { color: #d9dee5; }
.rank-table .medal-3 { color: #e8914a; }
.medal { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: .88rem; }
.medal-1 { color: #2a1d02; background: radial-gradient(circle at 35% 30%, #fff1b8, #e0b54a 55%, #94701d); box-shadow: 0 0 12px rgba(224, 181, 74, .5); }
.medal-2 { color: #1d2024; background: radial-gradient(circle at 35% 30%, #ffffff, #c7ccd2 55%, #7d848c); }
.medal-3 { color: #2a1406; background: radial-gradient(circle at 35% 30%, #ffd9b0, #c98a4b 55%, #7c4a1f); }
.kingdom { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.kingdom::before { content: ""; width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); background: var(--muted); flex: none; }
/* 4ALL KFLAG1 (owner 28.11.2026): Valorian (0) red, Derion (1) blue */
.kingdom-0::before { background: #e07a62; }
.kingdom-1::before { background: #6fa6e0; }
.kingdom-2::before { background: #b9c27a; }
.kingdom-mark { width: 10px; height: 10px; flex: none; border-radius: 2px; transform: rotate(45deg); background: var(--muted); }
.kingdom-mark.k0 { background: #e07a62; box-shadow: 0 0 6px rgba(224, 122, 98, .6); }
.kingdom-mark.k1 { background: #6fa6e0; box-shadow: 0 0 6px rgba(111, 166, 224, .6); }
.kingdom-mark.k2 { background: #b9c27a; }
@media (max-width: 719px) {
  table.data th, table.data td { padding: 9px 10px; }
  table.data .col-opt { display: none; }
  table.data .rank { width: 3rem; }
}
@media (max-width: 479px) { table.data .col-opt2 { display: none; } }

/* 4ALL WEBRANK1 (decision 421, docs\webrank1.md): the ranking boards of the reference layout, in the site's own colours.
   The refresh line is a pill, the main tabs sit in the page head (our own tabs after a line), a bar holds the sub-tabs
   on the left and the Year / class lists and the search on the right; medal heads for the 1st / 2nd / 3rd places and
   the wins (the gold, silver and bronze of .medal-1/2/3); the social marks of a row in their own colours. The chosen
   tab stays gold (question 9). */
.rk-pill { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 6px 16px; border: 1px solid var(--gold-line); border-radius: 999px; background: rgba(0, 0, 0, .32); color: var(--text-2); font-size: .88rem; }
.rk-pill[hidden] { display: none; }
.rk-pill .rk-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.rk-tabs-head .rk-tabs { justify-content: center; margin: 18px 0 0; }
.rk-tabs .tab { padding: 7px 11px; font-size: .76rem; letter-spacing: .05em; min-height: 38px; }
.rk-tabs .rk-sep { align-self: stretch; width: 1px; margin: 4px 6px; background: var(--gold-line); }
.rk-tabs .rk-extra { opacity: .75; }
.rk-tabs .rk-extra[aria-selected="true"], .rk-tabs .rk-extra:hover { opacity: 1; }
.rk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: var(--glass); }
.rk-sub { margin: 0; }
.rk-sub .tab { min-height: 36px; padding: 6px 14px; font-size: .8rem; }
.rk-sub .tab[aria-pressed="true"] { color: var(--gold); background: var(--gold-soft); border-color: var(--gold-lo); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .15); }
.rk-right { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; margin-left: auto; }
.rk-right .search-box { flex: 0 0 16rem; min-width: 0; }
.rk-right select { width: auto; min-width: 9rem; min-height: 40px; border-radius: 999px; padding-left: 16px; }
.rk-info { margin: 0 0 12px; }
/* 4ALL SHOWDOWN2 (S4): the 4 season leaders above the Showdown list, as the game's window ("Kill Leader: NAME (640419)") */
.rk-leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: var(--glass); }
.rk-leaders > div { min-width: 0; }
.rk-leaders dt { color: var(--text-2); font-size: .8rem; }
.rk-leaders dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.rk-leaders .value { color: var(--gold); }
.rk-section + .notice { margin-top: 24px; }
/* 4ALL RANK1-W1 (docs\RANK1-W1.md): the champions of the last paid month above the tables (cards in the glass of the
   bar, the medals of the tables) and the rewards of a list under its info line (a closed details row). Tokens only. */
.rk-champions { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: var(--glass); }
.rk-champions[hidden] { display: none; }
.rk-champ-head { margin: 0 0 10px; color: var(--gold); font-size: 1.05rem; letter-spacing: .04em; }
.rk-champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.rk-champ { padding: 10px 12px; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: rgba(0, 0, 0, .32); }
.rk-champ-board { display: block; margin: 0 0 6px; color: var(--text-2); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.rk-champ-places { margin: 0; padding: 0; list-style: none; }
.rk-champ-places li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 3px 0; }
.rk-champ-places .medal { width: 22px; height: 22px; font-size: .72rem; }
.rk-champ-title { flex-basis: 100%; padding-left: 30px; color: var(--gold); font-size: .8rem; }
.rk-champions > p { margin: 0; }
.rk-rewards { margin: -4px 0 12px; }
.rk-rewards summary { cursor: pointer; color: var(--gold); }
.rk-rew-list { margin: 6px 0 0; padding-left: 18px; color: var(--text-2); }
.rk-rew-list li { margin: 2px 0; }
.rk-medal { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 800 .72rem/1 var(--sans); letter-spacing: 0; vertical-align: middle; }
.rk-medal svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.rk-medal-1 { color: #2a1d02; background: radial-gradient(circle at 35% 30%, #fff1b8, #e0b54a 55%, #94701d); box-shadow: 0 0 10px rgba(224, 181, 74, .45); }
.rk-medal-2 { color: #1d2024; background: radial-gradient(circle at 35% 30%, #ffffff, #c7ccd2 55%, #7d848c); }
.rk-medal-3 { color: #2a1406; background: radial-gradient(circle at 35% 30%, #ffd9b0, #c98a4b 55%, #7c4a1f); }
table.data th.c, table.data td.c { text-align: center; }
.rank-table .rk-cls { color: var(--text-2); }
.rank-table .rk-date { white-space: nowrap; }
.rank-table .soc-marks { gap: 5px; margin-left: 8px; vertical-align: -3px; }
.rank-table .soc-marks svg { width: 17px; height: 17px; }
.rank-table .soc-marks a.soc-youtube { color: #ff0033; }
.rank-table .soc-marks a.soc-youtube rect { fill: currentColor; }
.rank-table .soc-marks a.soc-youtube path { fill: #fff; stroke: none; }
.rank-table .soc-marks a.soc-twitch { color: #9146ff; }
.rank-table .soc-marks a.soc-twitch path:first-child { fill: currentColor; }
.rank-table .soc-marks a.soc-twitch path + path { stroke: #0a0f1e; stroke-width: 2; }
.rank-table .soc-marks a.soc-tiktok, .rank-table .soc-marks a.soc-x { color: #f2f2f2; }
.rank-table .soc-marks a:hover, .rank-table .soc-marks a:focus-visible { filter: brightness(1.25); }
@media (max-width: 700px) {
  .rk-tabs-head .rk-tabs, .rk-sub { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: thin; }
  .rk-tabs .tab, .rk-sub .tab { flex: none; }
  .rk-sub { max-width: 100%; }
  .rk-bar { padding: 10px; }
  .rk-leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
  .rk-right { width: 100%; margin-left: 0; flex-wrap: wrap; }
  .rk-right select { flex: 1 1 8rem; }
  .rk-right .search-box { flex: 1 1 10rem; }
  .rk-pill { border-radius: 18px; text-align: left; font-size: .8rem; }
}

/* ------------------------------------------------------------ timetable */
.tt-view { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 16px; }
.clock { font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; color: var(--text-2); font-variant-numeric: lining-nums tabular-nums; font-size: .9rem; margin: 0; }
.clock strong { color: var(--gold-hi); font-weight: 600; }
.tt-cards > * { min-width: 0; }
.tt-cards { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.tt-card { display: grid; gap: 8px; align-content: start; min-height: 180px; }
.tt-card .card-label { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--muted); }
.tt-card .card-label svg { width: 17px; height: 17px; color: var(--gold-lo); }
.tt-card.is-live .card-label { color: #bff0cf; }
.tt-card.is-live .card-label svg { color: var(--ok); }
.tt-card .mode { font-family: var(--display); font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); color: var(--gold); line-height: 1.15; }
.tt-card .when { color: var(--text-2); }
.tt-card .variant { color: var(--muted); font-size: .9rem; }
.tt-card .countdown { font-family: var(--sans); font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); color: #fff3cf; letter-spacing: .03em; font-variant-numeric: lining-nums tabular-nums; line-height: 1.1; }
.tt-card .countdown-label { color: var(--muted); font-size: .85rem; }
.tt-card .quiet { color: var(--text-2); margin: 6px 0 0; font-size: 1.05rem; }
.tt-card .last { display: grid; gap: 4px; justify-items: start; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gold-line); }
.tt-card .last-name { font-family: var(--display); font-size: 1.15rem; color: var(--text-2); }
.progress { position: relative; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 6px; }
.progress > span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #2e9e5f, var(--ok)); box-shadow: 0 0 12px rgba(95, 211, 138, .55); transition: width 1s linear; }
.progress-row { display: flex; justify-content: space-between; gap: 10px; font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; font-size: .82rem; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }

.day-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.day-tabs .tab { justify-content: center; flex-direction: column; gap: 2px; border-radius: var(--radius); padding: 8px 4px; min-height: 52px; }
.day-tabs .tab .today { font-family: var(--sans); font-weight: 700; font-size: .62rem; letter-spacing: .14em; color: var(--gold); }
.day-tabs .tab.is-today { border-color: var(--gold-lo); color: var(--gold-hi); background: rgb(var(--gold-rgb) / .08); }
.day-tabs .tab.is-today[aria-selected="true"] { background: var(--gold); color: #1b1406; border-color: var(--gold); }
.day-tabs .tab.is-today[aria-selected="true"] .today { color: #1b1406; }
.day-tabs .d-short { display: none; }
@media (max-width: 899px) {
  .day-tabs .d-long { display: none; }
  .day-tabs .d-short { display: inline; }
}
@media (max-width: 559px) {
  .day-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tt-table td.time { font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; font-size: 1.05rem; color: var(--gold-hi); white-space: nowrap; width: 7rem; }
.tt-table td.time small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--muted); }
.tt-table .mode-name { font-weight: 700; color: var(--text); }
.tt-table .mode-sub { font-size: .84rem; color: var(--muted); }
.tt-table td.state { text-align: right; white-space: nowrap; }
.tt-table td.state .eta { display: block; margin-top: 4px; font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; font-size: .8rem; color: var(--text-2); font-variant-numeric: lining-nums tabular-nums; }
.tt-table tr.is-live:not(.tt-banner) { background: linear-gradient(90deg, rgba(95, 211, 138, .14), transparent 70%) !important; }
.tt-table tr.is-next:not(.tt-banner) { background: linear-gradient(90deg, rgba(76, 140, 246, .14), transparent 70%) !important; }
.tt-table tr.is-done td.time, .tt-table tr.is-done .mode-name { color: var(--muted); }
/* phones: one block per battle (time left, mode and status stacked on the right) */
@media (max-width: 599px) {
  .tt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tt-table, .tt-table tbody { display: block; }
  .tt-table tr { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 4px 10px; padding: 11px 12px; border-bottom: 1px solid rgb(var(--gold-rgb) / .07); }
  .tt-table tbody tr:last-child { border-bottom: 0; }
  .tt-table td { padding: 0; border: 0 !important; }
  .tt-table td.time { grid-row: span 2; width: auto; font-size: 1rem; }
  .tt-table td.state { grid-column: 2; text-align: left; white-space: normal; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .tt-table td.state .eta { display: inline; margin: 0; }
}
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .85rem; margin-top: 14px; }

.mode-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.mode-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.mode-card p { margin: 0; color: var(--text-2); font-size: .94rem; }
.mode-card .times { margin-top: 10px; font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; font-size: .84rem; color: var(--gold-hi); }

/* ------------------------------------------------------------ forms */
.form-card { max-width: 32rem; margin: 0 auto; padding: clamp(22px, 3vw, 34px); overflow: hidden; }
/* glass form (account pages): a thin gold line along the top edge */
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgb(var(--gold-rgb) / 0), var(--gold) 50%, rgb(var(--gold-rgb) / 0)); opacity: .7; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="password"] { background: rgba(0, 0, 0, .45); border-color: rgb(var(--gold-rgb) / .2); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; color: var(--text); font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); margin: 0; }
.field .error { font-size: .875rem; color: var(--bad); margin: 0; font-weight: 600; }
.field .error:empty { display: none; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius);
  font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: rgba(4, 6, 10, .65); border: 1px solid var(--gold-line);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35);
}
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #7f7b72; }
input:hover, select:hover, textarea:hover { border-color: rgb(var(--gold-rgb) / .35); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--gold); }
input[aria-invalid="true"] { border-color: var(--bad); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 88px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 34px; padding: 4px 10px; border-radius: var(--radius); border: 1px solid var(--gold-line); background: rgba(255, 255, 255, .05); color: var(--text-2); font: 600 .8rem var(--sans); cursor: pointer; }
.pw-toggle:hover { color: #fff; border-color: var(--gold-lo); }
.meter { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter > span { display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s, background-color .2s; }
.meter[data-level="2"] > span { background: var(--warn); }
.meter[data-level="3"] > span, .meter[data-level="4"] > span { background: var(--ok); }
.captcha-slot { display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 12px 14px; border: 1px dashed var(--gold-line); border-radius: var(--radius); color: var(--muted); font-size: .9rem; background: rgba(255, 255, 255, .02); }
.captcha-slot svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.form-status:empty { display: none; }
.form-card > .notice { margin-bottom: 20px; }
.status-icon { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font: 800 .85rem/1 var(--display); border: 1.5px solid currentColor; color: var(--gold); }
.notice-error .status-icon { color: var(--bad); }
.notice-success .status-icon { color: var(--ok); }
.notice p + p { margin-top: -.4em; }
.form-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: .925rem; padding-top: 4px; }
.form-links a + a { padding-left: 16px; border-left: 1px solid var(--gold-line); }
.form .btn[type="submit"] { width: 100%; }

/* ------------------------------------------------------------ prose (rules, guides, legal) */
.prose { max-width: 52rem; margin: 0 auto; }
.prose h2 { margin-top: 1.8em; padding-bottom: .35em; border-bottom: 1px solid var(--gold-line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--gold-hi); }
.prose li::marker { color: var(--gold); }
.prose ol > li::marker { font-weight: 700; }
.prose table.data { margin: 1em 0 1.4em; }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 10px; border-radius: var(--radius); text-decoration: none; color: var(--text-2); }
.toc a:hover { background: var(--gold-soft); color: var(--gold-hi); }
.with-toc { display: grid; gap: 22px; }
@media (min-width: 1000px) {
  .with-toc { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
  .with-toc .toc-panel { position: sticky; top: calc(var(--header-h) + 20px); }
}
.rule-id { color: var(--gold); font-family: var(--mono); font-size: .9em; margin-right: .5em; }
.rules-list { list-style: none; padding: 0; }
.rules-list li { padding: 8px 10px; margin: 0 0 4px; border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 20px); }
.rules-list li:target { background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); }
.rule-ladder { margin-top: 6px; padding: 2px 0 2px 10px; border-left: 2px solid var(--gold-line); font-size: .875rem; color: var(--text-2); }
/* 4ALL GMIOS32: a retired rule keeps its number (content.js), and the date of the rules published from the app */
.rule-retired { opacity: .72; }
.rule-retired > strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.rule-retired-tag { vertical-align: 1px; }
.rules-updated { margin: 0 0 1.2em; font-size: .9rem; }
.h4 { font-size: 1.05rem; }
.toc-panel h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .6em; }
.faq details { border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .25); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--gold-line); color: var(--gold-hi); }
.faq .answer { padding: 14px 16px 4px; color: var(--text-2); }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps > li { counter-increment: step; position: relative; padding: 14px 16px 14px 62px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .25); margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 400 1rem/1 var(--display); color: #1b1406; background: var(--gold); }
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--text-2); }

/* ------------------------------------------------------------ features ("What awaits you") */
.features-list { display: grid; gap: clamp(22px, 3vw, 34px); min-width: 0; }
.features-list > section { scroll-margin-top: calc(var(--header-h) + 16px); }
.feature-grid { display: grid; gap: clamp(14px, 1.8vw, 18px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.panel.feature { grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; scroll-margin-top: calc(var(--header-h) + 16px); }
.panel.feature .icon { grid-row: span 2; align-self: start; }
.panel.feature h3 { align-self: center; margin: 0; color: var(--gold); }
.panel.feature p a { white-space: nowrap; }
.panel.feature:target { border-color: var(--gold-lo); box-shadow: var(--shadow), inset 0 0 0 1px rgb(var(--gold-rgb) / .25); }
.features-page .toc-panel h2 { margin-bottom: .5em; }
.features-page .toc > li > a { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; color: var(--gold); }
.features-page .toc ol { list-style: none; margin: 0 0 6px; padding: 0 0 0 10px; border-left: 1px solid var(--gold-line); }
.features-page .toc ol a { padding: 3px 10px; font-size: .9rem; }
@media (max-width: 999px) {
  .features-page .toc { display: flex; flex-wrap: wrap; gap: 6px; }
  .features-page .toc ol { display: none; }
  .features-page .toc > li > a { border: 1px solid var(--gold-line); border-radius: 999px; padding: 5px 12px; font-size: .78rem; }
}
.next-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.next-list li { margin: 0; display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border: 1px dashed var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .25); }
.cta-panel { text-align: center; }
.cta-panel h2 { text-transform: uppercase; letter-spacing: .12em; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); }

/* ------------------------------------------------------------ download */
.dl-sources { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin: 16px 0; }
.dl-sources.dl-one { grid-template-columns: minmax(0, 24rem); }
.dl-source { min-height: 64px; border-radius: var(--radius-lg); justify-content: flex-start; text-align: left; white-space: normal; padding: 12px 20px; }
.dl-source > span { display: grid; gap: 2px; }
.dl-source small { font: 400 .78rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; opacity: .85; }
.dl-source small.placeholder-mark { color: #ffe2a8; }
.dl-source svg { width: 24px; height: 24px; }
.dl-client .notice { margin: 0 0 16px; }
.panel h3.h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--gold-hi); }
.panel h3.h4 svg { width: 20px; height: 20px; color: var(--gold); }
.notice-panel p { color: var(--text-2); font-size: .95rem; }
.patch-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.link-list, .lang-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.link-list li, .lang-list li { margin: 0; padding: 8px 12px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .25); }
.lang-list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.req-3 thead th { white-space: normal; }
/* phones: one block per component, each value with its column name */
@media (max-width: 599px) {
  .req-3 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .req-3, .req-3 tbody, .req-3 tr { display: block; }
  .req-3 tr { padding: 10px 12px; border-bottom: 1px solid rgb(var(--gold-rgb) / .07); }
  .req-3 th[scope="row"], .req-3 td { display: block; padding: 2px 0; border: 0; }
  .req-3 th[scope="row"] { color: var(--gold); font-family: var(--display); letter-spacing: .06em; margin-bottom: 4px; }
  .req-3 td { display: grid; grid-template-columns: minmax(7.5rem, 42%) minmax(0, 1fr); gap: 10px; align-items: baseline; }
  .req-3 td::before { color: var(--muted); font-size: .82rem; }
  html[data-lang="en"] .req-3 td::before { content: attr(data-l-en); }
  html[data-lang="ro"] .req-3 td::before { content: attr(data-l-ro); }
}

/* ------------------------------------------------------------ hall of fame */
.hof-wrap, .data-stack { display: grid; gap: clamp(16px, 2vw, 22px); min-width: 0; }
.hof-wrap > *, .data-stack > * { min-width: 0; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who .sub { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.hof-records { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.hof-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center; min-width: 0;
  padding: 16px 18px; border: 1px solid var(--gold-line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgb(var(--gold-rgb) / .08), rgba(0, 0, 0, .25) 60%);
}
.hof-card .hof-ico {
  grid-row: span 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--gold-lo); color: var(--gold); background: radial-gradient(circle at 35% 30%, rgb(var(--gold-rgb) / .22), rgba(0, 0, 0, .25));
}
.hof-card .hof-ico svg { width: 24px; height: 24px; }
/* 4ALL KFLAG1: the strongest guild's emblem (or its kingdom's) in the round icon */
.hof-card .hof-ico-pic { overflow: hidden; padding: 0; background: rgba(0, 0, 0, .45); }
.hof-card .hof-ico-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hof-card .hof-ico-pic.is-guild img { width: 34px; height: 34px; object-fit: contain; image-rendering: pixelated; }
.hof-card .hof-ico-pic.k0 { border-color: rgba(224, 122, 98, .7); box-shadow: 0 0 10px rgba(224, 122, 98, .35); }
.hof-card .hof-ico-pic.k1 { border-color: rgba(111, 166, 224, .7); box-shadow: 0 0 10px rgba(111, 166, 224, .35); }
.hof-card .hof-label { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--muted); }
.hof-card .hof-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 1.08rem; color: var(--gold-hi); }
.hof-card .hof-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 4ALL KFLAG1: the kingdom's emblem after the name (assets/img/kingdom/<n>.png, the client's) */
.hof-card .hof-name > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kingdom-flag { width: 26px; height: 26px; flex: none; border-radius: 50%; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.kingdom-flag.k0 { box-shadow: 0 0 8px rgba(224, 122, 98, .55); }
.kingdom-flag.k1 { box-shadow: 0 0 8px rgba(111, 166, 224, .55); }
.hof-kingdoms h3 .kingdom-flag { width: 30px; height: 30px; }
.hof-card .hof-sub { font-size: .84rem; color: var(--text-2); overflow-wrap: anywhere; }
.hof-card .hof-value { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--gold-line); color: var(--muted); font-size: .84rem; }
.hof-card .hof-value strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.podium { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; margin: 8px 0 14px; padding: 0; }
.podium-step { margin: 0; min-width: 0; text-align: center; padding: 16px 10px 14px; border: 1px solid var(--gold-line); border-radius: var(--radius-lg) var(--radius-lg) 4px 4px; background: rgba(0, 0, 0, .28); }
.podium-step.p1 { order: 2; padding-top: 28px; border-color: rgba(224, 181, 74, .55); background: linear-gradient(180deg, rgba(236, 196, 92, .22), rgba(0, 0, 0, .28)); }
.podium-step.p2 { order: 1; background: linear-gradient(180deg, rgba(200, 208, 220, .15), rgba(0, 0, 0, .28)); }
.podium-step.p3 { order: 3; background: linear-gradient(180deg, rgba(205, 133, 72, .18), rgba(0, 0, 0, .28)); }
.podium-step .medal { margin: 0 auto 8px; }
.podium-step .nm { display: block; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-step.p1 .nm { color: #ffe39a; font-size: 1.08rem; }
.podium-step .sub { display: block; font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-step .val { display: block; margin-top: 6px; font-family: var(--display); color: var(--gold); font-size: 1.05rem; }
.hof-season + .hof-season { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--gold-line); }
.hof-season h3, .hof-kingdoms h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.hof-season h3 small { font-family: var(--sans); font-size: .82rem; color: var(--muted); letter-spacing: 0; text-transform: none; }
.hof-kingdoms { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.more-list summary { cursor: pointer; color: var(--text-2); font-size: .92rem; margin: 4px 0 10px; }
.more-list summary:hover { color: var(--gold-hi); }
@media (max-width: 599px) {
  .podium { gap: 6px; }
  .podium-step { padding: 12px 6px 10px; }
  .podium-step.p1 { padding-top: 20px; }
}

/* ------------------------------------------------------------ guilds, PvP */
.stat-tiles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); margin: 16px 0 0; }
.stat-tile { margin: 0; padding: 12px 14px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .25); }
.stat-tile dt { font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stat-tile dd { margin: 2px 0 0; font-family: var(--display); font-size: 1.3rem; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guild-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; }
.guild-title .kingdom-mark { width: 14px; height: 14px; }
.back-link svg { width: 16px; height: 16px; }
.rk-toolbar-top { border-top: 0; padding-top: 0; margin-top: 0; }
.rk-toolbar p { margin: 0; }
table.data a.nm-link { color: var(--text); font-weight: 700; text-decoration: none; }
table.data a.nm-link:hover, table.data a.nm-link:focus-visible { color: var(--gold-hi); text-decoration: underline; }
.duty { display: inline-block; padding: 2px 8px; border: 1px solid var(--gold-line); border-radius: 999px; font-size: .76rem; color: var(--text-2); white-space: nowrap; }
.duty-2 { color: #1b1406; background: var(--gold); border-color: var(--gold); }
.duty-1 { color: var(--gold); background: var(--gold-soft); border-color: var(--gold-lo); }
/* 4ALL GPAGE1: one guild's page (docs\gpage1.md): the emblem, the bars, holdings, wars, PvP, relations, members by class */
.g-emblem { display: block; flex: none; }
.g-emblem-sm { width: 28px; height: 28px; }
.g-emblem-lg { width: 72px; height: 72px; }
@media (min-width: 600px) { .g-emblem-lg { width: 96px; height: 96px; } }
.guild-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.guild-head > div { min-width: 0; }
.guild-sub { margin: 6px 0 0; color: var(--text-2); font-size: .92rem; }
.guild-former { margin: 2px 0 0; color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.guild-cols { display: grid; gap: clamp(16px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); min-width: 0; }
.guild-cols > * { min-width: 0; margin: 0; }
.g-note { margin: 8px 0 0; font-size: .84rem; color: var(--muted); }
.g-bar + .g-bar { margin-top: 18px; }
.g-bar .progress-row strong { color: var(--gold-hi); font-weight: 600; }
.progress.is-gold > span { background: linear-gradient(90deg, var(--gold-lo), var(--gold)); box-shadow: none; }
.g-recruit { margin-top: 16px; }
.g-recruit p { margin: 0 0 4px; }
.g-ad { color: var(--gold-hi); overflow-wrap: anywhere; }
.g-head-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); }
.g-tiles { margin: 0 0 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-sub { margin-top: 4px; }
.g-places, .g-links, .g-chips { list-style: none; margin: 0; padding: 0; }
.g-places { display: grid; gap: 10px; }
.g-places li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .25); }
.g-places li > svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.g-places li > span { min-width: 0; }
.g-places .nm { display: block; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.g-places .sub { display: block; font-size: .8rem; color: var(--muted); }
.g-place { gap: 8px; }
.g-place > span { min-width: 0; }
.rank-table .g-place .nm { white-space: normal; }
table.data td.g-date { white-space: nowrap; }
.g-place svg { width: 18px; height: 18px; flex: none; color: var(--gold-lo); }
.g-rel { display: grid; gap: 14px 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.g-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.g-links a.nm-link { color: var(--text); font-weight: 700; text-decoration: none; }
.g-links a.nm-link:hover, .g-links a.nm-link:focus-visible { color: var(--gold-hi); text-decoration: underline; }
.g-classes { margin: 0 0 14px; }
.g-classes .g-note { margin-top: 6px; }
.g-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g-chips li { padding: 2px 10px; border: 1px solid var(--gold-line); border-radius: 999px; font-size: .8rem; color: var(--text-2); white-space: nowrap; }
.g-chips li strong { color: var(--gold-hi); }
.pvp-matrix th, .pvp-matrix td { text-align: center; white-space: nowrap; }
.pvp-matrix thead th { font-size: .74rem; }
.pvp-matrix tbody th[scope="row"] { text-align: left; color: var(--gold-hi); font-weight: 600; }
.pvp-matrix td.total, .pvp-matrix th.total { border-left: 1px solid var(--gold-line); font-weight: 700; color: var(--text); }
table.data.pvp-matrix tbody tr:nth-child(even) { background: none; }
.heat-0 { color: var(--muted); }
.heat-1 { background: rgb(var(--gold-rgb) / .05); }
.heat-2 { background: rgb(var(--gold-rgb) / .11); }
.heat-3 { background: rgb(var(--gold-rgb) / .18); color: var(--gold-hi); }
.heat-4 { background: rgba(236, 196, 92, .27); color: #fff1cf; font-weight: 700; }
.heat-5 { background: rgba(236, 196, 92, .4); color: #fff8e4; font-weight: 700; }
.matrix-note { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: .84rem; color: var(--muted); }
.vs-bars { display: grid; gap: 4px; min-width: 9rem; }
.vs-bar { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) 2.6rem; gap: 6px; align-items: center; font-size: .76rem; color: var(--text-2); }
.vs-bar .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.vs-bar .bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); }
.vs-bar .n { text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ gallery */
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.gallery-grid li { margin: 0; }
.gallery-item { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--gold-line); border-radius: var(--radius); overflow: hidden; background: rgba(0, 0, 0, .3); cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: .82rem; color: var(--text); text-align: left; background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); }
.gallery-more { display: flex; width: fit-content; margin: 18px auto 0; }
.gallery-empty svg { display: block; width: 44px; height: 44px; margin: 0 auto 10px; color: var(--gold-lo); }
.gallery-viewer { max-width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: #05070b; color: var(--text); overflow: hidden; }
.gallery-viewer::backdrop { background: rgba(0, 0, 0, .82); }
.gallery-viewer figure { margin: 0; }
.gallery-viewer img { display: block; max-width: 100%; max-height: calc(94vh - 52px); width: auto; height: auto; margin: 0 auto; }
.gallery-viewer figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 16px; font-size: .9rem; border-top: 1px solid var(--gold-line); }
.gv-btn { position: absolute; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid var(--gold-line); background: rgba(0, 0, 0, .6); color: var(--gold); cursor: pointer; }
.gv-btn:hover { color: var(--gold-hi); border-color: var(--gold-lo); }
.gv-btn svg { width: 20px; height: 20px; }
.gv-close { top: 10px; right: 10px; }
.gv-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.gv-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------ item encyclopedia, crafting (game data pages) */
.item-ico { display: inline-block; width: 32px; height: 32px; flex: none; border-radius: 5px; border: 1px solid rgb(var(--gold-rgb) / .28); background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5); }
.item-ico.lg { width: 52px; height: 52px; border-radius: 7px; }
.item-ico.sm { width: 26px; height: 26px; border-radius: 4px; }
.item-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.item-txt { min-width: 0; }
.item-link { appearance: none; border: 0; background: none; padding: 0; margin: 0; color: var(--text); font: 700 .95rem/1.3 var(--sans); text-align: left; cursor: pointer; }
.item-link:hover, .item-link:focus-visible { color: var(--gold-hi); text-decoration: underline; }
.item-sub { display: block; margin: 0; font-size: .8rem; color: var(--muted); font-weight: 400; }
table.data.item-table td { padding-top: 7px; padding-bottom: 7px; }
.item-table .item-link { line-height: 1.25; }
.item-table .cls-cell { font-size: .84rem; color: var(--text-2); max-width: 16rem; }
.src-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.src-tag { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--gold-line); font-size: .72rem; line-height: 1.5; color: var(--text-2); white-space: nowrap; background: rgba(255, 255, 255, .03); }
.src-tag.s1 { border-color: rgba(239, 107, 91, .45); color: #f3b0a6; }
.src-tag.s2 { border-color: rgba(143, 184, 242, .45); color: #bcd5f7; }
.src-tag.s4 { border-color: rgba(240, 180, 76, .45); color: #f5d49a; }
.src-tag.s8 { border-color: rgba(95, 211, 138, .45); color: #a9e8c0; }
.src-tag.s16 { border-color: rgb(var(--gold-rgb) / .55); color: var(--gold); }
.list-count { margin: 0 0 10px; font-size: .85rem; color: var(--muted); }
.data-note { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
.sheet { width: min(94vw, 44rem); max-height: 90vh; padding: 0; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); background: #0a0d14; color: var(--text); overflow: auto; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(0, 0, 0, .72); }
.sheet-head { display: flex; align-items: center; gap: 14px; padding: 20px 64px 16px 20px; border-bottom: 1px solid var(--gold-line); background: linear-gradient(180deg, rgb(var(--gold-rgb) / .08), rgb(var(--gold-rgb) / 0)); }
.sheet-head h2 { margin: 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--gold-hi); text-transform: none; letter-spacing: .02em; }
.sheet-body { padding: 4px 20px 22px; }
.sheet-body .stat-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); }
.sheet-body .stat-tile dd { font-size: 1.1rem; }
.sheet-sec { margin-top: 20px; }
.sheet-sec h3 { margin: 0 0 8px; font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.src-group + .src-group { margin-top: 12px; }
.src-group h4 { margin: 0 0 4px; font: 700 .9rem/1.4 var(--sans); color: var(--text); }
.src-group h4 small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: .9rem; }
.src-list li { margin: 0; padding-left: 14px; position: relative; color: var(--text-2); }
.src-list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 1px; transform: rotate(45deg); background: var(--gold-lo); }
.src-list .nm { color: var(--text); font-weight: 600; }
.src-list .place { color: var(--info); }
.src-line { margin: 10px 0 0; font-size: .9rem; }
.sheet .gv-close { position: absolute; top: 14px; right: 14px; }
.cr-toggle { margin: 0 0 12px; color: var(--text-2); }
.recipe-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); }
.recipe { display: grid; gap: 10px; align-content: start; padding: 14px 16px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .28); min-width: 0; }
.recipe.is-focus { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-lo), 0 0 22px rgb(var(--gold-rgb) / .18); }
.recipe-blocked { border-style: dashed; background: rgba(0, 0, 0, .18); }
.recipe-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.recipe-head h3 { margin: 0; font: 700 1rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); }
.recipe-head a.recipe-out { color: var(--gold-hi); text-decoration: none; }
.recipe-head a.recipe-out:hover, .recipe-head a.recipe-out:focus-visible { text-decoration: underline; }
.recipe .cnt { color: var(--muted); font-weight: 400; white-space: nowrap; }
.recipe-npc { margin: 0; font-size: .84rem; }
.recipe-npc strong { color: var(--text); }
.recipe .place { color: var(--info); }
.ing-list { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid rgb(var(--gold-rgb) / .08); display: grid; gap: 6px; font-size: .9rem; }
.ing-list li { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; }
.ing-list a.nm { color: var(--text); text-decoration: none; font-weight: 600; }
.ing-list a.nm:hover, .ing-list a.nm:focus-visible { color: var(--gold-hi); text-decoration: underline; }
.ing-list .no-src { color: var(--text-2); font-weight: 600; }
.ing-list li.missing .item-ico { opacity: .55; }
.ing-list li.missing .item-sub { color: var(--warn); }
.recipe-warn { margin: 0; font-size: .8rem; color: var(--warn); }

/* ------------------------------------------------------------ map atlas */
.atlas-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.atlas-grid li { margin: 0; min-width: 0; }
.atlas-card { display: grid; gap: 4px; height: 100%; padding: 8px 8px 12px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .28); color: var(--text); text-decoration: none; }
.atlas-card:hover, .atlas-card:focus-visible { border-color: var(--gold-lo); background: rgb(var(--gold-rgb) / .06); }
.atlas-thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 5px; background: #0e1118; }
.atlas-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.atlas-card:hover .atlas-thumb img { transform: scale(1.04); }
.atlas-name { margin-top: 6px; padding: 0 4px; font-weight: 700; color: var(--gold-hi); overflow-wrap: anywhere; }
.atlas-card .item-sub { padding: 0 4px; }
.atlas-title { margin: 0 0 4px; text-transform: none; letter-spacing: .03em; }
.atlas-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 14px 0 12px; }
.atlas-layers { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.layer-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 5px 12px; border: 1px solid var(--gold-line); border-radius: 999px; background: rgba(255, 255, 255, .03); font-size: .84rem; color: var(--text-2); cursor: pointer; }
.layer-chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); }
.layer-chip .count { color: var(--muted); font-size: .76rem; }
.layer-chip:has(input:not(:checked)) { opacity: .6; }
.atlas-zoom { display: inline-flex; gap: 6px; }
.atlas-zoom .zoom-btn { position: static; font: 700 1.2rem/1 var(--sans); }
.atlas-zoom .zoom-btn:disabled { opacity: .4; cursor: default; }
.atlas-split { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .atlas-split { grid-template-columns: minmax(0, 1fr) 17rem; align-items: start; } .atlas-info { position: sticky; top: calc(var(--header-h) + 16px); } }
.atlas-frame { border: 1px solid var(--gold-line); border-radius: var(--radius); background: #0e1118; overflow: hidden; }
.atlas-frame.is-big { overflow: auto; max-height: min(78vh, 900px); overscroll-behavior: contain; }
.atlas-canvas { position: relative; width: 100%; margin: 0 auto; }
.atlas-canvas > img { display: block; width: 100%; height: auto; }
.atlas-marks { position: absolute; inset: 0; }
.mk { position: absolute; width: 14px; height: 14px; padding: 0; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(0, 0, 0, .75); background: var(--gold); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); cursor: pointer; }
.mk::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.mk:hover, .mk:focus-visible, .mk.is-sel { z-index: 2; transform: translate(-50%, -50%) scale(1.45); outline: none; box-shadow: 0 0 0 2px var(--focus), 0 0 12px rgba(246, 227, 168, .7); }
.mk-shop { background: #6fa6e0; }
.mk-craft { background: #5fd38a; }
.mk-service { background: #ecd19a; }
.mk-travel { background: #5fe0e0; border-radius: 3px; }
.mk-battle { background: #c792ea; }
.mk-boss { background: #ef6b5b; width: 16px; height: 16px; border-radius: 3px; transform: translate(-50%, -50%) rotate(45deg); }
.mk-boss:hover, .mk-boss:focus-visible, .mk-boss.is-sel { transform: translate(-50%, -50%) rotate(45deg) scale(1.45); }
.mk-dot { display: inline-block; width: 10px; height: 10px; flex: none; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .6); vertical-align: 0; }
.mk-dot.mk-travel { border-radius: 2px; }
.mk-dot.mk-boss { width: 9px; height: 9px; border-radius: 1px; transform: rotate(45deg); }
.atlas-info { padding: 14px 16px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .3); font-size: .9rem; min-width: 0; }
.atlas-info h3 { margin: 4px 0 2px; font: 700 1.05rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--gold-hi); }
.atlas-info h4 { margin: 12px 0 4px; font: 700 .85rem/1.3 var(--sans); color: var(--text); }
.atlas-info p { margin: 0; }
.atlas-kind { display: flex; align-items: center; gap: 8px; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.atlas-lists { display: grid; gap: 8px; margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); align-items: start; }
.atlas-group { border: 1px solid var(--gold-line); border-radius: var(--radius); background: rgba(0, 0, 0, .22); }
.atlas-group summary { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; font-weight: 700; color: var(--text); }
.atlas-group summary .count { color: var(--muted); font-weight: 400; }
.atlas-list { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 3px; font-size: .86rem; max-height: 22rem; overflow: auto; }
.atlas-list li { margin: 0; }
.atlas-list .item-link { font-size: .88rem; }

/* ------------------------------------------------------------ sitemap list */
.sitemap { columns: 15rem 3; column-gap: 28px; }
.sitemap section { break-inside: avoid; margin-bottom: 20px; }
.sitemap h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5em; }
.sitemap ul { list-style: none; padding: 0; margin: 0; }
.sitemap li { margin: 0; }
.sitemap a { display: inline-block; padding: 3px 0; }

/* ------------------------------------------------------------ footer */
main { flex: 1; padding-bottom: clamp(24px, 4vw, 48px); }
.site-footer {
  border-top: 1px solid rgb(var(--gold-rgb) / .14);
  background: linear-gradient(180deg, rgba(12, 8, 4, .85), rgba(26, 21, 16, .92));
  color: var(--muted); font-size: .9rem;
}
@supports (backdrop-filter: blur(8px)) { .site-footer { backdrop-filter: blur(8px); } }
.footer-main { display: grid; gap: 24px; align-items: center; padding-top: 32px; padding-bottom: 26px; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
@media (min-width: 900px) { .footer-main { grid-template-columns: 1fr auto 1fr; justify-items: stretch; text-align: left; } .footer-follow { justify-self: end; text-align: right; } }
.footer-brand { display: grid; gap: 6px; justify-items: center; }
@media (min-width: 900px) { .footer-brand { justify-items: start; } }
.footer-brand img { height: 50px; width: auto; }
.footer-brand .slogan { margin: 0; font-family: var(--display); letter-spacing: .24em; text-transform: uppercase; color: rgba(236, 209, 154, .7); font-size: .72rem; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.footer-links li { margin: 0; }
.footer-links a { display: inline-block; padding: 6px 12px; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--gold); text-decoration: none; border-radius: var(--radius); }
.footer-links a:hover { background: var(--gold-soft); color: var(--gold-hi); }
.footer-follow h2 { margin: 0 0 8px; font-family: var(--display); font-size: .82rem; text-transform: uppercase; letter-spacing: .22em; color: var(--text-2); }
.footer-follow .social { display: inline-flex; gap: 8px; }
.footer-follow .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-line); color: var(--gold); background: rgba(0, 0, 0, .25); }
.footer-follow .social a:hover { background: var(--gold-soft); color: var(--gold-hi); border-color: var(--gold-lo); }
.footer-follow .social svg { width: 19px; height: 19px; }
.footer-follow .social .soon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px dashed var(--gold-line); color: var(--gold); opacity: .45; cursor: default; }
.footer-follow .social .soon svg { width: 19px; height: 19px; }
@media (max-width: 899px) { .footer-follow .social { flex-wrap: wrap; justify-content: center; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-top: 14px; padding-bottom: 22px; border-top: 1px solid rgb(var(--gold-rgb) / .08); font-size: .82rem; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.footer-legal li { margin: 0; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-hi); text-decoration: underline; }
@media (max-width: 899px) { .footer-bottom { justify-content: center; text-align: center; } .footer-legal ul { justify-content: center; } }

/* SITEPUB1: the Discord community section above the footer (layout/footer.html) */
.dc-join { position: relative; overflow: hidden; padding: 64px 0; border-top: 1px solid rgba(236, 209, 154, .14);
  background: radial-gradient(60% 80% at 85% 50%, rgba(88, 101, 242, .22), transparent 70%), radial-gradient(50% 70% at 10% 0%, rgba(236, 209, 154, .10), transparent 70%), linear-gradient(180deg, rgba(10, 12, 20, .78), rgba(12, 8, 4, .9)); }
.dc-join::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(236, 209, 154, .5) 1px, transparent 1.5px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.dc-join-in { position: relative; display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .dc-join-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; } }
.dc-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(88, 101, 242, .55);
  background: rgba(88, 101, 242, .14); color: #c9cdff; font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; }
.dc-eyebrow svg { width: 16px; height: 16px; }
.dc-join h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); line-height: 1.15; color: var(--gold-hi); }
.dc-join h2 em { font-style: normal; background: linear-gradient(90deg, #8f9bff, #5865f2 60%, #b8bfff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-lead { margin: 0 0 22px; max-width: 56ch; color: var(--text-2); font-size: 1.02rem; line-height: 1.6; }
.dc-feats { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.dc-feats li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--gold-line); background: rgba(0, 0, 0, .22);
  transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.dc-feats li:hover { transform: translateX(4px); border-color: rgba(88, 101, 242, .55); background: rgba(88, 101, 242, .08); }
.dc-feats li > span:last-child { display: grid; gap: 2px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.dc-feats b { color: var(--gold); font-family: var(--display); font-weight: 400; letter-spacing: .04em; font-size: 1rem; }
.dc-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; background: linear-gradient(160deg, #6f7bff, #4752c4); box-shadow: 0 6px 16px rgba(88, 101, 242, .35); }
.dc-ico svg { width: 20px; height: 20px; }
.dc-btn { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, #6b77ff, #4f5bea); border-color: #7c87ff; box-shadow: 0 10px 28px rgba(88, 101, 242, .4); }
.dc-btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(88, 101, 242, .5); }
@keyframes dc-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.dc-card { position: relative; display: grid; gap: 18px; padding: 26px; border-radius: 18px; text-decoration: none; color: var(--text); isolation: isolate;
  background: linear-gradient(170deg, rgba(43, 45, 66, .95), rgba(20, 21, 32, .96)); border: 1px solid rgba(88, 101, 242, .5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); animation: dc-float 6s ease-in-out infinite; transition: border-color .3s ease, box-shadow .3s ease; }
.dc-card:hover { border-color: #8f9bff; box-shadow: 0 28px 70px rgba(88, 101, 242, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
.dc-card-glow { position: absolute; inset: -40% -20% auto auto; width: 70%; height: 90%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(88, 101, 242, .45), transparent); filter: blur(10px); }
@keyframes dc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dc-card-head { display: flex; align-items: center; gap: 14px; }
.dc-card-head img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 3px rgba(88, 101, 242, .55), 0 8px 20px rgba(0, 0, 0, .45); }
.dc-card-head b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: var(--gold-hi); letter-spacing: .06em; }
.dc-card-head small { display: block; color: #b5b9d6; font-size: .86rem; }
.dc-chans { display: grid; gap: 6px; padding: 14px; border-radius: 12px; background: rgba(0, 0, 0, .28); font-size: .92rem; color: #9aa0c4; }
.dc-chans > span { padding: 4px 8px; border-radius: 6px; transition: background .2s ease, color .2s ease; }
.dc-card:hover .dc-chans > span:first-child { background: rgba(88, 101, 242, .22); color: #fff; }
.dc-card-go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 10px; color: #fff; font-weight: 700; background: #5865f2; }
.dc-card-go svg { width: 18px; height: 18px; }
.dc-card-go svg:last-child { transition: transform .25s ease; }
.dc-card:hover .dc-card-go svg:last-child { transform: translateX(4px); }
.dc-card:focus-visible, .dc-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 899px) { .dc-join { padding: 44px 0; } .dc-join-text { text-align: center; } .dc-lead { margin-left: auto; margin-right: auto; } .dc-feats { text-align: left; } .dc-btn { width: 100%; justify-content: center; } .dc-card { animation: none; } }

/* ------------------------------------------------------------ misc */
.loading { color: var(--muted); }
.loading::after { content: ""; display: inline-block; width: 1em; text-align: left; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.error-box { color: var(--bad); }
.not-found-code { font-family: var(--display); font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--gold); text-shadow: 0 4px 0 #2a2108, 0 0 40px rgb(var(--gold-rgb) / .3); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  body::before, .topbar, .site-header, .site-footer, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .panel, .page-hero > .container { box-shadow: none; background: none; border-color: #999; backdrop-filter: none; }
  h1, h2, h3, a { color: #000; }
}

/* ACC3: the approved social links of an account next to a public character's name (rankings, character page) */
.soc-marks { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: -2px; }
.soc-marks a { display: inline-flex; color: var(--muted); }
.soc-marks a:hover, .soc-marks a:focus-visible { color: var(--gold-hi); }
.soc-marks svg { width: 15px; height: 15px; }

/* 4ALL SITE3 (row 57): the name of a character opens its page.
   4ALL SITEFIX1 (row 117, user 13.11.2026: "the name does not open its page"): only the letters were the link (a one-letter
   name was ~10 px wide); now the whole name block of a table (kingdom mark, name, class / level line) opens it, the way a
   mode card does (.mode-card-link::after). The social links stay above it. Hover only where there is a mouse (a tap
   left the hover on), the pressed look on touch. */
a.char-link { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.who { position: relative; }
.who a.char-link::after, .who a.nm-link::after { content: ""; position: absolute; inset: -10px -12px; }   /* a guild's name too */
.who a.nm-link { -webkit-tap-highlight-color: transparent; }
.who:active a.nm-link { color: var(--gold-hi); }
.who .soc-marks a { position: relative; z-index: 1; }
@media (hover: hover) { a.char-link:hover, .who:hover a.char-link { color: var(--gold-hi); text-decoration: underline; } }
a.char-link:focus-visible { color: var(--gold-hi); text-decoration: underline; }
a.char-link:active, .who:active a.char-link { color: var(--gold-hi); }

/* 4ALL SITE3 (row 88): a row of the timetable and a mode card open the page of the mode.
   4ALL SITEFIX1 (row 118): on a phone a tap left the hover on each cell of the row ("little squares") until the next page
   came; now hover only with a mouse, and a tap lights the whole row as one box */
.tt-table tr.has-link { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tt-table tr.has-link a { -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .tt-table tr.has-link:hover td { background: rgb(var(--gold-rgb) / .05); } }
.tt-table tr.has-link:active { box-shadow: inset 0 0 0 1px var(--gold-line), inset 0 0 0 100vmax rgb(var(--gold-rgb) / .07); }

/* 4ALL SITEFIX1 (row 118): the thin bar at the top from the tap on a link until the next page is drawn (site.js going) */
.nav-progress {
  position: fixed; top: 0; left: 0; z-index: 2000; width: 0; height: 3px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 8px rgb(var(--gold-rgb) / .5);
}
html.is-going .nav-progress { width: 90%; opacity: 1; transition: width 8s cubic-bezier(.08, .8, .2, 1), opacity .15s; }
@media (prefers-reduced-motion: reduce) { html.is-going .nav-progress { width: 100%; transition: opacity .15s; } }
.tt-table a.mode-name { display: inline-block; color: var(--text); text-decoration: none; }
.tt-table a.mode-name:hover, .tt-table a.mode-name:focus-visible { color: var(--gold-hi); text-decoration: underline; }
.tt-table tr.is-done a.mode-name { color: var(--muted); }
.mode-card.has-link { transition: border-color .15s; }
@media (hover: hover) { .mode-card.has-link:hover { border-color: var(--gold-lo); } }   /* 4ALL SITEFIX1 */
.mode-card.has-link:active { border-color: var(--gold-lo); }
.mode-card-link { color: inherit; text-decoration: none; }
.mode-card-link::after { content: ""; position: absolute; inset: 0; }
.mode-card-link:hover, .mode-card-link:focus-visible { color: var(--gold-hi); }
.tt-all-modes { margin: 16px 0 0; }
.tt-all-modes .btn { white-space: normal; }

/* ------------------------------------------------------------ 4ALL BHIST1: results and battle history (decision 387) */
/* variant B: the picture of the mode page behind a row, a battle of the history and the head of a result */
table.data.tt-table tbody tr.tt-banner, .bh-item.tt-banner, .bh-head.has-img {
  background-image: linear-gradient(90deg, var(--tt-tint, transparent), transparent 70%), linear-gradient(90deg, var(--glass-2) 30%, var(--glass)), var(--tt-img);
  background-size: auto, auto, cover; background-position: 0 0, 0 0, right center; background-repeat: no-repeat;
}
table.data.tt-table tbody tr.tt-banner.is-live { --tt-tint: rgba(95, 211, 138, .16); }
table.data.tt-table tbody tr.tt-banner.is-next { --tt-tint: rgba(76, 140, 246, .16); }
.bh-win { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: .84rem; color: var(--gold-hi); min-width: 0; white-space: normal; }
.bh-win svg, .bh-win .bh-kd { width: 16px; height: 16px; flex: none; color: var(--gold); }
.bh-win span { min-width: 0; overflow-wrap: anywhere; }
.bh-win.is-none { color: var(--text-2); }
.bh-win.is-none svg { color: var(--muted); }
.tt-table td.state .bh-open { margin-top: 6px; }
.tt-card .bh-win { font-size: .95rem; }
.tt-card .bh-open { justify-self: start; }
@media (max-width: 599px) { .tt-table td.state .bh-open { margin-top: 0; } }
/* the view of one battle */
.bh-dialog { width: min(94vw, 52rem); }
.bh-head { min-height: 92px; }
.bh-head-text { min-width: 0; }
.bh-when { margin: 4px 0 0; font-size: .85rem; color: var(--text-2); font-variant-numeric: lining-nums tabular-nums; }
.bh-sum { margin: 16px 0 12px; }
.bh-sum .bh-win { font-size: 1.05rem; }
.bh-sum .bh-win svg, .bh-sum .bh-kd { width: 20px; height: 20px; }
.bh-facts { margin: 6px 0 0; font-size: .88rem; color: var(--text-2); }
.bh-table .mode-sub { font-size: .78rem; color: var(--muted); }
.bh-table tr.is-win .nm { color: var(--gold-hi); }
.bh-body > .small { margin: 12px 0 0; }
/* the history: modes, totals, battles by day */
.bh-chips .tab[aria-pressed="true"] { color: var(--gold); background: var(--gold-soft); border-color: var(--gold-lo); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / .15); }
.bh-totals { margin: 0 0 18px; }
.bh-totals .stat-tile dd { white-space: normal; overflow-wrap: anywhere; font-size: 1.1rem; }
.bh-totals .stat-tile dd.bh-sub { margin-top: 2px; font: 400 .8rem/1.3 var(--sans); color: var(--muted); }
.bh-day { margin: 18px 0 8px; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); }
.bh-list > .bh-day:first-child { margin-top: 0; }
.bh-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bh-items li { margin: 0; min-width: 0; }
.bh-item {
  appearance: none; display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; width: 100%;
  padding: 12px 14px; border: 1px solid var(--gold-line); border-radius: var(--radius); background-color: var(--glass-row);
  color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
.bh-item:hover, .bh-item:focus-visible { border-color: var(--gold-lo); }
.bh-item .time { font-family: var(--sans); font-variant-numeric: lining-nums tabular-nums; font-size: 1rem; color: var(--gold-hi); }
.bh-item .bh-what { min-width: 0; }
.bh-item .mode-name { font-weight: 700; color: var(--text); }
.bh-item .mode-sub { font-size: .84rem; color: var(--muted); }
.bh-item .go svg { display: block; width: 18px; height: 18px; color: var(--gold-lo); }
@media (max-width: 479px) {
  .bh-item { grid-template-columns: 3.4rem minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px; }
  .bh-item .go { display: none; }
}
.bh-more { display: flex; width: fit-content; margin: 16px auto 0; }
.bh-note { margin: 12px 0 0; }
.bh-all { margin: 14px 0 0; }
.bh-more[hidden], .bh-note[hidden] { display: none; }
.bh-history { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ============================================================ 4ALL KFLAG1 (owner 28.11.2026: "Pe telefon ... nu se văd
   bine deloc"): the tabs and filters (rankings, respawns, news, everywhere .tab) readable over the background pictures:
   a solid dark pill, brighter letters, the chosen one filled gold; on phones a plain bold font and the rankings' tabs in
   a grid of two columns (no row cut at the edge of the screen). */
.tab { background: rgba(10, 13, 20, .82); color: var(--text); border-color: rgba(236, 209, 154, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tab:hover { background: rgba(18, 22, 32, .92); }
.tab[aria-selected="true"], .rk-sub .tab[aria-pressed="true"], .bh-chips .tab[aria-pressed="true"] {
  color: #1b1406; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.tab[aria-selected="true"] .count, .tab[aria-pressed="true"] .count { opacity: .8; }
@media (max-width: 700px) {
  .tab { font: 700 .82rem/1.2 var(--sans); letter-spacing: .04em; min-height: 42px; padding: 8px 14px; }
  .tab .count { font-size: .76rem; }
  .rk-tabs-head .rk-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding-bottom: 0; }
  .rk-tabs-head .rk-tabs .tab { justify-content: center; text-align: center; width: 100%; min-width: 0; white-space: normal; font-size: .78rem; padding: 8px 8px; }
  .rk-tabs .rk-sep { display: none; }
  .rk-tabs .rk-extra { opacity: 1; }
  .rk-sub { flex-wrap: wrap; overflow: visible; }
}

/* 4ALL KFLAG1: phone menus (site.js, the end): over 3 choices a wide button + a sheet from the bottom; up to 3 a
   segmented control. Only up to 700 px; wider screens keep the tabs. */
.tab-pick { display: none; }
@media (max-width: 700px) {
  .tabs.has-pick { display: none; }
  .tab-pick {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label arrow" "text arrow"; align-items: center; column-gap: 12px;
    width: 100%; min-height: 56px; margin: 0 0 16px; padding: 8px 16px; text-align: left; cursor: pointer;
    border: 1px solid rgba(236, 209, 154, .45); border-radius: 14px; background: rgba(10, 13, 20, .9); color: var(--text);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  }
  .tab-pick:active { background: rgba(24, 28, 40, .95); }
  .tab-pick-label { grid-area: label; font: 600 .68rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .tab-pick-text { grid-area: text; display: flex; align-items: center; gap: 6px; min-width: 0; font: 700 1rem/1.3 var(--sans); color: var(--gold-hi); }
  .tab-pick-text .count { opacity: .7; font-weight: 600; font-size: .85rem; }
  .tab-pick-text svg { width: 18px; height: 18px; }
  .tab-pick-arrow { grid-area: arrow; width: 12px; height: 12px; margin-top: -6px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); }
  .rk-tabs-head .tab-pick { margin: 18px 0 0; }

  .tabs.tabs-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 14px;
    background: rgba(10, 13, 20, .88); border: 1px solid rgba(236, 209, 154, .3); overflow: visible; flex-wrap: nowrap; }
  .tabs.tabs-seg > .rk-sep { display: none; }
  .tabs.tabs-seg { width: 100%; max-width: 100%; }
  .tabs.tabs-seg .tab { white-space: nowrap; padding: 8px 6px; font-size: .76rem; letter-spacing: .02em; }
  .tab-pick-label[hidden] { display: none; }
  .tabs.tabs-seg .tab { justify-content: center; min-width: 0; width: 100%; border-color: transparent; background: transparent; border-radius: 10px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tabs.tabs-seg .tab[aria-selected="true"], .tabs.tabs-seg .tab[aria-pressed="true"] { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1b1406; }
}
.tab-sheet-back { position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s ease; }
.tab-sheet-back.in { opacity: 1; }
.tab-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 901; max-height: 78vh; display: flex; flex-direction: column;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border-top: 1px solid rgba(236, 209, 154, .4);
  background: #12151e; box-shadow: 0 -12px 40px rgba(0, 0, 0, .6); transform: translateY(100%); transition: transform .25s ease;
}
.tab-sheet.in { transform: none; }
.tab-sheet-grip { align-self: center; width: 42px; height: 5px; margin: 2px 0 10px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.tab-sheet-title { margin: 0 4px 10px; font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tab-sheet-list { overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 6px; }
.tab-sheet-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; background: rgba(255, 255, 255, .04); color: var(--text);
  font: 600 1rem/1.3 var(--sans); text-align: left; cursor: pointer;
}
.tab-sheet-row:active { background: rgba(255, 255, 255, .09); }
.tab-sheet-row.on { border-color: var(--gold-lo); background: var(--gold-soft); color: var(--gold-hi); }
.tab-sheet-row:disabled { opacity: .45; cursor: default; }
.tab-sheet-text { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tab-sheet-text .count { opacity: .65; font-size: .85rem; }
.tab-sheet-check { color: var(--gold); font-weight: 800; }
.tab-sheet-close { margin: 12px 0 0; min-height: 48px; border: 1px solid var(--gold-line); border-radius: 12px; background: transparent; color: var(--text-2); font: 600 .95rem/1 var(--sans); cursor: pointer; }
html.has-sheet { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .tab-sheet, .tab-sheet-back { transition: none; } }

/* SITEPUB1 (owner 29.11.2026, "Toate"): the 4A intro, the button back to the top, the parts that come into view,
   the home banner, the big first news and "New", the 404 */
.intro { display: none; }
html.js:not(.intro-seen) .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(ellipse at center, #101a33 0%, var(--bg) 70%);
  animation: intro-out .45s ease .85s forwards;
}
html.js:not(.intro-seen) .intro img { width: min(160px, 40vw); height: auto; filter: drop-shadow(0 0 28px rgba(236, 209, 154, .35));
  animation: intro-in .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes intro-in { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.js .intro { display: none !important; } }

.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  color: #1b1406; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border: 1px solid var(--gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5), 0 0 0 4px rgba(236, 209, 154, .1);
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease; }
.to-top.on { opacity: 1; transform: none; }
.to-top.on:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .55), 0 0 18px rgba(236, 209, 154, .35); }
.to-top svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.to-top:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.rv { opacity: 0; transform: translateY(22px); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
@media print { .rv { opacity: 1 !important; transform: none !important; } .to-top, .intro { display: none !important; } }

/* the home banner */
.home-hero > .container { position: relative; overflow: hidden; padding-top: clamp(26px, 4vw, 44px); padding-bottom: clamp(26px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(7, 9, 15, .55), rgba(7, 9, 15, .88)), url("/assets/img/modes/world-boss.webp") center 40% / cover; }
.home-hero > .container::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(236, 209, 154, .18), transparent 60%); }
.home-hero > .container > * { position: relative; }
.home-mark { display: block; width: clamp(84px, 12vw, 120px); height: auto; margin: 0 auto 10px; filter: drop-shadow(0 6px 22px rgba(236, 209, 154, .3)); animation: dc-float 6s ease-in-out infinite; }
.home-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.home-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }
.home-cta .btn[hidden] { display: none; }
.home-ev { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-bottom: clamp(18px, 3vw, 30px); }
.home-ev[hidden] { display: none; }
.home-ev .tt-card { min-height: 0; }
.home-ev-all { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; text-decoration: none; color: var(--gold);
  font-family: var(--display); font-size: 1.15rem; transition: border-color .2s ease, transform .2s ease; }
.home-ev-all > svg { width: 30px; height: 30px; color: var(--gold-lo); }
.home-ev-all .go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-line); }
.home-ev-all .go svg { width: 18px; height: 18px; transition: transform .2s ease; }
.home-ev-all:hover { border-color: rgba(236, 209, 154, .45); transform: translateY(-2px); color: var(--gold-hi); }
.home-ev-all:hover .go svg { transform: translateX(3px); }
.home-news-title { display: flex; align-items: center; gap: 10px; }
.home-news-title svg { width: 22px; height: 22px; color: var(--gold-lo); }
.home-news-title[hidden] { display: none; }

/* the newest news, bigger; "New" */
@media (min-width: 900px) {
  .news-card.is-featured { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .news-card.is-featured .news-thumb { min-height: 300px; }
  .news-card.is-featured h2 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
}
.news-card.is-featured { border-color: rgba(236, 209, 154, .3); box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 0 1px rgba(236, 209, 154, .08) inset; }
.news-card { transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .45); }
.news-thumb .badge-new { position: absolute; top: 12px; right: 12px; color: #1b1406; background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  border: 0; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* the 404: a picture of the game behind it, the 4A above the number */
.nf-hero > .container { position: relative; overflow: hidden; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(7, 9, 15, .45), rgba(7, 9, 15, .9)), url("/assets/img/modes/monster-invasion.webp") center / cover; }
.nf-mark { display: block; width: clamp(70px, 10vw, 100px); height: auto; margin: 0 auto 6px; filter: drop-shadow(0 6px 20px rgba(236, 209, 154, .3)); animation: dc-float 6s ease-in-out infinite; }
.nf-hero .not-found-code { letter-spacing: .06em; }
@media (prefers-reduced-motion: reduce) { .home-mark, .nf-mark { animation: none; } .news-card:hover, .home-ev-all:hover { transform: none; } }

/* SITEPUB1 (owner 29.11.2026, variant A): the account card of the phone menu (layout/header.html .menu-account,
   site.js fillMenuAccount); on phones it replaces the Account dropdown and the "My account" button */
.menu-account { display: none; }
@media (max-width: 1199px) {
  .header-actions .nav-account { display: none; }
  .menu-account { display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--gold-line); }
  .menu-account[hidden] { display: none; }
  .ma-head { display: flex; align-items: center; gap: 14px; min-height: 56px; text-decoration: none; color: inherit; }
  .ma-av { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: #141a2c; }
  .ma-who { display: grid; gap: 2px; min-width: 0; flex: 1; }
  .ma-who strong { font-family: var(--display); font-size: 1.12rem; font-weight: 600; color: var(--gold-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ma-sub { font-size: .88rem; color: var(--muted); }
  .ma-head > svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
  .ma-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ma-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 74px; padding: 10px 6px;
    border-radius: 12px; text-decoration: none; text-align: center; color: var(--text); font-size: .95rem;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
  .ma-tile svg { width: 24px; height: 24px; color: var(--gold); }
  .ma-tile:hover, .ma-tile:active, .ma-tile[aria-current="page"] { border-color: rgba(236, 209, 154, .45); background: rgba(236, 209, 154, .08); color: var(--gold-hi); }
  .ma-logout { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 12px; cursor: pointer;
    font-family: var(--display); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
    color: #ff9b93; background: rgba(220, 53, 69, .12); border: 1px solid rgba(220, 53, 69, .55); }
  .ma-logout svg { width: 20px; height: 20px; }
  .ma-logout:hover, .ma-logout:active { color: #fff; background: rgba(220, 53, 69, .32); }
  .ma-logout:disabled { opacity: .6; cursor: default; }
}

/* SITEPUB1 (owner 29.11.2026): in the phone menu Logout and Discord are pills like Download (one kind of button) */
@media (max-width: 1199px) {
  .ma-logout, .mc-discord { border-radius: 999px; min-height: 52px; }
}
