/* DayZ2.net shared theme and UI rules. Linked from every page (and from every new page).
   Palette sampled from the DayZ 2 key art: storm-blue sky, sunset gold, rust, concrete cream, logo red. */
:root{
  --bg:#0a1017; --surface:#111b25; --bar:#0d151d; --field:#17232f;
  --fg:#f4ead3; --fg2:#dccfb2; --muted:#b0a28c; --faint:#7e7767;
  --line:#1f2e3b; --line2:#2c3e4f;
  --accent:#f2ae55; --ember:#f28a3b; --rust:#b4602f; --red:#e5251f; --accent-soft:rgba(242,174,85,.12);
  --warn:#f2b45f; --ok:#8fbf74;
}
html{background:var(--bg)}
body{background:radial-gradient(1100px 560px at 88% -6%,rgba(242,140,56,.12),transparent 62%) no-repeat,radial-gradient(900px 520px at -6% 6%,rgba(60,96,122,.20),transparent 60%) no-repeat,var(--bg)}
.rail,.page .rail{background:rgba(13,21,29,.92);border-color:var(--line2);box-shadow:inset 0 -2px 0 rgba(242,174,85,.22),0 18px 40px -26px rgba(0,0,0,.9)}
.band::after{background:linear-gradient(180deg,rgba(10,16,23,.08),rgba(10,16,23,.92))}
.foot{background:var(--bar);border-top-color:var(--line2)}
::selection{background:rgba(242,174,85,.35);color:#fff}

/* PILL TABS: always tidy rows, equal-size cells, in reading order. Never a loose flow. */
.toc{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;max-width:860px;width:100%}
.toc.arch-nav{max-width:none}
.toc a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:38px;padding:7px 10px;line-height:1.25;white-space:normal}
.links{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:10px}
.links a{display:flex;align-items:center;min-height:42px;line-height:1.3}