@import url("/site/fonts/fonts.css");
/* =====================================================================
   ArjunaRO theme for the RO3Emu web panel (Rankings, Online, Guilds,
   Market, Database, News, Log in, Account...). Injected by nginx after the
   panel's own app.css, so it only re-skins: deep crimson + gold + parchment
   cream, Cinzel headings, gold-framed cards and the faint world-map backdrop
   from the landing page. Always dark, whatever the sun/moon toggle says.
   ===================================================================== */
html:root, html:root[data-theme="light"], html:root[data-theme="dark"], html:root:not([data-theme="light"]) {
  --ink: #f4ecd6; --ink-2: #e4d9bb; --muted: #b5aa8c; --faint: #857c66;
  --blue: #f0bd4f; --blue-ink: #ffdb84; --blue-bg: rgba(240,189,79,.12); --blue-line: rgba(240,189,79,.32);
  --amber: #f0bd4f; --amber-ink: #ffdb84; --amber-bg: rgba(240,189,79,.12); --amber-line: rgba(240,189,79,.32); --amber-hover: #ffd06a;
  --green-ink: #6fdca3; --green-bg: rgba(63,191,106,.14); --red-ink: #ff9aa8; --red-bg: rgba(230,70,100,.15);
  --grey-bg: rgba(244,236,214,.07);
  --surface: #2e0a10; --surface-sub: #22070b; --hover: #40101a;
  --line: rgba(240,189,79,.20); --line-soft: rgba(240,189,79,.09); --line-strong: rgba(240,189,79,.38); --line-hover: rgba(240,189,79,.55);
  --shadow-1: 0 1px 2px rgba(0,0,0,.35);
  --shadow-2: 0 1px 2px rgba(0,0,0,.35), 0 14px 34px rgba(0,0,0,.45);
  --ring: 0 0 0 3px rgba(240,189,79,.30);
  --on-ink: #1b1206; --on-amber: #1b1206; --danger: #c9344f; --danger-hover: #dd4a64;
  --tint: rgba(244,236,214,.05); --tint-2: rgba(244,236,214,.09);
  --glass: rgba(22,5,8,.82); --foot-bg: rgba(18,4,7,.88); --cloud: rgba(240,189,79,.06);
  --rank-2: #3a4157; --rank-3: #4b3420;
  --page-bg: #120407; --sky-glow: rgba(240,189,79,.06);
  --sky: linear-gradient(180deg, #120407 0%, #1a0609 45%, #22070b 100%);
  --display: "Cinzel", "Young Serif", Georgia, serif;
  --body: "Inter", "Zen Maru Gothic", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
html:root .top .theme-btn { display: none; }

/* faint world map behind every panel page, like the landing page */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("/site/assets/worldmap-bg.webp") center / cover no-repeat; opacity: .10; filter: sepia(.6) saturate(1.4) hue-rotate(-25deg) blur(1px); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 35%, transparent 25%, rgba(18,4,7,.8) 100%); }
body { isolation: isolate; }

