/* Pandora World — web pública.
   Concepto: «libro de caravana». Fondo de tinta cálida, oro del logotipo como
   único acento, una ruta punteada que cruza el hero; secciones en una columna
   de 1120 px con cabeceras alineadas a la izquierda. La ventana de canales
   imita la del juego y es el único objeto «de interfaz» de la página.
   Oscuro primero (como el juego); variante clara con los mismos tokens. */
:root {
  /* Portal look (owner 2026-11-20, «2006 portal»): charcoal greys with the gold of the logo. */
  --bg: #1c1c1c;
  --bg-band: #222222;
  --surface: #282828;
  --surface-2: #303030;
  --line: #3e3e3e;
  --line-soft: #2e2e2e;
  --text: #e8e8e8;
  --muted: #a6a6a6;
  --gold: #d9b765;
  --gold-strong: #f1d68f;
  --gold-ink: #1a1305;
  --cta-top: #f0d27f;
  --cta-bottom: #b98d34;
  --hero-fade: 12, 10, 7;
  --ok: #9fe07a;
  --warn: #f0d880;
  --hot: #f0a050;
  --bad: #ff7a6a;
  --focus: #f6dc93;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);

  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", "URW Palladio L", P052, Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  --radius: 4px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --head-h: 64px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f2ed; --bg-band: #ebe7de; --surface: #fffdf8; --surface-2: #f1ece1;
    --line: #d6ccb6; --line-soft: #e4dccb; --text: #1c170e; --muted: #5f5645;
    --gold: #85641b; --gold-strong: #5e4510; --gold-ink: #1a1305;
    --cta-top: #f0d27f; --cta-bottom: #c79b3e; --hero-fade: 244, 242, 237;
    --ok: #2f7d1f; --warn: #8a6a00; --hot: #a85a10; --bad: #b3261e; --focus: #6b4e12;
    --shadow: 0 14px 40px rgba(60, 45, 15, .16);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f2ed; --bg-band: #ebe7de; --surface: #fffdf8; --surface-2: #f1ece1;
  --line: #d6ccb6; --line-soft: #e4dccb; --text: #1c170e; --muted: #5f5645;
  --gold: #85641b; --gold-strong: #5e4510; --gold-ink: #1a1305;
  --cta-top: #f0d27f; --cta-bottom: #c79b3e; --hero-fade: 244, 242, 237;
  --ok: #2f7d1f; --warn: #8a6a00; --hot: #a85a10; --bad: #b3261e; --focus: #6b4e12;
  --shadow: 0 14px 40px rgba(60, 45, 15, .16);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--step-0)/1.6 var(--font-body); text-rendering: optimizeLegibility; overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-strong); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; inset-inline-start: 12px; top: -48px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* ── Cuenta atrás de lanzamiento (franja fija encima de la cabecera, no sticky; colores vivos a propósito: debe llamar la atención) ── */
