﻿/* ROYAL CITY RP — showcase styles. Logical properties are used throughout so the
   Arabic (RTL) and English (LTR) pages share one stylesheet. */
:root {
  --bg: #09090b; --bg2: #0e0e12; --surf: #141418; --surf2: #1b1b21;
  --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .18);
  --tx: #f4f1ec; --mut: #a9a9b4; --mut2: #8d8d98;
  --or: #ff6a13; --or2: #ff8a3d; --ord: #c4480a;
  --st-implemented: #2fd1a5; --st-verified: #52d66b; --st-partial: #f5b942; --st-in_development: #ff8a3d;
  --st-planned: #6fa8ff; --st-pending_verification: #c795ff; --st-awaiting: #aaaab6;
  --f-d: "Bahnschrift", "Arial Narrow", "Roboto Condensed", "Segoe UI", system-ui, sans-serif;
  --f-b: "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --r: 14px; --max: 1200px; --hdr: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 1rem/1.65 var(--f-b); text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--or2); outline-offset: 3px; border-radius: 6px; }
[lang="ar"] * { letter-spacing: 0 !important; }
.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--or); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--mut); } .small { font-size: .875rem; }
.ic { flex: none; } [dir="rtl"] .ic.dir { transform: scaleX(-1); } .ic.flipx { transform: scaleX(-1); } [dir="rtl"] .ic.flipx { transform: none; }

