/* Saltfall — interface. Thin type, hairlines, restrained translucent panels over a photographic scene. */
.sf-ui {
  --ink: #f3f0e9; --dim: rgba(243, 240, 233, .84); --faint: rgba(243, 240, 233, .7); --line: rgba(243, 240, 233, .22); --line2: rgba(243, 240, 233, .1);
  --panel: rgba(17, 21, 23, .5); --panel2: rgba(17, 21, 23, .68); --veil: rgba(10, 14, 16, .5);
  --warm: #e7b765; --bad: #e2725d; --cool: #a9c9d8;
  --shadow: 0 0 2px rgba(0, 0, 0, .85), 0 1px 3px rgba(0, 0, 0, .6), 0 0 .6em rgba(0, 0, 0, .55), 0 0 1.5em rgba(0, 0, 0, .4);
  position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 10; user-select: none; -webkit-user-select: none;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(13px, 1vh + .3vw, 38px); font-weight: 300; line-height: 1.35; color: var(--ink); letter-spacing: .01em;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
:where(.sf-ui) *, :where(.sf-ui) *::before, :where(.sf-ui) *::after { box-sizing: border-box; }
:where(.sf-ui) :is(h1, h2, h3, h4, p, ul) { margin: 0; padding: 0; font-weight: inherit; }
:where(.sf-ui) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; text-shadow: none; }
:where(.sf-ui) small { font-size: .82em; color: var(--dim); }
.sf-gl { width: 1.6em; height: 1.6em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ---- which layer shows ------------------------------------------------------------------------------------------- */
.sf-hud, .sf-layer, .sf-reticle { position: absolute; inset: 0; }
/* round 36: a canvas is a replaced element: `inset: 0` does not stretch it, it keeps the size of its own bitmap. The reticle's bitmap is the window
   times the screen's pixel density (ui.js drawReticle; the binoculars' eyepiece, optics.js, likewise), so on a 2x screen it was shown twice the
   window's size with its centre at the window's bottom right corner: no reticle in the lens. Seen only on high-density screens. */
.sf-reticle { width: 100%; height: 100%; }
.sf-hud, .sf-layer { display: none; }
.sf-ui[data-screen="play"] .sf-hud, .sf-ui[data-screen="menu"] .sf-hud { display: block; }
.sf-ui[data-screen="menu"] .sf-hud { opacity: .3; }
.sf-ui[data-screen="menu"] :is(.sf-prompt, .sf-banner, .sf-action, .sf-cross, .sf-hit, .sf-dmg, .sf-muzzle, .sf-breath, .sf-reticle) { visibility: hidden; }
.sf-ui[data-screen="title"] .sf-title, .sf-ui[data-screen="menu"] .sf-menu, .sf-ui[data-screen="settings"] .sf-settings, .sf-ui[data-screen="loadout"] .sf-loadout, .sf-ui[data-screen="end"] .sf-end { display: flex; }
.sf-ui[data-ov="inventory"] .sf-inv, .sf-ui[data-ov="map"] .sf-map { display: flex; }
.sf-ui[data-screen="none"] > * { display: none !important; }
.sf-ui:not([data-screen="play"]) .sf-reticle, .sf-ui:not([data-screen="play"]) .sf-fx { display: none; }
.sf-ui[data-ov="inventory"] .sf-cross, .sf-ui[data-ov="map"] .sf-cross, .sf-ui[data-ov="inventory"] .sf-prompt, .sf-ui[data-ov="map"] .sf-prompt,
.sf-ui[data-ov="inventory"] .sf-banner, .sf-ui[data-ov="map"] .sf-banner, .sf-ui[data-ov="inventory"] .sf-action, .sf-ui[data-ov="map"] .sf-action,
.sf-ui[data-ov="map"] .sf-compass, .sf-ui[data-ov="inventory"] .sf-compass, .sf-ui[data-ov="inventory"] .sf-vehicle, .sf-ui[data-ov="map"] .sf-vehicle { visibility: hidden; }
.sf-ui[data-ov="inventory"] .sf-bl, .sf-ui[data-ov="inventory"] .sf-br, .sf-ui[data-ov="inventory"] .sf-tr, .sf-ui[data-ov="inventory"] .sf-tl,
.sf-ui[data-ov="map"] .sf-bl, .sf-ui[data-ov="map"] .sf-br, .sf-ui[data-ov="map"] .sf-tr, .sf-ui[data-ov="map"] .sf-tl, .sf-ui[data-ov]:not([data-ov=""]) .sf-hud::before { opacity: 0; }
.sf-layer { pointer-events: auto; }
.sf-title, .sf-end { pointer-events: none; } .sf-title-box, .sf-end-box { pointer-events: auto; }

/* ---- HUD --------------------------------------------------------------------------------------------------------- */
.sf-hud { text-shadow: var(--shadow); font-weight: 400; }
.sf-hud::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(52em 22em at 0 0, rgba(8, 12, 14, .62), transparent 72%), radial-gradient(40em 20em at 100% 0, rgba(8, 12, 14, .56), transparent 72%),
  radial-gradient(36em 32em at 0 100%, rgba(8, 12, 14, .6), transparent 72%), radial-gradient(34em 30em at 100% 100%, rgba(8, 12, 14, .62), transparent 72%),
  radial-gradient(34em 9em at 50% 0, rgba(8, 12, 14, .42), transparent 72%); }
