/* Cyber Arise -- the public site. The owner's rule (2026-10-07): IDENTICAL to https://redhero.online (its layout, sizes,
   fonts and components, measured on the live page), only its orange (#fc9400) in our purple and our own art.
   Fonts: fonts/fonts.css (Roboto; Black Ops One for the big buttons). */
@import url('../fonts/fonts.css');

:root {
  --primary: #9b5cff;                       /* (RedHero: #fc9400) */
  --primary-rgb: 155, 92, 255;
  --primary-hi: #b98bff;
  --primary-lo: #6a33d6;
  --text: #fffefc;
  --text-85: rgba(255, 255, 255, .85);
  --text-75: rgba(255, 255, 255, .75);
  --text-70: rgba(255, 255, 255, .7);
  --text-60: rgba(255, 255, 255, .6);
  --text-50: rgba(255, 255, 255, .5);
  --box: rgba(0, 0, 0, .85);
  --box-line: rgba(255, 255, 255, .06);
  --row: rgba(255, 255, 255, .05);
  --input: #ececec;
  --green: #4caf50;
  --red: #e8322a;
  --blue: #2196f3;
  --price: #5bd66b;
  --gold: #f5c542;
  --silver: #c9ced8;
  --bronze: #d08a4e;
  --container: 1320px;
  --nav-h: 60px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: var(--text);
  font: 400 16px/1.5 'Roboto', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hi); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
::selection { background: rgba(var(--primary-rgb), .5); }
:focus-visible { outline: 2px solid var(--primary-hi); outline-offset: 2px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.icon.lg { width: 24px; height: 24px; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.muted { color: var(--text-70); }
.small { font-size: .85rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.mt { margin-top: 18px; }
.mb { margin-bottom: 18px; }

/* the page: the art at the top of every page (the home's hero shows it whole), black below */
#app { min-height: 100vh; display: flex; flex-direction: column; position: relative; }
#app > main { flex: 1 0 auto; position: relative; z-index: 1; }
.page-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background: #000 url('../img/hero-home.jpg') 70% 20% / cover no-repeat;
  z-index: 0;
  pointer-events: none;
}
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .25) 60%, #000 100%);
}

