/* Officiata · the colour layer (Davíð 2026-11-17: "smá lit, eitthvað aðeins meira grípandi en svart og hvítt").
   One set of accents taken from the rings (the sport colours in tokens.css), each with a deep shade that keeps AA
   contrast on white. Icon tiles, steps and list markers take them in turn; screenshots stand on a dark stage with a
   soft glow, as the rings do; light sections get a faint glow in the corners. Nothing here changes a word or a layout. */
:root{
  --a1:#2FD27C; --a1-d:#13703F; --a1-s:#E3F8EC;   /* green */
  --a2:#4AA8E8; --a2-d:#175E9E; --a2-s:#E4F1FB;   /* blue */
  --a3:#FFA62B; --a3-d:#9A4C00; --a3-s:#FFF1DC;   /* orange */
  --a4:#9B8CFF; --a4-d:#4A3BC4; --a4-s:#EEEBFF;   /* purple */
  --a5:#FF6F61; --a5-d:#B0362A; --a5-s:#FFE9E6;   /* coral */
}
/* icon tiles on light backgrounds: a soft fill and a deep stroke, in turn */
.sec:not(.sec--navy) .icon-tile{background:var(--acc-s,var(--a2-s));color:var(--acc-d,var(--a2-d));border-radius:12px}
.sec:not(.sec--navy) .icon-tile svg{stroke:currentColor}
:is(ul,ol) > li:nth-child(5n+1){--acc:var(--a1);--acc-d:var(--a1-d);--acc-s:var(--a1-s)}
:is(ul,ol) > li:nth-child(5n+2){--acc:var(--a2);--acc-d:var(--a2-d);--acc-s:var(--a2-s)}
:is(ul,ol) > li:nth-child(5n+3){--acc:var(--a3);--acc-d:var(--a3-d);--acc-s:var(--a3-s)}
:is(ul,ol) > li:nth-child(5n+4){--acc:var(--a4);--acc-d:var(--a4-d);--acc-s:var(--a4-s)}
:is(ul,ol) > li:nth-child(5n+5){--acc:var(--a5);--acc-d:var(--a5-d);--acc-s:var(--a5-s)}
/* cards: a thin accent along the top */
.sec:not(.sec--navy) li.card{position:relative;overflow:hidden}
.sec:not(.sec--navy) li.card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--acc,var(--a2)),color-mix(in srgb,var(--acc,var(--a2)) 40%,#fff))}
/* lined lists and numbered steps: the rule in colour, the label as a pill */
.sec:not(.sec--navy) .lined > li,.sec:not(.sec--navy) .steps-l > li{border-top:3px solid var(--acc,var(--a2))}
.sec:not(.sec--navy) .lined > li > h3::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--acc,var(--a2));margin-right:10px;vertical-align:.12em}
.sec:not(.sec--navy) .steps-l .t-label{display:inline-block;background:var(--acc-s,var(--a2-s));color:var(--acc-d,var(--a2-d));padding:3px 10px;border-radius:999px;font-weight:700}
/* screenshots: on a dark stage with a soft glow, as the rings stand */
.figwide > .shot,.slot > .shot{padding:clamp(12px,2.4vw,28px);border:0;border-radius:calc(var(--r-card) + 8px);background:radial-gradient(60% 70% at 85% 10%,color-mix(in srgb,var(--a1) 28%,transparent),transparent 70%),radial-gradient(50% 60% at 10% 95%,color-mix(in srgb,var(--a2) 26%,transparent),transparent 70%),var(--navy-grad,#0D2240)}
.figwide > .shot img,.slot > .shot img{border-radius:var(--r-card);display:block}
/* light sections: a faint glow in two corners */
.sec--tint{background:radial-gradient(40% 50% at 100% 0%,color-mix(in srgb,var(--a2) 10%,transparent),transparent 70%),radial-gradient(40% 50% at 0% 100%,color-mix(in srgb,var(--a1) 9%,transparent),transparent 70%),var(--c-tint)}
/* video cards: the play line in the card's colour */
.vc .vc-meta{color:var(--acc-d,var(--a2-d))}
.vc .vc-meta svg{stroke:var(--acc-d,var(--a2-d))}

/* How it works · sports: four cards (the three sports, and any other sport); the same grid as pages.css's .grid4 */
#sports .grid4{display:grid;gap:var(--space-5)}
@media (min-width:720px){#sports .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){#sports .grid4{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--grid-gap)}}