.launch-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding: 8px var(--gutter); padding-top: calc(8px + env(safe-area-inset-top, 0px)); text-align: center; background: linear-gradient(180deg, #ff7a52, #e42f3c); color: #fff; box-shadow: 0 2px 14px rgba(228, 47, 60, .35); }
.launch-banner__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px; margin: 0; font-size: var(--step--1); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.launch-banner__label { text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.launch-banner__clock { display: flex; gap: 12px; }
.launch-banner__unit { display: flex; flex-direction: column; align-items: center; line-height: 1.15; min-width: 2.6em; }
.launch-banner__unit strong { font: 700 1.05rem/1 var(--font-display); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.launch-banner__unit small { font-size: .625rem; text-transform: uppercase; letter-spacing: .03em; opacity: .9; }
.launch-banner.is-live { background: linear-gradient(180deg, #4fdc7e, #1fa851); box-shadow: 0 2px 14px rgba(31, 168, 81, .35); }
.poll-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 8px var(--gutter); text-align: center; background: linear-gradient(180deg, #f0d27f, #b98d34); color: #1a1305; font-size: var(--step--1); font-weight: 600; text-decoration: none; }
.poll-banner:hover { color: #1a1305; filter: brightness(1.06); }
.poll-banner strong { padding: 2px 12px; border-radius: 999px; background: #1a1305; color: #f1d68f; text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
/* Home page level cap poll (owner 2026-11-28 «sitede kocaman bir yer kaplasın»): wide block at the top, four big tiles. */
.cap-poll { position: relative; padding-block: clamp(36px, 6vw, 72px); color: #f3ecda; text-align: center; border-bottom: 2px solid var(--gold);
  background: radial-gradient(ellipse at 50% 0%, rgba(241, 214, 143, .22), transparent 60%), linear-gradient(180deg, rgba(12, 10, 7, .72), rgba(12, 10, 7, .94)), url("/images/wharf-1600.jpg") center / cover no-repeat; }
.cap-poll__inner { display: grid; justify-items: center; gap: 14px; }
.cap-poll__eyebrow { margin: 0; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-strong); font-size: var(--step--1); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cap-poll__title { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem); color: #fff4d6; text-shadow: 0 2px 18px rgba(0, 0, 0, .6); max-width: 22ch; }
.cap-poll__lede { margin: 0; max-width: 60ch; color: #e2d8bf; font-size: var(--step-1); }
.cap-poll__options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); width: 100%; max-width: 980px; margin-top: 10px; }
.cap-poll__opt { display: grid; align-content: center; justify-items: center; gap: 4px; min-height: clamp(130px, 16vw, 190px); padding: 16px 10px; border-radius: 16px;
  border: 2px solid rgba(217, 183, 101, .55); background: linear-gradient(180deg, rgba(40, 34, 22, .92), rgba(20, 17, 11, .95)); color: #f3ecda; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .15s, border-color .15s, box-shadow .15s; }
.cap-poll__opt:hover, .cap-poll__opt:focus-visible { color: #fff; border-color: var(--gold-strong); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(185, 141, 52, .35); }
.cap-poll__num { font: 700 clamp(2.6rem, 1.6rem + 4vw, 4.4rem)/1 var(--font-display); color: var(--gold-strong); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.cap-poll__name { font-weight: 700; font-size: var(--step-0); }
.cap-poll__note { color: #cfc4a8; font-size: .8rem; }
.cap-poll__opt--current { border-style: dashed; }
.cap-poll__cta { margin: 10px 0 0; }
.cap-poll__meta { margin: 0; color: #cfc4a8; font-size: var(--step--1); max-width: 70ch; }
@media (max-width: 640px) { .cap-poll__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cap-poll__lede { font-size: var(--step-0); } }
@media (prefers-reduced-motion: reduce) { .cap-poll__opt { transition: none; } .cap-poll__opt:hover { transform: none; } }
@media (max-width: 480px) { .launch-banner__row { font-size: .75rem; } .launch-banner__unit { min-width: 2.2em; } .launch-banner__unit strong { font-size: .95rem; } }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px; padding: .6em 1.2em; border-radius: 999px; border: 1px solid transparent; font: 600 var(--step-0)/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .15s ease; }
.btn--play { color: var(--gold-ink); background: linear-gradient(180deg, var(--cta-top), var(--cta-bottom)); border-color: #7a5b1c; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 22px rgba(185, 141, 52, .28); }
.btn--play:hover { color: var(--gold-ink); filter: brightness(1.07); transform: translateY(-1px); }
.btn--play:active { transform: translateY(0); }
.btn--ghost { color: var(--text); background: transparent; border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--gold); background: var(--surface); }
.btn--large { min-height: 56px; padding: .8em 1.8em; font-size: var(--step-1); letter-spacing: .01em; }
.btn--small { min-height: 38px; padding: .45em 1em; font-size: var(--step--1); }

/* ── Cabecera ── */
.site-head { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line-soft); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-head { background: var(--bg); } }
.site-head__bar { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); }
.brand { flex: none; display: block; width: 132px; }
.site-nav { flex: 1; min-width: 0; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: var(--step--1); font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-head__tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-switch, .theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: 600 var(--step--1)/1 var(--font-body); text-decoration: none; cursor: pointer; }
.lang-switch:hover, .theme-toggle:hover { border-color: var(--gold); color: var(--gold-strong); }
.theme-toggle { padding: 0; width: 40px; }
/* Selector de idioma: <details> con la lista de los 14 idiomas (sin JS también funciona). */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu[open] > summary { border-color: var(--gold); color: var(--gold-strong); }
.lang-menu__list { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; width: max-content; max-width: calc(100vw - 2 * var(--gutter)); max-height: min(70vh, 480px); overflow-y: auto; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.lang-menu__list a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--text); font-size: var(--step--1); text-decoration: none; white-space: nowrap; }
.lang-menu__list a:hover, .lang-menu__list a:focus-visible { background: var(--surface-2); color: var(--gold-strong); }
.lang-menu__list a[aria-current] { color: var(--gold); font-weight: 600; }
.theme-toggle__icon { display: none; }
.theme-toggle[data-mode="auto"] [data-icon="auto"], .theme-toggle[data-mode="dark"] [data-icon="dark"], .theme-toggle[data-mode="light"] [data-icon="light"], .theme-toggle:not([data-mode]) [data-icon="auto"] { display: inline-flex; }
@media (max-width: 960px) {
  .site-head__bar { flex-wrap: wrap; gap: 0 12px; }
  .site-nav { order: 3; flex-basis: 100%; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  [dir="rtl"] .site-nav { -webkit-mask-image: linear-gradient(270deg, #000 88%, transparent); mask-image: linear-gradient(270deg, #000 88%, transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { padding: 0 var(--gutter) 8px; }
  .brand { width: 112px; }
}
@media (max-width: 420px) { .site-head__tools .btn--play { display: none; } .brand { width: 104px; } }

/* ── Hero ── */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 128px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(var(--hero-fade), .94) 0%, rgba(var(--hero-fade), .78) 42%, rgba(var(--hero-fade), .28) 100%),
  linear-gradient(0deg, rgb(var(--hero-fade)) 0%, rgba(var(--hero-fade), 0) 38%); }
.hero__inner { display: grid; gap: 22px; justify-items: start; }
.hero__title { display: grid; gap: 18px; margin: 0; }
.hero__logo { width: min(620px, 92%); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55)); }
.hero__tagline { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; font-style: italic; color: var(--gold-strong); letter-spacing: .005em; max-width: 22ch; }
.hero__lead { max-width: 54ch; font-size: var(--step-1); color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 10px 0 2px; max-width: 640px; }
.hero__stats[hidden] { display: none; }
.hero__stat { margin: 0; padding: 14px 12px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.hero__stat dt { color: var(--muted); font-size: var(--step--1); }
.hero__stat dd { margin: 4px 0 0; color: var(--text); font-size: 1.9rem; font-weight: 600; line-height: 1.15; }
.hero__stat--live { border-color: var(--ok); }
.hero__stat--live dt { color: var(--ok); }
.hero__stat--live dt::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 6px; border-radius: 50%; background: var(--ok); }
@media (max-width: 560px) { .hero__stats { grid-template-columns: minmax(0, 1fr); } }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.hero__saying { margin: 10px 0 0; max-width: 54ch; color: var(--gold); font-style: italic; font-size: var(--step--1); line-height: 1.45; opacity: 0; animation: hero-saying-in .6s ease .4s forwards; }
.hero__saying b { display: block; font-weight: 500; font-size: var(--step-0); }
.hero__saying cite { display: block; opacity: .75; font-style: normal; }
@keyframes hero-saying-in { to { opacity: .95; } }
@media (prefers-reduced-motion: reduce) { .hero__saying { animation: none; opacity: .95; } }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.hero__route { position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 40px; z-index: -1; }
.hero__route path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .7; vector-effect: non-scaling-stroke; animation: caravan 40s linear infinite; }
@keyframes caravan { to { stroke-dashoffset: -480; } }
@media (max-width: 640px) { .hero::before { background: linear-gradient(0deg, rgb(var(--hero-fade)) 8%, rgba(var(--hero-fade), .82) 55%, rgba(var(--hero-fade), .6) 100%); } }

/* ── Secciones ── */
.section { padding-block: clamp(56px, 8vw, 104px); }
main > .section:nth-child(even of .section) { background: var(--bg-band); border-block: 1px solid var(--line-soft); }
.section-head { display: grid; gap: 10px; max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: var(--step-4); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid currentColor; }
.lead { color: var(--muted); font-size: var(--step-1); }
.note { padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.status { padding: 24px 0; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ── Características ── */
.features-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; padding: 0; list-style: none; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--gold); }
.feature h3 { font-size: var(--step-1); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .9688rem; }
.features-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--head-h) + 24px); }
@media (max-width: 1000px) { .features-layout { grid-template-columns: 1fr; } .features-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } .features-aside { grid-template-columns: 1fr; } }

.channel-board { margin: 0; padding: 14px; border: 1px solid #6f5a30; border-radius: 10px; background: linear-gradient(170deg, #1d2527, #0b0f10 75%); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05); color: #ece5d3; font-size: var(--step--1); }
.channel-board__title { margin: -14px -14px 12px; padding: 9px 14px; border-bottom: 1px solid #4a3f28; border-radius: 10px 10px 0 0; background: linear-gradient(#2a3234, #161c1e); color: #f3e2b1; font-family: var(--font-display); font-size: var(--step-0); letter-spacing: .06em; }
.channel-board__rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.channel-board__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 12px; border: 1px solid #2a3336; border-radius: 8px; background: #080c0d; }
.ch-name { color: #fff0c2; font-weight: 600; }
.ch-state { font-weight: 700; letter-spacing: .02em; }
.ch-state[data-state="easy"] { color: #9fe07a; }
.ch-state[data-state="populated"] { color: #f0d880; }
.ch-state[data-state="crowded"] { color: #f0a050; }
.ch-state[data-state="full"] { color: #ff6a5a; }
.ch-note { grid-column: 1 / -1; color: #8d9894; font-size: .8125rem; }
.channel-board__full { margin-top: 10px; color: #8d9894; font-size: .8125rem; }
.channel-board figcaption { margin-top: 12px; padding-top: 10px; border-top: 1px solid #2a3336; color: #a7ada9; font-size: .8125rem; }
.origins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.origin { margin: 0; display: grid; gap: 8px; }
.origin img { width: 100%; aspect-ratio: 800 / 364; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.origin figcaption { color: var(--muted); font-size: var(--step--1); line-height: 1.45; }
.origin strong { display: block; color: var(--text); font-family: var(--font-display); font-size: var(--step-1); }

/* ── Instalación ── */
.install { display: grid; gap: 18px; }
.install__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tab { position: relative; display: grid; gap: 2px; justify-items: start; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: 600 var(--step--1)/1.3 var(--font-body); text-align: start; cursor: pointer; }
.tab small { color: var(--muted); font-weight: 400; }
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { border-color: var(--gold); background: var(--surface-2); box-shadow: inset 0 -3px 0 var(--gold); }
.tab__detected { order: -1; justify-self: start; margin-bottom: 2px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: .6875rem; font-style: normal; font-weight: 700; letter-spacing: .03em; }
.install-panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.install-panel + .install-panel { margin-top: 0; }
.install-art { width: 100%; height: auto; }
.install-art .a-frame { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; }
.install-art .a-bar { fill: var(--bg); stroke: var(--line); }
.install-art .a-menu { fill: var(--bg); stroke: var(--line); }
.install-art .a-text { fill: var(--line); }
.install-art .a-dot { fill: var(--muted); }
.install-art .a-accent { fill: var(--gold); opacity: .8; }
.install-art .a-hot > :first-child { fill: var(--gold); }
.install-art .a-hot { stroke: var(--gold-ink); fill: var(--gold-ink); }
.install-art .a-hot > :first-child { stroke: none; }
.install-art .a-hot { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { opacity: .72; } }
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 4px; padding-inline-start: 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font: 700 var(--step-0)/1 var(--font-display); }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 17.5px; top: 40px; bottom: -16px; border-inline-start: 1.5px dotted var(--line); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); }
.firefox-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.firefox-note h3 { font-size: var(--step-0); margin-bottom: 2px; }
.firefox-note p { color: var(--muted); }
.firefox-note__icon { color: var(--hot); display: grid; place-items: center; padding-top: 2px; }
.firefox-note.is-current { border-color: var(--hot); background: var(--surface); }
.install__cta { margin-top: 24px; }
.install-guide { display: grid; gap: 14px; margin-bottom: 28px; padding: clamp(18px, 3vw, 32px); border: 1.5px solid var(--gold); border-radius: var(--radius); background: var(--surface); }
.install-guide__eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: var(--step--1, .85rem); }
.install-guide__name { font-size: var(--step-2, 1.5rem); }
.install-guide__note { padding: 10px 14px; border-inline-start: 3px solid var(--hot); background: var(--bg); border-radius: 6px; }
.install-guide .steps p { color: var(--text, inherit); font-size: var(--step-1, 1.1rem); }
.install-guide__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.install-guide__copied { color: var(--gold); }
.install__other { margin: 0 0 12px; font-size: var(--step-1); color: var(--muted); }
@media (max-width: 560px) { .install-guide__actions .btn { width: 100%; justify-content: center; } }
@media (max-width: 860px) { .install__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .install-panel { grid-template-columns: 1fr; } .install-panel__art { max-width: 320px; } }

/* ── Noticias ── */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; align-items: start; }
.news-card { display: grid; gap: 10px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.news-card--pinned { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); }
.news-card h3 { font-size: var(--step-2); }
.news-card:not(.news-card--pinned) h3 { font-size: var(--step-1); }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .8125rem; }
.cat, .pin { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .6875rem; }
.cat[data-cat="patch"] { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.cat[data-cat="event"] { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.cat[data-cat="maintenance"] { color: var(--hot); border-color: color-mix(in srgb, var(--hot) 55%, transparent); }
.pin { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.news-card__body { display: grid; gap: 10px; max-width: 70ch; overflow-wrap: anywhere; }
.news-card__body ul, .news-card__body ol { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 4px; }
.news-card__body h4 { font-size: var(--step-1); margin-top: 4px; }
.news-card__body code { padding: 1px 5px; border-radius: 4px; background: var(--bg); font: .9em var(--font-mono); }
.news-card__more summary { color: var(--gold); cursor: pointer; font-weight: 600; width: max-content; }
.news-card__more[open] summary { margin-bottom: 10px; }
.news-card__by { font-size: .8125rem; }

/* ── Rankings ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: 600 var(--step--1)/1 var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.rank { min-height: 180px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rank-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.rank-table th, .rank-table td { padding: 11px 16px; text-align: start; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.rank-table thead th { position: sticky; top: 0; background: var(--surface-2); color: var(--muted); font: 700 .75rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.rank-table tbody tr:last-child > * { border-bottom: 0; }
.rank-table tbody tr:hover > * { background: var(--surface-2); }
.rank-table .col-rank { width: 3.5rem; color: var(--muted); font-weight: 700; }
.rank-table .col-level, .rank-table .col-jobLevel, .rank-table .col-members, .rank-table .col-points { text-align: end; }
.rank-table tbody th.col-name { font-weight: 600; color: var(--text); }
.rank-table .top .col-rank { color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; }
.rank-table .top-1 .col-name::after { content: " ◆"; color: var(--gold); font-size: .75em; }
.rank__updated { margin-top: 10px; font-size: .8125rem; min-height: 1.3em; }
@media (max-width: 560px) { .rank-table th, .rank-table td { padding: 10px 10px; } .rank-table .col-race { display: none; } }

/* ── Comunidad ── */
.social { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.social__link { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.social__link:hover { border-color: var(--gold); color: var(--text); }
.social__link .icon { width: 28px; height: 28px; color: var(--gold); }
.social__link span { display: grid; }
.social__link small { color: var(--muted); font-size: .8125rem; }
.social__link--primary { grid-column: span 2; }
@media (max-width: 560px) { .social__link--primary { grid-column: auto; } }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.faq__list { display: grid; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__item h3 { font-size: var(--step-1); }
.faq__item p { padding: 0 2px 20px; color: var(--muted); max-width: 68ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ── Pie ── */
.site-foot { padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-soft); background: var(--bg); }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 32px 48px; align-items: start; }
.site-foot__brand { display: grid; gap: 10px; }
.site-foot__brand img { width: 180px; }
.site-foot__brand p { font-size: .8125rem; }
.site-foot__title { font-size: var(--step-0); color: var(--gold); margin-bottom: 6px; font-family: var(--font-body); letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.site-foot__notice p { color: var(--muted); font-size: .875rem; max-width: 70ch; }
.site-foot__links { display: grid; gap: 8px; font-size: .9375rem; }
.site-foot__links a { color: var(--text); text-decoration: none; }
.site-foot__links a:hover { color: var(--gold-strong); text-decoration: underline; }
.site-foot__copy { margin-top: 32px; color: var(--muted); font-size: .8125rem; }
@media (max-width: 860px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ── Páginas legales / 404 ── */
.legal { padding-block: clamp(32px, 6vw, 72px); max-width: 820px; }
.legal h1 { font-size: var(--step-4); margin: 18px 0 8px; }
.legal__body { display: grid; gap: 28px; margin-top: 32px; }
.legal__body section { display: grid; gap: 10px; }
.legal__body h2 { font-size: var(--step-2); color: var(--gold-strong); }
.legal__body p { color: var(--text); max-width: 68ch; }
.back { text-decoration: none; font-weight: 600; }
.notfound { display: grid; gap: 18px; justify-items: start; }
.notfound img { width: min(420px, 100%); }
.notfound p:last-child { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Silk ── */
.store__points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -12px 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.store__points li { display: inline-flex; align-items: center; gap: 8px; }
.store__points li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.store__cta { margin-top: 24px; }

/* ── Requisitos ── */
.req { display: grid; gap: 20px; }
.req-block { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.req-table { width: 100%; border-collapse: collapse; font-size: .9063rem; }
.req-table caption { padding: 14px 16px; text-align: start; font: 600 var(--step-1)/1.2 var(--font-display); color: var(--gold-strong); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.req-table th, .req-table td { padding: 10px 14px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.req-table thead th { color: var(--muted); font: 700 .75rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.req-table thead th:nth-child(3) { color: var(--gold); }
.req-table tbody th { width: 22%; color: var(--text); font-weight: 600; }
.req-table tbody td { color: var(--muted); }
.req-table tbody td:last-child { color: var(--text); }
.req-table tbody tr:last-child > * { border-bottom: 0; }
.req-notes { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; max-width: 80ch; }
.req-notes li { position: relative; padding-inline-start: 18px; }
.req-notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .6em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.req-link { margin-top: 16px; }
.req-link a { font-weight: 600; }
@media (max-width: 600px) {
  .req-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .req-table tbody, .req-table tr, .req-table th, .req-table td { display: block; width: auto; }
  .req-table tbody tr { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
  .req-table tbody tr:last-child { border-bottom: 0; }
  .req-table tbody th, .req-table tbody td { padding: 2px 0; border: 0; width: auto; }
  .req-table tbody td::before { content: attr(data-label) ": "; color: var(--gold); font-weight: 600; }
}

/* ── RTL (árabe): las flechas apuntan hacia el avance de lectura. ── */
[dir="rtl"] .hero__cta .btn--ghost .icon { transform: scaleX(-1); }
/* ── iPhone app (IPA) guide, /ios ── */
.ios .eyebrow { margin-top: 18px; }
.ios h1 { margin-top: 4px; }
.ios .lead { max-width: 68ch; color: var(--muted); }
.ios-download { display: grid; gap: 12px; margin-top: 24px; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ios-download p { margin: 0; }
.ios-download__phone, .ios-download__wait { padding: 12px 14px; border-radius: 10px; border: 1px dashed var(--gold); color: var(--text); }
.ios-download__cta .btn { max-width: 100%; white-space: normal; text-align: center; }
.ios-download__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.ios-download__facts div { min-width: 0; }
.ios-download__facts dt { color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ios-download__facts dd { margin: 2px 0 0; font-weight: 600; }
.ios-download__sha { flex-basis: 100%; }
.ios-download__sha code { display: block; font-size: .75rem; font-weight: 400; overflow-wrap: anywhere; color: var(--muted); }
.ios-list { display: grid; gap: 8px; margin: 0; padding-inline-start: 1.2em; }
.ios-list li { max-width: 68ch; }
/* One step count over the whole guide (1, 2, 3 … across the parts): a beginner follows a single list. */
.ios-body { counter-reset: step; }
.ios-part h2 { padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ios-part .steps { margin-top: 6px; counter-reset: none; }
.ios-part .steps li { padding-inline-start: 46px; }
.ios-part .steps li::before { width: 30px; height: 30px; font-size: .9rem; }
.ios-part .steps li:not(:last-child)::after { inset-inline-start: 14.5px; top: 34px; }
.ios-part .steps p { color: var(--text); max-width: 64ch; }
.ios-callout { padding: 16px 18px; border-inline-start: 4px solid var(--gold); border-radius: 8px; background: var(--surface); }
.ios-callout--warn { border-inline-start-color: #d9822b; }
.ios-video { margin: 22px 0; }
.ios-video h2 { font-size: 1.15rem; margin-bottom: 10px; }
.ios-video video { display: block; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; border: 1px solid var(--line); }
/* iPhone / iPad visitors: the iPhone app button sits next to Play, highlighted (site.js adds .btn--ios). */
.hero__cta .btn--ios { color: var(--gold); border: 2px solid var(--gold); background: var(--surface); }
.hero__cta .btn--ios:hover { color: var(--gold); background: var(--surface); filter: brightness(1.1); }
/* ── Download page, /download: APK + IPA cards (always visible), browser card full width. ── */
.dl.legal { max-width: 1120px; }
.dl .eyebrow { margin-top: 18px; }
.dl h1 { margin-top: 4px; }
.dl .lead { max-width: 68ch; color: var(--muted); }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 24px); margin-top: 28px; }
.dl-card { display: grid; align-content: start; gap: 14px; min-width: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dl-card h2 { margin: 0; font-size: var(--step-2); }
.dl-card h3 { margin: 6px 0 0; font-size: var(--step-0); }
.dl-card p { margin: 0; }
.dl-card .btn { max-width: 100%; white-space: normal; text-align: center; }
.dl-card__cta .btn--large { width: 100%; }
.dl-card__guide .btn { width: 100%; border-color: var(--gold); color: var(--gold); }
[dir="rtl"] .dl-card__guide .icon { transform: scaleX(-1); }
.dl-card--browser { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.dl-card--browser .dl-card__cta .btn--large { width: auto; }
.dl-card--browser > div { display: grid; gap: 8px; }
.dl-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.dl-facts div { min-width: 0; }
.dl-facts dt { color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.dl-facts dd { margin: 2px 0 0; font-weight: 600; }
.dl-facts__sha { flex-basis: 100%; }
.dl-facts__sha code { display: block; font-size: .75rem; font-weight: 400; overflow-wrap: anywhere; color: var(--muted); }
.dl-steps { gap: 12px; }
.dl-steps li { padding-inline-start: 46px; }
.dl-steps li::before { width: 30px; height: 30px; font-size: .9rem; }
.dl-steps li:not(:last-child)::after { inset-inline-start: 14.5px; top: 34px; bottom: -10px; }
.dl-steps p { color: var(--text); }
.dl-steps bdi { white-space: nowrap; }
.dl-safe { margin-top: 20px; }
.site-nav .site-nav__download { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 600; }
.site-nav .site-nav__download svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-card--browser { grid-template-columns: minmax(0, 1fr); }
  .dl-card--browser .dl-card__cta .btn--large { width: 100%; }
}

/* ── /support (contact, FAQ, account deletion) and the TestFlight button of /ios and /download ── */
.support .lead { max-width: 68ch; color: var(--muted); }
.support section { display: grid; gap: 12px; margin-top: 32px; }
.support h2 { font-size: var(--step-2); color: var(--gold-strong); }
.support h3 { font-size: var(--step-1); margin-top: 6px; }
.support p, .support li { max-width: 68ch; }
.support-contact__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.support-delete { padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-inline-start: 4px solid #d9822b; border-radius: var(--radius); background: var(--surface); scroll-margin-top: 90px; }
.support-delete ol, .support-delete ul { display: grid; gap: 8px; margin: 0; padding-inline-start: 1.3em; }
.testflight { display: grid; gap: 8px; margin-top: 24px; }
.testflight p { margin: 0; }
.testflight .btn { max-width: 100%; white-space: normal; text-align: center; }
.testflight--card { margin-top: 0; }
.testflight--card .btn--large { width: 100%; }
.testflight__other { padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; }

/* Android (owner 2026-10-23): no browser game on Android; site.js adds .is-android, Play links lead to /download#dl-android. */
.is-android #apk-link, .is-android .dl-card--browser, .is-android #install-guide, .is-android #install-other, .is-android .firefox-note { display: none !important; }
.install-panel__lead { margin: 0 0 12px; }
.install-panel__cta { margin: 16px 0 0; }
.dl-inapp { margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--gold, #e8c46a); border-radius: 12px; background: rgba(232, 196, 106, .08); }
.dl-inapp h2 { margin: 0 0 6px; font-size: 1.15rem; }
.dl-inapp p { margin: 0 0 10px; }
.dl-inapp__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-inapp__actions .btn { min-height: 44px; }
.dl-inapp__copied { color: #9be39b; font-size: .9rem; }
#main > .dl-inapp:first-child { margin: 16px 16px 24px; }
/* /download, desktop: QR + short link to open the page on the phone (site.js marks phones with .is-android / .is-ios). */
.dl-share { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.dl-share h2 { margin: 0 0 6px; font-size: 1.15rem; }
.dl-share p { margin: 0 0 10px; }
.dl-share__qr { flex: none; width: 132px; height: 132px; border-radius: 6px; }
.dl-share__link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; overflow-wrap: anywhere; }
.is-android .dl-share, .is-ios .dl-share { display: none; }
@media (max-width: 520px) { .dl-share { flex-direction: column; align-items: flex-start; } }

/* ════════ Portal home (owner 2026-11-20, «2006 portal»: build.mjs portalSection) ════════ */
.btn { border-radius: 3px; }
.btn--play { background: linear-gradient(180deg, #f6dc8c 0%, #d4a43a 50%, #b07c1c 51%, #dcae46 100%); border-color: #fff0c2; box-shadow: 0 0 0 1px #3a2208, 0 4px 14px rgba(0, 0, 0, .5); text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.btn--ghost { background: linear-gradient(180deg, #4a4a4a 0%, #2c2c2c 100%); border-color: #111; color: #eee; }
.btn--ghost:hover { background: linear-gradient(180deg, #5a5a5a 0%, #353535 100%); border-color: var(--gold); color: #fff; }
.site-head { background: linear-gradient(180deg, #3a3a3a 0%, #252525 100%); border-bottom: 1px solid #000; box-shadow: inset 0 -1px 0 #474747; }
.portal { padding: 18px 0 28px; background: linear-gradient(180deg, #2c2c2c 0%, #1c1c1c 420px); }
.portal__wrap { max-width: 980px; }
.portal__mast { display: flex; justify-content: center; padding: 6px 0 16px; }
.portal__mast img { width: min(320px, 70vw); filter: drop-shadow(0 4px 8px #000); }
.portal-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2px; background: #0e0e0e; border: 1px solid #000; }
.portal-tabs__tab { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 10px; color: #ececec; font: 700 1.125rem/1.1 Arial, Helvetica, sans-serif; text-decoration: none; text-shadow: 0 1px 2px #000; background: linear-gradient(180deg, #5c5c5c 0%, #3c3c3c 50%, #2c2c2c 51%, #3a3a3a 100%); }
.portal-tabs__tab svg { width: 22px; height: 22px; color: #d9b45a; }
.portal-tabs__tab:hover { color: #ffe08a; background: linear-gradient(180deg, #6a6a6a 0%, #464646 50%, #333 51%, #444 100%); }
.vitrin { display: flex; flex-wrap: wrap; margin-top: 8px; padding: 6px; background: linear-gradient(180deg, #ecc65c 0%, #a8761e 100%); box-shadow: 0 0 0 1px #000, 0 8px 24px rgba(0, 0, 0, .6); }
.vitrin__side { flex: 1 1 210px; max-width: 220px; display: flex; flex-direction: column; background: #000; }
.vitrin__tab { flex: 1; min-height: 84px; display: flex; align-items: center; padding: 10px 12px 10px 92px; color: #e6e6e6; font: 700 .95rem/1.25 Arial, sans-serif; text-decoration: none; text-shadow: 0 1px 2px #000; border-bottom: 1px solid #000; background-size: cover; background-repeat: no-repeat; }
[dir="rtl"] .vitrin__tab { padding: 10px 92px 10px 12px; }
.vitrin__tab:last-child { border-bottom: 0; }
.vitrin__tab:hover, .vitrin__tab.is-active { color: #ffe08a; box-shadow: inset 0 0 0 2px #f2cf6e; }
.vitrin__tab--fortress { background-image: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.88) 42%), url("/images/fortress-640.jpg"); background-position: 30% 40%; }
.vitrin__tab--china { background-image: linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.88) 42%), url("/images/china-800.jpg"); background-position: 25% 20%; }
.vitrin__tab--europe { background-image: linear-gradient(90deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.88) 42%), url("/images/europe-800.jpg"); background-position: 25% 20%; }
.vitrin__stage { position: relative; flex: 999 1 480px; min-height: 270px; overflow: hidden; background: #000; border-inline-start: 2px solid #ecc65c; }
.vitrin__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.vitrin__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 4, .9) 0%, rgba(10, 8, 4, .5) 42%, rgba(10, 8, 4, .05) 75%); }
[dir="rtl"] .vitrin__stage::after { background: linear-gradient(270deg, rgba(10, 8, 4, .9) 0%, rgba(10, 8, 4, .5) 42%, rgba(10, 8, 4, .05) 75%); }
.vitrin__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 270px; padding: 22px clamp(18px, 5vw, 48px); }
.vitrin__logo { width: min(380px, 100%); filter: drop-shadow(0 0 2px #000) drop-shadow(0 4px 10px #000) drop-shadow(0 0 18px rgba(255, 200, 90, .35)); }
.platform-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.platform-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; font: 700 .8125rem/1 Arial, sans-serif; color: #fff; background: rgba(0, 0, 0, .72); border: 1px solid #ecc65c; border-radius: 16px; box-shadow: 0 2px 6px #000; }
.platform-chip svg { width: 17px; height: 17px; color: #ffd27a; }
.vitrin__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.vitrin__cta .btn { min-height: 40px; padding: .5em 1em; font-size: var(--step--1); }
.portal .hero__saying { margin-top: 10px; text-align: center; color: var(--muted); font-size: var(--step--1); }
.portal .hero__saying b { color: var(--gold); margin-inline-end: 6px; }
.portal-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: flex-start; }
.portal-box { background: #262626; border: 1px solid #111; box-shadow: inset 0 1px 0 #3a3a3a; }
.portal-box--account { flex: 1 1 220px; max-width: 240px; display: flex; flex-direction: column; gap: 8px; padding: 10px; background: linear-gradient(180deg, #4a4a4a 0%, #2e2e2e 100%); }
.portal-register { display: block; padding: 14px 8px; text-align: center; color: #fff; font: 700 1.25rem/1.15 Arial, sans-serif; text-decoration: none; text-shadow: 0 1px 2px #5a3a08; background: linear-gradient(180deg, #f2d27a 0%, #c9962f 50%, #a87418 51%, #d6a43c 100%); border: 1px solid #fff0c2; outline: 1px solid #3a2208; }
.portal-register:hover { color: #fff; filter: brightness(1.08); }
.portal-login { width: 100%; }
.portal-box--server { flex: 999 1 300px; min-width: 0; }
.portal-box__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0; padding: 8px 12px; font: 700 .95rem/1.2 Arial, sans-serif; color: #fff; background: linear-gradient(180deg, #3e3e3e 0%, #2a2a2a 100%); border-bottom: 1px solid #000; }
.portal-box__head a { font: 400 .75rem/1 var(--font-body); color: var(--muted); }
.portal-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: #111; border-bottom: 1px solid #000; }
.portal-stats__item { padding: 10px 8px; text-align: center; background: #2a2a2a; }
.portal-stats__item dt { color: var(--muted); font-size: .75rem; }
.portal-stats__item dd { margin: 2px 0 0; color: #fff; font: 700 1.25rem/1.2 Arial, sans-serif; }
.portal-stats__item--live dd { color: #8ee06d; }
.portal-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 12px; list-style: none; }
.portal-facts li { padding: 2px 10px; font-size: .75rem; color: #ddd; background: #333; border: 1px solid #555; border-radius: 10px; }
.portal-box--news { flex: 1 1 280px; max-width: 320px; }
.news-mini { margin: 0; padding: 6px 10px 8px; list-style: none; }
.news-mini__item { display: flex; align-items: center; gap: 6px; padding: 5px 0; border-bottom: 1px solid #333; font-size: .8125rem; }
.news-mini__item:last-child { border-bottom: 0; }
.news-mini .status { padding: 8px 0; color: var(--muted); font-size: .8125rem; }
.news-mini__item .cat { flex: none; min-width: 46px; padding: 1px 4px; text-align: center; font-size: .625rem; font-weight: 700; text-transform: uppercase; }
.news-mini__title { flex: 1; min-width: 0; color: #ddd; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-mini__title:hover { color: #ffe08a; text-decoration: underline; }
.news-mini__date { flex: none; color: var(--muted); font-size: .6875rem; }
.boards { margin-top: 14px; padding: 4px; background: linear-gradient(180deg, #ecc65c 0%, #a8761e 100%); box-shadow: 0 0 0 1px #000, 0 6px 20px rgba(0, 0, 0, .5); }
.boards__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; font: 700 1.05rem/1.2 Arial, sans-serif; color: #ffe08a; text-shadow: 0 1px 2px #000; background: linear-gradient(180deg, #121212 0%, #262626 100%); border-bottom: 1px solid #000; }
.boards__head a { font: 400 .75rem/1 var(--font-body); color: #bbb; text-shadow: none; }
.boards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px; background: #000; }
.board { background: #1e1e1e; }
.board__head { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; font: 700 .875rem/1.2 Arial, sans-serif; color: #fff; background: linear-gradient(180deg, #3e3e3e 0%, #2a2a2a 100%); border-bottom: 1px solid #000; }
.board__head svg { width: 18px; height: 18px; color: #ecc65c; }
.board__chips { display: flex; gap: 2px; padding: 6px 8px 0; }
.board__chip { flex: 1; min-height: 30px; padding: 4px 0; font: 700 .75rem/1 var(--font-body); color: #ddd; background: #333; border: 1px solid #111; cursor: pointer; }
.board__chip[aria-selected="true"] { color: #2b1704; background: linear-gradient(180deg, #f2d27a 0%, #c9962f 100%); }
.board__body { padding: 4px 0 6px; }
.board__body .status { padding: 12px; color: var(--muted); font-size: .8125rem; }
.board-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.board-table th, .board-table td { padding: 5px 10px; text-align: start; }
.board-table thead th { color: #8a8a8a; font-size: .6875rem; font-weight: 400; }
.board-table tbody tr:nth-child(odd) { background: #262626; }
.board-table .col-name { color: #eee; font-weight: 400; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-table td:last-child, .board-table thead th:last-child { text-align: end; }
.board-table .top-1 .col-rank { color: #ffd24a; font-weight: 700; }
.board-table .top-1 .col-name { color: #fff; font-weight: 700; }
.board-table .top-2 .col-rank { color: #d8d8d8; font-weight: 700; }
.board-table .top-3 .col-rank { color: #d39a5a; font-weight: 700; }
@media (max-width: 720px) {
  .portal-tabs__tab { min-height: 48px; font-size: 1rem; }
  .vitrin__side { max-width: none; flex-direction: row; flex-basis: 100%; order: 2; }
  .vitrin__tab, [dir="rtl"] .vitrin__tab { min-height: 64px; padding: 8px; align-items: flex-end; font-size: .8125rem; border-bottom: 0; border-inline-end: 1px solid #000; background-position: center; }
  .vitrin__stage { border-inline-start: 0; flex-basis: 100%; }
  .portal-box--account, .portal-box--news { max-width: none; flex-basis: 100%; }
}