/* ---------- buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn small { font-weight: 500; opacity: .75; font-size: .78rem; }
.btn-primary { background: var(--or); color: #120700; }
.btn-primary:hover { background: var(--or2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line2); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--or); background: rgba(255, 106, 19, .1); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: .9rem; border-radius: 9px; }
.chip { --c: var(--mut); display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.5; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); white-space: nowrap; }
.chip .g { font-size: .85em; }
.st-implemented { --c: var(--st-implemented); } .st-verified { --c: var(--st-verified); } .st-partial { --c: var(--st-partial); }
.st-in_development { --c: var(--st-in_development); } .st-planned { --c: var(--st-planned); } .st-pending_verification { --c: var(--st-pending_verification); } .st-awaiting { --c: var(--st-awaiting); }
.pv-brief { --c: #8fb8ff; } .pv-owner { --c: var(--st-verified); } .pv-plan { --c: var(--or2); }
.ps-proposed { --c: var(--or2); } .ps-planned { --c: var(--st-planned); } .ps-in_progress { --c: var(--st-partial); } .ps-completed { --c: var(--st-verified); }
.chip.dt { --c: var(--tx); }

/* ---------- header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.open { background: rgba(9, 9, 11, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-t { font: 700 1.15rem var(--f-d); letter-spacing: .08em; white-space: nowrap; } .brand-t b { color: var(--or); }
.nav { margin-inline-start: auto; }
.nav ul { display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 11px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--mut); transition: color .2s, background .2s; }
.nav a:hover { color: var(--tx); background: rgba(255, 255, 255, .06); }
.nav a.cur { color: var(--or2); }
.tools { display: flex; align-items: center; gap: 10px; }
.lang { text-decoration: none; font-weight: 700; font-size: .9rem; padding: 8px 12px; border: 1px solid var(--line2); border-radius: 9px; }
.lang:hover { border-color: var(--or); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); cursor: pointer; place-items: center; }
@media (max-width: 1100px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: var(--hdr) 0 auto; margin: 0; background: rgba(9, 9, 11, .97); border-bottom: 1px solid var(--line); max-height: calc(100svh - var(--hdr)); overflow: auto; padding: 8px 16px 20px; display: none; }
  .site-header.open .nav { display: block; }
  .nav ul { flex-direction: column; } .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .bar { gap: 10px; } .tools { margin-inline-start: auto; }
}
@media (max-width: 420px) { .brand-t { font-size: .95rem; } .brand { gap: 8px; } .bar { gap: 8px; } .tools { gap: 6px; } .lang { padding: 8px 10px; } .site-header .pdf-link { display: none; } .menu-btn { width: 42px; } }

/* ---------- hero */
.hero { position: relative; min-height: min(92svh, 820px); display: flex; align-items: center; overflow: hidden; padding-block: calc(var(--hdr) + 40px) 150px; background: #05050a; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; will-change: transform; transform: translate3d(0, calc(var(--s, 0) * var(--k, 0) * 1px), 0); }
.l-sky { --k: .12; } .l-far { --k: .22; } .l-mid { --k: .34; } .l-near { --k: .5; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 8, .78) 0%, rgba(5, 5, 8, .3) 55%, rgba(5, 5, 8, 0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 11, 0) 38%); }
[dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(5, 5, 8, .78) 0%, rgba(5, 5, 8, .3) 55%, rgba(5, 5, 8, 0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(9, 9, 11, 0) 38%); }
.hero-in { position: relative; }
.eyebrow { color: var(--or); font: 700 .8rem var(--f-d); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
[lang="ar"] .eyebrow { font-family: var(--f-b); font-size: .9rem; text-transform: none; }
.hero h1 { font: 700 clamp(2.9rem, 10vw, 7rem)/.95 var(--f-d); letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
.hero h1 span { color: var(--or); }
.hero-tag { margin-top: 18px; font: 600 clamp(1.15rem, 3vw, 1.7rem)/1.3 var(--f-b); color: var(--or2); }
.hero-desc { margin-top: 14px; max-width: 54ch; font-size: clamp(1rem, 2vw, 1.15rem); color: #d8d4cd; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; border: 1px solid rgba(255, 106, 19, .5); background: rgba(255, 106, 19, .1); backdrop-filter: blur(6px); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 0 rgba(255, 106, 19, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 106, 19, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 19, 0); } }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--mut); font-size: .88rem; }
.hero-meta li { display: flex; align-items: center; gap: 8px; } .hero-meta .concept { color: var(--mut2); }
.scroll { position: absolute; inset-inline: 0; bottom: 84px; margin-inline: auto; width: max-content; display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--mut); font: 600 .7rem var(--f-d); letter-spacing: .25em; text-transform: uppercase; }
[lang="ar"] .scroll { font-family: var(--f-b); font-size: .8rem; text-transform: none; }
.scroll i { width: 22px; height: 36px; border: 2px solid var(--line2); border-radius: 12px; position: relative; }
.scroll i::after { content: ""; position: absolute; top: 6px; inset-inline-start: 50%; width: 4px; height: 8px; margin-inline-start: -2px; border-radius: 2px; background: var(--or); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- sections */
.sec { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.sec.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font: 700 clamp(2rem, 5.5vw, 3.6rem)/1.05 var(--f-d); text-transform: uppercase; letter-spacing: .015em; }
[lang="ar"] .sec-head h2 { font-family: var(--f-b); text-transform: none; line-height: 1.25; font-weight: 800; }
.sec-head h2::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 18px; background: var(--or); border-radius: 2px; }
.lead { margin-top: 18px; font-size: 1.1rem; color: var(--mut); }
.sub { font: 700 1.25rem var(--f-b); margin: clamp(32px, 5vw, 52px) 0 18px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.panel, .card, .overall, .report, .secbox, .why { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .018)); border: 1px solid var(--line); border-radius: var(--r); }
.panel { padding: clamp(20px, 3vw, 30px); } .panel h3 { font-size: 1.15rem; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.panel.warn { border-color: rgba(245, 185, 66, .4); }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--mut); font-size: .95rem; }
.note .ic { margin-top: 3px; color: var(--or2); }
.sec-head + .note, .note.first { margin-top: 0; margin-bottom: 28px; }
.grid { display: grid; gap: 18px; }
.fi { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--or); background: rgba(255, 106, 19, .1); border: 1px solid rgba(255, 106, 19, .35); flex: none; }
.k { color: var(--mut2); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
[lang="ar"] .k { text-transform: none; font-size: .85rem; }

/* overview */
.ov-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .ov-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; } }
.vision { padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: radial-gradient(120% 120% at 0 0, rgba(255, 106, 19, .2), rgba(255, 106, 19, 0) 60%), var(--surf); border: 1px solid rgba(255, 106, 19, .3); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.vision blockquote { font: 600 clamp(1.3rem, 3vw, 1.85rem)/1.4 var(--f-b); }
.facts { display: grid; gap: 14px; }
.fact { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surf); }
.fact h3 { font-size: 1rem; margin-bottom: 4px; } .fact p { color: var(--mut); font-size: .95rem; margin-bottom: 8px; }
.ov-row { display: grid; gap: 24px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ov-row { grid-template-columns: 1fr 1fr; } }
.objs { counter-reset: o; display: grid; gap: 12px; }
.objs li { counter-increment: o; display: flex; gap: 14px; } .objs li::before { content: counter(o); flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--or); color: #120700; font-weight: 800; font-size: .85rem; }
.legend { display: grid; gap: 12px; margin-top: 14px; } .legend li { display: grid; gap: 4px; font-size: .9rem; color: var(--mut); justify-items: start; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; text-decoration: none; font-size: .9rem; background: rgba(255, 255, 255, .03); transition: border-color .2s, color .2s; }
.pill .ic { color: var(--or); } .pill:hover { border-color: var(--or); color: var(--or2); }