/* ------------------------------------------------------------------ the navbar (RedHero's game-navbar) */
.game-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(rgba(0, 0, 0, .92), rgba(0, 0, 0, .85));
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}
.navbar-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  gap: 16px;
}
.navbar-items { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; height: 100%; }
.navbar-left { justify-content: flex-end; }
.navbar-right { justify-content: flex-start; }
.navbar-item { position: relative; display: flex; align-items: center; height: 44px; }
.navbar-item > a, .navbar-item > button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--text-85);
  font-size: 12.48px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.navbar-item > a:hover, .navbar-item > button:hover, .navbar-item.open > button { color: #fff; background: rgba(255, 255, 255, .06); }
.navbar-item > a.on { color: #fff; }
.navbar-item > a .icon, .navbar-item > button .icon { width: 20px; height: 20px; color: #fff; }
.navbar-item > button .caret { width: 18px; height: 18px; color: var(--primary); transition: transform .15s; }
.navbar-item.open > button .caret { transform: rotate(180deg); }
.navbar-account { margin-left: auto; }
.navbar-account > button {
  height: 38px;
  padding: 0 10px 0 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.navbar-account > button .ava-sm { width: 28px; height: 28px; }
.navbar-account > button .icon.acc { width: 26px; height: 26px; color: #fff; }
.navbar-account .acc-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.navbar-play-now {
  position: relative;
  align-self: start;
  margin-top: -6px;
  width: 220px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
  background: linear-gradient(180deg, #c49bff 0%, #9b5cff 55%, #6f36dc 100%);
  transition: filter .2s;
}
.navbar-play-now:hover { filter: brightness(1.12); }
.play-now-text {
  margin-top: 6px;
  font: 400 28.8px/1 'Black Ops One', 'Roboto', sans-serif;
  letter-spacing: 1.6px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(60, 20, 120, .55), 0 0 14px rgba(255, 255, 255, .25);
  white-space: nowrap;
}
.nav-burger { display: none; }
.mobile-menu { display: none; }
.auth-card .hero-actions { justify-content: center; }

/* dropdowns (ranking, help, language, the account) */
.dropmenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: rgba(14, 14, 14, .98);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .6);
  display: none;
  z-index: 110;
}
.navbar-item.open > .dropmenu { display: block; }
.navbar-account .dropmenu { left: auto; right: 0; }
.dropmenu a, .dropmenu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text-85);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0;
  text-transform: none;
}
.dropmenu a:hover, .dropmenu button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.dropmenu a.on { color: var(--primary-hi); }
.dropmenu .icon { width: 18px; height: 18px; color: var(--text-70); }
.dropmenu hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 6px 4px; }

/* the bars under the navbar (RedHero's red "new message" bar): the site's notice, the store's test mode */
.notice-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 52px;
  background: linear-gradient(90deg, #e3261d, #f53b2c 50%, #e3261d);
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.notice-bar .icon { width: 22px; height: 22px; }
.notice-bar b { font-weight: 700; }
.notice-bar .close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #fff;
  display: grid;
  place-items: center;
}

/* ------------------------------------------------------------------ buttons and badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .025em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: filter .15s, transform .15s, box-shadow .15s;
}
.btn:hover { color: #fff; filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.btn-primary { background: var(--primary); box-shadow: 0 2px 8px rgba(var(--primary-rgb), .25); }
.btn-success { height: 30px; border-radius: 8px; font-size: 12px; background: var(--green); box-shadow: 0 2px 8px rgba(76, 175, 80, .25); letter-spacing: .025em; }
.btn-dark { background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .3); text-transform: none; font-weight: 600; letter-spacing: -.01em; }
.btn-blue { background: var(--blue); }
.btn-discord { background: #5865f2; text-transform: none; font-weight: 600; letter-spacing: -.01em; }
.btn-sm { height: 32px; padding: 0 14px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.btn-block { width: 100%; }
.btn .icon { width: 20px; height: 20px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  transition: background .15s;
}
.icon-btn:hover { background: rgba(var(--primary-rgb), .15); color: var(--primary-hi); }
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 11.2px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, .08);
  color: var(--text-85);
}
.pill.purple { background: var(--primary); color: #fff; }
.pill.good { background: rgba(76, 175, 80, .2); color: #8ee08f; }
.pill.bad { background: rgba(232, 50, 42, .22); color: #ff8a80; }
.pill.warn { background: rgba(var(--primary-rgb), .22); color: var(--primary-hi); }
.pill.info { background: rgba(33, 150, 243, .2); color: #8cc8ff; }

/* ------------------------------------------------------------------ boxes (RedHero's .box / cards) */
.box {
  background: var(--box);
  border: 1px solid var(--box-line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.box-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 8px; }
.box-header a { color: #fff; font-weight: 600; }
.box-header a:hover { color: var(--primary-hi); }
.box-body { padding: 12px 20px 20px; }
.box + .box { margin-top: 18px; }
.stats > .box + .box { margin-top: 0; }
.arrow-before { display: flex; align-items: center; gap: 10px; margin: 0; }
.arrow-before > .chev { width: .85em; height: .85em; color: var(--primary); flex-shrink: 0; transform: scale(1.35); }
h2.arrow-before { font-size: 36px; letter-spacing: -.02em; }
h3.arrow-before { font-size: 28px; letter-spacing: -.02em; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-heading-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-70); font-size: 13.6px; }
.section-heading-link .icon { width: 18px; height: 18px; }
.section-heading-link:hover { color: #fff; }

/* ------------------------------------------------------------------ the home's hero */
.hero { position: relative; height: 840px; display: flex; align-items: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 0 40%, rgba(0, 0, 0, .72) 0, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .55) 100%);
}
.hero-content { position: relative; width: min(var(--container), 100% - 32px); margin: 0 auto; padding-top: 50px; }
.hero-logo {
  display: inline-block;
  margin: 0;
  font: 400 64px/1 'Black Ops One', 'Roboto', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e6d6ff 38%, #b88aff 62%, #7d44e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(30, 6, 70, .9)) drop-shadow(0 0 18px rgba(var(--primary-rgb), .45));
}
.hero-tagline { max-width: 560px; margin: 34px 0 32px; color: var(--text-85); font-size: 18.4px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 68px;
  min-width: 210px;
  padding: 0 30px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #b07cff, #6d34d1);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), .45);
  color: #fff;
  cursor: pointer;
  font: 400 22.4px/1 'Black Ops One', 'Roboto', sans-serif;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  transition: filter .15s, transform .15s;
}
.hero-play:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.hero-play .icon { width: 26px; height: 26px; }
/* the Android button: the very same as "Baixar para PC" (once "Jogar agora": the owner's rule 2026-10-07), both one
   width; until the panel has the APK's link a small "Em breve" on its corner -- the PC one's corner says "Windows 10/11"
   (the owner, 2026-11-09) */
.hero-actions .hero-play { min-width: 290px; }
.hero-android, .hero-pc { position: relative; }
.soon-tag {
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 2px 9px;
  border-radius: 100px;
  background: #fff;
  color: var(--primary-lo);
  font: 800 10.5px/1.3 'Roboto', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .45);
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 24px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .3);
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
}
.hero-secondary:hover { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero-secondary .icon { width: 24px; height: 24px; }
.donors-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
/* the players online per server (app.js onlineStrip: the panel's "Contador online") -- the donors' chips' look */
.online-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 24px; }
.online-inline[hidden] { display: none; }
.server-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 0 16px 0 13px;
  border-radius: 100px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}