.sf-fx { position: absolute; inset: 0; opacity: 0; }
.sf-suppress { background: radial-gradient(ellipse at center, transparent 38%, rgba(6, 8, 9, .5) 78%, rgba(4, 5, 6, .86) 100%); }
.sf-flash { background: #fbfaf6; }

.sf-tl { position: absolute; left: 2.2em; top: 1.7em; max-width: 31vw; }
.sf-brand { font-size: 1.2em; font-weight: 400; letter-spacing: .34em; text-transform: none; }
.sf-hint { padding: .35em 1.2em; border-radius: 2em; background: rgba(10, 14, 16, .42); position: fixed; left: 50%; bottom: .9em; transform: translateX(-50%); max-width: 56vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8em; font-weight: 400; color: var(--dim); pointer-events: none; transition: opacity .9s; }
.sf-hint.off { opacity: 0; }
.sf-ui[data-ov]:not([data-ov=""]) .sf-hint, .sf-ui[data-screen="menu"] .sf-hint { visibility: hidden; }
.sf-zone { display: none; margin-top: 1.1em; padding-top: .8em; border-top: 1px solid var(--line); width: 15em; }
.sf-zone.on { display: block; }
.sf-zone-phase { font-size: .86em; color: var(--dim); }
.sf-zone-row { display: flex; align-items: baseline; gap: .6em; }
.sf-zone-timer { font-size: 2.1em; font-weight: 400; line-height: 1.15; }
.sf-zone-what { font-size: .86em; color: var(--dim); }
.sf-zone.closing .sf-zone-what, .sf-zone.closing .sf-zone-timer { color: var(--warm); }
.sf-zone-warn { display: none; margin-top: .25em; font-size: .92em; font-weight: 400; color: var(--bad); }
.sf-zone.outside .sf-zone-warn { display: none; }

.sf-compass { position: absolute; left: 50%; top: 1.3em; width: min(44em, 42vw); transform: translateX(-50%); text-align: center; }
.sf-compass canvas { display: block; width: 100%; height: 5.2em; }
.sf-bearing { display: none; }
.sf-spect { display: none; margin-top: .3em; font-size: .92em; color: var(--dim); }
.sf-spect.on { display: block; }

.sf-tr { position: absolute; right: 2.2em; top: 1.7em; text-align: right; width: 24em; }
.sf-alive { display: flex; justify-content: flex-end; gap: 1.3em; font-size: .86em; color: var(--dim); padding-bottom: .8em; border-bottom: 1px solid var(--line); margin-left: 6em; }
.sf-alive i { font-style: normal; }
.sf-alive b { font-size: 1.75em; font-weight: 400; color: var(--ink); margin-right: .15em; }
.sf-feed { margin-top: .8em; display: flex; flex-direction: column; align-items: flex-end; gap: .2em; }
.sf-feed-l { display: flex; align-items: center; gap: .55em; font-size: .9em; font-weight: 400; color: var(--dim); transition: opacity .6s; animation: sf-in .25s ease-out; }
.sf-feed-l i { width: .9em; height: 1px; background: var(--faint); }
.sf-feed-l.knock { color: var(--ink); } .sf-feed-l.knock i { background: var(--warm); height: 2px; }
.sf-feed-l.kill { color: var(--ink); } .sf-feed-l.kill i { background: var(--bad); height: 2px; }
.sf-feed-l.out, .sf-radio-l.out { opacity: 0; }
@keyframes sf-in { from { opacity: 0; transform: translateY(.3em); } }

.sf-banner { position: absolute; left: 50%; top: 21%; transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity .8s; width: max-content; max-width: 80vw; padding: .9em 7em 1em;
  background: radial-gradient(ellipse 50% 50% at center, rgba(8, 12, 14, .42), rgba(8, 12, 14, 0) 100%); }
.sf-banner.on { opacity: 1; }
.sf-startfade { position: absolute; inset: 0; background: #050607; opacity: 0; pointer-events: none; } /* round 29: the random start comes up from black (ui.js fadeIn) */
.sf-ui.is-aimed .sf-banner, .sf-ui.is-aimed .sf-hint { opacity: 0; transition-duration: .15s; }
.sf-banner-t { font-size: 1.8em; font-weight: 300; letter-spacing: .02em; }
.sf-banner-s { margin-top: .2em; font-size: .95em; color: var(--ink); }
.sf-banner-t::after { content: ''; display: block; width: 2.2em; height: 1px; margin: .45em auto 0; background: var(--line); }

.sf-prompt { position: absolute; left: 50%; top: 66%; transform: translateX(-50%); display: none; align-items: center; gap: .7em; font-size: 1em; white-space: nowrap; }
.sf-prompt.on { display: flex; }
.sf-prompt kbd { font: inherit; font-weight: 400; min-width: 1.9em; padding: .12em .5em; text-align: center; border: 1px solid var(--dim); border-radius: .2em; background: rgba(17, 21, 23, .35); }
.sf-action { position: absolute; left: 50%; top: min(72%, calc(100% - 18.6em)); /* round 28: never down onto the vehicle panel */ transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: .35em; font-size: .9em; }
.sf-action.on { display: flex; }
.sf-action svg { width: 3em; height: 3em; }
.sf-action circle { fill: none; stroke-width: 1.5; }
.sf-ring-bg { stroke: var(--line); }
.sf-ring-fg { stroke: var(--ink); stroke-dasharray: 100.53; stroke-linecap: round; }
.sf-action-l { letter-spacing: .04em; color: var(--dim); }
.sf-confirm { position: absolute; left: 50%; bottom: 9.6em; transform: translateX(-50%); display: none; align-items: center; gap: .7em; font-size: 1.12em; font-weight: 400; white-space: nowrap; animation: sf-confirm .22s ease-out; }
.sf-confirm.on { display: flex; }
.sf-confirm i { width: 1.6em; height: 1px; background: var(--bad); }
.sf-confirm.knock i { background: var(--warm); height: 2px; }
.sf-confirm.kill i { height: 2px; }
.sf-confirm::after { content: ''; width: 1.6em; height: 1px; background: var(--bad); }
.sf-confirm.knock::after { background: var(--warm); height: 2px; } .sf-confirm.kill::after { height: 2px; }
@keyframes sf-confirm { from { opacity: 0; transform: translate(-50%, .4em); } }
.sf-outside { position: absolute; left: 50%; top: 15%; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; text-align: center; gap: .15em; }
.sf-outside.on { display: flex; }
.sf-outside b { font-size: 1.35em; font-weight: 400; letter-spacing: .02em; color: #f6c9bf; }
.sf-outside span { font-size: .92em; color: var(--dim); }
.sf-ui.is-outside .sf-hud::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 52%, rgba(120, 60, 110, .34) 100%); box-shadow: inset 0 0 0 .22em rgba(226, 114, 93, .28); animation: sf-outside 2.2s ease-in-out infinite; }
@keyframes sf-outside { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.sf-ui.is-outside .sf-zone { border-top-color: var(--bad); }
.sf-zone-warn { font-weight: 500; }

.sf-vehicle { position: absolute; left: 50%; bottom: 7.4em; transform: translateX(-50%); display: none; text-align: center; width: 12em; } /* round 28: above the health and status strip */
.sf-vehicle.on { display: block; }
.sf-veh-speed { font-size: 2.3em; font-weight: 300; line-height: 1.05; }
.sf-veh-unit { margin-left: .4em; font-size: .86em; color: var(--dim); }
.sf-veh-bar, .sf-bar, .sf-mate-b { position: relative; background: rgba(243, 240, 233, .2); overflow: hidden; }
.sf-veh-bar { height: 2px; margin: .2em 0 .4em; }
.sf-veh-bar i, .sf-bar i, .sf-mate-b i, .sf-mate-b u { position: absolute; inset: 0; background: var(--ink); transform-origin: left center; }
.sf-veh-name { font-size: .86em; color: var(--dim); }

.sf-bl { position: absolute; left: 2.2em; bottom: 1.9em; width: 19em; display: flex; flex-direction: column; }
.sf-radio { display: flex; flex-direction: column; gap: .2em; margin-bottom: 1.1em; width: 30em; }
.sf-radio-l { font-size: .92em; transition: opacity .6s; animation: sf-in .25s ease-out; }
.sf-radio-l b { font-weight: 500; margin-right: .6em; }
.sf-squad { display: flex; flex-direction: column; gap: .5em; margin-bottom: 1.5em; width: 11em; }
.sf-mate-n { font-size: .86em; display: inline-flex; align-items: center; gap: .5em; }
.sf-mate-n i { width: .42em; height: .42em; border-radius: 50%; }
.sf-mate-s { margin-left: .6em; font-size: .8em; color: var(--warm); }
.sf-mate-b { height: 2px; margin-top: .22em; }
.sf-mate-b u { background: var(--ink); opacity: .9; height: 100%; }
.sf-mate.knocked .sf-mate-b i { opacity: .45; }
.sf-mate.dead { opacity: .45; } .sf-mate.dead .sf-mate-s { color: var(--dim); }
.sf-mate.me .sf-mate-n { font-weight: 400; }

.sf-pips { display: flex; gap: .22em; }
.sf-pips i { width: .5em; height: .2em; border: 1px solid var(--dim); }
.sf-pips i.on { background: var(--ink); border-color: var(--ink); }

.sf-br { position: absolute; right: 2.2em; bottom: 1.9em; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.sf-heals { display: flex; gap: 1em; }
.sf-heal { display: flex; align-items: center; gap: .3em; font-size: .92em; }
.sf-heal .sf-gl { width: 1.45em; height: 1.45em; }
.sf-heal.none { opacity: .6; }
.sf-throw { display: flex; align-items: center; gap: .45em; margin-top: .55em; font-size: .92em; }
.sf-throw.off { visibility: hidden; }
.sf-throw .sf-gl { width: 1.45em; height: 1.45em; } .sf-throw b { font-weight: 400; margin-left: .2em; }
.sf-slots { margin-top: .9em; padding-top: .7em; border-top: 1px solid var(--line); min-width: 15em; font-size: .86em; color: var(--dim); }
.sf-slots div { display: flex; justify-content: flex-end; gap: .7em; padding: .05em 0; }
.sf-slots b { font-weight: 400; color: var(--faint); order: 2; width: .8em; }
.sf-slots em { font-style: normal; color: var(--faint); }
.sf-slots .on { color: var(--ink); } .sf-slots .on b { color: var(--warm); font-weight: 500; }
.sf-wname { margin-top: .7em; font-size: 1.25em; font-weight: 400; }
.sf-wmode { display: flex; align-items: center; justify-content: flex-end; gap: .7em; font-size: .86em; color: var(--dim); } /* round 28: the calibre under the weapon's name; fire mode and rounds are in the strip (vitals.js) */
@keyframes sf-blink { 50% { opacity: .45; } }

/* crosshair, hit marks, damage ring */
.sf-cross { position: absolute; left: 50%; top: 50%; opacity: 0; --gap: 10px; }
.sf-cross i { transition: bottom .07s linear, top .07s linear, left .07s linear, right .07s linear; position: absolute; background: rgba(250, 248, 242, .98); box-shadow: 0 0 0 1px rgba(8, 10, 12, .42), 0 0 3px rgba(0, 0, 0, .5); }
.sf-cross::after { content: ''; position: absolute; left: -1px; top: -1px; width: 2px; height: 2px; border-radius: 50%; background: rgba(250, 248, 242, .9); box-shadow: 0 0 0 1px rgba(8, 10, 12, .35); }
.sf-cross i:nth-child(1) { width: 2px; height: 10px; left: -1px; bottom: var(--gap); }
.sf-cross i:nth-child(2) { width: 2px; height: 10px; left: -1px; top: var(--gap); }
.sf-cross i:nth-child(3) { height: 2px; width: 10px; top: -1px; right: var(--gap); }
.sf-cross i:nth-child(4) { height: 2px; width: 10px; top: -1px; left: var(--gap); }
.sf-hit { position: absolute; left: 50%; top: 50%; width: 5.4em; height: 5.4em; margin: -2.7em 0 0 -2.7em; overflow: visible; }
.sf-hit-g { fill: none; stroke: #f6f3ec; stroke-width: 1.5; stroke-linecap: round; animation: sf-hit .36s ease-out forwards; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .7)); }
.sf-hit-g .f { fill: currentColor; stroke: none; }
.sf-hit-g.armor { stroke: var(--cool); } .sf-hit-g.armor .b { stroke-width: 1.2; }
.sf-hit-g.head { stroke: var(--warm); color: var(--warm); stroke-width: 2; }
.sf-hit-g.knock { stroke: var(--warm); animation-duration: .68s; } .sf-hit-g.knock .b { stroke-width: 2.2; }
.sf-hit-g.kill { stroke: var(--bad); animation-duration: .68s; stroke-width: 1.8; } .sf-hit-g.kill .b { stroke-width: 2; }
@keyframes sf-hit { 0% { opacity: 0; transform: scale(1.35); } 18% { opacity: 1; transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(.94); } }
.sf-dmg { position: absolute; left: 50%; top: 50%; width: 46vh; height: 46vh; margin: -23vh 0 0 -23vh; overflow: visible; }
.sf-dmg-wedge { fill: rgba(226, 114, 93, .14); stroke: none; }
.sf-dmg-arc { fill: none; stroke: var(--bad); stroke-width: 2.4; stroke-linecap: round; }
.sf-dmg-tick { fill: none; stroke: var(--bad); stroke-width: 1.2; stroke-linecap: round; }
.sf-dmg g { animation: sf-dmg 1.5s ease-out forwards; }
@keyframes sf-dmg { 0% { opacity: 0; } 8% { opacity: .95; } 55% { opacity: .8; } 100% { opacity: 0; } }

/* ---- shared controls --------------------------------------------------------------------------------------------- */
.sf-btn { padding: .62em 1.5em; border: 1px solid var(--line); border-radius: .16em; background: rgba(17, 21, 23, .3); font-weight: 400; transition: background .15s, border-color .15s, color .15s; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sf-btn:hover { border-color: var(--dim); background: rgba(17, 21, 23, .5); }
.sf-btn.primary { background: rgba(243, 240, 233, .92); color: #14181a; border-color: transparent; }
.sf-btn.primary:hover { background: #fff; }
.sf-btn.line { display: block; width: 100%; text-align: left; padding: .7em .2em; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-weight: 300; font-size: 1.1em; color: var(--dim); }
.sf-btn.line:hover, .sf-btn.line:focus-visible { color: var(--ink); border-bottom-color: var(--ink); padding-left: .7em; }
.sf-btn.line { transition: padding .15s, color .15s, border-color .15s; }
.sf-ui button:focus { outline: none; }
.sf-ui button:focus-visible, .sf-ui input:focus-visible, .sf-ui [tabindex="0"]:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.sf-btn.line:focus-visible { outline: none; }
.sf-btnrow { display: flex; flex-wrap: wrap; gap: .8em; }
.sf-btn.loadout { border-color: var(--dim); }
.sf-btn.line2 { padding: .45em 1em; font-size: .95em; }
.sf-sw { position: relative; display: inline-block; width: 2.3em; height: 1.2em; border: 1px solid var(--dim); border-radius: 1em; flex: none; transition: background .15s; }
.sf-sw i { position: absolute; top: 50%; left: .16em; width: .78em; height: .78em; margin-top: -.39em; border-radius: 50%; background: var(--dim); transition: transform .15s, background .15s; }
.on > .sf-sw { background: rgba(243, 240, 233, .9); border-color: transparent; }
.on > .sf-sw i { transform: translateX(1.1em); background: #14181a; }
.sf-sound, .sf-toggle { display: inline-flex; align-items: center; gap: .7em; padding: .3em .1em; font-weight: 400; }
.sf-toggle { font-weight: 300; }

/* ---- title ------------------------------------------------------------------------------------------------------- */
.sf-title { background: linear-gradient(100deg, rgba(8, 12, 14, .62), rgba(8, 12, 14, .3) 38%, rgba(8, 12, 14, 0) 68%); align-items: flex-start; text-shadow: var(--shadow); }
.sf-title-box { margin: 13vh 0 0 7vw; max-width: 44em; }
.sf-title-name { font-size: 5.2em; font-weight: 200; letter-spacing: .12em; line-height: 1; margin-left: -.04em; }
.sf-title-goal { margin-top: .9em; padding-top: .9em; border-top: 1px solid var(--line); font-size: 1.3em; font-weight: 300; width: max-content; padding-right: 2em; }
.sf-title .sf-btnrow { margin-top: 2.2em; }
.sf-title .sf-btn { font-size: 1.08em; text-shadow: none; }
.sf-title .sf-sound { margin-top: 1.6em; font-size: 1.05em; }
.sf-title-kit { margin-top: 1.3em; max-width: 46em; font-size: .98em; font-weight: 400; line-height: 1.5; color: var(--ink); }
.sf-title-kit span { margin-right: .5em; color: var(--warm); letter-spacing: .06em; font-size: .86em; text-transform: none; }
.sf-title-hint { margin-top: 2.6em; font-size: .9em; font-weight: 400; color: var(--dim); }

/* ---- pause menu -------------------------------------------------------------------------------------------------- */
.sf-menu { background: linear-gradient(100deg, rgba(8, 12, 14, .7), rgba(8, 12, 14, .42) 40%, rgba(8, 12, 14, .2)); align-items: center; }
.sf-menu-box { margin-left: 7vw; width: 17em; }
.sf-menu-h { font-size: 2.4em; font-weight: 200; letter-spacing: .04em; margin-bottom: .5em; }
.sf-menu .sf-sound { margin-top: 1.6em; }
.sf-menu .sf-btn.line small { margin-left: .8em; font-size: .72em; color: var(--faint); }

/* ---- settings ---------------------------------------------------------------------------------------------------- */
.sf-settings { background: rgba(8, 12, 14, .46); align-items: center; justify-content: center; }
.sf-ui[data-under="title"] .sf-settings { background: rgba(8, 12, 14, .4); }
.sf-loadout { background: rgba(8, 12, 14, .5); align-items: center; justify-content: center; }
.sf-lo-box { display: flex; flex-direction: column; width: min(80em, 95vw); height: min(54em, 94vh); padding: 1.5em 2em 1.2em; background: var(--panel2); border: 1px solid var(--line2); border-radius: .25em; backdrop-filter: blur(18px) saturate(.9); -webkit-backdrop-filter: blur(18px) saturate(.9); }
.sf-lo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2em; margin-bottom: 1em; }
.sf-lo-t h2 { font-size: 1.9em; font-weight: 200; line-height: 1.1; }
.sf-lo-t p { margin-top: .25em; font-size: .92em; color: var(--dim); }
.sf-lo-actions { display: flex; gap: .6em; flex: none; align-items: center; }
.sf-lo-actions .sf-btn { white-space: nowrap; }
.sf-seg.sf-lo-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; margin-bottom: 1em; }
.sf-mode { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .25em; padding: .7em 1em .8em; border: 1px solid var(--line2); border-radius: .2em; color: var(--dim); transition: border-color .12s, background .12s, color .12s; }
.sf-mode:hover { border-color: var(--dim); }
.sf-mode-n { font-size: 1.12em; font-weight: 400; color: var(--ink); }
.sf-mode-l { font-size: .86em; line-height: 1.4; }
.sf-mode[aria-checked="true"] { border-color: var(--ink); background: rgba(243, 240, 233, .1); color: var(--ink); box-shadow: inset 0 -2px 0 var(--warm); }
.sf-lo-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 19em; gap: 0 1.8em; }
.sf-lo-main { min-height: 0; overflow-y: auto; padding-right: .8em; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.sf-lo-sum { min-height: 0; overflow-y: auto; padding: 1em 1.1em; border: 1px solid var(--line2); border-radius: .2em; background: rgba(8, 12, 14, .28); scrollbar-width: thin; }
.sf-lo-sum h3 { font-size: 1.1em; font-weight: 300; margin-bottom: .6em; }
.sf-lo-sum ul { list-style: none; display: grid; }
.sf-lo-sum li { display: flex; align-items: flex-start; gap: .8em; padding: .5em 0; border-bottom: 1px solid var(--line2); }
.sf-lo-sum li.none { color: var(--faint); }
.sf-lo-sum li .sf-gl { width: 1.7em; height: 1.7em; margin-top: .1em; color: var(--dim); }
.sf-lo-sum li span { display: flex; flex-direction: column; min-width: 0; }
.sf-lo-sum em { font-style: normal; font-size: .74em; letter-spacing: .06em; color: var(--faint); }
.sf-lo-sum li b { font-weight: 400; }
.sf-lo-sum li small { color: var(--dim); font-size: .8em; }
.sf-lo-empty, .sf-lo-squad { margin-top: .9em; font-size: .9em; color: var(--dim); line-height: 1.5; }
.sf-sumtiers { display: flex !important; flex-direction: row !important; gap: .5em; width: 5.4em; flex: none; margin-top: .1em; }
.sf-sumtiers + span { flex: 1; }
.sf-sumgear { display: flex !important; flex-direction: column !important; align-items: center; gap: .15em; }
.sf-sumgear .sf-gl { width: 1.4em; height: 1.4em; margin: 0; }
.sf-lo-sec { margin-bottom: .4em; }
.sf-lo-sec .sf-sub:first-child { margin-top: .5em; }
.sf-seg.sf-wpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45em; }
.sf-wp { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .1em; padding: .45em .65em .5em; border: 1px solid var(--line2); border-radius: .16em; color: var(--dim); position: relative; min-width: 0; transition: border-color .12s, background .12s; }
.sf-wp:hover { border-color: var(--dim); color: var(--ink); }
.sf-wp b { font-weight: 400; color: var(--ink); font-size: .98em; }
.sf-wp small { font-size: .76em; color: var(--faint); }
.sf-wp-g { position: absolute; right: .5em; top: .35em; }
.sf-wp-g .sf-gl { width: 2.4em; height: 1.6em; stroke-width: 1; }
.sf-wp.none { justify-content: center; }
.sf-wp b, .sf-wp small { max-width: calc(100% - 2.6em); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-wp small { max-width: 100%; }
.sf-wp[aria-checked="true"] { border-color: var(--ink); background: rgba(243, 240, 233, .1); color: var(--ink); box-shadow: inset 0 -2px 0 var(--warm); }
.sf-wstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4em; width: 100%; margin-top: .35em; }
.sf-st { display: flex; flex-direction: column; gap: .15em; }
.sf-st i { display: block; height: 2px; background: rgba(243, 240, 233, .16); }
.sf-st u { display: block; height: 100%; background: var(--dim); }
.sf-wp[aria-checked="true"] .sf-st u { background: var(--ink); }
.sf-st em { font-style: normal; font-size: .66em; letter-spacing: .02em; color: var(--faint); }
.sf-lo-detail { margin: .6em 0 .1em; font-size: .84em; color: var(--dim); }
.sf-lo-atts .sf-row { padding: .3em 0; min-height: 2.4em; }
.sf-lo-atts .sf-row-l, .sf-lo-sec .sf-row-l { width: 9em; }
.sf-lo-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2em; }
.sf-lo-counts .sf-row { padding: .3em 0; min-height: 2.5em; }
.sf-lo-counts .sf-row-l { width: 8em; }
.sf-lo-main .sf-row-l { width: 11em; }
.sf-lo-main .sf-note { max-width: 40em; }
@media (max-width: 1100px) { .sf-lo-cols { grid-template-columns: minmax(0, 1fr) 16em; } .sf-wpick { grid-template-columns: repeat(3, 1fr); } }
.sf-set-box { display: flex; width: min(76em, 94vw); height: min(52em, 92vh); background: var(--panel2); border: 1px solid var(--line2); border-radius: .25em; backdrop-filter: blur(18px) saturate(.9); -webkit-backdrop-filter: blur(18px) saturate(.9); }
.sf-set-rail { width: 14em; flex: none; padding: 2em 0 1.6em 2.2em; display: flex; flex-direction: column; border-right: 1px solid var(--line2); }
.sf-set-title { font-size: 1.9em; font-weight: 200; margin-bottom: 1em; }
.sf-tabs { display: flex; flex-direction: column; }
.sf-tab { text-align: left; padding: .5em 0; color: var(--dim); position: relative; font-size: 1.05em; }
.sf-tab:hover { color: var(--ink); }
.sf-tab[aria-selected="true"] { color: var(--ink); font-weight: 400; }
.sf-tab[aria-selected="true"]::after { content: ''; position: absolute; right: -1px; top: .35em; bottom: .35em; width: 1px; background: var(--ink); }
.sf-ui .sf-tab:focus-visible { outline: none; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.sf-set-rail .sf-back { margin-top: auto; width: 6em; font-size: 1em; }
.sf-set-help { margin-top: 1.2em; padding-right: 1.2em; font-size: .8em; color: var(--faint); line-height: 1.6; }
.sf-set-body { flex: 1; min-width: 0; padding: 2em 2.4em 2em; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.sf-sec-h { margin-bottom: 1.3em; }
.sf-sec-h h3 { font-size: 1.35em; font-weight: 300; }
.sf-sec-h p, .sf-note, .sf-keys { color: var(--dim); font-size: .92em; margin-top: .2em; }
.sf-note { margin: 1em 0; } .sf-keys { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line2); line-height: 1.7; max-width: 48em; }
.sf-row { display: flex; align-items: center; gap: 1.2em; padding: .5em 0; border-bottom: 1px solid var(--line2); min-height: 2.9em; }
.sf-row-l { width: 15em; flex: none; }
.sf-row-l small { display: block; font-size: .8em; color: var(--faint); }
.sf-row-c { flex: 1; min-width: 0; display: flex; }
.sf-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 2.6em; margin-top: .4em; }
.sf-cols .sf-row-l { width: 6.2em; }
.sf-cols > div:last-child .sf-row-l { width: 8em; }
.sf-sub { margin: 1.3em 0 .5em; font-size: .82em; font-weight: 400; letter-spacing: .08em; color: var(--dim); }
.sf-sub small { letter-spacing: 0; margin-left: .6em; color: var(--faint); font-weight: 300; }
.sf-seg { display: flex; flex-wrap: wrap; gap: .35em; }
.sf-chip { display: inline-flex; flex-direction: column; align-items: flex-start; padding: .34em .85em; border: 1px solid var(--line2); border-radius: .16em; color: var(--dim); transition: border-color .12s, color .12s, background .12s; }
.sf-chip:hover { border-color: var(--dim); color: var(--ink); }
.sf-chip[aria-checked="true"] { border-color: var(--ink); color: var(--ink); background: rgba(243, 240, 233, .1); font-weight: 400; }
.sf-seg.small .sf-chip { padding: .2em .6em; font-size: .9em; }
.sf-seg.tall .sf-chip { padding: .7em 1.2em; min-width: 8.5em; }
.sf-chip small { font-size: .8em; font-weight: 300; }
.sf-kit { margin: .8em 0 1em; display: grid; gap: .1em; }
.sf-kit div { display: flex; align-items: center; gap: .9em; padding: .45em 0; border-bottom: 1px solid var(--line2); }
.sf-kit small { margin-left: .5em; }
.sf-step { display: inline-flex; align-items: center; gap: .2em; border-radius: .16em; }
.sf-step button { width: 1.7em; height: 1.7em; border: 1px solid var(--line2); border-radius: .16em; color: var(--dim); line-height: 1; }
.sf-step button:hover { border-color: var(--dim); color: var(--ink); }
.sf-step b { width: 2.2em; text-align: center; font-weight: 400; }
.sf-counts .sf-row { min-height: 2.5em; padding: .3em 0; }
.sf-range { display: flex; align-items: center; gap: 1.2em; flex: 1; max-width: 30em; }
.sf-range output { min-width: 9em; color: var(--dim); }
.sf-range input { -webkit-appearance: none; appearance: none; flex: 1; height: 1.4em; background: transparent; margin: 0; --p: 50%; cursor: pointer; }
.sf-range input::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line) var(--p)); }
.sf-range input::-moz-range-track { height: 1px; background: linear-gradient(90deg, var(--ink) var(--p), var(--line) var(--p)); }
.sf-range input::-webkit-slider-thumb { -webkit-appearance: none; width: .28em; height: 1.1em; margin-top: -.55em; background: var(--ink); border-radius: 1px; }
.sf-range input::-moz-range-thumb { width: .28em; height: 1.1em; background: var(--ink); border: 0; border-radius: 1px; }
.sf-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.sf-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .5em; padding: 1.2em 1.1em 1.3em; min-height: 13.5em; border: 1px solid var(--line2); border-radius: .2em; color: var(--dim); transition: border-color .12s, background .12s, color .12s; }
.sf-card:hover { border-color: var(--dim); }
.sf-card b { font-size: 1.35em; font-weight: 300; color: var(--ink); }
.sf-card-n { font-size: .8em; color: var(--faint); }
.sf-card-l { font-size: .92em; line-height: 1.45; }
.sf-card-m { margin-top: auto; display: flex; gap: .25em; }
.sf-card-m i { width: 1.1em; height: 2px; background: var(--faint); }
.sf-card[aria-checked="true"] { border-color: var(--ink); background: rgba(243, 240, 233, .09); color: var(--ink); }
.sf-card[aria-checked="true"] .sf-card-m i { background: var(--warm); }