/* status */
.overall { padding: clamp(22px, 4vw, 40px); display: grid; gap: 28px; }
@media (min-width: 960px) { .overall { grid-template-columns: .9fr 1.4fr; } }
.overall h3 { font: 700 .85rem var(--f-d); letter-spacing: .18em; text-transform: uppercase; color: var(--or); margin-bottom: 10px; } [lang="ar"] .overall h3 { font-family: var(--f-b); text-transform: none; font-size: 1rem; }
.big { font: 600 clamp(1.2rem, 2.6vw, 1.6rem)/1.4 var(--f-b); margin-bottom: 12px; }
.two { display: grid; gap: 20px; } @media (min-width: 700px) { .two { grid-template-columns: 1fr 1fr; } }
.known, .unknown { padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.known h4, .unknown h4 { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 1rem; } .known h4 { color: var(--st-implemented); } .unknown h4 { color: var(--st-partial); }
.known li, .unknown li, .ticks li { position: relative; padding-inline-start: 18px; margin-bottom: 8px; font-size: .95rem; color: #d6d2cb; }
.known li::before, .unknown li::before, .ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--or); }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(4, 1fr); } } @media (min-width: 1100px) { .tiles { grid-template-columns: repeat(7, 1fr); } }
.tile { --c: var(--mut); display: grid; gap: 2px; padding: 16px 14px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line); background: var(--surf); opacity: .6; transition: transform .2s var(--ease), border-color .2s; }
.tile.on { opacity: 1; border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 10%, var(--surf)); }
.tile:hover { transform: translateY(-3px); border-color: var(--c); }
.tile .g { color: var(--c); font-size: 1.1rem; } .tile strong { font: 700 2.2rem/1 var(--f-d); color: var(--tx); } .tile .tl { font-size: .82rem; color: var(--mut); line-height: 1.3; }
.board { display: grid; gap: 14px; grid-template-columns: 1fr; } @media (min-width: 700px) { .board { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .board { grid-template-columns: repeat(3, 1fr); } }
.bcard { padding: 18px 20px; border-radius: 12px; border: 1px dashed var(--line2); background: rgba(255, 255, 255, .02); }
.bcard.has { border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 6%, var(--surf)); }
.bcard header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bcard h4 { color: var(--c); font-size: .98rem; display: flex; gap: 8px; } .bcard .n { font: 700 1.3rem var(--f-d); }
.bcard ul { display: flex; flex-wrap: wrap; gap: 6px; } .bcard li { font-size: .8rem; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #d6d2cb; }
.bcard .none { color: var(--mut2); font-size: .9rem; font-style: italic; }
.callouts { display: grid; gap: 16px; margin-top: 28px; } @media (min-width: 800px) { .callouts { grid-template-columns: 1fr 1fr; } }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); background: var(--surf); } .callout .ic { color: var(--or2); margin-top: 3px; }
.callout.warn { border-color: rgba(245, 185, 66, .45); } .callout.warn .ic { color: var(--st-partial); } .callout h4 { margin-bottom: 4px; font-size: 1rem; } .callout p { color: var(--mut); font-size: .93rem; }
.pbar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 12px; } .pbar span { display: block; height: 100%; background: var(--or); }
.bar-l { font-size: .8rem; color: var(--mut); }

/* features */
.fbar { display: flex; flex-wrap: wrap; gap: 10px; } .fcount { margin: 14px 0 22px; color: var(--mut); font-size: .88rem; }
.fchip { --c: var(--tx); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line2); background: transparent; font-size: .9rem; font-weight: 600; }
.fchip b { opacity: .7; } .fchip:hover { border-color: var(--or); } .fchip[aria-pressed="true"] { background: var(--or); color: #120700; border-color: var(--or); } .fchip[aria-pressed="true"] .g { color: inherit; } .fchip .g { color: var(--c); }
.feat-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.feat { padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: border-color .25s, transform .25s var(--ease); } .feat:hover { border-color: rgba(255, 106, 19, .5); transform: translateY(-3px); }
.feat[hidden] { display: none; }
.feat header { display: flex; gap: 14px; align-items: center; } .feat h3 { font-size: 1.1rem; line-height: 1.3; }
.feat dl { display: grid; gap: 12px; flex: 1; } dt { color: var(--or2); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 2px; } [lang="ar"] dt { text-transform: none; font-size: .85rem; letter-spacing: 0; }
dd { color: #d4d0c9; font-size: .93rem; }
.feat .val { padding: 10px 14px; border-radius: 10px; background: rgba(245, 185, 66, .07); border-inline-start: 3px solid var(--st-partial); } .feat .val dt { color: var(--st-partial); }
.feat footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); } .feat footer .k { width: 100%; }

/* factions */
.tag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 3px 10px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } [lang="ar"] .tag { text-transform: none; }