/* top bar: gold hairline, Cinzel brand */
.top { border-bottom: 1px solid rgba(240,189,79,.28); box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.brand, .brand span { font-family: var(--display); letter-spacing: .02em; color: #ffe3a3; }
.nav .link { color: #d8cdb0; }
.nav .link:hover { color: #ffdb84; }
.nav .link[aria-current="page"], .nav .link.active { color: #ffe3a3; background: rgba(240,189,79,.12); box-shadow: inset 0 0 0 1px rgba(240,189,79,.3); }

/* headings */
.title, h1, h2, h3 { font-family: var(--display); letter-spacing: .01em; }
.title { color: #f7efd9; text-shadow: 0 2px 14px rgba(0,0,0,.6); font-weight: 700; }
.page-head p, .page-head .sub { color: var(--muted); }
.crumbs a { color: #ffdb84; }

/* cards: thin gold-gradient frame + inner double line (frame A, slim) */
.card {
  border: 2px solid transparent;
  background: linear-gradient(180deg, #3a0d12, #2a0a0e) padding-box,
              linear-gradient(145deg, #fff0bf, #e6b44a 18%, #8f5f12 38%, #f6d27a 55%, #a87418 75%, #ffe6a3) border-box;
  box-shadow: inset 0 0 0 1px rgba(255,227,163,.35), inset 0 0 0 4px #2a0a0e, inset 0 0 0 5px rgba(240,189,79,.2), 0 18px 40px rgba(0,0,0,.5);
  border-radius: 14px;
}
.card-head { border-bottom-color: rgba(240,189,79,.25); background: linear-gradient(180deg, rgba(240,189,79,.10), transparent); }
.card-head h2, .card-head h3, .card-head .title { color: #ffe3a3; }
.card-foot, .foot { border-top-color: rgba(240,189,79,.15); }

/* buttons: gold primary, framed secondary */
.btn.primary, .btn.accent {
  color: #1b1206; border-color: rgba(255,230,160,.6);
  background: linear-gradient(180deg, #ffdb84, #f0bd4f 60%, #c88a1c);
  box-shadow: 0 6px 18px rgba(240,189,79,.25), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn.primary:not(:disabled):hover, .btn.accent:not(:disabled):hover { background: linear-gradient(180deg, #ffe7a8, #f6c862 60%, #d6981f); }
.btn.secondary { background: rgba(42,10,14,.8); color: #f4ecd6; border-color: rgba(240,189,79,.38); }
.btn.secondary:not(:disabled):hover { background: rgba(240,189,79,.10); border-color: rgba(240,189,79,.6); }

/* segmented controls, chips, KPIs */
.seg { background: rgba(18,4,7,.6); border-color: rgba(240,189,79,.22); }
.seg button, .seg a { color: #cfc4a8; }
.seg [aria-pressed="true"], .seg [aria-selected="true"] { color: #1b1206; background: linear-gradient(180deg, #ffdb84, #f0bd4f); box-shadow: none; }
.chip { background: rgba(244,236,214,.08); color: #e4d9bb; }
.chip.info, .chip.news, .chip.patch { background: rgba(240,189,79,.14); color: #ffdb84; }
.kpi .label { color: #b5aa8c; letter-spacing: .12em; }
.kpi .value b { font-family: var(--display); color: #ffe3a3; text-shadow: 0 1px 0 #6b4a12, 0 2px 6px rgba(0,0,0,.6); }

/* inputs */
input, select, textarea { background: rgba(0,0,0,.35) !important; color: #f4ecd6 !important; border-color: rgba(240,189,79,.25) !important; }
input:focus, select:focus, textarea:focus { border-color: #f0bd4f !important; box-shadow: 0 0 0 3px rgba(240,189,79,.25) !important; }
input::placeholder { color: #7f775f !important; }

/* tables */
table.data th { color: #b5aa8c; border-bottom-color: rgba(240,189,79,.22); }
table.data td { border-bottom-color: rgba(240,189,79,.07); }
table.data tr:hover td { background: rgba(240,189,79,.05); }

/* empty states: gold icon */
.empty svg { color: #f0bd4f; opacity: .85; }
.empty b { font-family: var(--display); color: #ffe3a3; letter-spacing: .02em; }

/* footer */
.foot { background: var(--foot-bg); }

/* big monitors: same step-up scaling as the landing page */
@media (min-width: 1800px) { body { zoom: 1.12; } }
@media (min-width: 2200px) { body { zoom: 1.3; } }
@media (min-width: 3000px) { body { zoom: 1.6; } }

/* brand = same as the landing page: round emblem + "ArjunaRO" wordmark image */
.top .brand { display: inline-flex; align-items: center; gap: 10px; }
.top .brand-logo { width: 38px !important; height: 38px !important; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(240,189,79,.6), 0 0 12px rgba(240,189,79,.3); }
#brand-name, #foot-name { display: inline-block; font-size: 0 !important; color: transparent !important; line-height: 0;
  background: url("/site/assets/wordmark.png") left center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(0,0,0,.9)); }
#brand-name { width: 150px; height: 30px; }
.foot .brand { display: inline-flex; align-items: center; gap: 10px; }
.foot .brand svg { display: none; }
.foot .brand::before { content: ""; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: url("/site/assets/emblem.png") center / cover no-repeat; box-shadow: 0 0 0 1.5px rgba(240,189,79,.55); }
#foot-name { width: 120px; height: 24px; }
@media (max-width: 720px) { #brand-name { width: 130px; height: 26px; } .top .brand-logo { width: 34px !important; height: 34px !important; } }
