/* ===== The grade: Ektachrome dawn (2026-09) =====
   The page graded like the slide film the war was photographed on, and lit by the flight's own low sun:
   true blacks (no light grain lifting them), full colour in the pictures, a warm edge of light along the top
   of every surface with a deep shadow under it, and the napalm orange glowing the way the title does when it
   strikes. Section titles strike the same way: white-hot, cooling to bone.
   Loaded last on both pages - taking this one file out brings the old look back. */

:root{
  --ink:#020403;
  --bone:#f3eee4;
  --bone-70:rgba(243,238,228,.82);
  --bone-45:rgba(243,238,228,.6);
  --bone-15:rgba(243,238,228,.16);
  --bone-08:rgba(243,238,228,.085);
  --sun:#ffc56e;
  --live:#4be08f;
  --us:#5a8cff;
  --nva:#ff4d3f;
  --tile:rgba(255,244,226,.045);
  --tile-2:rgba(255,244,226,.075);
  --tile-hover:rgba(255,244,226,.09);
  --track:rgba(255,244,226,.09);
  --line:rgba(255,244,226,.07);
  --grain:none;
  /* the light on a surface: warm where the low sun catches its top edge, a hairline round it, deep shade under */
  --lit:inset 0 1px 0 rgba(255,222,172,.11),inset 0 0 0 1px rgba(255,244,226,.035),0 28px 52px -30px rgba(0,0,0,.95);
  --lit-up:inset 0 1px 0 rgba(255,222,172,.2),inset 0 0 0 1px rgba(255,244,226,.07),0 32px 64px -28px rgba(0,0,0,1);
  --heat:0 0 10px rgba(255,106,43,.55),0 0 22px rgba(255,106,43,.25);
}

/* ---- the ground: black, with the flight's light carried down - jungle green and the sun's warmth under the
   hero, true black through the middle, dusk at the foot */