/* ---- inventory --------------------------------------------------------------------------------------------------- */
.sf-inv { background: none; align-items: stretch; justify-content: stretch; }
/* round 14, the kit view: lists down the left, the soldier (the game's own picture) clear in the middle, weapons down the right */
.sf-kv { display: grid; grid-template-columns: 17.5% 17.5% 1fr 31%; width: 100%; height: 100%; min-height: 0; }
.sf-kv > .sf-col { background: linear-gradient(180deg, rgba(11, 14, 16, .9), rgba(11, 14, 16, .8)); backdrop-filter: blur(14px) saturate(.9); -webkit-backdrop-filter: blur(14px) saturate(.9); }
.sf-kv > .sf-col:nth-child(2) { border-right: 1px solid var(--line); }
.sf-kv > .sf-col.wide { border-left: 1px solid var(--line); border-right: 0; padding: 1.5em 1.5em 1.1em; }
.sf-kv .sf-item-n { font-size: .95em; }
.sf-kv .sf-wcard.active { border-color: var(--dim); background: rgba(243, 240, 233, .035); }
.sf-kv-mid { position: relative; display: flex; align-items: center; min-width: 0; cursor: ew-resize; background: radial-gradient(ellipse at 50% 55%, transparent 38%, rgba(8, 11, 13, .34) 100%); transition: box-shadow .12s; }
.sf-kv-mid footer { position: absolute; left: 0; right: 0; bottom: 1.3em; text-align: center; font-size: .8em; color: var(--dim); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); pointer-events: none; }
.sf-inv.dragging .sf-kv-mid.over { box-shadow: inset 0 0 0 2px var(--dim); background: radial-gradient(ellipse at 50% 55%, rgba(243, 240, 233, .05) 30%, rgba(8, 11, 13, .4) 100%); }
.sf-tile { flex: none; display: flex; align-items: center; justify-content: center; width: 3.1em; height: 3.1em; border-radius: .16em; background: rgba(243, 240, 233, .06); box-shadow: inset 0 0 0 1px var(--line2); }
.sf-tile.big { width: 5.4em; height: 5.4em; }
.sf-pic { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.sf-tile .sf-gl { width: 60%; height: 60%; color: var(--faint); }
.sf-cal { display: inline-block; width: .62em; height: .62em; border-radius: 2px; margin-right: .4em; }
.sf-gearbox { display: flex; flex-direction: column; gap: .9em; margin-left: 1.6em; cursor: default; }
.sf-gt { display: flex; flex-direction: column; align-items: stretch; gap: .35em; width: 9.2em; padding: .55em .6em .6em; border-radius: .2em; background: rgba(11, 14, 16, .72); border: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sf-gt .sf-tile.big { width: 100%; height: 5.6em; }
.sf-gt-n { font-size: .84em; line-height: 1.25; }
.sf-gt-n small { display: block; font-size: .9em; color: var(--faint); }
.sf-gt .sf-bar { width: 100%; }
.sf-gt.none { color: var(--faint); border-style: dashed; }
.sf-kv .sf-item-n { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-height: 1.22; }
.sf-kv .sf-item-n small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a narrow or upright window: nearby and backpack share the left column, the gear tiles go in a row under the figure, everything a little smaller */
/* round 36: the stacked kit view (what is on the ground ABOVE the backpack, in one column) is for a window taller than it is wide only. It used to
   come in below 13:10, which is an ordinary browser window on many screens: players had to scroll past the ground list to reach their own kit.
   Between square and 13:10 the two lists stay side by side, a little wider. */
@media (max-aspect-ratio: 13/10) and (min-aspect-ratio: 1/1) { .sf-kv { grid-template-columns: 21% 21% 1fr 34%; font-size: .94em; } }
@media (max-aspect-ratio: 999/1000) {
  .sf-kv { grid-template-columns: 30% 1fr 35%; grid-template-rows: minmax(0, 34%) minmax(0, 1fr); }
  .sf-kv > .sf-col:nth-child(1) { grid-column: 1; grid-row: 1; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line2); padding: 1.1em 1.1em .6em; }
  .sf-kv > .sf-col:nth-child(2) { grid-column: 1; grid-row: 2; padding: 1em 1.1em .8em; }
  .sf-kv > .sf-col:nth-child(1) footer { display: none; }
  .sf-kv-mid { grid-column: 2; grid-row: 1 / 3; align-items: flex-end; justify-content: center; }
  .sf-kv > .sf-col.wide { grid-column: 3; grid-row: 1 / 3; padding: 1.1em 1em .8em; }
  .sf-gearbox { flex-direction: row; margin: 0 0 1.2em; gap: .5em; } .sf-kv-mid footer { display: none; }
  .sf-gt { width: 6.4em; padding: .4em .45em .45em; } .sf-gt .sf-tile.big { height: 3.6em; } .sf-gt-n { font-size: .74em; }
  .sf-wpic { height: 6.2em; } .sf-wcard { padding: .5em .6em .6em; } .sf-wcard-h > em { font-size: 1.2em; }
  .sf-atts { gap: .25em; } .sf-att { height: 4.3em; font-size: .72em; padding: .15em .1em; } .sf-att .sf-pic { height: 2.6em; }
}
.sf-col { display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: 1.5em 1.5em 1.1em; border-right: 1px solid var(--line2); transition: background .12s; }
.sf-col:last-child { border-right: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.sf-col header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7em; }
.sf-col header h3 { font-size: 1.25em; font-weight: 300; }
.sf-col header span { font-size: .86em; color: var(--dim); }
.sf-col footer { margin-top: .8em; font-size: .8em; color: var(--faint); }
.sf-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; margin: 0 -.5em; }
.sf-empty { padding: .8em .5em; color: var(--faint); font-size: .92em; }
.sf-item { display: flex; align-items: center; gap: .7em; padding: .3em .5em; border-bottom: 1px solid var(--line2); cursor: grab; touch-action: none; border-radius: .12em; }
.sf-item:hover { background: rgba(243, 240, 233, .07); }
.sf-item .sf-gl, .sf-gearrow .sf-gl { width: 1.9em; height: 1.9em; color: var(--dim); }
.sf-item-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-item-n small { display: block; font-size: .8em; color: var(--faint); }
.sf-item b { font-weight: 400; }
.sf-item.dragging, .sf-att.dragging, .sf-wcard-h.dragging { opacity: .35; }
.sf-inv.dragging [data-drop].over { background: rgba(243, 240, 233, .08); box-shadow: inset 0 0 0 1px var(--dim); }
.sf-bar { height: 2px; }
.sf-bar.cap { margin-bottom: .8em; } .sf-bar.low i { background: var(--bad); }
.sf-gearbox { margin-bottom: 1em; border-radius: .12em; }
.sf-gearrow { display: flex; align-items: center; gap: .8em; padding: .35em 0; border-bottom: 1px solid var(--line2); }
.sf-gearrow .sf-bar { width: 9em; flex: none; }
.sf-gearrow.none { color: var(--faint); } .sf-gearrow.none .sf-gl { color: var(--faint); }
.sf-wcards { display: flex; flex-direction: column; gap: .6em; }
.sf-wcard { border: 1px solid var(--line2); border-radius: .2em; padding: .6em .9em .7em; transition: background .12s; }
.sf-wcard.active { border-color: var(--line); }
.sf-wcard-h { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 1em; cursor: grab; touch-action: none; }
.sf-wcard-h > span, .sf-wcard-h > b { grid-column: 1; } .sf-wcard-h > small { grid-column: 1; }
.sf-wcard-h > em { grid-column: 2; grid-row: 1 / span 3; align-self: center; font-style: normal; font-size: 1.5em; font-weight: 300; white-space: nowrap; }
.sf-wcard-h > em u { text-decoration: none; font-size: .62em; color: var(--dim); } .sf-wcard-h > em q { quotes: none; font-size: .5em; color: var(--faint); margin-left: .3em; }
.sf-wpic { grid-column: 1 / -1; display: block; width: 100%; height: min(8.8em, 11.5vh); object-fit: contain; object-position: center; margin: .1em 0 0; pointer-events: none; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)); }
.sf-wcard-h .sf-gl.big { grid-column: 1 / -1; justify-self: center; }
.sf-wcard-h span { font-size: .78em; color: var(--faint); letter-spacing: .04em; }
.sf-wcard.active .sf-wcard-h span { color: var(--warm); }
.sf-wcard-h b { font-size: 1.15em; font-weight: 300; }
.sf-wcard-h small { font-size: .8em; color: var(--dim); }
.sf-wcard-h .sf-gl.big { width: 9em; height: 6em; stroke-width: .6; color: var(--dim); }
.sf-wcard-e { padding: .5em 0 .2em; color: var(--faint); font-size: .92em; }
.sf-atts { display: grid; grid-template-columns: repeat(5, 1fr); gap: .35em; margin-top: .6em; }
.sf-att { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1em; min-width: 0; height: min(5.2em, 6.8vh); padding: .2em .3em; border: 1px dashed var(--line); border-radius: .14em; font-size: .8em; color: var(--faint); }
.sf-att span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-att .sf-gl { width: 1.9em; height: 1.9em; opacity: .7; }
.sf-att .sf-pic { width: 100%; height: min(3.3em, 4vh); flex: none; }
.sf-ghost .sf-pic { width: 2.6em; height: 2.6em; }
.sf-wcards { flex: 1; justify-content: flex-start; }
.sf-att.full { border-style: solid; border-color: var(--line); color: var(--ink); cursor: grab; touch-action: none; background: rgba(243, 240, 233, .05); }
.sf-att.na { border-color: transparent; background: repeating-linear-gradient(135deg, transparent 0 .45em, var(--line2) .45em calc(.45em + 1px)); }
.sf-att.na span { display: none; }
.sf-ghost { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .6em; padding: .35em .8em; background: rgba(17, 21, 23, .85); border: 1px solid var(--dim); border-radius: .16em; pointer-events: none; z-index: 5; white-space: nowrap; }