/* economy */
.why { padding: clamp(22px, 4vw, 36px); margin-bottom: 24px; } .why h3 { font-size: 1.2rem; margin-bottom: 10px; } .why > p { max-width: 70ch; color: #d8d4cd; }
.loop { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0 12px; counter-reset: l; } @media (min-width: 760px) { .loop { grid-template-columns: repeat(4, 1fr); } }
.loop li { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); font-weight: 700; }
.loop li .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--or); color: #120700; font-size: .9rem; flex: none; }
@media (min-width: 760px) { .loop li:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: -13px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-top: 3px solid var(--or); border-inline-end: 3px solid var(--or); transform: rotate(45deg); z-index: 1; } [dir="rtl"] .loop li:not(:last-child)::after { transform: rotate(-135deg); } }
.eco-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.eco, .comp, .cmd { padding: 20px; display: grid; gap: 10px; align-content: start; justify-items: start; } .eco h3 { font-size: 1.05rem; } .eco p, .comp p, .cmd p { color: var(--mut); font-size: .93rem; }

/* architecture */
.diagram { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(10px, 2vw, 22px); background: var(--surf); }
.diagram > svg { width: 100%; height: auto; border-radius: 14px; } .diagram figcaption { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 16px; color: var(--mut); font-size: .9rem; }
.arch-m { display: none; }
@media (max-width: 760px) {
  .diagram > svg { display: none; }
  .arch-m { display: grid; gap: 0; }
  .arch-m > li { padding: 18px; border-radius: 14px; border: 1px solid var(--line2); background: #17171d; } .arch-m > li.core { border-color: var(--or); }
  .arch-m b { display: block; font-size: 1.05rem; } .arch-m span.s { color: var(--mut); font-size: .9rem; }
  .arch-m ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; } .arch-m ul li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); font-size: .82rem; }
  .arch-m > li.ar { border: 0; background: none; padding: 4px 0; } .arch-m .ar { text-align: center; color: var(--or); font-size: .85rem; padding: 8px 0; } .arch-m .ar::before { content: "↕"; display: block; font-size: 1.4rem; line-height: 1; }
}
.comp-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); } .comp h4, .cmd h4 { font-size: 1rem; }
.secbox { padding: clamp(22px, 4vw, 34px); margin-top: 32px; } .secbox h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; color: var(--or2); } .secbox h4 { margin-bottom: 8px; font-size: .95rem; } .secbox p { color: #d4d0c9; }
.secbox .two { margin-top: 18px; }

/* governance */
.gov-grid { display: grid; gap: 32px; } @media (min-width: 1000px) { .gov-grid { grid-template-columns: 1fr 1.15fr; align-items: start; } .gov-grid .sub:first-child { margin-top: 0; } }
.rank { text-align: center; font-size: .75rem; font-weight: 700; color: var(--mut2); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 10px; } [lang="ar"] .rank { text-transform: none; font-size: .85rem; } .rank.top { color: var(--or); } .tiers + .rank { margin: 10px 0 0; }
.tiers { display: grid; gap: 8px; }
.tiers li { width: var(--w); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 12px 16px; border-radius: 10px; background: var(--surf); border: 1px solid var(--line); min-width: min(100%, 280px); }
.tiers li:first-child { border-color: var(--or); background: linear-gradient(90deg, rgba(255, 106, 19, .18), var(--surf)); }
.tn { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 106, 19, .14); color: var(--or2); font: 800 1rem var(--f-d); border: 1px solid rgba(255, 106, 19, .35); }
.tt { font-weight: 700; } .tt small { display: block; font-weight: 400; color: var(--mut); font-size: .85rem; } .tp { font-size: .78rem; color: var(--st-partial); }
.cmd-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.ticks.open li { margin-bottom: 8px; }