.page{background:
  radial-gradient(60% 820px at 14% 0,rgba(34,84,50,.3),rgba(34,84,50,0) 72%),
  radial-gradient(50% 640px at 88% 0,rgba(255,168,76,.075),rgba(255,168,76,0) 72%),
  radial-gradient(70% 1100px at 94% 100%,rgba(220,84,26,.15),rgba(220,84,26,0) 70%),
  linear-gradient(180deg,#040806 0,#020303 26%,#020303 64%,#0a0503 100%)}
body.servers-page{background:
  radial-gradient(60% 820px at 12% 0,rgba(34,84,50,.26),rgba(34,84,50,0) 72%),
  radial-gradient(70% 1100px at 94% 100%,rgba(220,84,26,.12),rgba(220,84,26,0) 70%),
  linear-gradient(180deg,#040806 0,#020303 30%,#020303 64%,#090503 100%)}
.foot{background:linear-gradient(0deg,rgba(220,84,26,.07),rgba(220,84,26,0)),#070302}
.ticker{background:#030504;color:var(--bone-45)}
.ticker-track i{box-shadow:0 0 8px rgba(255,106,43,.85)}
.ticker-track em{color:var(--bone)}

/* ---- surfaces: lit from above instead of flat grey */
.server-panel,.podium li,.weapon-list li,.panel-lookup > div,.tonight-list a,.heat,.map,.topic,
.sv-panel,.weekday,#sd-ping,.setup-list,.sd-teams .team,.sv-facts div,.sd-stats div,.podium > li,.server-row{box-shadow:var(--lit)}
.server-facts div{box-shadow:inset 0 1px 0 rgba(255,222,172,.08)}
.map:hover,.map:focus-within,.topic:hover,.tonight-list a:hover,.server-row:hover{box-shadow:var(--lit-up)}
.chart::before{box-shadow:var(--lit)}
.tabs,.seg{box-shadow:inset 0 0 0 1px rgba(255,244,226,.05)}
.address-row code,.lookup-form input,.sv-search input{background:rgba(0,0,0,.5);box-shadow:inset 0 1px 2px rgba(0,0,0,.6),inset 0 0 0 1px rgba(255,244,226,.05)}

/* the first place and our own server hold the sun */
.podium li:first-child,.podium > li:first-child{
  background:radial-gradient(130% 110% at 0 0,rgba(255,150,56,.24),rgba(255,106,43,.05) 55%,rgba(255,106,43,0) 80%),var(--tile);
  box-shadow:inset 0 1px 0 rgba(255,200,130,.28),inset 0 0 0 1px rgba(255,150,56,.14),0 30px 70px -30px rgba(255,90,20,.28),0 28px 52px -30px rgba(0,0,0,.95)}
.tonight-list .is-own,.server-row.is-own{background:linear-gradient(95deg,rgba(255,120,44,.18),rgba(255,106,43,0) 60%),var(--tile);
  box-shadow:inset 0 1px 0 rgba(255,200,130,.2),inset 0 0 0 1px rgba(255,150,56,.1),0 28px 52px -30px rgba(0,0,0,.95)}

/* ---- pictures: full colour, slide-film contrast; darkened only where text sits on them */
.server-map img{filter:saturate(1.14) contrast(1.07) brightness(.95)}
.map-art > img{filter:saturate(1.12) contrast(1.06) brightness(.9);transition:transform 1s var(--ease),filter .5s ease}
.map:hover .map-art > img,.map:focus-within .map-art > img{filter:saturate(1.22) contrast(1.08) brightness(1.02)}
.rota-strip li:not(.is-now) .rota-art{filter:saturate(.95) brightness(.9)}
.server-map figcaption{background:linear-gradient(0deg,rgba(2,4,3,.94) 0%,rgba(2,4,3,.55) 50%,rgba(2,4,3,0) 100%)}

/* ---- heat: the orange gives light, like the title's strike and the flight's glow */
.weapon-list .bar i,.tonight-list .is-own .count .bar i,.server-row.is-own .count .bar i{box-shadow:var(--heat)}
.tonight-list .is-own .mark,.server-row.is-own .mark{box-shadow:0 0 0 4px rgba(255,106,43,.16),0 0 12px rgba(255,106,43,.8)}
.live-dot[data-state="online"]{box-shadow:0 0 10px rgba(75,224,143,.7)}
.heat-grid i{transition:background .7s ease calc(var(--h,0) * 45ms),box-shadow .9s ease calc(var(--h,0) * 45ms)}
.heat.is-in .heat-grid i{box-shadow:0 0 calc(var(--a,0) * 14px) rgba(255,106,43,calc(var(--a,0) * .6))}
.split .red{box-shadow:0 0 8px rgba(255,77,63,.45)}
.split .blue{box-shadow:0 0 8px rgba(90,140,255,.45)}
.btn-primary{box-shadow:0 10px 30px -12px rgba(255,214,160,.45)}
.tab.is-active{box-shadow:0 8px 24px -10px rgba(255,214,160,.5)}

/* ---- words: crisper - the small print a step brighter, headings in full bone */
.sec-title,.sv-title,.sv-block-head > h2{color:var(--bone)}
.sec-sub,.sv-sub{color:var(--bone-70)}

/* the line over a section title carries live numbers only (players, servers), in plain words */
.sec-label{font:500 15px/1.3 var(--body);letter-spacing:0;text-transform:none;color:var(--bone-45)}
.sec-label em{margin-left:0;color:var(--bone-70)}
.sv-kicker{font:500 15px/1.3 var(--body);letter-spacing:0;text-transform:none;color:var(--bone-45)}
.sv-kicker::before{width:22px;background:var(--sun);box-shadow:0 0 8px rgba(255,197,110,.7)}
.sv-kicker span{color:var(--bone)}

/* ---- section titles strike like the hero's: letter by letter, white-hot, cooling to bone */
.strike .sw{display:inline-block;white-space:nowrap}
.strike .sl{display:inline-block}
.strike.is-hot .sl{animation:strike 1.7s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 32ms)}
@keyframes strike{
  0%{opacity:0;color:#fff8ea;transform:translateY(.12em) scale(1.06);text-shadow:0 0 .35em rgba(255,176,90,.95),0 0 .9em rgba(255,96,24,.7)}
  18%{opacity:1;color:#fff4de;transform:none;text-shadow:0 0 .3em rgba(255,168,80,.9),0 0 .8em rgba(255,96,24,.55)}
  55%{color:#ffd9a8;text-shadow:0 0 .22em rgba(255,130,50,.5),0 0 .6em rgba(255,90,24,.25)}
  100%{opacity:1;color:var(--bone);transform:none;text-shadow:0 0 0 rgba(255,90,24,0)}}
.strike:not(.is-hot) .sl{opacity:0}
@media (prefers-reduced-motion:reduce){.strike .sl{opacity:1!important;animation:none!important}}