/* ---- map --------------------------------------------------------------------------------------------------------- */
.sf-map { background: rgba(8, 12, 14, .42); align-items: center; justify-content: center; }
.sf-map-box { display: flex; align-items: stretch; gap: 2em; }
.sf-map-side { width: 13em; display: flex; flex-direction: column; text-shadow: var(--shadow); padding: .4em 0; font-weight: 400; }
.sf-map-side h3 { font-size: 1.9em; font-weight: 300; }
.sf-map-zone { margin-top: 1em; padding-top: .9em; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .15em; min-height: 4.5em; }
.sf-map-zone b { font-weight: 400; } .sf-map-zone span { color: var(--dim); font-size: .92em; } .sf-map-zone em { font-style: normal; color: var(--bad); font-size: .92em; }
.sf-legend { list-style: none; margin-top: 1.4em; padding-top: 1em; border-top: 1px solid var(--line); display: grid; gap: .5em; font-size: .9em; color: var(--dim); }
.sf-legend li { display: flex; align-items: center; gap: .8em; }
.sf-legend svg { width: 1.8em; height: 1.1em; fill: none; stroke: var(--ink); stroke-width: 1; overflow: visible; }
.sf-legend .wg { fill: var(--ink); stroke: none; } .sf-legend .z2 { stroke-dasharray: 2 2; } .sf-legend .ar { fill: var(--warm); stroke: none; } .sf-legend .bm { stroke: var(--bad); fill: rgba(226, 114, 93, .25); }
.sf-map-help { margin-top: auto; font-size: .82em; color: var(--dim); }
.sf-map-frame { position: relative; width: min(86vh, 68vw); height: min(86vh, 68vw); background: rgba(22, 30, 34, .78); border: 1px solid var(--line); overflow: hidden; }
.sf-map-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-map-frame.noimg img { display: none; }
.sf-map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line2) 1px, transparent 1px), linear-gradient(90deg, var(--line2) 1px, transparent 1px); background-size: 12.5% 12.5%; opacity: .7; }
.sf-map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sf-m-out { fill: rgba(10, 14, 18, .38); }
.sf-m-zone { fill: none; stroke: #f6f3ec; stroke-width: 1.2; }
.sf-m-next { fill: none; stroke: #f6f3ec; stroke-width: 1; stroke-dasharray: 5 5; opacity: .85; }
.sf-m-bomb { fill: rgba(226, 114, 93, .2); stroke: var(--bad); stroke-width: 1; stroke-dasharray: 2 3; }
.sf-m-place { font-size: .86em; font-weight: 400; fill: #f6f3ec; text-anchor: middle; paint-order: stroke; stroke: rgba(10, 14, 16, .7); stroke-width: 3px; stroke-linejoin: round; letter-spacing: .04em; }
.sf-m-drop path { fill: rgba(17, 21, 23, .5); stroke: #f6f3ec; stroke-width: 1.1; }
.sf-m-rack path { fill: #f6f3ec; stroke: rgba(17, 21, 23, .75); stroke-width: 1.1; stroke-linejoin: round; }
.sf-m-rack.gone path { fill: rgba(17, 21, 23, .35); stroke: rgba(246, 243, 236, .7); }
.sf-m-cable path { stroke: #f6f3ec; stroke-width: 1.6; stroke-dasharray: 7 3; fill: none; } .sf-m-cable path.u { stroke: rgba(17, 21, 23, .7); stroke-width: 3.6; stroke-dasharray: none; } .sf-m-cable circle, .sf-m-cable path.a { fill: #f6f3ec; stroke: rgba(17, 21, 23, .75); stroke-width: 1.1; stroke-dasharray: none; stroke-linejoin: round; }
.sf-legend .cb { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 3 1.5; fill: none; }
.sf-m-wire path { stroke: #f0d488; stroke-width: 2.4; stroke-linecap: round; } .sf-m-wire path.u { stroke: rgba(17, 21, 23, .7); stroke-width: 4.6; } .sf-m-wire circle { fill: #f0d488; stroke: rgba(17, 21, 23, .6); stroke-width: .8; } /* round 12: own squad's tripwires on the map */
.sf-m-mark path { fill: rgba(17, 21, 23, .45); stroke: currentColor; stroke-width: 1.4; } .sf-m-mark circle { fill: currentColor; }
.sf-m-sq path { fill: currentColor; stroke: rgba(10, 14, 16, .8); stroke-width: 1; stroke-linejoin: round; }
.sf-m-sq circle { fill: none; stroke: currentColor; stroke-width: 1; opacity: .8; }
.sf-scale { position: absolute; left: 1.2em; bottom: 1em; font-size: .8em; text-shadow: var(--shadow); }
.sf-scale i { display: block; height: .45em; border: 1px solid var(--ink); border-top: 0; margin-bottom: .2em; }
.sf-north { position: absolute; right: 1.1em; top: .8em; font-size: .86em; font-weight: 400; text-shadow: var(--shadow); padding-top: .9em; }
.sf-north::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: .8em; background: var(--ink); }

/* ---- end --------------------------------------------------------------------------------------------------------- */
.sf-end { background: radial-gradient(ellipse at center, rgba(8, 12, 14, .72), rgba(8, 12, 14, .4) 75%); align-items: center; justify-content: center; text-shadow: var(--shadow); }
.sf-end-box { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sf-end-k { font-size: .9em; font-weight: 400; letter-spacing: .14em; color: var(--dim); }
.sf-end-h { font-size: 3.6em; font-weight: 200; margin-top: .15em; }
.sf-end-p { margin-top: .4em; font-size: 1.15em; font-weight: 400; color: var(--dim); }
.sf-stats { display: flex; flex-wrap: wrap; justify-content: center; max-width: 94vw; margin: 2.4em 0 2.6em; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sf-stat { padding: 1.1em 1.7em; white-space: nowrap; display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--line2); }
.sf-stat:last-child { border-right: 0; }
.sf-stat b { font-size: 2.1em; font-weight: 300; } .sf-stat span { font-size: .86em; font-weight: 400; color: var(--dim); }
.sf-end .sf-btn { text-shadow: none; }

/* ---- loading ----------------------------------------------------------------------------------------------------- */
.sf-loading { position: absolute; left: 50%; bottom: 7vh; width: min(22em, 60vw); transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity .5s; text-shadow: var(--shadow); }
.sf-loading.on { opacity: 1; }
.sf-loading-t { font-size: .86em; color: var(--dim); margin-bottom: .6em; }
.sf-loading-bar { height: 1px; background: var(--line); }
.sf-loading-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left center; transform: scaleX(0); transition: transform .2s; }

@media (max-width: 900px) {
  .sf-cards { grid-template-columns: repeat(2, 1fr); } .sf-cols { grid-template-columns: 1fr; }
  .sf-set-rail { width: 10em; padding-left: 1.2em; } .sf-map-side { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sf-ui * { animation-duration: .01s !important; transition-duration: .01s !important; } }

/* the loose "Enable sound" button the page adds (#snd) gives way to the HUD while playing: hidden once sound is on, otherwise tucked under the compass */
body[data-sf-screen="play"][data-sf-sound="on"] #snd { display: none !important; }
body[data-sf-screen="play"] #snd { left: 50% !important; bottom: auto !important; top: 8.6em !important; padding: 5px 10px !important; font-size: 11px !important; opacity: .8; }
.sf-lo-squadrow .sf-row-l { width: 18em !important; }

/* ---- round 2b: compact loadout (two columns: primary | secondary, then sidearm+armour | supplies) -------------------- */
.sf-lo-box { width: min(104em, 97vw); height: min(56em, 95vh); padding: 1.1em 1.6em .9em; }
.sf-lo-head { margin-bottom: .6em; }
.sf-lo-t h2 { font-size: 1.6em; }
.sf-lo-t p { margin-top: .1em; }
.sf-seg.sf-lo-modes { gap: .5em; margin-bottom: .6em; }
.sf-lo-modes .sf-mode { flex-direction: column; align-items: flex-start; gap: .15em; padding: .5em .9em .6em; min-width: 0; }
.sf-lo-modes .sf-mode-n { font-size: 1em; white-space: nowrap; }
.sf-lo-modes .sf-mode-l { font-size: .8em; line-height: 1.35; white-space: normal; min-width: 0; }
.sf-lo-cols { grid-template-columns: minmax(0, 1fr) 16em; gap: 0 1.4em; }
.sf-lo-sum { padding: .7em .9em; }
.sf-lo-sum li { padding: .32em 0; }
.sf-lo-main { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.6em; align-content: start; }
.sf-lo-main > .sf-note, .sf-lo-main > .sf-btn, .sf-lo-main > .sf-lo-squadrow { grid-column: 1 / -1; }
.sf-lo-sec { margin-bottom: .2em; min-width: 0; }
.sf-lo-sec .sf-sub:first-child { margin-top: .2em; margin-bottom: .3em; }
.sf-seg.sf-wpick { grid-template-columns: repeat(4, 1fr); gap: .3em; }
.sf-wp { padding: .3em .5em .35em; }
.sf-wp b { font-size: .92em; max-width: 100%; }
.sf-wp small { font-size: .7em; max-width: 100%; }
.sf-wp-g, .sf-wstats { display: none; }
.sf-wp.none small { display: none; }
.sf-lo-detail { margin: .35em 0 .1em; font-size: .78em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-lo-atts .sf-row, .sf-lo-sec .sf-row { padding: .12em 0; min-height: 2em; gap: .6em; }
.sf-lo-atts .sf-row-l, .sf-lo-sec .sf-row-l, .sf-lo-main .sf-row-l { width: 5.6em; }
.sf-lo-atts .sf-seg, .sf-lo-sec .sf-seg { flex-wrap: wrap; gap: .25em; }
.sf-lo-counts { grid-template-columns: 1fr 1fr; gap: 0 1em; }
.sf-lo-counts .sf-row { min-height: 2.1em; padding: .1em 0; }
.sf-lo-counts .sf-row-l { width: 5.2em; }
.sf-lo-squadrow .sf-row-l { width: 16em !important; }
.sf-lo-squadrow .sf-row { min-height: 2.2em; }
/* the title's kit line stays on one line */
.sf-title-kit { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(46em, 90vw); }

/* ---- round 2b: HUD-owned sound control, muzzle-blocked marker, breath arc; the page's loose elements stay hidden ---- */
#snd, #sf-muzzle-blocked { display: none !important; }
.sf-hudsound { display: block; margin-top: .55em; padding: .3em .75em; pointer-events: auto; font-size: .78em; letter-spacing: .06em; color: var(--dim); border: 1px solid var(--line); border-radius: .16em; background: rgba(17, 21, 23, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sf-hudsound:hover { color: var(--ink); border-color: var(--dim); }
.sf-hudsound[hidden] { display: none; }
.sf-muzzle { position: absolute; left: 50%; top: 50%; width: 0; height: 0; opacity: 0; transition: opacity .1s; }
.sf-muzzle i { position: absolute; left: -.7em; top: -.7em; width: 1.4em; height: 1.4em; border: 1px solid rgba(238, 120, 90, .85); border-radius: 50%; box-shadow: 0 0 2px rgba(0, 0, 0, .6); }
.sf-muzzle i::before, .sf-muzzle i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 1.4em; height: 1px; background: rgba(238, 120, 90, .85); transform: translate(-50%, -50%) rotate(45deg); }
.sf-muzzle i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sf-breath { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .25s; fill: none; pointer-events: none; }
.sf-breath path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sf-breath .bg { stroke: rgba(10, 12, 12, .35); stroke-width: 3; }
.sf-breath .fg { stroke: rgba(240, 238, 230, .85); stroke-width: 1.6; stroke-dasharray: 100 100; }
.sf-breath.hold .fg { stroke: var(--cool); }
.sf-breath.low .fg { stroke: var(--warm); }
.sf-ui:not([data-screen="play"]) .sf-hudsound { display: none; }
.sf-lo-counts .sf-row-l { width: 7.2em; white-space: nowrap; }
.sf-lo-sec .sf-row-l small { white-space: normal; }

/* ---- round 4: readability, focus, banner/hint behaviour ---- */
.sf-keys span { white-space: nowrap; }
.sf-keys span::after { content: ' \00b7  '; white-space: pre; }
.sf-keys span:last-child::after { content: ''; }
.sf-hud .sf-compass { text-shadow: none; }
.sf-btn:focus-visible, .sf-ui .sf-card:focus-visible, .sf-ui .sf-mode:focus-visible, .sf-ui .sf-wp:focus-visible, .sf-ui .sf-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sf-card:focus-visible, .sf-mode:focus-visible, .sf-wp:focus-visible, .sf-chip:focus-visible { border-color: var(--ink); }
.sf-tab:focus-visible { color: var(--ink); }
.sf-hint, .sf-zone-phase, .sf-zone-what { text-shadow: var(--shadow); }
.sf-wp small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
.sf-lo-detail { white-space: normal; }
.sf-spect { color: var(--ink); font-weight: 500; letter-spacing: .04em; text-shadow: var(--shadow); }

/* ---- round 4b: slot/heal rows readable over pale walls; settings panels sized to content ---- */
.sf-br .sf-slots, .sf-br .sf-heals, .sf-br .sf-throw { text-shadow: var(--shadow); }
.sf-slots { color: rgba(243, 240, 233, .86); } .sf-slots em, .sf-slots b { color: rgba(243, 240, 233, .72); }
.sf-heal.none, .sf-throw .none { opacity: .72; }
.sf-br::before { content: ''; position: absolute; inset: -1.2em -2em -.8em -2em; z-index: -1; background: radial-gradient(ellipse closest-side, rgba(8, 12, 14, .42), rgba(8, 12, 14, 0)); pointer-events: none; }
.sf-br { z-index: 0; }
.sf-set-box { height: min(44em, 92vh); } /* round 6: the Match and Controls pages were cut in the middle of a row at 37em */
.sf-set-body { max-width: 56em; }
.sf-set-body .sf-row-l { width: 11em; }
.sf-set-body .sf-note { max-width: 40em; line-height: 1.55; }

/* round 4c: grenade fuse meter, cook hint */
.sf-cook { position: absolute; left: 50%; top: calc(50% + 2.6em); width: 6em; margin-left: -3em; height: 2px; background: rgba(243, 240, 233, .25); box-shadow: 0 0 0 1px rgba(8, 10, 12, .35); opacity: 0; transition: opacity .1s; }
.sf-cook.on { opacity: 1; }
.sf-cook i { position: absolute; inset: 0; background: var(--ink); transform-origin: left center; transform: scaleX(0); }
.sf-cook span { position: absolute; left: 0; right: 0; top: .5em; text-align: center; font-size: .78em; letter-spacing: .06em; color: var(--dim); text-shadow: var(--shadow); }
.sf-cook.urgent i { background: var(--bad); } .sf-cook.urgent span { color: var(--bad); animation: sf-blink .5s steps(2, jump-none) infinite; }
.sf-cookhint { margin-left: .6em; font-size: .78em; color: var(--dim); white-space: nowrap; }
.sf-ui[data-screen="menu"] .sf-cook { visibility: hidden; }

/* round 4d: armour break, wall block */
.sf-hit-g.helmet { stroke: var(--cool); color: var(--cool); stroke-width: 2; } .sf-hit-g.helmet .f { fill: var(--cool); } .sf-hit-g.helmet .b { stroke-width: 2.4; }
.sf-hit-g.break { stroke: #f0a35a; stroke-width: 2.2; animation-duration: .52s; } .sf-hit-g.break .b { stroke-width: 2.4; }
@keyframes sf-broke { 0%, 20%, 40% { opacity: 1; filter: drop-shadow(0 0 6px rgba(226, 114, 93, .95)); } 10%, 30% { opacity: .25; } 100% { opacity: 1; filter: none; } }
.sf-feed-l.brk { color: var(--ink); } .sf-feed-l.brk i { background: var(--bad); height: 2px; }
.sf-wall { position: absolute; left: 50%; top: calc(50% + 4.4em); transform: translateX(-50%); display: none; align-items: center; gap: .55em; font-size: .86em; color: var(--dim); letter-spacing: .05em; white-space: nowrap; text-shadow: var(--shadow); }
.sf-wall.on { display: flex; } .sf-wall svg { width: 2.2em; height: 1.1em; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .7)); }
.sf-ui.is-wall .sf-cross { opacity: .3 !important; }
.sf-ui[data-screen="menu"] .sf-wall { visibility: hidden; }

.sf-dtable { max-width: 44em; margin-top: .4em; } .sf-dtable div { display: flex; justify-content: space-between; align-items: baseline; gap: 2em; padding: .45em 0; border-bottom: 1px solid var(--line2); }
.sf-dtable span { display: flex; flex-direction: column; } .sf-dtable small { font-size: .8em; color: var(--faint); } .sf-dtable b { font-weight: 400; font-size: 1.15em; }
.sf-cook.urgent { height: 3px; } .sf-cook.urgent span { font-weight: 500; }
.sf-set-body .sf-card { min-height: 10.5em; padding: 1em 1em 1.1em; } .sf-dtable div { padding: .3em 0; } .sf-dtable .sf-sub { margin: 1em 0 .2em; border: 0; padding: 0; display: block; }

/* squad mate markers */
.sf-tags { position: absolute; inset: 0; pointer-events: none; }
.sf-tag { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .15s; will-change: transform; }
.sf-tag-m { position: absolute; left: -.42em; top: -1.15em; width: .84em; height: .84em; background: currentColor; transform: rotate(45deg) scale(.85); border: 1px solid rgba(8, 10, 12, .65); box-shadow: 0 0 3px rgba(0, 0, 0, .6); }
.sf-tag-n { position: absolute; left: -2em; width: 4em; top: -2.7em; text-align: center; font-size: .72em; letter-spacing: .06em; color: currentColor; text-shadow: var(--shadow); }
.sf-tag.knocked .sf-tag-m { background: transparent; border: 2px solid currentColor; box-shadow: 0 0 3px rgba(0, 0, 0, .8), inset 0 0 2px rgba(0, 0, 0, .6); animation: sf-blink 1s steps(2, jump-none) infinite; }
.sf-tag-a { position: absolute; left: -.35em; top: -.65em; width: 0; height: 0; border: .35em solid transparent; border-bottom: .6em solid currentColor; display: none; transform-origin: 50% 70%; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .8)); }
.sf-tag.edge .sf-tag-a { display: block; } .sf-tag.edge .sf-tag-m { top: -.45em; }
.sf-tag.edge .sf-tag-n { top: 1em; }
.sf-ui.is-aimed .sf-tags, .sf-ui[data-screen="menu"] .sf-tags, .sf-ui[data-ov="inventory"] .sf-tags, .sf-ui[data-ov="map"] .sf-tags { visibility: hidden; }

/* the one hint line: top left, under the title and zone block */
.sf-tl { display: flex; flex-direction: column; align-items: flex-start; }
.sf-tl .sf-hint { order: 9; position: static; transform: none; left: auto; bottom: auto; margin-top: 1em; padding: 0; background: none; max-width: 100%; font-size: .82em; border-radius: 0; color: var(--dim); text-shadow: var(--shadow); white-space: nowrap; overflow: visible; }
.sf-tl .sf-zone { order: 1; }

.sf-tag-m { left: -.55em; top: -1.4em; width: 1.05em; height: 1.05em; }
.sf-tag-a { left: -.45em; top: -.8em; border-width: .45em; border-bottom-width: .8em; }
.sf-tag.edge .sf-tag-m { top: -.55em; }
.sf-spect b { font-weight: 500; } .sf-spect small { margin-left: .6em; color: var(--dim); } .sf-spect .sf-spect-k { display: block; margin: .2em 0 0; font-size: .78em; }
.sf-ui .sf-tl .sf-spect, .sf-spect { text-align: center; }
.sf-radio-to { margin-right: .6em; font-size: .8em; color: var(--dim); }
.sf-prompt.off { opacity: .62; } .sf-prompt.off kbd { border-style: dashed; } .sf-prompt-why { margin-left: .4em; font-size: .82em; color: var(--warm); }
.sf-spect { margin-top: 1.6em; }

/* gamepad: menu focus ring, shown while the pad is the device in use (the keyboard keeps :focus-visible) */
.sf-padnav .sf-ui button:focus, .sf-padnav .sf-ui input:focus, .sf-padnav .sf-ui [tabindex="0"]:focus { outline: 2px solid var(--ink); outline-offset: 3px; background-color: rgba(243, 240, 233, .09); }
.sf-padnav .sf-ui .sf-tab:focus { outline: none; color: var(--ink); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; background-color: transparent; }
.sf-padnav .sf-ui .sf-chip:focus, .sf-padnav .sf-ui .sf-card:focus, .sf-padnav .sf-ui .sf-wp:focus, .sf-padnav .sf-ui .sf-mode:focus { border-color: var(--ink); }
.sf-padmap { width: 100%; max-width: 48em; margin-top: 1.4em; border-collapse: collapse; font-size: .88em; color: var(--dim); }
.sf-padmap th, .sf-padmap td { text-align: left; font-weight: 400; padding: .38em .8em .38em 0; border-bottom: 1px solid var(--line2); vertical-align: top; }
.sf-padmap tbody th { color: var(--ink); white-space: nowrap; width: 8.5em; }
.sf-padmap thead th, .sf-padmap thead td { color: var(--faint); font-size: .9em; letter-spacing: .08em; text-transform: uppercase; }
.sf-padh { margin-top: 2.2em; }

/* ---- show: kill cam / final kill overlay (replay.js; lives outside .sf-ui so it survives the HUD being hidden) ---------- */
body.sf-replaying .sf-ui .sf-hud, body.sf-replaying .sf-ui .sf-reticle, body.sf-replaying #snd { visibility: hidden !important; }
.sf-kc { --ink: #f3f0e9; --dim: rgba(243, 240, 233, .8); --line: rgba(243, 240, 233, .28); --bad: #e2725d; --warm: #e7b765;
  position: fixed; inset: 0; z-index: 12; pointer-events: none; opacity: 0; transition: opacity .25s; color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(13px, 1vh + .3vw, 38px); font-weight: 300; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; text-shadow: 0 0 2px rgba(0, 0, 0, .85), 0 1px 3px rgba(0, 0, 0, .6), 0 0 .8em rgba(0, 0, 0, .5); }
.sf-kc.on { opacity: 1; }
.sf-kc-bar { position: absolute; left: 0; right: 0; height: 7.5vh; background: #07090a; transform: scaleY(0); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.sf-kc-top { top: 0; transform-origin: top; } .sf-kc-bot { bottom: 0; transform-origin: bottom; }
.sf-kc.on .sf-kc-bar { transform: scaleY(1); }
.sf-kc-k { position: absolute; left: 2.4em; top: calc(7.5vh + 1.3em); display: flex; align-items: center; gap: .65em; font-size: .86em; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.sf-kc-k i { width: .55em; height: .55em; border-radius: 50%; background: var(--bad); box-shadow: 0 0 .6em rgba(226, 114, 93, .8); animation: sf-kc-rec 1.1s steps(2, jump-none) infinite; }
.sf-kc.final .sf-kc-k i { background: var(--warm); box-shadow: 0 0 .6em rgba(231, 183, 101, .8); animation: none; }
@keyframes sf-kc-rec { 50% { opacity: .15; } }
.sf-kc-who { position: absolute; left: 2.4em; bottom: calc(7.5vh + 1.5em); max-width: 60vw; }
.sf-kc-n { font-size: 1.9em; font-weight: 200; line-height: 1.15; } .sf-kc-n b { font-weight: 500; } .sf-kc-n span { color: var(--dim); }
.sf-kc-d { margin-top: .35em; font-size: .95em; font-weight: 400; color: var(--dim); letter-spacing: .03em; } .sf-kc-d b { font-weight: 400; margin: 0 .55em; opacity: .55; }
.sf-kc-d:empty { display: none; }
.sf-kc-skip { position: absolute; right: 2.4em; bottom: calc(7.5vh + 1.6em); font-size: .86em; font-weight: 400; color: var(--dim); display: flex; align-items: center; gap: .6em; }
.sf-kc-skip kbd { font: inherit; font-size: .9em; padding: .18em .6em; border: 1px solid var(--line); border-radius: .2em; color: var(--ink); background: rgba(10, 14, 16, .35); text-shadow: none; }
.sf-kc-prog { position: absolute; left: 0; right: 0; bottom: 7.5vh; height: 2px; background: rgba(243, 240, 233, .12); }
.sf-kc-prog i { display: block; height: 100%; background: var(--ink); opacity: .75; transform-origin: left; transform: scaleX(0); }
.sf-kc.final .sf-kc-prog i { background: var(--warm); }
.sf-kc-fade { position: absolute; inset: 0; background: #050607; opacity: 0; }

/* ---- show: results screen --------------------------------------------------------------------------------------- */
.sf-end:has(.sf-result) { background: linear-gradient(90deg, rgba(8, 12, 14, .82), rgba(8, 12, 14, .62) 55%, rgba(8, 12, 14, .5)); }
.sf-end-box:has(.sf-result) { align-items: stretch; text-align: left; width: min(64em, 92vw); max-height: 94vh; }
.sf-result { display: grid; grid-template-columns: minmax(0, 1fr) 21em; gap: 3.2em; align-items: start; }
.sf-result.nomap { grid-template-columns: minmax(0, 1fr); }
.sf-result .sf-end-k { text-transform: uppercase; font-size: .8em; letter-spacing: .26em; }
.sf-res-head { display: flex; align-items: center; gap: 1.1em; margin-top: .5em; }
.sf-res-place { font-size: 6.2em; font-weight: 200; line-height: .9; letter-spacing: -.03em; padding-right: .18em; border-right: 1px solid var(--line); }
.sf-res-place sup { font-size: .3em; font-weight: 400; letter-spacing: .02em; vertical-align: top; position: relative; top: .35em; margin-left: .08em; color: var(--dim); }
.sf-res-place.won { color: var(--warm); } .sf-res-place.won sup { color: var(--warm); opacity: .8; }
.sf-result .sf-end-h { font-size: 2.5em; margin-top: 0; line-height: 1.1; }
.sf-result .sf-end-p { font-size: 1em; margin-top: .35em; }
.sf-res-cause { margin-top: .3em; font-size: .92em; font-weight: 400; color: var(--faint); } .sf-res-cause b { font-weight: 500; color: var(--ink); }
.sf-res-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 1.9em 0 0; border-top: 1px solid var(--line); }
.sf-res-c { padding: .85em 1em .8em 0; border-bottom: 1px solid var(--line2); display: flex; flex-direction: column; min-width: 0; }
.sf-res-c + .sf-res-c:not(:nth-child(4n + 1)) { padding-left: 1em; border-left: 1px solid var(--line2); }
.sf-res-c b { font-size: 1.9em; font-weight: 300; line-height: 1.1; white-space: nowrap; } .sf-res-c span { font-size: .84em; font-weight: 400; color: var(--dim); margin-top: .15em; }
.sf-res-c small { font-size: .74em; color: var(--faint); margin-top: .05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-res-sq { margin-top: 1.6em; font-size: .92em; }
.sf-res-h, .sf-res-r { display: grid; grid-template-columns: minmax(0, 1fr) 6.5em 6.5em 7em; align-items: baseline; }
.sf-res-h > span { font-size: .74em; } .sf-res-h span:not(:first-child) { margin-right: -.14em; }
.sf-res-h { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding-bottom: .5em; border-bottom: 1px solid var(--line); }
.sf-res-h span:not(:first-child), .sf-res-r span:not(:first-child) { text-align: right; }
.sf-res-r { padding: .42em 0; border-bottom: 1px solid var(--line2); font-weight: 400; }
.sf-res-r i { display: inline-block; width: .55em; height: .55em; border-radius: 50%; margin-right: .7em; vertical-align: .08em; }
.sf-res-r small { margin-left: .5em; font-size: .8em; color: var(--faint); } .sf-res-r small.st { letter-spacing: .06em; }
.sf-res-r.me { color: var(--ink); } .sf-res-r.out { color: var(--dim); } .sf-res-r.out i { opacity: .55; }
.sf-res-map { margin: 2.2em 0 0; }
.sf-res-map canvas { display: block; width: 21em; height: 21em; border: 1px solid var(--line); border-radius: .16em; box-shadow: 0 1em 3em rgba(0, 0, 0, .35); }
.sf-res-map figcaption { display: flex; flex-wrap: wrap; gap: .4em 1.2em; margin-top: .8em; font-size: .8em; font-weight: 400; color: var(--dim); }
.sf-res-map figcaption i { display: inline-block; vertical-align: .1em; margin-right: .5em; }
.sf-res-map .rt { width: 1.4em; height: 2px; background: var(--ink); } .sf-res-map .kl { width: .55em; height: .55em; background: var(--warm); transform: rotate(45deg); }
.sf-res-map .dd { width: .7em; height: .7em; background: linear-gradient(45deg, transparent 42%, var(--bad) 42% 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, var(--bad) 42% 58%, transparent 58%); }
.sf-res-map .zn { width: .9em; height: .9em; border: 1px dashed var(--cool); border-radius: 50%; }
.sf-res-btns { margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
@media (max-aspect-ratio: 4/3) { .sf-result { grid-template-columns: minmax(0, 1fr); } .sf-res-map { display: none; } }
/* show: kill confirm detail */
.sf-confirm span b { font-weight: 600; } .sf-confirm span small { font-size: .82em; color: var(--dim); } .sf-confirm span small.hs { color: var(--warm); }
/* show: the pause menu / settings opened during a replay sit above the letterbox */
body[data-sf-screen="menu"] .sf-kc, body[data-sf-screen="settings"] .sf-kc, body[data-sf-screen="loadout"] .sf-kc { display: none; }

/* polish r5b: key names follow the last-used device (body.sf-padnav is set by gamepad.js) */
.sf-pad-only { display: none; }
body.sf-padnav .sf-pad-only { display: inline; }
body.sf-padnav .sf-kb-only { display: none; }
.sf-padnav .sf-inv .sf-padfocus { outline: 2px solid var(--ink); outline-offset: 2px; background-color: rgba(243, 240, 233, .09); }
body:not(.sf-padnav) .sf-inv .sf-padfocus { outline: none; }

/* ---- first60: the loading screen is the title, quiet and alive; buttons appear only when the island can be played ---- */
.sf-loadbg { position: absolute; inset: 0; z-index: 0; opacity: 0; pointer-events: none; transition: opacity 1.8s ease .15s; overflow: hidden;
  background: radial-gradient(120% 70% at 72% 58%, rgba(70, 80, 84, .55), rgba(16, 21, 24, 0) 60%), linear-gradient(180deg, #11171b 0%, #1a2227 46%, #20292e 56%, #0c1013 100%); }
.sf-loadbg i { position: absolute; left: -30%; right: -30%; top: 47%; height: 14%; background: radial-gradient(50% 50% at 50% 50%, rgba(214, 205, 186, .16), rgba(214, 205, 186, 0) 70%); filter: blur(8px); animation: sf-haze 14s ease-in-out infinite alternate; }
.sf-loadbg b { position: absolute; left: 0; right: 0; top: 54.5%; height: 1px; background: linear-gradient(90deg, rgba(220, 214, 200, 0), rgba(220, 214, 200, .13) 55%, rgba(220, 214, 200, 0)); animation: sf-breathe 6s ease-in-out infinite alternate; }
@keyframes sf-haze { from { transform: translateX(-9%) scaleY(.85); opacity: .65; } to { transform: translateX(9%) scaleY(1.1); opacity: 1; } }
@keyframes sf-breathe { from { opacity: .45; } to { opacity: 1; } }
.sf-ui.is-loading .sf-loadbg { opacity: 1; transition: none; }
.sf-ui.is-loading .sf-title { background: none; }
.sf-ui.is-loading .sf-title :is(.sf-btnrow, .sf-title-kit, .sf-sound, .sf-title-hint) { display: none; }
.sf-title .sf-loading { position: static; transform: none; width: min(24em, 70vw); margin-top: 2.4em; text-align: left; display: none; }
.sf-title .sf-loading.on { display: block; }
.sf-title .sf-loading-t { margin-bottom: .7em; letter-spacing: .04em; }
.sf-title .sf-loading-bar { height: 2px; background: rgba(243, 240, 233, .14); }
.sf-ui:not(.is-loading) .sf-title :is(.sf-btnrow, .sf-title-kit, .sf-sound, .sf-title-hint) { animation: sf-rise .7s ease both; }
@keyframes sf-rise { from { opacity: 0; transform: translateY(.5em); } to { opacity: 1; transform: none; } }
/* the page's own boot line (index.html) shows for the first moment before the modules run: same place, size and backdrop as the title that replaces it */
html > body { background: linear-gradient(180deg, #11171b 0%, #1a2227 46%, #20292e 56%, #0c1013 100%) fixed; }
body > #boot { left: 7vw; top: 13vh; font: 300 clamp(13px, 1vh + .3vw, 38px)/1.35 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: #f3f0e9; letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
body > #boot b { display: inline-block; font-size: 5.2em; font-weight: 200; letter-spacing: .12em; line-height: 1; text-transform: none; margin: 0 0 .17em -.04em; }
body > #boot br { display: none; }
body > #boot span { display: block; margin-top: .9em; padding-top: .9em; border-top: 1px solid rgba(243, 240, 233, .22); font-size: .86em; color: rgba(243, 240, 233, .84); width: 24em; }
/* the attract picture is sharp now (no menu blur behind the bare title): a slightly deeper shade keeps the panel legible over sunlit walls */
.sf-ui:not(.is-loading) .sf-title { background: linear-gradient(100deg, rgba(8, 12, 14, .7), rgba(8, 12, 14, .4) 34%, rgba(8, 12, 14, .08) 58%, rgba(8, 12, 14, 0) 72%); }
/* first60: during the scripted run-in to the slipway nothing invites an action the viewer cannot take */
.sf-ui.is-landing :is(.sf-prompt, .sf-cross, .sf-reticle, .sf-vehicle, .sf-action) { visibility: hidden; }
/* r8 attract: the settings panel. On a tall screen it grew no taller than 44em, so the Match page was cut in the middle of the Kill cam row at 2560x1440; the notes beside the labels wrapped to six lines in an 11em column (Time of day, now six buttons); and nothing showed that a page went on below the edge. */
.sf-set-box { height: min(60em, 92vh); }
.sf-set-body { max-width: 60em; padding-bottom: 2.6em; }
.sf-set-body .sf-row-l { width: 14em; }
.sf-set-body.sf-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 3.4em), rgba(0, 0, 0, .12)); mask-image: linear-gradient(to bottom, #000 calc(100% - 3.4em), rgba(0, 0, 0, .12)); }

/* ---- round 12: the armoury. The loadout over its own live picture: the soldier (or the bench) fills the frame, the kit sheet
   runs down the left, the choices for the slot in focus down the right, the weapon's attachment points sit on the model. ---- */
.sf-loadout.sf-arm-live { background: none; }
.sf-arm { position: absolute; inset: 0; width: auto; height: auto; padding: 0; background: none; border: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; display: block; }
.sf-loadout:not(.sf-arm-live) .sf-arm { background: rgba(8, 12, 14, .35); }
.sf-arm::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(7, 10, 12, .62) 0, rgba(7, 10, 12, .28) 19em, rgba(7, 10, 12, 0) 27em), linear-gradient(180deg, rgba(7, 10, 12, .5) 0, rgba(7, 10, 12, 0) 7em), linear-gradient(0deg, rgba(7, 10, 12, .38) 0, rgba(7, 10, 12, 0) 5em); }
.sf-arm-stage { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.sf-arm-stage.drag { cursor: grabbing; }
.sf-arm-top { position: absolute; left: 2.2em; right: 2.2em; top: 1.3em; display: flex; align-items: center; gap: 1.6em; text-shadow: var(--shadow); }
.sf-arm-t { flex: none; width: 17.6em; }
.sf-arm-t h2 { font-size: 1.75em; font-weight: 200; letter-spacing: .02em; line-height: 1.05; }
.sf-arm-t p { margin-top: .2em; font-size: .78em; color: var(--dim); line-height: 1.35; }
.sf-arm-modes { flex: none; gap: 0; border: 1px solid var(--line); border-radius: .16em; background: rgba(12, 16, 18, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sf-arm-modes .sf-chip { border: 0; border-radius: 0; padding: .48em 1.05em; text-shadow: none; }
.sf-arm-modes .sf-chip + .sf-chip { border-left: 1px solid var(--line2); }
.sf-arm-modes .sf-chip[aria-checked="true"] { background: rgba(243, 240, 233, .9); color: #14181a; }
.sf-arm-top .sf-lo-actions { margin-left: auto; }
.sf-arm-top .sf-btn { text-shadow: none; }
/* the kit sheet */
.sf-arm-sheet { position: absolute; left: 2.2em; top: 6.4em; width: 17.6em; display: flex; flex-direction: column; text-shadow: var(--shadow); }
.sf-arm-slot { display: flex; align-items: center; gap: .85em; width: 100%; text-align: left; padding: .52em .7em .52em .55em; border-left: 2px solid transparent; border-bottom: 1px solid var(--line2); color: var(--dim); transition: background .15s, border-color .15s, color .15s, padding .15s; }
.sf-arm-slot .sf-gl { width: 1.9em; height: 1.9em; opacity: .85; }
.sf-arm-slot > span { display: flex; flex-direction: column; min-width: 0; }
.sf-arm-slot em { font-style: normal; font-size: .68em; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.sf-arm-slot b { font-weight: 400; font-size: 1.04em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-arm-slot small { font-size: .74em; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-arm-slot.empty b { color: var(--faint); font-weight: 300; font-style: italic; }
.sf-arm-slot.empty .sf-gl { opacity: .4; stroke-dasharray: 2 2.4; }
.sf-arm-slot:hover, .sf-arm-slot:focus-visible { background: linear-gradient(90deg, rgba(243, 240, 233, .1), rgba(243, 240, 233, 0)); outline: none; color: var(--ink); }
.sf-arm-slot.on { border-left-color: var(--warm); background: linear-gradient(90deg, rgba(231, 183, 101, .16), rgba(231, 183, 101, 0)); padding-left: .9em; }
.sf-arm-slot.on em { color: var(--warm); }
.sf-arm-squad { margin-top: 1em; font-size: .86em; }
.sf-arm-squad .sf-toggle { display: inline-flex; align-items: center; gap: .6em; color: var(--dim); }
/* the panel for the slot in focus */
.sf-arm-panel { position: absolute; right: 2.2em; top: 6.4em; bottom: 3.6em; width: 25em; overflow-y: auto; padding: 1em 1.2em 1.1em; background: rgba(12, 16, 18, .56); border: 1px solid var(--line2); border-radius: .2em; backdrop-filter: blur(14px) saturate(.9); -webkit-backdrop-filter: blur(14px) saturate(.9); scrollbar-width: thin; scrollbar-color: var(--line) transparent; align-self: start; height: max-content; max-height: calc(100% - 10em); }
.sf-arm-ph h3 { font-size: 1.25em; font-weight: 300; }
.sf-arm-ph p { margin: .2em 0 .8em; font-size: .82em; color: var(--dim); line-height: 1.4; }
.sf-arm-pn { margin: .5em 0; font-size: .8em; color: var(--dim); line-height: 1.45; }
.sf-arm-btns { display: flex; flex-wrap: wrap; gap: .5em; }
.sf-arm-wlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3em; }
.sf-arm-wlist .sf-chip { padding: .38em .6em; min-width: 0; }
.sf-arm-wlist .sf-chip span { font-size: .92em; white-space: nowrap; }
.sf-arm-wlist .sf-chip small { font-size: .7em; color: var(--faint); }
.sf-arm-wlist .sf-chip[aria-checked="true"] { border-color: var(--warm); background: rgba(231, 183, 101, .12); }
.sf-arm-wst { margin: .8em 0 .2em; }
.sf-arm-wst .sf-st small { font-size: .62em; color: var(--faint); line-height: 1.2; }
.sf-arm-wst .sf-st u { background: var(--ink); }
.sf-arm-parts .sf-sub { margin: .9em 0 .25em; letter-spacing: .12em; text-transform: uppercase; font-size: .68em; }
.sf-arm-prow { display: grid; grid-template-columns: 1.6em 6.2em 1fr; align-items: center; gap: .6em; width: 100%; text-align: left; padding: .4em .3em; border-bottom: 1px solid var(--line2); color: var(--dim); }
.sf-arm-prow .sf-gl { width: 1.4em; height: 1.4em; opacity: .7; }
.sf-arm-prow em { font-style: normal; font-size: .82em; color: var(--faint); }
.sf-arm-prow b { font-weight: 400; color: var(--faint); text-align: right; }
.sf-arm-prow.fit b { color: var(--ink); }
.sf-arm-prow.fit .sf-gl { opacity: 1; color: var(--warm); }
.sf-arm-prow:hover, .sf-arm-prow:focus-visible { color: var(--ink); background: rgba(243, 240, 233, .06); outline: none; }
.sf-arm-prow.on { border-bottom-color: transparent; background: rgba(243, 240, 233, .06); }
.sf-arm-prow.on em { color: var(--warm); }
.sf-arm-pchips { padding: .45em .3em .2em; gap: .3em; background: rgba(243, 240, 233, .06); }
.sf-arm-pchips .sf-chip { padding: .3em .7em; }
.sf-arm-pchips .sf-chip[aria-checked="true"] { border-color: var(--warm); background: rgba(231, 183, 101, .14); }
.sf-arm-nums { padding: .5em .6em .6em; background: rgba(243, 240, 233, .06); border-bottom: 1px solid var(--line2); margin-bottom: .3em; }
.sf-arm-nums h5 { margin: 0 0 .35em; font-size: .86em; font-weight: 400; }
.sf-arm-nums h5 small { margin-left: .6em; font-size: .82em; color: var(--faint); font-weight: 300; }
.sf-arm-nums table { width: 100%; border-collapse: collapse; font-size: .8em; }
.sf-arm-nums th { text-align: left; font-weight: 300; color: var(--dim); padding: .14em 0; }
.sf-arm-nums td { text-align: right; color: var(--faint); padding: .14em 0 .14em .5em; white-space: nowrap; }
.sf-arm-nums td.to { width: 1.2em; text-align: center; }
.sf-arm-nums td b { font-weight: 500; color: var(--ink); }
.sf-arm-nums tr.up td b { color: var(--cool); }
.sf-arm-nums tr.down td b { color: var(--warm); }
.sf-arm-nums .sf-arm-pn { margin: .4em 0 0; }
.sf-arm-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: .35em; }
.sf-arm-tiers .sf-chip { padding: .55em .75em; gap: .25em; }
.sf-arm-tiers .sf-chip[aria-checked="true"] { border-color: var(--warm); background: rgba(231, 183, 101, .12); }
.sf-arm-tiers .sf-pips { margin-bottom: .15em; }
.sf-arm-counts { grid-template-columns: 1fr; }
.sf-arm-counts .sf-row-l { width: 9em; }
.sf-arm-sum h3 { display: none; }
.sf-arm-sum ul { list-style: none; }
.sf-arm-sum li { display: flex; align-items: flex-start; gap: .8em; padding: .38em 0; border-bottom: 1px solid var(--line2); }
.sf-arm-sum li.none { color: var(--faint); }
.sf-arm-sum li .sf-gl { width: 1.5em; height: 1.5em; color: var(--dim); }
.sf-arm-sum li span { display: flex; flex-direction: column; min-width: 0; }
.sf-arm-sum em { font-style: normal; font-size: .7em; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
.sf-arm-sum li b { font-weight: 400; }
.sf-arm-sum li small { color: var(--dim); font-size: .78em; }
.sf-arm-sum .sf-lo-squad { font-size: .8em; color: var(--dim); margin-top: .7em; }
/* attachment points on the weapon */
.sf-arm-marks { position: absolute; inset: 0; pointer-events: none; }
.sf-arm-mk { position: absolute; left: 0; top: 0; display: none; align-items: center; gap: .5em; pointer-events: auto; text-shadow: var(--shadow); white-space: nowrap; }
.sf-arm-mk.on { display: flex; }
.sf-arm-mk i { width: 1.05em; height: 1.05em; margin: -.525em 0 0 -.525em; border: 1.5px solid var(--ink); border-radius: 50%; background: rgba(12, 16, 18, .45); box-shadow: 0 0 0 3px rgba(12, 16, 18, .25); transition: transform .15s, background .15s; flex: none; }
.sf-arm-mk.fit i { background: var(--ink); }
.sf-arm-mk span { display: flex; flex-direction: column; margin-top: -.6em; font-size: .78em; line-height: 1.15; color: var(--ink); padding: .15em .45em; border-radius: .15em; background: rgba(12, 16, 18, .5); }
.sf-arm-mk span small { font-size: .85em; color: var(--dim); }
.sf-arm-mk:hover i, .sf-arm-mk.sel i { transform: scale(1.25); border-color: var(--warm); }
.sf-arm-mk.sel span { background: rgba(231, 183, 101, .9); color: #14181a; text-shadow: none; }
.sf-arm-mk.sel span small { color: rgba(20, 24, 26, .75); }
.sf-arm-hint { position: absolute; left: 50%; bottom: 1.1em; transform: translateX(-50%); font-size: .8em; color: var(--dim); text-shadow: var(--shadow); white-space: nowrap; pointer-events: none; }
body.sf-padnav .sf-arm-hint .sf-kb-only { display: none; }
.sf-ui .sf-arm-slot:focus-visible { outline: 1px solid var(--line); outline-offset: -1px; }

/* ---- round 25: marks (marks.js) - the squad's marks in the world: a glyph over the point, its distance above, clamped to the edge with an arrow off screen */
.sf-wmarks { position: absolute; inset: 0; pointer-events: none; }
.sf-wm { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .15s; will-change: transform; }
.sf-wm-g { position: absolute; left: -.75em; top: -1.9em; width: 1.5em; height: 1.5em; overflow: visible; filter: drop-shadow(0 0 1px rgba(6, 8, 10, .9)) drop-shadow(0 1px 2.5px rgba(6, 8, 10, .55)); }
.sf-wm-g path, .sf-wm-g circle { fill: rgba(14, 18, 20, .38); stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sf-wm-g .dot { fill: currentColor; stroke: none; }
.sf-wm-g .bar { fill: none; stroke-linecap: round; stroke-width: 1.8; }
.sf-wm.k-enemy .sf-wm-g path { fill: currentColor; stroke: rgba(8, 10, 12, .8); stroke-width: 1.1; }
.sf-wm.k-enemy.lost .sf-wm-g path { fill: rgba(14, 18, 20, .3); stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 3 2.2; }
.sf-wm-p { position: absolute; left: -.13em; top: -.13em; width: .26em; height: .26em; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 1px rgba(8, 10, 12, .6); }
.sf-wm.k-enemy .sf-wm-p, .sf-wm.edge .sf-wm-p { display: none; }
.sf-wm-t { position: absolute; left: -6em; width: 12em; top: -3.6em; text-align: center; font-size: .78em; font-weight: 500; letter-spacing: .05em; line-height: 1; color: var(--ink); text-shadow: var(--shadow); white-space: pre; }
.sf-wm-a { position: absolute; left: -.33em; top: -.6em; width: 0; height: 0; border: .33em solid transparent; border-bottom: .55em solid currentColor; display: none; transform-origin: 50% 70%; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .8)); }
.sf-wm.edge .sf-wm-a { display: block; } .sf-wm.edge .sf-wm-g { top: -.75em; } .sf-wm.edge .sf-wm-t { top: 1.3em; }
.sf-wm.eL .sf-wm-t, .sf-wm.eR .sf-wm-t { top: -.5em; width: auto; } .sf-wm.eL .sf-wm-t { left: 1.3em; text-align: left; } .sf-wm.eR .sf-wm-t { left: auto; right: 1.3em; text-align: right; }
.sf-wm.nolab .sf-wm-t { visibility: hidden; }
.sf-wm.theirs .sf-wm-g { width: 1.3em; height: 1.3em; left: -.65em; top: -1.75em; }
.sf-ui[data-screen="menu"] .sf-wmarks, .sf-ui[data-ov="inventory"] .sf-wmarks, .sf-ui[data-ov="map"] .sf-wmarks { visibility: hidden; }
.sf-m-mark .dot { fill: currentColor; stroke: none; } .sf-m-mark .bar { fill: none; stroke-linecap: round; }
/* round 40: a ping (marks.js 'way'): a pin in its maker's colour */
.sf-m-mark.k-way path, .sf-wm.k-way .sf-wm-g path { fill: currentColor; fill-opacity: .55; } .sf-m-mark.k-way .dot, .sf-wm.k-way .sf-wm-g .dot { fill: rgba(10, 14, 16, .9); }
.sf-map-frame { cursor: crosshair; }
.sf-m-mark.k-enemy path { fill: currentColor; stroke: rgba(10, 14, 16, .8); stroke-width: 1; } .sf-m-mark.k-enemy.lost path { fill: rgba(17, 21, 23, .45); stroke: currentColor; stroke-dasharray: 2.5 2; }

/* ---- round 28: the after-action map on the end screen (aar.js) ----------------------------------------------------- */
.sf-end-box:has(.sf-aar) { width: min(100em, 96vw); max-height: 96vh; overflow: hidden auto; scrollbar-width: thin; padding: 0 .4em; }
.sf-result:has(.sf-aar) { grid-template-columns: minmax(24em, 34em) minmax(0, 1fr); gap: 2.8em; }
.sf-res-map.sf-aar { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.sf-aar-h { display: flex; align-items: center; flex-wrap: wrap; gap: .45em .45em; margin: .1em 0 .75em; }
.sf-aar-k { margin-right: auto; padding-right: 1em; text-transform: uppercase; font-size: .8em; font-weight: 400; letter-spacing: .26em; color: var(--dim); }
.sf-aar-h .sf-seg { margin-right: .6em; }
.sf-aar-h .sf-chip { padding: .26em .75em; font-size: .86em; text-shadow: none; }
.sf-aar-view { position: relative; height: min(56vh, 44em); min-height: 16em; border: 1px solid var(--line); border-radius: .16em; overflow: hidden; background: #20282a; box-shadow: 0 1em 3em rgba(0, 0, 0, .35); text-shadow: none; }
.sf-aar-view canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; cursor: grab; touch-action: none; }
.sf-aar-view canvas.drag { cursor: grabbing; }
.sf-aar-view canvas:focus-visible { outline: 1px solid var(--ink); outline-offset: -3px; }
.sf-aar-cap { position: absolute; left: 0; top: 0; max-width: 24em; padding: .45em .7em; background: rgba(12, 16, 18, .9); border: 1px solid var(--line); border-radius: .16em; font-size: .84em; font-weight: 400; line-height: 1.45; pointer-events: none; opacity: 0; white-space: nowrap; }
.sf-aar-cap.on { opacity: 1; } .sf-aar-cap .bad { color: var(--bad); } .sf-aar-cap .m { color: var(--faint); }
.sf-aar-toast { position: absolute; left: .8em; top: .7em; max-width: calc(100% - 1.6em); padding: .35em .7em; background: rgba(12, 16, 18, .82); border-left: 2px solid var(--ink); font-size: .86em; font-weight: 400; pointer-events: none; opacity: 0; transition: opacity .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-aar-toast.on { opacity: 1; } .sf-aar-toast.bad { border-left-color: var(--bad); }
.sf-aar-scale { left: .9em; bottom: .7em; font-size: .74em; pointer-events: none; }
.sf-aar-tl { display: flex; align-items: center; gap: .8em; margin-top: .7em; }
.sf-aar-play { flex: none; width: 2.1em; height: 2.1em; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(17, 21, 23, .3); transition: border-color .15s, background .15s; }
.sf-aar-play:hover { border-color: var(--dim); background: rgba(17, 21, 23, .5); }
.sf-aar-play svg { width: .95em; height: .95em; fill: var(--ink); }
.sf-aar-track { position: relative; flex: 1; min-width: 0; height: 2.1em; display: flex; align-items: center; }
.sf-aar-track input[type="range"] { width: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; height: 2.1em; position: relative; z-index: 1; cursor: pointer; }
.sf-aar-track input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--line); }
.sf-aar-track input[type="range"]::-moz-range-track { height: 2px; background: var(--line); }
.sf-aar-track input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: .5em; height: 1.25em; margin-top: calc(-.625em + 1px); background: var(--ink); border-radius: .1em; box-shadow: 0 0 0 1px rgba(8, 10, 12, .6); }
.sf-aar-track input[type="range"]::-moz-range-thumb { width: .5em; height: 1.25em; background: var(--ink); border: 0; border-radius: .1em; }
.sf-aar-track input[type="range"]:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.sf-aar-ticks { position: absolute; left: .25em; right: .25em; top: 0; bottom: 0; z-index: 2; pointer-events: none; }
.sf-aar-tick { position: absolute; top: .15em; width: 2px; height: .6em; margin-left: -1px; background: var(--ink); pointer-events: auto; cursor: pointer; }
.sf-aar-tick::before { content: ''; position: absolute; left: -.35em; right: -.35em; top: -.2em; bottom: -.2em; }
.sf-aar-tick.bad { background: var(--bad); } .sf-aar-tick.kn { opacity: .6; }
.sf-aar-clock { flex: none; min-width: 6.4em; text-align: right; font-size: .86em; font-weight: 400; color: var(--dim); }
.sf-aar-leg { display: flex; flex-wrap: wrap; gap: .35em 1.1em; margin-top: .55em; font-size: .8em; font-weight: 400; color: var(--dim); }
.sf-aar-leg span { display: inline-flex; align-items: center; white-space: nowrap; }
.sf-aar-leg svg { width: 1.9em; height: 1em; margin-right: .45em; overflow: visible; }
.sf-aar-help { margin-top: .4em; font-size: .74em; color: var(--faint); }
@media (max-aspect-ratio: 4/3) {
  .sf-result:has(.sf-aar) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sf-res-map.sf-aar { display: flex; margin-top: 2em; }
  .sf-aar-view { height: min(86vw, 52vh); }
  .sf-aar-k { flex-basis: 100%; margin-bottom: .35em; }
  .sf-end-box:has(.sf-aar) .sf-res-btns { position: sticky; bottom: 0; z-index: 3; margin-top: 1.4em; padding-bottom: .9em; background: linear-gradient(rgba(12, 16, 18, .9), rgba(12, 16, 18, .98) 1.2em); }
}

/* ---- round 28: the kill feed (feed.js) - under the alive / squads counters, above the notes (.sf-feed) ----------------------------- */
.sf-kf { position: relative; margin-top: .6em; height: 0; transition: height .24s ease; font-size: .88em; }
.sf-kf-r { position: absolute; right: 0; top: 0; height: 1.64em; max-width: 27em; display: flex; align-items: center; gap: .42em; white-space: nowrap; padding: 0 .6em 0 1.8em; color: var(--ink); font-weight: 400;
  background: linear-gradient(to left, rgba(12, 15, 17, .5), rgba(12, 15, 17, .3) 62%, rgba(12, 15, 17, 0)); border-radius: .12em;
  transition: transform .26s cubic-bezier(.2, .75, .25, 1), opacity .32s ease, translate .32s ease; animation: sf-kf-in .2s cubic-bezier(.2, .8, .3, 1); }
@keyframes sf-kf-in { from { opacity: 0; translate: .9em 0; } }
.sf-kf-r.out { opacity: 0 !important; translate: 1.2em 0; transition: opacity .16s ease, translate .16s ease; } /* a row leaving goes quickly: the others move up into its place */
.sf-kf-r b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; max-width: 9em; }
.sf-kf-c { color: var(--dim); font-style: italic; letter-spacing: .02em; }
.sf-kf-ic { display: inline-block; flex: none; height: 1.12em; width: 1.12em; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .9)); }
.sf-kf-wt { font-size: .8em; color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
.sf-kf-r.kill .sf-kf-v { text-decoration: line-through; text-decoration-thickness: .09em; text-decoration-color: rgba(243, 240, 233, .75); opacity: .78; }
.sf-kf-r.knock .sf-kf-ic { color: var(--warm); }
.sf-kf-r .sf-kf-hs { width: .92em; height: .92em; color: var(--bad); margin-left: -.15em; }
.sf-kf-t, .sf-kf-d { font-size: .82em; color: var(--dim); font-style: italic; }
.sf-kf-r.far { opacity: .7; } /* (rows keep one font size: their positions are in its em) */
.sf-kf-r.own { background: linear-gradient(to left, rgba(231, 183, 101, .3), rgba(30, 26, 20, .44) 55%, rgba(12, 15, 17, 0)); box-shadow: inset -.16em 0 0 var(--warm); }
.sf-kf-r.own.me { box-shadow: inset -.26em 0 0 var(--warm); }
.sf-kf-r.sq span, .sf-kf-r.more span { font-size: .86em; }
.sf-kf-r.sq { color: var(--dim); letter-spacing: .05em; font-weight: 400; background: linear-gradient(to left, rgba(12, 15, 17, .42), rgba(12, 15, 17, 0)); }
.sf-kf-r.sq.own { color: var(--ink); }
.sf-kf-r.more { color: var(--dim); font-style: italic; background: none; }
.sf-ui[data-screen="menu"] .sf-kf { visibility: hidden; }
/* round 29: enemy markers, the spotting trainer (spotting.js). A hollow chevron (the squad's own enemy mark is a solid wedge) */
.sf-spot { position: absolute; inset: 0; pointer-events: none; }
.sf-sp { position: absolute; left: 0; top: 0; width: 0; height: 0; color: #ff5536; will-change: transform; }
.sf-sp-g { position: absolute; left: -1.3em; top: -2.95em; width: 2.6em; height: 2.6em; overflow: visible; }
.sf-sp-g path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sf-sp-g .u { stroke: rgba(6, 8, 10, .9); stroke-width: 7; } .sf-sp-g .o { stroke: currentColor; stroke-width: 3.6; }
.sf-sp.hid .sf-sp-g .o { stroke-dasharray: 5 3.4; stroke-width: 3; } .sf-sp.hid .sf-sp-g .u { stroke-width: 6; stroke: rgba(6, 8, 10, .8); }
.sf-sp.edge .sf-sp-g .u { stroke: rgba(6, 8, 10, .92); stroke-width: 7.2; }
.sf-sp.k-down .sf-sp-g .o { stroke: #d98a76; }
.sf-sp.k-lost .sf-sp-g { width: .85em; height: .85em; left: -.42em; top: -.85em; } .sf-sp.k-lost .sf-sp-g .o { stroke-dasharray: 2 1.8; stroke-width: 1.6; } .sf-sp.k-lost .sf-sp-g .u { stroke-width: 3.4; }
.sf-sp-t { position: absolute; left: -5em; width: 10em; top: -3.75em; text-align: center; font-size: .88em; font-weight: 700; letter-spacing: .04em; line-height: 1; color: #f6ddd5; text-shadow: var(--shadow); white-space: pre; }
.sf-sp.hid .sf-sp-t { opacity: .75; }
.sf-sp-a { position: absolute; left: -.52em; top: -.84em; width: 0; height: 0; border: .52em solid transparent; border-bottom: .84em solid currentColor; display: none; transform-origin: 50% 60%; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .8)); }
.sf-sp.edge .sf-sp-a { display: block; } .sf-sp.edge .sf-sp-g { top: -1.3em; } .sf-sp.edge .sf-sp-t { top: 1.75em; }
.sf-spot-lab { position: absolute; left: 50%; top: 8.2em; transform: translateX(-50%); padding: .2em .65em; border: 1px solid rgba(226, 114, 93, .55); border-radius: 3px; background: rgba(14, 18, 20, .45); color: #f0d6cf; font-size: .72em; letter-spacing: .06em; white-space: nowrap; pointer-events: none; }
.sf-ui[data-screen="menu"] .sf-spot, .sf-ui[data-ov="inventory"] .sf-spot, .sf-ui[data-ov="map"] .sf-spot { visibility: hidden; }
.sf-m-foe { fill: #e2725d; stroke: rgba(10, 12, 14, .8); stroke-width: 1; } .sf-m-foe.hid { fill: none; stroke: #e2725d; stroke-width: 1.4; opacity: .75; } .sf-m-foe.down { opacity: .7; }
.sf-sp.nolab .sf-sp-t { visibility: hidden; }

/* round 30: Appearance (lookpanel.js) */
.sf-lk-sw { display: inline-block; width: 1.05em; height: 1.05em; margin-right: .45em; border-radius: .15em; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.sf-lk-sw.round { border-radius: 50%; }
.sf-seg.sf-lk-uni .sf-chip, .sf-seg.sf-lk-tones .sf-chip { flex-direction: row; align-items: center; }
.sf-seg.sf-lk-uni { display: grid; grid-template-columns: repeat(2, 1fr); gap: .35em; }
.sf-lk-h { margin-top: .85em; }
.sf-lk-line { margin-top: .35em; }
.sf-lk-row { display: flex; flex-direction: column; align-items: flex-start; gap: .3em; }
.sf-lk-tabs { margin: .3em 0 .1em; }
.sf-lk-btns { margin-top: 1em; }
.sf-seg.sf-lk-chips, .sf-seg.sf-lk-weap { margin-bottom: .35em; }
/* round 30: sharing in the squad (sharing.js) - the request list at the crosshair, tags over drops, the HUD squad list's mark, the inventory's Squad panel, "Squad" buttons and the amount list */
.sf-sh-menu { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 6; text-shadow: none; }
.sf-sh-opt { position: absolute; transform: translate(-50%, -50%); width: 10.5em; padding: .5em .7em .55em; background: rgba(14, 18, 20, .8); border: 1px solid var(--line); border-radius: .25em; display: grid; grid-template-columns: auto 1fr; column-gap: .55em; align-items: baseline; transition: background .08s, border-color .08s; }
.sf-sh-opt kbd { grid-row: 1 / span 2; font: inherit; font-size: .78em; color: var(--dim); border: 1px solid var(--line); border-radius: .2em; padding: 0 .38em; }
.sf-sh-opt b { font-weight: 400; } .sf-sh-opt small { font-size: .78em; color: var(--faint); }
.sf-sh-opt.p0 { left: 0; top: -5.2em; } .sf-sh-opt.p1 { left: 8.2em; top: 0; } .sf-sh-opt.p2 { left: 0; top: 5.2em; } .sf-sh-opt.p3 { left: -8.2em; top: 0; }
.sf-sh-opt.sel { background: rgba(14, 18, 20, .92); border-color: var(--ink); box-shadow: inset 3px 0 0 var(--warm); } .sf-sh-opt.sel kbd { color: var(--ink); border-color: var(--ink); }
.sf-sh-opt.off { opacity: .42; }
.sf-sh-mid { position: absolute; left: 0; top: 8.2em; transform: translateX(-50%); white-space: nowrap; text-align: center; font-size: .86em; color: var(--dim); text-shadow: var(--shadow); }
.sf-sh-mid small { display: block; font-size: .86em; color: var(--faint); }
.sf-sh-tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sf-sh-tag { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: .7em; padding: .08em .45em .1em; border-radius: .2em; background: rgba(14, 18, 20, .66); text-shadow: none; display: inline-flex; align-items: center; gap: .35em; }
.sf-sh-tag i { width: .55em; height: .55em; border-radius: 1px; }
.sf-sh-flag { margin-left: .2em; font-size: .78em; color: var(--warm); opacity: .8; }
.sf-inv .sf-item[data-drag="pack"] { position: relative; }
.sf-sh-btn { position: absolute; right: .3em; top: .2em; font: inherit; font-size: .62em; line-height: 1.2; color: var(--dim); background: rgba(14, 18, 20, .9); border: 1px solid var(--line); border-radius: .2em; padding: .05em .45em; cursor: pointer; opacity: 0; transition: opacity .1s, background .1s; }
.sf-item:hover .sf-sh-btn, .sf-wcard-h:hover .sf-sh-btn, .sf-padfocus .sf-sh-btn { opacity: 1; }
.sf-sh-btn:hover { background: rgba(243, 240, 233, .12); color: var(--ink); }
.sf-wcard-h .sf-sh-btn { right: 0; top: -.1em; font-size: .7em; }
.sf-sh-panel { margin-top: auto; padding-top: .8em; border-top: 1px solid var(--line2); font-size: .9em; }
.sf-sh-panel header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .35em; }
.sf-sh-panel h4 { font-size: 1.1em; font-weight: 300; } .sf-sh-panel header span { font-size: .84em; color: var(--dim); } .sf-sh-panel header b { font-weight: 400; }
.sf-sh-row { display: grid; grid-template-columns: 5.4em 1fr auto; grid-template-areas: 'n w r' 'n s s'; column-gap: .6em; align-items: baseline; padding: .3em .45em; border-bottom: 1px solid var(--line2); border-radius: .12em; cursor: pointer; white-space: nowrap; }
.sf-sh-row:hover { background: rgba(243, 240, 233, .07); }
.sf-sh-row.sel { background: rgba(243, 240, 233, .1); box-shadow: inset 2px 0 0 var(--ink); }
.sf-sh-row.dead { opacity: .45; }
.sf-sh-row > span { overflow: hidden; text-overflow: ellipsis; }
.sf-sh-row .n { grid-area: n; align-self: center; display: inline-flex; align-items: baseline; gap: .45em; } .sf-sh-row .n i { width: .5em; height: .5em; border-radius: 50%; align-self: center; flex: none; } .sf-sh-row .n small { font-size: .8em; color: var(--warm); }
.sf-sh-row .w { grid-area: w; color: var(--dim); } .sf-sh-row .s { grid-area: s; font-size: .82em; color: var(--faint); display: flex; gap: 1em; } .sf-sh-row .w em { font-style: normal; color: var(--warm); }
.sf-sh-row .r { grid-area: r; text-align: right; } .sf-sh-row .r u { text-decoration: none; color: var(--faint); font-size: .9em; }
.sf-sh-row .s small { font-size: 1em; opacity: .8; } .sf-sh-row .s .none { opacity: .6; }
.sf-sh-row .low, .sf-sh-row .low u, .sf-sh-row .low small { color: var(--warm); }
.sf-sh-panel footer { margin-top: .5em; font-size: .8em; color: var(--faint); white-space: normal; }
.sf-sh-pop { position: absolute; z-index: 30; pointer-events: auto; min-width: 12.5em; padding: .45em; background: rgba(14, 18, 20, .95); border: 1px solid var(--line); border-radius: .25em; box-shadow: 0 .4em 1.4em rgba(0, 0, 0, .45); }
.sf-sh-pop header { display: flex; justify-content: space-between; align-items: center; font-size: .82em; color: var(--dim); padding: .1em .3em .35em; }
.sf-sh-pop button { font: inherit; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.sf-sh-pop .sf-sh-x { font-size: 1.2em; line-height: 1; color: var(--dim); padding: 0 .2em; }
.sf-sh-pop [data-amt] { display: flex; width: 100%; justify-content: space-between; gap: 1.5em; padding: .35em .5em; border-radius: .15em; }
.sf-sh-pop [data-amt] b { font-weight: 400; color: var(--dim); }
.sf-sh-pop [data-amt]:hover { background: rgba(243, 240, 233, .1); }
body.sf-padnav .sf-sh-pop [data-amt].sel { background: rgba(243, 240, 233, .14); box-shadow: inset 0 0 0 1px var(--dim); }
/* round 30: reading signs (signs.js): the look-closer line under the crosshair, the sign-markers training aid */
.sf-sgn { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sf-sgn-line { position: absolute; left: 50%; top: calc(50% - 5.6em); transform: translateX(-50%); max-width: 70%; color: rgba(240, 236, 226, .94); font-size: .86em; letter-spacing: .02em; text-align: center; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 6px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .35s ease; }
.sf-sgn-line.on { opacity: 1; }
.sf-sgn-lab { position: absolute; left: 50%; top: 10.2em; transform: translateX(-50%); padding: .2em .65em; border: 1px solid rgba(214, 196, 132, .55); border-radius: 3px; background: rgba(14, 18, 20, .45); color: #efe6c8; font-size: .72em; letter-spacing: .06em; white-space: nowrap; }
.sf-sgn-ring { position: absolute; left: 0; top: 0; border: 1.5px dashed rgba(232, 214, 140, .85); border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
/* round 32: the training ground (ground.js): its options panel and the hit read-out */
.sf-gd-panel { position: absolute; inset: 0; display: none; pointer-events: auto; align-items: center; justify-content: flex-start; background: linear-gradient(90deg, rgba(10, 14, 16, .8), rgba(10, 14, 16, .2)); }
.sf-gd-panel.on { display: flex; }
.sf-ui:not([data-screen="play"]) .sf-gd-panel { display: none !important; }
.sf-gd-box { margin-left: 7vw; width: 31em; max-width: calc(100vw - 32px); max-height: 92vh; overflow-y: auto; }
.sf-gd-box h3 { margin: 0 0 .15em; font-size: 1.7em; font-weight: 300; letter-spacing: .02em; color: var(--ink); }
.sf-gd-sub { margin: 0 0 .8em; font-size: .92em; color: var(--dim); }
.sf-gd-sec { padding: .6em 0 .75em; border-bottom: 1px solid var(--line2); }
.sf-gd-sec > span { display: block; margin-bottom: .45em; font-size: .76em; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.sf-gd-sec small { display: block; margin-top: .5em; font-size: .82em; line-height: 1.4; color: var(--dim); }
.sf-gd-row { display: flex; flex-wrap: wrap; gap: .45em; }
.sf-gd-row .sf-btn { padding: .45em .95em; font-size: .95em; }
.sf-gd-row .sf-btn[aria-checked="true"] { border-color: var(--ink); background: rgba(243, 240, 233, .12); color: var(--ink); box-shadow: inset 0 -2px 0 var(--warm); }
.sf-gd-end { margin-top: .9em; }
.sf-gd-foot { margin: .7em 0 0; font-size: .8em; color: var(--faint); }
.sf-gd-ro { position: absolute; left: 50%; top: 7.2em; transform: translateX(-50%); display: none; padding: .22em .8em; border: 1px solid var(--line); border-radius: .16em; background: rgba(14, 18, 20, .45); color: var(--ink); font-size: .9em; white-space: nowrap; text-shadow: var(--shadow); pointer-events: none; }
.sf-gd-ro.on { display: block; }
.sf-gd-ro b { font-weight: 500; } .sf-gd-ro em { font-style: normal; color: var(--warm); }
.sf-ui:not([data-screen="play"]) .sf-gd-ro, .sf-ui[data-ov]:not([data-ov=""]) .sf-gd-ro { display: none !important; }

/* ---- round 32: Play together (net/lobby.js): the game server's lobby, inside the title layer ------------------------ */
.sf-title .sf-lobby { display: none; pointer-events: auto; margin: 11vh 0 0 7vw; width: 40em; max-width: calc(100vw - 14vw); }
.sf-title.sf-lobby-on .sf-lobby { display: block; }
.sf-title.sf-lobby-on .sf-title-box { display: none; }
.sf-lobby-h { font-size: 2.6em; font-weight: 200; letter-spacing: .06em; margin: 0 0 .6em; padding-bottom: .4em; border-bottom: 1px solid var(--line); }
.sf-lobby-note { margin: .8em 0; font-size: 1.05em; font-weight: 300; line-height: 1.5; }
.sf-lobby-note.dim { color: var(--dim); }
.sf-lobby-note code { font-family: ui-monospace, Menlo, monospace; font-size: .92em; background: var(--panel); padding: .1em .4em; border-radius: .16em; }
.sf-lobby-note.sf-lobby-err { color: var(--bad); }
.sf-lobby-note.sf-lobby-result { color: var(--warm); }
.sf-lobby-wait::after { content: '…'; }
.sf-lobby .sf-btnrow { margin-top: 1.4em; }
.sf-lobby .sf-btn { font-size: 1.05em; text-shadow: none; }
.sf-lobby-field { display: flex; flex-direction: column; gap: .35em; margin: .4em 0 0; color: var(--dim); font-size: .95em; }
.sf-lobby-input { font: inherit; font-size: 1.1em; color: var(--ink); background: var(--panel2); border: 1px solid var(--line); border-radius: .16em; padding: .5em .7em; width: 16em; outline: none; }
.sf-lobby-input:focus { border-color: var(--ink); }
.sf-lobby-join { display: flex; gap: .8em; margin-top: 1.4em; align-items: stretch; }
.sf-lobby-codein { width: 6.5em; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.sf-lobby-code { display: flex; align-items: baseline; gap: 1em; margin: .2em 0 .9em; }
.sf-lobby-code span { color: var(--dim); font-size: .95em; }
.sf-lobby-code b { font-size: 3.4em; font-weight: 300; letter-spacing: .14em; line-height: 1; color: var(--ink); }
.sf-lobby-seats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line2); }
.sf-lobby-seat { display: flex; align-items: baseline; gap: .8em; padding: .55em .2em; border-bottom: 1px solid var(--line2); font-size: 1.05em; }
.sf-lobby-seat .n { width: 1.2em; color: var(--faint); font-weight: 300; }
.sf-lobby-seat b { font-weight: 400; }
.sf-lobby-seat.empty b { font-weight: 300; color: var(--faint); }
.sf-lobby-seat em { font-style: normal; font-size: .8em; padding: .05em .5em; border: 1px solid var(--line); border-radius: .16em; color: var(--dim); }
.sf-lobby-seat.you em:last-of-type { border-color: var(--dim); }
.sf-lobby-seat small { margin-left: auto; color: var(--faint); font-size: .85em; }
.sf-lobby-sets { margin-top: 1.1em; display: flex; flex-direction: column; gap: .45em; }
.sf-lobby-set { display: flex; align-items: center; gap: .8em; flex-wrap: wrap; }
.sf-lobby-setk { width: 7.5em; color: var(--dim); font-size: .92em; flex: none; }
.sf-lobby-setv { font-weight: 400; }

/* round 33 (loadmeter.js): the megabytes and time left, under the loading line, only while files are still coming from a game server */
.sf-loading-n { font-size: .78em; color: var(--dim); margin: -.25em 0 .75em; letter-spacing: .03em; font-variant-numeric: tabular-nums; opacity: .85; }
.sf-loading-n:empty { display: none; }
.sf-title .sf-stream-n { font-size: .74em; color: var(--dim); margin-top: 1.1em; letter-spacing: .03em; font-variant-numeric: tabular-nums; opacity: .75; }
.sf-title .sf-stream-n:empty { display: none; }

/* round 36: the muzzle flash aid label (flashaid.js), below the enemy-marker and sign-marker labels */
.sf-spot-lab.sf-flash-lab { top: 12.2em; border-color: rgba(255, 170, 40, .6); color: #f6e2c0; }

/* round 36: aids on / off (aidtoggle.js): the steady label while they are off, below the training labels' places; the toast below it */
.sf-spot-lab.sf-aids-lab { top: 14.2em; border-color: rgba(200, 200, 200, .55); color: #e8e8e8; }
.sf-spot-lab.sf-aids-toast { top: 16.4em; border-color: rgba(200, 200, 200, .3); color: #f2f2f2; }
/* round 36: the rooms open on this server, on the Play together screen (lobby.js drawRooms) */
.sf-lobby-rooms { margin-top: 1.6em; }
.sf-lobby-roomsh { color: var(--dim); font-size: .92em; letter-spacing: .08em; text-transform: uppercase; padding-bottom: .5em; border-bottom: 1px solid var(--line2); }
.sf-lobby-roomrow { display: flex; align-items: center; gap: 1em; padding: .55em .2em; border-bottom: 1px solid var(--line2); }
.sf-lobby-roomrow b { font-size: 1.25em; font-weight: 400; letter-spacing: .16em; width: 4.2em; }
.sf-lobby-roomrow .who { font-weight: 300; }
.sf-lobby-roomrow small { margin-left: auto; color: var(--faint); font-size: .88em; }
.sf-lobby-roomrow button { font-size: .9em; padding: .35em 1.1em; }