/* roadmap */
.rm-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; position: relative; } @media (min-width: 820px) { .rm-steps { grid-template-columns: repeat(4, 1fr); } .rm-steps::before { content: ""; position: absolute; inset-inline: 12.5%; top: 34px; height: 3px; background: linear-gradient(90deg, var(--or), rgba(255, 106, 19, .15)); } [dir="rtl"] .rm-steps::before { background: linear-gradient(270deg, var(--or), rgba(255, 106, 19, .15)); } }
.rm-step { position: relative; width: 100%; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 14px 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surf); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.rm-step:hover { border-color: var(--or); transform: translateY(-2px); } .rm-step.on { border-color: var(--or); background: linear-gradient(180deg, rgba(255, 106, 19, .16), rgba(255, 106, 19, .04)), var(--surf); }
.rn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #101014; border: 2px solid var(--or); color: var(--or2); font: 800 1.1rem var(--f-d); position: relative; z-index: 1; } .rm-step.on .rn { background: var(--or); color: #120700; }
.rt { font-weight: 700; line-height: 1.3; } .rs { font-size: .78rem; color: var(--or2); font-weight: 700; }
.rm-panels { margin-top: 22px; } .js .rm-panel:not(.on) { display: none; } .rm-panel { padding: clamp(22px, 4vw, 36px); border-radius: var(--r); border: 1px solid rgba(255, 106, 19, .35); background: var(--surf); } .rm-panel + .rm-panel { margin-top: 16px; }
.rm-panel header { margin-bottom: 20px; } .rm-panel h3 { font: 700 clamp(1.5rem, 3.5vw, 2.1rem)/1.15 var(--f-b); } .ph-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rm-panel dl { display: grid; gap: 18px 28px; } @media (min-width: 760px) { .rm-panel dl { grid-template-columns: 1fr 1fr; } }
.rm-panel dl > div { padding: 14px 16px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.tbc { color: var(--mut2); font-style: italic; }

/* milestones */
.mboard { display: grid; gap: 16px; } @media (min-width: 900px) { .mboard { grid-template-columns: 1.6fr 1fr 1fr; align-items: start; } }
.mcol { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surf); } .mcol h3 { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 1rem; } .mcol .n { font: 700 1.2rem var(--f-d); color: var(--or2); }
.mcol ul { display: grid; gap: 12px; } .mt-outstanding { border-color: rgba(255, 106, 19, .4); }
.mcard { display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); } .mcard h4 { font-size: 1rem; line-height: 1.4; margin-bottom: 6px; } .mcard p { color: var(--mut); font-size: .9rem; } .ma { margin-top: 8px; display: flex; gap: 8px; align-items: center; }
.mn { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; border: 2px dashed var(--or); color: var(--or2); font: 800 1rem var(--f-d); }
.mempty { color: var(--mut2); font-style: italic; text-align: center; padding: 20px 8px; border: 1px dashed var(--line2); border-radius: 12px; }