.server-chip .server-name { color: var(--text-85); }
.server-chip b { color: #fff; font-weight: 800; }
.server-dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 3px rgba(46, 204, 113, .2); }
.server-chip.off .server-dot { background: #7b8794; box-shadow: none; }
.server-chip.off b { color: var(--text-70); font-weight: 600; }
.donors-inline-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.donors-inline-title .icon { width: 20px; height: 20px; color: var(--primary); }
.donor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 35px;
  padding: 0 16px 0 6px;
  border-radius: 100px;
  background: rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.6px;
}
.donor-pos {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #4a4a4a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.donor-pos.p1 { background: var(--gold); color: #3a2a00; }
.donor-pos.p2 { background: var(--silver); color: #2a2d33; }
.donor-pos.p3 { background: var(--bronze); color: #2e1704; }
.ava {
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, hsl(var(--hue, 265) 70% 58%), hsl(calc(var(--hue, 265) + 40) 70% 32%));
  text-transform: uppercase;
}
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava img.game-head { transform: scale(1.22); }           /* (the game's portraits have a clear margin: website/avatars.py) */
.ava.has-img { background: #141414; }
/* the game's avatars he has ("Foto do perfil" > "Avatares do jogo": app.js gameHeads) */
.heads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.heads-grid.busy { opacity: .6; pointer-events: none; }
.head-pick { aspect-ratio: 1; padding: 0; border: 2px solid rgba(255, 255, 255, .1); border-radius: 12px; background: #141414; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; }
.head-pick img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); }
.head-pick:hover, .head-pick:focus-visible { border-color: var(--primary-hi); transform: translateY(-2px); outline: none; }
.head-pick.on { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(155, 92, 255, .35); }
.ava-sm { width: 22px; height: 22px; font-size: 11px; }
.ava-md { width: 32px; height: 32px; font-size: 14px; }

/* ------------------------------------------------------------------ the home's content (RedHero's page-body) */
.page-body { position: relative; z-index: 1; }
.page-body-hero { background: rgba(0, 0, 0, .55); padding: 8px 0 10px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 864fr) minmax(0, 422fr); gap: 18px; align-items: start; padding: 8px 0; }
.news-card {
  background: var(--box);
  border: 1px solid var(--box-line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news-card-media { position: relative; display: block; aspect-ratio: 16 / 7; background: #0f0f0f; overflow: hidden; }
.news-card:not(.news-card-featured) .news-card-media { aspect-ratio: 16 / 9; }
.news-card-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.news-banner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-size: cover;
  background-position: center 30%;
}
.news-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .55)); }
.news-banner > * { position: relative; }
.news-banner .nb-ver {
  font: 400 clamp(56px, 9vw, 112px)/1 'Black Ops One', 'Roboto', sans-serif;
  background: linear-gradient(180deg, #fff 0%, #e2d0ff 40%, #a26cff 75%, #6d34d1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 0 rgba(25, 4, 60, .95));
}
.news-card:not(.news-card-featured) .nb-ver { font-size: clamp(44px, 5vw, 64px); }
.news-banner .nb-ver.nb-long { font-size: clamp(34px, 5.4vw, 74px); text-transform: uppercase; }
.news-card:not(.news-card-featured) .nb-ver.nb-long { font-size: clamp(24px, 2.8vw, 38px); }
.news-banner .nb-label { font-size: 13px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .9); text-shadow: 0 2px 6px #000; }
.news-banner.has-image::before { display: none; }
.news-banner.has-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-card-media:hover .news-banner { filter: brightness(1.08); }
/* one post's page */
.news-post { overflow: hidden; }
.news-post-media { position: relative; aspect-ratio: 16 / 6; background: #0f0f0f; }
.news-post-title { margin: 12px 0 14px; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.news-post .news-card-meta { justify-content: flex-start; gap: 22px; }
.news-post-body { margin-top: 22px; color: var(--text-85); font-size: 16px; line-height: 1.75; }
.news-post-body p { margin: 0; }
.news-post-body p + p { margin-top: 14px; }
.text-link { color: var(--primary-hi); text-decoration: underline; overflow-wrap: anywhere; }
.text-link:hover { color: #fff; }
.news-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-card:not(.news-card-featured) .news-card-body { padding: 16px 16px 18px; }
.news-card-link { color: #fff; font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.news-card:not(.news-card-featured) .news-card-link { font-size: 17px; letter-spacing: -.01em; }
.news-card-link:hover { color: var(--primary-hi); }
.news-card-text {
  margin: 14px 0 18px;
  color: var(--text-85);
  font-size: 15px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:not(.news-card-featured) .news-card-text { font-size: 13.4px; -webkit-line-clamp: 3; margin: 10px 0 14px; }
.news-card-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--text-60); font-size: 12px; }
.news-card-author { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-hi); }
.news-card-date { display: inline-flex; align-items: center; gap: 6px; }
.news-card-date .icon { width: 18px; height: 18px; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.news-note { margin: 10px 2px 0; color: var(--text-50); font-size: 12px; }

/* the sidebar: login (or his box) and the events */
.boss-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--row);
  border-left: 3px solid var(--primary);
  color: var(--text);
}
.boss-card + .boss-card { margin-top: 12px; }
a.boss-card:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.boss-icon { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--primary-rgb), .18); color: var(--primary-hi); flex-shrink: 0; }
.boss-icon .icon { width: 30px; height: 30px; }
.boss-info { display: flex; flex-direction: column; min-width: 0; }
.boss-info small { color: var(--text-75); font-size: 12.8px; }
.boss-info b { font-size: 15px; font-weight: 700; }
.boss-time { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.me-card { display: flex; align-items: center; gap: 14px; }
.me-card .ava-lg { width: 64px; height: 64px; border: 3px solid var(--primary); }
.me-card b { display: block; font-size: 20px; }
.me-card span { color: var(--text-60); font-size: 13px; }
.me-coins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.me-coins div { padding: 10px 12px; border-radius: 10px; background: var(--row); }
.me-coins small { display: block; color: var(--text-60); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.me-coins b { font-size: 16px; }

/* ------------------------------------------------------------------ forms (RedHero's light inputs with an icon) */
.form { display: grid; gap: 18px; }
.form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; letter-spacing: .01em; color: rgba(255, 255, 255, .9); }
.input-group {
  display: flex;
  align-items: center;
  height: 42px;
  border-radius: 6px;
  background: var(--input);
  color: #222;
  overflow: hidden;
}
.input-group .icon { width: 22px; height: 22px; margin: 0 6px 0 14px; color: #333; }
.input-group input, .input-group select, .input-plain {
  flex: 1;
  height: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 14px;
  background: transparent;
  color: #111;
  font-size: 15px;
  letter-spacing: 0;
}
.input-group:focus-within { box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .45); }
.input-plain { width: 100%; height: 42px; border-radius: 6px; background: var(--input); }
select.input-plain, .input-group select { appearance: auto; cursor: pointer; }
.form-hint { margin-top: 6px; font-size: 12px; color: var(--text-50); }
.form-hint.warn { color: var(--primary-hi); font-weight: 600; }
.form-link { display: block; margin-top: 6px; text-align: right; font-size: 12px; }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .9); cursor: pointer; }
.check-row input { width: 15px; height: 15px; margin: 3px 0 0; accent-color: var(--primary); }
.check-row a { font-style: italic; }
.form-error { padding: 10px 12px; border-radius: 8px; background: rgba(232, 50, 42, .16); border: 1px solid rgba(232, 50, 42, .45); color: #ffb3ad; font-size: 14px; }
.form-ok { padding: 10px 12px; border-radius: 8px; background: rgba(76, 175, 80, .15); border: 1px solid rgba(76, 175, 80, .45); color: #b7f0b9; font-size: 14px; }
.form-info { padding: 10px 12px; border-radius: 8px; background: rgba(var(--primary-rgb), .14); border: 1px solid rgba(var(--primary-rgb), .45); color: #e6dbff; font-size: 14px; }
.line-divider { display: flex; align-items: center; gap: 12px; color: var(--text-50); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.line-divider::before, .line-divider::after { content: ''; flex: 1; border-top: 1px solid rgba(255, 255, 255, .08); }

/* the pages with one card in the middle (login, sign-up, an order) and the wide ones (ranking, terms) */
.page-wrap { position: relative; z-index: 1; width: min(var(--container), 100% - 32px); margin: 0 auto; padding: 15px 0 10px; }
.auth-card { width: min(754px, 100%); margin: 0 auto; }
.auth-card .box-body { padding: 18px 20px 30px; }
.auth-card .btn-primary { height: 48px; }
.page-title { font-size: 28px; }

/* ------------------------------------------------------------------ ranking (RedHero's Players) */
.rank-filters { display: grid; grid-template-columns: 300px 300px minmax(0, 1fr); gap: 16px; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 34px 0 26px; text-align: center; }
.pod-ava {
  width: 200px;
  height: 200px;
  margin: 0 auto 14px;
  border: 3px solid var(--primary);
  font-size: 72px;
  box-shadow: 0 0 30px rgba(var(--primary-rgb), .35);
}
.pod-name { display: inline-flex; align-items: baseline; gap: 14px; flex-wrap: wrap; justify-content: center; }
.pod-name b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.pod-name span { font-size: 15px; font-weight: 700; }
.pod.p1 .pod-name b { color: var(--gold); }
.pod.p2 .pod-name b { color: var(--silver); }
.pod.p3 .pod-name b { color: var(--bronze); }
.pod-sub { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; }
.rank-table-wrap { overflow-x: auto; }
.rank-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; font-size: 14px; }
.rank-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-75);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rank-table td { padding: 12px 16px; background: rgba(20, 20, 20, .92); }
.rank-table td:first-child { border-radius: 10px 0 0 10px; }
.rank-table td:last-child { border-radius: 0 10px 10px 0; }
.rank-table tr.me td { box-shadow: inset 0 0 0 1px rgba(var(--primary-rgb), .6); }
.rank-pos { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.rank-pos .icon { width: 18px; height: 18px; }
.rank-pos.p1 .icon { color: var(--gold); }
.rank-pos.p2 .icon { color: var(--silver); }
.rank-pos.p3 .icon { color: var(--bronze); }
.rank-player { display: flex; align-items: center; gap: 12px; }
.rank-player b { display: block; font-weight: 500; color: #fff; }
.rank-player span { font-size: 13px; color: var(--text-85); }
.rank-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.pager button {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.pager button.on { background: var(--primary); border-color: var(--primary); box-shadow: 0 2px 8px rgba(var(--primary-rgb), .35); }
.pager button[disabled] { opacity: .35; cursor: default; }
.pager .gap { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 38px;
  color: var(--text-70); font-weight: 600; letter-spacing: 1px; }
.pager .pg-arrow { display: none; font-size: 20px; line-height: 1; }
@media (max-width: 520px) {                    /* (the invites' pager on a phone: one line -- app.js pagerButtons) */
  .pager-compact { gap: 6px; }
  .pager-compact button { min-width: 36px; padding: 0 10px; }
  .pager-compact .pg-word { display: none; }
  .pager-compact .pg-arrow { display: inline; }
}

/* ------------------------------------------------------------------ store (RedHero's store, from the owner's capture) */
.store-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 6px; }
.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 100px;
  background: #263540;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.store-pill:hover { filter: brightness(1.15); }
.store-pill.on { background: linear-gradient(135deg, var(--primary-hi), var(--primary-lo)); box-shadow: 0 4px 16px rgba(var(--primary-rgb), .45); }
.store-pill .icon { width: 18px; height: 18px; }
.store-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 4px; color: var(--text-75); font-size: 14px; }
.cur-switch { display: inline-flex; padding: 4px; border-radius: 100px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .12); }
.cur-switch button { height: 32px; padding: 0 16px; border: 0; border-radius: 100px; background: none; color: var(--text-75); font-size: 13px; font-weight: 700; }
.cur-switch button.on { background: var(--primary); color: #fff; }
.store-section { margin-top: 34px; }
.store-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.store-section-title .icon { width: 26px; height: 26px; color: var(--primary); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(10, 10, 10, .92);
  border: 1px solid var(--box-line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  transition: transform .2s;
}
.product:hover { transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 7 / 5; background: linear-gradient(135deg, #2a1a4a, #0e0a18); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(var(--primary-rgb), .7); }
.product-media .ph .icon { width: 72px; height: 72px; }
.product-left { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 100px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.product-left .icon { width: 15px; height: 15px; }
.product-line { height: 4px; background: linear-gradient(90deg, #a020f0, var(--primary)); }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-name { margin: 0; font-size: 16px; font-weight: 600; color: #fff; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags .pill .icon { width: 15px; height: 15px; color: var(--text-75); }
.product-price { margin-top: auto; font-size: 24px; font-weight: 500; color: var(--price); }
.product-price small { margin-left: 4px; font-size: 13px; color: var(--text-60); font-weight: 500; }
.product-price.none { font-size: 14px; font-weight: 600; color: var(--text-50); }
.product-actions { display: flex; gap: 10px; }
.btn-buy {
  flex: 1;
  height: 48px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  background: #a21cff;
  box-shadow: 0 4px 14px rgba(162, 28, 255, .35);
}
.products > :nth-child(4n + 2) .btn-buy, .products > :nth-child(4n + 3) .btn-buy { background: linear-gradient(90deg, #ff4f86, #a35cff); box-shadow: 0 4px 14px rgba(255, 79, 134, .3); }
.product-actions .icon-btn { width: 48px; height: 48px; }
.store-note { margin-top: 30px; color: var(--text-60); font-size: 13px; }
.store-note .icon { width: 16px; height: 16px; vertical-align: -3px; }
.contents { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contents li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--row); }
.contents li .icon { color: var(--primary-hi); }
.contents li .q { margin-left: auto; color: var(--text-60); font-size: 13px; white-space: nowrap; }
.detail-img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: 10px; }
/* a gift for another player (2026-10-30): the store's "Presentear" box and the account's "Presentes" */
.gift-find { display: flex; gap: 10px; }
.gift-find .input-group { flex: 1; min-width: 0; }
.gift-who { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--row); }
.gift-rules { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--text-70); font-size: 13px; }
.gift-list { display: grid; gap: 8px; margin-top: 10px; }
.gift-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; background: var(--row); }
.gift-img { flex: none; width: 64px; height: 46px; border-radius: 8px; object-fit: cover; }
.gift-img.ph { display: grid; place-items: center; background: var(--row); color: var(--primary-hi); }
.gift-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.gift-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.product-desc p { color: var(--text-70); margin: 0; overflow-wrap: anywhere; }
.product-desc p + p { margin-top: 10px; }
.product-desc b { color: var(--text-85); }
.q-text { font-weight: 600; }
.q-text.q1 { color: var(--silver); }
.q-text.q2 { color: #6fb6ff; }
.q-text.q3 { color: #c08bff; }
.q-text.q4 { color: var(--gold); }
.q-text.q5 { color: #ff6a6a; }

/* ------------------------------------------------------------------ the account (RedHero's dashboard) */
.acc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.acc-side { padding: 16px; position: sticky; top: calc(var(--nav-h) + 16px); }
.acc-me { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.acc-me .ava { width: 56px; height: 56px; border: 2px solid var(--primary); font-size: 22px; }
.name-label { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #fff; color: #111; font-weight: 600; font-size: 15px; letter-spacing: 0; }
.acc-me small { display: block; margin-top: 4px; color: var(--text-60); font-size: 12px; }
.acc-nav a, .acc-nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 8px;
  background: none;
  color: rgba(255, 255, 255, .9);
  font-size: 15.5px;
  font-weight: 500;
  text-align: left;
}
.acc-nav a + a, .acc-nav a + button { margin-top: 2px; }
.acc-nav a:hover, .acc-nav button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.acc-nav a.on { color: var(--primary-hi); background: rgba(var(--primary-rgb), .16); border-left-color: var(--primary); }
.acc-nav .icon { width: 20px; height: 20px; color: currentColor; opacity: .9; }
.acc-nav hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 12px 0; }
.acc-alert { padding: 16px 24px; border-radius: 10px; background: var(--primary); color: rgba(255, 255, 255, .92); font-size: 15px; margin-bottom: 20px; }
.acc-alert b { color: #fff; }
.acc-alert.bad { background: var(--red); }
.profile-card { overflow: hidden; }
.profile-banner { height: 150px; background: url('../img/hero-alt.jpg') center 35% / cover no-repeat; }
.profile-main { position: relative; display: flex; align-items: flex-end; gap: 18px; padding: 0 24px; margin-top: -52px; flex-wrap: wrap; }
.profile-main .ava { width: 104px; height: 104px; border: 4px solid #fff; font-size: 40px; }
.profile-who { flex: 1; min-width: 200px; padding-bottom: 4px; }
.profile-who .name-label { font-size: 30px; padding: 2px 14px; border-radius: 6px; }
.profile-who .gid { margin-left: 10px; color: var(--text-60); font-size: 13px; font-weight: 600; }
.profile-who .row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-85); }
.profile-buttons { display: flex; gap: 10px; padding-bottom: 14px; }
/* the season rank's picture: the game's badge with its number (js rankBadge; tools/export_site_ranks.py) -- small, the
   number at the bottom right as the game's chat draws it; big, under the badge's middle as its rank screen does */
.rank-badge { position: relative; display: inline-block; flex: none; width: 30px; height: 30px; vertical-align: middle; }
.rank-badge img { display: block; }
.rank-badge img.badge { width: 100%; height: 100%; }
.rank-badge img.num { position: absolute; width: 44%; height: auto; left: 59%; top: 48%; }
.rank-badge.big { width: 112px; height: 112px; }
.rank-badge.big img.num { width: 20%; height: 20%; left: 40%; top: 67.8%; }
.rank-label { display: inline-flex; align-items: center; gap: 8px; }
.pill .rank-badge { width: 22px; height: 22px; margin: -4px 0 -4px -5px; }
.profile-rank { display: flex; flex-direction: column; align-items: center; padding-bottom: 8px; text-align: center; }
.profile-rank small { margin-top: -6px; max-width: 150px; font-size: 12px; font-weight: 600; color: var(--text-85); }
.level-bar { position: relative; height: 20px; margin: 18px 24px 24px; border-radius: 10px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.level-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--primary-lo), var(--primary)); }
.level-bar span { position: relative; display: block; text-align: center; font-size: 12px; font-weight: 700; line-height: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.stat .icon { width: 30px; height: 30px; color: var(--primary); }
.stat small { display: block; color: var(--text-75); font-size: 12px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.stat b { font-size: 18px; font-weight: 700; }
.stat.hl { border-color: var(--primary); }
.table-plain { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-plain th { padding: 10px 12px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-75); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.table-plain td { padding: 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.table-plain tr:hover td { background: rgba(255, 255, 255, .03); }
.table-plain .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 100px;
  background: #263540;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.tab.on { background: var(--primary); }
.tab .icon { width: 16px; height: 16px; }
.inv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0; }
.inv-bar .input-group { flex: 1 1 260px; }
.more-row { display: flex; justify-content: center; margin-top: 16px; }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-85); }
.empty { padding: 36px 16px; text-align: center; color: var(--text-60); }
.empty .icon { width: 48px; height: 48px; margin: 0 auto 10px; color: rgba(var(--primary-rgb), .7); }
.order-icon { width: 72px; height: 72px; margin: 6px auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--primary-rgb), .16); color: var(--primary-hi); }
.order-icon .icon { width: 40px; height: 40px; }
.order-icon.good { background: rgba(76, 175, 80, .18); color: #8ee08f; }
.order-icon.bad { background: rgba(232, 50, 42, .2); color: #ff8a80; }
.order-price { font-size: 28px; font-weight: 600; color: var(--price); margin: 4px 0 14px; }
.terms-sec + .terms-sec { margin-top: 18px; }
.terms-sec h3 { color: var(--primary-hi); font-size: 18px; margin-bottom: 6px; }
.terms-sec p { color: var(--text-85); margin: 0; }
.terms-sec p + p { margin-top: 8px; }
.terms-updated { margin: 0 0 18px; }

/* ------------------------------------------------------------------ footer */
.site-footer { position: relative; z-index: 1; padding: 34px 16px 30px; text-align: center; font-size: 12px; color: #fff; }
.site-footer p { margin: 0 0 4px; }
.site-footer .powered { color: var(--blue); font-style: italic; display: inline-flex; align-items: center; gap: 6px; }
.site-footer .powered .icon { width: 14px; height: 14px; }
.site-footer .links { margin-top: 10px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.site-footer .links a { color: var(--text-60); }
.site-footer .links a:hover { color: #fff; }

/* ------------------------------------------------------------------ modal, toast, loading */
.modal-back { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 22px; background: rgba(10, 10, 10, .97); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .7); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-head h3 { font-size: 22px; margin: 0; }
.modal-head .icon-btn { width: 36px; height: 36px; border: 0; color: var(--text-70); }
.modal .hero-actions { margin-top: 18px; justify-content: flex-end; }
.modal .btn-buy { flex: 0 1 auto; padding: 0 28px; }
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 300; display: grid; gap: 10px; }
.toast { max-width: 360px; padding: 12px 16px; border-radius: 10px; background: rgba(14, 14, 14, .97); border: 1px solid rgba(255, 255, 255, .1); border-left: 4px solid var(--primary); box-shadow: 0 12px 30px rgba(0, 0, 0, .6); font-size: 14px; animation: up .25s ease; }
.toast.good { border-left-color: var(--green); }
.toast.bad { border-left-color: var(--red); }
@keyframes up { from { transform: translateY(10px); opacity: 0; } }
.spinner { width: 36px; height: 36px; margin: 40px auto; border-radius: 50%; border: 3px solid rgba(var(--primary-rgb), .25); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ the VIP and the players' pages (2026-10-10) */
.pill.vip { background: linear-gradient(135deg, #ffe08a, var(--gold)); color: #3a2a00; font-weight: 700; }
.pill.vip .icon, .pill.vip-lock .icon { width: 15px; height: 15px; }
a.pill.vip:hover { filter: brightness(1.08); }
.pill.vip-lock { background: rgba(255, 255, 255, .08); color: var(--text-85); }
.name-label.vip { background: var(--gold); color: #2b2000; }
.profile-card.is-vip { border-color: rgba(245, 197, 66, .55); }
.profile-card.is-vip .profile-main .ava { border-color: var(--gold); }
.profile-banner.custom { background-position: center; }
.ava-xl { width: 112px; height: 112px; font-size: 42px; border: 3px solid var(--primary); }
.pic-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pic-row .form { flex: 1; min-width: 220px; }
.cover-preview .profile-banner { border-radius: 10px; }
/* a VIP's cover put in place on his own page (app.js editCover: drag it or the arrow keys, as on Facebook) */
.profile-banner.editing { position: relative; cursor: grab; touch-action: none; outline: none; }
.profile-banner.editing.dragging { cursor: grabbing; }
.profile-banner.editing:focus-visible { box-shadow: inset 0 0 0 2px var(--primary); }
.profile-card.editing-cover .profile-main { pointer-events: none; }
/* (its bar over the site's menu, as Facebook's: the whole banner is left to drag) */
.cover-edit-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 150; display: flex; align-items: center; gap: 10px;
  min-height: calc(var(--nav-h) + 6px); padding: 8px max(16px, calc((100% - var(--container)) / 2)); background: #0a0812;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.cover-public { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 600; }
.cover-public .icon, .cover-hint .icon { flex: none; width: 18px; height: 18px; }
.cover-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center;
  gap: 8px; max-width: calc(100% - 32px); padding: 6px 12px; border-radius: 8px; background: rgba(8, 6, 14, .74); color: #fff;
  font-size: 13px; font-weight: 600; pointer-events: none; }
.vip-card.on { border-color: rgba(245, 197, 66, .55); }
.vip-head { display: flex; align-items: center; gap: 18px; }
.vip-head h2 { margin: 0 0 4px; font-size: 26px; }
.vip-head p { margin: 0; }
.vip-crown { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(245, 197, 66, .14); color: var(--gold); }
.vip-crown .icon { width: 36px; height: 36px; }
.vip-card:not(.on) .vip-crown { background: rgba(255, 255, 255, .06); color: var(--text-60); }
.vip-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vip-perks li { display: flex; align-items: flex-start; gap: 10px; }
.vip-perks .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--gold); }
.contents li.vip, .contents li.vip .icon { color: var(--gold); }
.kd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kd-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.kd-card small { color: var(--text-75); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.kd-num { font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--primary-hi); font-variant-numeric: tabular-nums; }
.kd-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-85); }
.kd-sub .icon { flex: none; width: 15px; height: 15px; color: var(--primary); }
.rank-table tr.clickable { cursor: pointer; }
a.rank-player { color: inherit; }
a.rank-player:hover b { color: var(--primary-hi); }
a.pod-link { display: block; color: inherit; }
a.pod-link:hover .pod-name b { text-decoration: underline; }
a.donor-chip { color: inherit; }
a.donor-chip:hover { filter: brightness(1.15); }

/* ------------------------------------------------------------------ the corporations (2026-10-15: like redhero.online/guild) */
/* (its emblem as the game draws it: the background with the picture over it, the same size -- website/clans.py) */
.emb { position: relative; display: block; flex: none; width: 44px; height: 44px; }
.emb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.emb-md { width: 44px; height: 44px; }
.emb-xl { width: 112px; height: 112px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .7)); }
.pod-emb { width: 200px; height: 200px; margin: 0 auto 14px; filter: drop-shadow(0 0 26px rgba(var(--primary-rgb), .45)); }
.online-n, .member-state { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.online-n i, .online-pill i, .member-state i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.online-n.on, .rank-player .member-state.on { color: #8ee08f; }
.online-n.on i, .online-pill.on i, .member-state.on i { background: var(--green); box-shadow: 0 0 8px rgba(76, 175, 80, .8); }
.pill.online-pill.on { background: rgba(76, 175, 80, .2); color: #8ee08f; }
a.rank-leader { display: inline-flex; align-items: center; gap: 8px; color: var(--text-85); }
a.rank-leader:hover { color: var(--primary-hi); }
.clan-leader { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; }
.clan-leader a { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.clan-leader a:hover b { color: var(--primary-hi); }
.profile-main .clan-leader .ava { width: 24px; height: 24px; border: 0; font-size: 11px; }
.rank-pos .pos-num, .rank-player .clan-sub { display: none; }
/* (its TAG as the game shows it in its matches -- bold white letters on a dark label, before the name: js clanTag) */
.clan-tag { display: inline-block; margin-right: 8px; padding: 0 7px; border-radius: 5px; background: rgba(0, 0, 0, .65);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; font-weight: 900; letter-spacing: .06em;
  font-size: .82em; line-height: 1.55; vertical-align: .08em; text-shadow: 1px 1px 0 rgba(0, 0, 0, .6); }
.pod-name .clan-tag { font-size: 22px; vertical-align: .18em; }
.profile-who .clan-tag { font-size: 22px; padding: 2px 10px; vertical-align: .22em; }
.rank-player .clan-tag { font-size: 12px; color: #fff; vertical-align: .08em; }
.clan-card .profile-main { align-items: flex-end; }
.clan-card .clan-note { margin: 0 24px 22px; }
.stats.stats-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat b { overflow-wrap: anywhere; }
.clan-sign { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--text-85); }
.clan-log { list-style: none; margin: 0; padding: 0; }
.clan-log li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.clan-log li:last-child { border-bottom: 0; }
.log-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(var(--primary-rgb), .16); color: var(--primary-hi); }
.log-ico .icon { width: 18px; height: 18px; }
.log-text { flex: 1; min-width: 0; font-size: 14px; color: var(--text-85); overflow-wrap: anywhere; }
.log-text b { color: #fff; font-weight: 600; }
.log-when { flex: none; font-size: 12px; color: var(--text-60); white-space: nowrap; }

/* ------------------------------------------------------------------ the Patente boards' weekly prize (2026-10-15) */
.prize-box { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 14px 16px; border-radius: 10px;
  background: rgba(245, 197, 66, .07); border: 1px solid rgba(245, 197, 66, .35); }
.prize-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(245, 197, 66, .16); color: var(--gold); }
.prize-ico .icon { width: 22px; height: 22px; }
.prize-text { flex: 1; min-width: 0; font-size: 14px; color: var(--text-85); }
.prize-text b { display: block; margin-bottom: 2px; color: var(--gold); font-size: 15px; }
.prize-places { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill.prize { background: rgba(245, 197, 66, .16); color: var(--gold); }
.pill.prize .icon { width: 14px; height: 14px; }
.pod .pill.prize { margin-left: 6px; }

/* ------------------------------------------------------------------ "Trocar nome" (2026-10-15) */
.name-count { font-size: 12px; color: var(--text-60); font-variant-numeric: tabular-nums; }
.name-count.bad { color: #ff8a80; }
.rename-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--text-85); font-size: 14px; }
.rename-rules li { display: flex; align-items: flex-start; gap: 10px; }
.rename-rules .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--primary); }

/* ------------------------------------------------------------------ the e-mail and "Convites" (2026-11-09) */
.acc-alert.warn { background: rgba(var(--primary-rgb), .18); border: 1px solid rgba(var(--primary-rgb), .45);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.acc-alert.warn .btn { margin-left: auto; }
.invite-code { display: grid; gap: 4px; margin: 18px 0 16px; padding: 18px 20px; border-radius: 12px;
  background: rgba(var(--primary-rgb), .14); border: 1px dashed rgba(var(--primary-rgb), .6); }
.invite-code small { color: var(--text-60); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.invite-code b { font-family: 'Black Ops One', 'Roboto', sans-serif; font-size: 34px; letter-spacing: .14em;
  color: #fff; line-height: 1.15; user-select: all; }
.invite-link { font-size: 13px; color: var(--text-60); word-break: break-all; user-select: all; }
.invite-steps { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; color: var(--text-85); font-size: 14px; }
.invite-input { text-transform: uppercase; letter-spacing: .12em; }
.ok-text { color: #8ee08f; font-weight: 600; }
.ok-text .icon { width: 14px; height: 14px; vertical-align: -2px; }
.bad-text { color: #ff8a80; font-weight: 600; }

/* ------------------------------------------------------------------ smaller screens (RedHero's phone layout) */
@media (max-width: 1200px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .navbar-item > a, .navbar-item > button { padding: 0 9px; }
  .navbar-item > a .lbl-opt { display: none; }
}
@media (max-width: 1060px) {
  .home-grid { grid-template-columns: 1fr; }
  .acc-layout { grid-template-columns: 1fr; }
  .acc-side { position: static; }
  .rank-filters { grid-template-columns: 1fr 1fr; }
  .rank-filters > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .navbar-container { grid-template-columns: 1fr 170px 1fr; padding: 0 12px; }
  .navbar-left, .navbar-right > li:not(.navbar-account) { display: none; }
  .nav-burger { display: inline-grid; place-items: center; justify-self: start; width: 44px; height: 44px; border: 0; background: none; color: #fff; grid-column: 1; grid-row: 1; }
  .nav-burger .icon { width: 28px; height: 28px; }
  .navbar-play-now { width: 170px; height: 62px; grid-column: 2; }
  .play-now-text { font-size: 23px; letter-spacing: 1.2px; }
  .navbar-right { grid-column: 3; justify-content: flex-end; }
  .navbar-account > button .acc-name, .navbar-account > button .caret { display: none; }
  .navbar-account > button { padding: 0 5px; }
  .mobile-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99; display: none; flex-direction: column; gap: 2px; padding: 12px 16px 18px; background: #0b0b0b; border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 24px 40px rgba(0, 0, 0, .7); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a, .mobile-menu button, .mobile-menu .mm-label { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text-85); font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; text-align: left; }
  .mobile-menu a:hover, .mobile-menu button:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .mobile-menu .sub { padding-left: 34px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-70); height: 40px; }
  .hero { height: auto; min-height: calc(100vh - var(--nav-h)); padding: 70px 0 40px; }
  .hero-content { text-align: center; padding-top: 0; }
  .hero-logo { font-size: 44px; }
  .hero-tagline { margin: 22px auto 26px; font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-play, .hero-secondary { width: 100%; justify-content: center; }
  .donors-inline, .online-inline { justify-content: center; }
  .page-bg { background-position: 62% top; }
  .news-grid { grid-template-columns: 1fr; }
  h2.arrow-before { font-size: 26px; }
  h3.arrow-before, .page-title { font-size: 24px; }
  .news-card-link { font-size: 21px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .podium { grid-template-columns: 1fr; }
  .pod.p1 { order: -1; }
  .pod-ava { width: 140px; height: 140px; font-size: 52px; }
  .pod-emb { width: 140px; height: 140px; }
  .pod-name b { font-size: 26px; }
  .stats, .stats.stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-buttons { width: 100%; }
  .kd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats.stats-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stats-4 .stat { gap: 10px; padding: 14px; }
  .stats-4 .stat .icon { flex: none; width: 24px; height: 24px; }
  .stats-4 .stat b { font-size: 15px; }
  .rank-filters { grid-template-columns: 1fr; }
  .clan-table .opt, .clan-table .clan-id, .clan-table .pos-word { display: none; }
  .clan-table .pos-num { display: inline; }
  .clan-table .clan-sub { display: block; font-size: 12px; }
  .clan-table th, .clan-table td { padding-left: 8px; padding-right: 8px; }
  .clan-table .emb-md { width: 36px; height: 36px; }
  .emb-xl { width: 92px; height: 92px; }
  .clan-card .clan-note { margin: 0 16px 18px; }
  .hero-logo { font-size: 36px; }
  .profile-who .name-label { font-size: 22px; }
  .rank-badge.big { width: 84px; height: 84px; }
  .kd-num { font-size: 28px; }
  .table-plain .opt { display: none; }
  .table-plain th, .table-plain td { padding-left: 8px; padding-right: 8px; }
  .vip-head { align-items: flex-start; }
  .vip-head h2 { font-size: 22px; }
  .cover-public { visibility: hidden; }
  .cover-hint { font-size: 12px; text-align: center; }
  .gift-row { flex-wrap: wrap; }
  .gift-actions { width: 100%; justify-content: flex-start; }
}
@media (max-width: 400px) {
  .kd-grid { grid-template-columns: 1fr; }
}