/* gallery */
.gal { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); } .gi { min-width: 0; } @media (min-width: 600px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gal { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gbtn { position: relative; display: block; width: 100%; height: 100%; aspect-ratio: 16/9; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #05050a; }
.gbtn img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); } .gbtn:hover img, .gbtn:focus-visible img { transform: scale(1.05); } .gbtn:hover { border-color: var(--or); }
.gcap { position: absolute; inset: auto 0 0; padding: 40px 16px 34px; display: grid; text-align: start; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); } .gcap i { font-style: normal; color: #cfcbc4; font-size: .85rem; }
.zoom { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .2s; } .gbtn:hover .zoom, .gbtn:focus-visible .zoom { opacity: 1; }
.lb { border: 0; padding: 0; background: transparent; width: min(96vw, 1400px); max-width: none; max-height: 96vh; color: #fff; margin: auto; overflow: visible; } .lb::backdrop { background: rgba(0, 0, 0, .92); }
.lb figure { border-radius: 12px; overflow: hidden; background: #000; } .lb img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; aspect-ratio: 16/9; } .lb figcaption { padding: 14px 18px; font-weight: 600; background: #0e0e12; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(0, 0, 0, .65); cursor: pointer; display: grid; place-items: center; } .lb button:hover { border-color: var(--or); }
.lb-x { inset-block-start: 10px; inset-inline-end: 10px; } .lb-p { inset-block-start: 40%; inset-inline-start: 10px; } .lb-n { inset-block-start: 40%; inset-inline-end: 10px; }
[dir="rtl"] .lb-p .ic { transform: none; } [dir="rtl"] .lb-n .ic { transform: scaleX(-1); }

/* docs */
.report { padding: clamp(22px, 4vw, 38px); display: grid; gap: 22px; background: radial-gradient(100% 140% at 100% 0, rgba(255, 106, 19, .16), rgba(255, 106, 19, 0) 55%), var(--surf); border-color: rgba(255, 106, 19, .35); } @media (min-width: 900px) { .report { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.report h3 { font-size: 1.4rem; margin-bottom: 8px; } .report p { color: #d4d0c9; } .rbtn { display: grid; gap: 12px; } .dl-msg { color: var(--st-partial) !important; grid-column: 1/-1; }
.dgrid { display: grid; gap: 14px; margin-top: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.dlink { display: flex; align-items: center; gap: 14px; padding: 16px 18px; height: 100%; text-decoration: none; border-radius: 12px; border: 1px solid var(--line); background: var(--surf); transition: border-color .2s, transform .2s var(--ease); } .dlink:hover { border-color: var(--or); transform: translateY(-2px); }
.dlink > .ic:first-child { color: var(--or); } .dlink span { flex: 1; display: grid; } .dlink i { font-style: normal; color: var(--mut); font-size: .88rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #060608; padding-block: 48px 36px; }
.f-top { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: center; } .f-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; } .f-nav a { color: var(--mut); text-decoration: none; font-size: .9rem; } .f-nav a:hover { color: var(--or2); }
.f-note { display: flex; gap: 10px; margin-top: 28px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); color: var(--mut); font-size: .9rem; } .f-note .ic { color: var(--or2); margin-top: 3px; }
.f-bot { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; margin-top: 24px; color: var(--mut2); font-size: .85rem; } .f-bot a { color: var(--or2); }

/* motion */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); } .js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; } .hero-bg .layer { transform: none; }
}
@media print { .site-header, .scroll, .menu-btn { display: none; } .js .rv { opacity: 1; transform: none; } }

/* ---------- premium cinematic layer */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 55% at 76% 64%, rgba(255, 122, 42, .26), rgba(255, 106, 19, 0) 70%), radial-gradient(90% 40% at 50% 100%, rgba(255, 106, 19, .12), rgba(255, 106, 19, 0) 70%); }
[dir="rtl"] .hero::before { background: radial-gradient(55% 55% at 24% 64%, rgba(255, 122, 42, .26), rgba(255, 106, 19, 0) 70%), radial-gradient(90% 40% at 50% 100%, rgba(255, 106, 19, .12), rgba(255, 106, 19, 0) 70%); }
.hero h1 { text-shadow: 0 6px 40px rgba(0, 0, 0, .6), 0 0 90px rgba(255, 106, 19, .28); }
.btn-primary { background: linear-gradient(180deg, #ff8a3d, #ff6a13); box-shadow: 0 10px 30px -10px rgba(255, 106, 19, .75); }
.btn-primary:hover { background: linear-gradient(180deg, #ffa05c, #ff7a2a); box-shadow: 0 14px 40px -8px rgba(255, 106, 19, .9); }
.site-header.scrolled::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 106, 19, .6), transparent); }

.scope { position: relative; z-index: 5; margin-top: -74px; }
.scope-in { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line2); border-radius: 18px; overflow: hidden; background: rgba(14, 14, 18, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 90px -40px #000, 0 0 0 1px rgba(255, 106, 19, .1), inset 0 1px 0 rgba(255, 255, 255, .06); }
.scope-in li { padding: 24px 14px; text-align: center; border-inline-end: 1px solid var(--line); display: grid; gap: 4px; }
.scope-in li:last-child { border-inline-end: 0; }
.scope-in strong { font: 700 clamp(2.2rem, 4.5vw, 3.4rem)/1 var(--f-d); color: var(--or); text-shadow: 0 0 30px rgba(255, 106, 19, .4); font-variant-numeric: tabular-nums; }
.scope-in span { font-size: .85rem; color: var(--mut); font-weight: 600; }
.scope-note { margin-top: 12px; text-align: center; font-size: .78rem; color: var(--mut2); }
@media (max-width: 700px) { .scope { margin-top: -56px; } .scope-in { grid-template-columns: repeat(2, 1fr); } .scope-in li { border-bottom: 1px solid var(--line); padding: 18px 10px; } .scope-in li:nth-child(2n) { border-inline-end: 0; } .scope-in li:last-child { grid-column: 1 / -1; border-bottom: 0; border-inline-end: 0; } }

.sec { background-image: radial-gradient(48% 36% at 100% 0, rgba(255, 106, 19, .055), rgba(255, 106, 19, 0) 70%); }
[dir="rtl"] .sec { background-image: radial-gradient(48% 36% at 0 0, rgba(255, 106, 19, .055), rgba(255, 106, 19, 0) 70%); }
.sec::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 106, 19, .45), transparent); }
.sec-head { position: relative; isolation: isolate; }
.sec-head::before { content: attr(data-n); position: absolute; z-index: -1; inset-block-start: -44px; inset-inline-start: -10px; font: 800 clamp(6rem, 17vw, 12.5rem)/1 var(--f-d); color: transparent; -webkit-text-stroke: 1px rgba(255, 106, 19, .2); pointer-events: none; user-select: none; }
.card, .bcard, .mcard, .dlink { position: relative; }
.card { overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2; background: linear-gradient(90deg, var(--or), rgba(255, 106, 19, 0) 80%); opacity: 0; transition: opacity .3s; }
[dir="rtl"] .card::before { background: linear-gradient(270deg, var(--or), rgba(255, 106, 19, 0) 80%); }
.card:hover::before { opacity: 1; }
.fi { box-shadow: 0 0 24px -8px rgba(255, 106, 19, .55); }
.footer-glow, .site-footer { background-image: radial-gradient(60% 100% at 50% 0, rgba(255, 106, 19, .08), rgba(255, 106, 19, 0) 70%); }
.ov-left { display: grid; gap: 24px; align-content: start; } .ov-left .vision { padding-block: clamp(28px, 4vw, 44px); } .sub.nomt { margin-top: 0; }
@media (min-width: 900px) { .ov-row { grid-template-columns: 1fr 1.2fr; align-items: start; } .legend { grid-template-columns: 1fr; } }
.sec-head { max-width: none; } .sec-head > :not(.eyebrow) { max-width: 760px; } .sec-head > .eyebrow { max-width: 760px; }
.sec-head::before { inset-inline-start: auto; inset-inline-end: 0; inset-block-start: -10px; -webkit-text-stroke: 1px rgba(255, 106, 19, .28); }
@media (max-width: 700px) { .sec-head::before { font-size: 5.5rem; inset-block-start: -22px; -webkit-text-stroke-color: rgba(255, 106, 19, .16); } }
@media print { body::after { display: none; } }

/* ---------- gallery & faction image polish */
.gbtn img { aspect-ratio: 16 / 9; background: #05050a; filter: saturate(1.04) contrast(1.02); transition: transform .9s var(--ease), filter .5s; }
.gbtn::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 168, 96, .16) 50%, rgba(255, 255, 255, 0) 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
[dir="rtl"] .gbtn::before { transform: translateX(120%); background: linear-gradient(245deg, rgba(255, 255, 255, 0) 35%, rgba(255, 168, 96, .16) 50%, rgba(255, 255, 255, 0) 65%); }
.gbtn:hover::before, .gbtn:focus-visible::before { transform: translateX(120%); }
[dir="rtl"] .gbtn:hover::before, [dir="rtl"] .gbtn:focus-visible::before { transform: translateX(-120%); }
.gbtn { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.gbtn:hover, .gbtn:focus-visible { box-shadow: 0 18px 50px -24px rgba(255, 106, 19, .55); transform: translateY(-3px); }
.gbtn .tag { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .12); }
.gcap { text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.gcap b { font-size: 1rem; letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .gbtn::before { display: none; } }

/* gallery: every tile is a true 16:9 frame so no vehicle, character or faction subject is ever cropped */
.gbtn { height: auto; }
.gcap b { font-size: .92rem; } .gcap i { font-size: .78rem; }
@media (min-width: 1100px) { .gcap { padding: 34px 12px 28px; } .tag { font-size: .62rem; padding: 2px 8px; } }

/* gallery captions sit in their own bar so the full scene stays visible */
.gbtn { display: flex; flex-direction: column; aspect-ratio: auto; background: #0f0f13; }
.gbtn img { width: 100%; height: auto; flex: none; }
.gcap { position: static; inset: auto; padding: 12px 14px 14px; background: #0f0f13; border-top: 1px solid var(--line); text-shadow: none; }
.gcap i { color: var(--mut); }
@media (min-width: 1100px) { .gcap { padding: 10px 12px 12px; } }

/* ===== supplied artwork: wide panels are shown whole, letterboxed over a soft glow of themselves (never cropped) ===== */
@media (min-width: 1100px) { .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gbtn .gimg { position: relative; display: block; flex: none; aspect-ratio: 16 / 9; overflow: hidden; background: #05050a; }
.gbtn .gimg img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.gbtn:hover .gimg img, .gbtn:focus-visible .gimg img { transform: scale(1.04); }
.amb { position: absolute; inset: -12%; background-size: cover; background-position: center; filter: blur(20px) brightness(.9) saturate(1.7); opacity: .85; pointer-events: none; }
.gbtn .gimg.wide img { object-fit: contain; z-index: 1; }
.wide .tag { inset-block-start: auto; inset-inline: auto; bottom: 8px; right: 8px; z-index: 3; }
.wide .zoom, .gimg .zoom { z-index: 3; }
.lb img { aspect-ratio: auto; width: auto; max-width: 100%; min-width: min(100%, 1100px); height: auto; max-height: 80vh; margin: 0 auto; display: block; object-fit: contain; }
.gbtn .gimg.wide img { background: transparent; }


/* ===== gallery and faction frames: one 8:3 ratio, every image fills its card edge to edge (no bars, no gaps, no distortion) ===== */
.gbtn .gimg { aspect-ratio: 8 / 3; position: relative; overflow: hidden; background: #05050a; }
.gbtn .gimg img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; background: transparent; z-index: 0; }
.gimg .tag { inset-block-start: auto; inset-inline: auto; bottom: 8px; right: 8px; left: auto; z-index: 3; }
.gimg .zoom { z-index: 3; }
.gbtn { padding: 0; }
@media (min-width: 1100px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 600px) { .gi:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); } }
@media (max-width: 600px) { .gimg .tag { font-size: .56rem; padding: 2px 6px; bottom: 6px; right: 6px; } .gimg .zoom { width: 28px; height: 28px; } }

/* ===== live game status ===== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.live { --lv: var(--st-awaiting); position: relative; z-index: 4; padding-block: 28px 0; }
.live[data-state="online"] { --lv: #3ddc84; } .live[data-state="offline"] { --lv: #ff5252; } .live[data-state="maintenance"] { --lv: #f5b942; }
.live[data-state="stale"] { --lv: #f5b942; } .live[data-state="unavailable"] { --lv: #ff8a3d; }
.live-card { position: relative; overflow: hidden; border-radius: 18px; padding: clamp(18px, 3vw, 28px); border: 1px solid color-mix(in srgb, var(--lv) 34%, rgba(255, 255, 255, .1));
  background: radial-gradient(70% 140% at 0 0, color-mix(in srgb, var(--lv) 12%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); transition: border-color .5s, background .5s; }
[dir="rtl"] .live-card { background: radial-gradient(70% 140% at 100% 0, color-mix(in srgb, var(--lv) 12%, transparent), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); }
.live-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--lv), transparent 70%); opacity: .9; }
[dir="rtl"] .live-card::before { background: linear-gradient(270deg, var(--lv), transparent 70%); }
.live-head { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.live-head h2 { display: flex; align-items: center; gap: 12px; font: 700 .95rem var(--f-d); letter-spacing: .2em; text-transform: uppercase; }
[lang="ar"] .live-head h2 { font-family: var(--f-b); letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.lamp { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--lv); box-shadow: 0 0 14px color-mix(in srgb, var(--lv) 70%, transparent); flex: none; }
.live[data-state="online"] .lamp::after, .live[data-state="loading"] .lamp::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--lv); opacity: 0; animation: lamp 2.4s ease-out infinite; }
.live[data-state="maintenance"] .lamp, .live[data-state="stale"] .lamp { border-radius: 3px; transform: rotate(45deg); }
.live[data-state="offline"] .lamp { box-shadow: none; }
@keyframes lamp { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.live-upd { color: var(--mut2); font-size: .82rem; min-height: 1.2em; }
.live-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .live-grid { grid-template-columns: 1.25fr 1.5fr 1fr 1fr; } }
@media (max-width: 420px) { .live-grid { grid-template-columns: 1fr; } }
.lv { display: grid; gap: 6px; align-content: start; padding: 16px 18px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); min-width: 0; }
.lv .k { font-size: .72rem; }
.lv strong { font: 700 clamp(1.7rem, 3.6vw, 2.5rem)/1.1 var(--f-d); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; min-width: 0; }
.lv strong small { font: 600 clamp(1rem, 2vw, 1.3rem) var(--f-d); color: var(--mut); }
.lv-state { align-items: center !important; font-family: var(--f-b) !important; font-size: clamp(1.05rem, 2.2vw, 1.35rem) !important; gap: 10px !important; flex-wrap: nowrap !important; }
.lv-state [data-status] { overflow-wrap: anywhere; }
.live[data-state="online"] .lv-state { color: #3ddc84; } .live[data-state="offline"] .lv-state { color: #ff6b6b; } .live[data-state="maintenance"] .lv-state, .live[data-state="stale"] .lv-state { color: #f5b942; } .live[data-state="unavailable"] .lv-state { color: #ff9a5a; }
.live[data-state="soon"] .lv-state, .live[data-state="loading"] .lv-state { color: var(--mut); }
.sico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--lv) 55%, transparent); background: color-mix(in srgb, var(--lv) 14%, transparent); flex: none; }
.si { display: none; } .si-none { display: block; }
.live[data-state="online"] .si-online, .live[data-state="offline"] .si-offline, .live[data-state="maintenance"] .si-maintenance { display: block; }
.live[data-state="online"] .si-none, .live[data-state="offline"] .si-none, .live[data-state="maintenance"] .si-none { display: none; }
.meter { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; margin-top: 4px; }
.meter i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--or), var(--or2)); transition: width .9s var(--ease); }
.live[data-state="soon"] .num, .live[data-state="unavailable"] .num, .live[data-state="loading"] .num, .live[data-state="stale"] .num { color: var(--mut2); }
.num { transition: color .4s; display: inline-block; }
.num.bump { animation: bump .8s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.14); color: var(--or2); text-shadow: 0 0 22px rgba(255, 106, 19, .75); } 100% { transform: scale(1); } }
.live-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--mut); font-size: .86rem; }
.live-note .ic { margin-top: 2px; color: var(--or2); }
@media (prefers-reduced-motion: reduce) { .num.bump, .lamp::after { animation: none !important; } .meter i { transition: none; } }

.live-note[hidden] { display: none; }

.lv .num.na { font: 600 1rem var(--f-b); color: var(--mut2); }
.lv small[hidden] { display: none; }

/* factions: names only */
.fac-names { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .fac-names { grid-template-columns: 1fr 1fr; } } @media (min-width: 960px) { .fac-names { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.fname { position: relative; display: flex; align-items: center; min-height: 96px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surf); transition: border-color .25s, transform .25s var(--ease); }
.fname::before { content: ""; position: absolute; inset-block: 24px; inset-inline-start: 0; width: 3px; background: var(--or); border-start-end-radius: 3px; border-end-end-radius: 3px; }
.fname h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: .02em; }
.fname:hover { border-color: rgba(255, 106, 19, .55); transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .fname { transition: none; } .fname:hover { transform: none; } }

