/* First-person fight view (theme setting ui.fight = 'tank-fp', js/views-fight-fp.js). Colours: var(--token) only. */
.fp { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "hud" "scene" "panel" "log"; }
@media (min-width: 1100px) {
  .fp { --fp-size: min(640px, max(380px, calc(100vh - 230px))); grid-template-columns: minmax(0, var(--fp-size)) minmax(300px, 340px);
    grid-template-areas: "hud hud" "scene panel" "log log"; justify-content: center; align-items: start; }
}
.fp-hud { grid-area: hud; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; }
.fp-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.fp-top h1 { font-size: 22px; }
.fp-whos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.fp-n { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.fp-n b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bright); }
.fp-n span { white-space: nowrap; font-size: 12px; }
.fp-who .hpbar { margin-bottom: 0; }

.fp-scene { grid-area: scene; position: relative; width: 100%; max-width: 640px; justify-self: center; aspect-ratio: 1; overflow: hidden; background: var(--deep); box-shadow: 0 6px 24px var(--shade); }
.fp-scene svg { display: block; width: 100%; height: 100%; touch-action: manipulation; cursor: crosshair; user-select: none; }
.fp.busy .fp-scene svg { cursor: default; }
.fp-cap { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); padding: 6px 12px;
  background: color-mix(in srgb, var(--shade) 75%, transparent); color: var(--bright); font: 600 14px/1.35 var(--font-b); text-align: center;
  opacity: 0; transition: opacity .2s; pointer-events: none; }
.fp-cap.on { opacity: 1; }
.fp-float { position: absolute; transform: translate(-50%, -50%); width: max-content; max-width: 80%; display: flex; flex-direction: column; align-items: center;
  pointer-events: none; text-align: center; font: 800 24px/1.1 var(--font-d); color: var(--yel); text-shadow: 0 2px 0 var(--shade), 0 0 10px var(--shade);
  animation: fpRise 1.45s ease-out forwards; }
.fp-float span { font-size: 15px; color: var(--bright); letter-spacing: .04em; }
.fp-float.crit b { color: var(--crit); font-size: 30px; }
.fp-float.hurt b { color: var(--red-soft); font-size: 28px; }
.fp-float.soft span { color: var(--text2); }
@keyframes fpRise { 0% { opacity: 0; transform: translate(-50%, -30%); } 12% { opacity: 1; transform: translate(-50%, -50%); } 72% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -120%); } }
.fp-lanes { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 8px; pointer-events: none; }
.fp-lanes i { width: 22px; height: 6px; background: color-mix(in srgb, var(--bright) 25%, transparent); transition: background .2s; }
.fp-lanes i.on { background: var(--green); }

/* video scene: act 1 and the idle loop inside the cockpit (the clip shows only in the vision port, .fp-win), act 2 from an
   outside camera (.fp-out: the port fills the stage, no cockpit). Geometry of .fp-win / .fp-ck is set by the script. */
.fp-vid { background: var(--deep); cursor: crosshair; touch-action: manipulation; user-select: none; -webkit-tap-highlight-color: transparent; container-type: inline-size; }
.fp.busy .fp-vid { cursor: default; }
.fp-cam { position: absolute; inset: 0; }
.fp-win { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; container-type: size; background: var(--deep); }
.fp-ck { position: absolute; display: block; max-width: none; pointer-events: none; z-index: 1; }
.fp-out .fp-ck { display: none; }
/* the clip covers the port, zoomed by --z around the source point (--fx, --fy), never leaving a gap */
.fp-v { --W: calc(var(--z, 1) * max(100cqw, 100cqh)); position: absolute; width: var(--W); height: var(--W); max-width: none;
  left: clamp(calc(100cqw - var(--W)), calc(50cqw - var(--fx, .5) * var(--W)), 0px); top: clamp(calc(100cqh - var(--W)), calc(50cqh - var(--fy, .5) * var(--W)), 0px);
  object-fit: cover; opacity: 0; pointer-events: none; background: transparent; }
.fp-v.on { opacity: 1; z-index: 1; }
.fp-post { opacity: 1; z-index: 0; }
/* a widescreen (16:9) clip: a 16:9 box that covers the port, zoomed the same way */
.fp-v.w169 { --W: calc(var(--z, 1) * max(100cqw, 100cqh * 16 / 9)); height: calc(var(--W) * 9 / 16);
  top: clamp(calc(100cqh - var(--W) * 9 / 16), calc(50cqh - var(--fy, .5) * var(--W) * 9 / 16), 0px); }
.fp-cam.shake { animation: fpShake .55s linear; }
@keyframes fpShake { 0% { transform: scale(1.05) translate(0, 0); } 15% { transform: scale(1.05) translate(-2.4%, 1.4%); } 30% { transform: scale(1.05) translate(2%, -1.6%); }
  45% { transform: scale(1.05) translate(-1.5%, 1%); } 62% { transform: scale(1.05) translate(1.1%, -.7%); } 80% { transform: scale(1.04) translate(-.5%, .4%); } 100% { transform: none; } }
.fp-vid .fp-float, .fp-shade { z-index: 3; }
.fp-vid .fp-cap { z-index: 4; top: auto; bottom: 18px; font-size: 16px; }
.fp-vid .fp-cap .num { font-family: var(--font-d); color: var(--yel); }
.fp-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.fp-shade.hurt { background: radial-gradient(circle at 50% 55%, transparent 40%, color-mix(in srgb, var(--red) 75%, transparent)); animation: fpHurt .8s ease-out forwards; }
@keyframes fpHurt { 0% { opacity: .9; } 100% { opacity: 0; } }
.fp-float.big { font-size: 46px; animation-duration: 1.65s; }
.fp-float.big span { font-size: 20px; }
.fp-float.big.crit b, .fp-float.big.hurt b { font-size: 50px; }
.fp-float.big span.nums { display: flex; gap: .35em; font-size: inherit; color: inherit; letter-spacing: 0; }
/* both shots of an act, side by side */
.fp-res { max-width: 96%; animation-duration: 2.2s; }
.fp-float.fp-res span.fp-rs { display: flex; gap: .7em; align-items: center; justify-content: center; font-size: inherit; color: inherit; letter-spacing: 0; }
.fp-float.fp-res span.fp-r { display: flex; flex-direction: column; align-items: center; min-width: 0; font-size: inherit; color: inherit; letter-spacing: 0; }
.fp-float.fp-res .fp-r > span { font-size: 18px; color: var(--bright); letter-spacing: .04em; }
.fp-res .fp-r.crit b { color: var(--crit); }
.fp-res .fp-r.hurt b { color: var(--red-soft); }
.fp-float.fp-res .fp-r.soft > span { color: var(--text2); }
/* fade to black between the acts, with a film-style title card */
.fp-black { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 16px; background: var(--fp-night); opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.fp-black.on { opacity: 1; }
.fp-title { max-width: 92%; text-align: center; opacity: 0; transition: opacity .3s ease; }
.fp-title.on { opacity: 1; }
.fp-title h2 { margin: 0; font: 700 clamp(22px, 7.2cqw, 42px)/1.15 var(--font-d); letter-spacing: .14em; text-transform: uppercase; color: var(--bright); }
.fp-title h2 .sep { color: var(--mute); }
.fp-title h2 .sub { white-space: nowrap; }
.fp-title p { max-width: 26em; margin: 12px auto 0; font: 500 clamp(14px, 3.9cqw, 18px)/1.45 var(--font-b); color: var(--text2); }
.fp-title p:empty { display: none; }
/* loading every clip of the fight before the first round */
.fp-load { position: absolute; left: 50%; bottom: 16px; z-index: 7; width: min(80%, 340px); padding: 10px 14px 12px; transform: translateX(-50%);
  background: color-mix(in srgb, var(--shade) 72%, transparent); color: var(--bright); font: 600 14px/1.3 var(--font-b); text-align: center; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.fp-vid.loading .fp-load { opacity: 1; visibility: visible; }
.fp-load b { font-family: var(--font-d); color: var(--yel); }
.fp-load i { display: block; height: 3px; margin-top: 8px; background: color-mix(in srgb, var(--bright) 18%, transparent); }
.fp-load u { display: block; width: 0; height: 100%; background: var(--cyan); transition: width .2s linear; }

.fp-panel { grid-area: panel; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fp-panel .tut { margin-bottom: 0; }
.fp-rt { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font: 700 15px var(--font-d); letter-spacing: .08em; text-transform: uppercase; }
.fp-row.atk .fp-rt { color: var(--red-soft); }
.fp-row.blk .fp-rt { color: var(--green); }
/* four sector buttons in a row (aim / maneuver), each with a small diagram of the five positions it covers two of */
.fp-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fp-slot { min-width: 0; min-height: 62px; padding: 8px 4px; border: 0; cursor: pointer; background: color-mix(in srgb, var(--bg) 80%, transparent); color: var(--text2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  font: 600 14px/1.15 var(--font-d); text-align: center; transition: box-shadow .15s, background .15s; }
.fp-sl { max-width: 100%; overflow-wrap: break-word; hyphens: auto; }
.fp-dg { display: flex; gap: 3px; }
.fp-dg i { width: 8px; height: 6px; background: color-mix(in srgb, var(--bright) 18%, transparent); }
.fp-row.atk .fp-dg i.in { background: var(--red-soft); }
.fp-row.blk .fp-dg i.in { background: var(--green); }
.fp-slot.on .fp-dg i { background: color-mix(in srgb, var(--strong) 30%, transparent); }
.fp-slot.on .fp-dg i.in { background: var(--strong); }
.fp-slot:hover:not([disabled]) { box-shadow: 0 2px 10px var(--shade); color: var(--strong); }
.fp-row.atk .fp-slot.on { background: var(--red); color: var(--strong); }
.fp-row.blk .fp-slot.on { background: var(--green-dark); color: var(--strong); }
.fp-slot[disabled] { cursor: default; opacity: .6; }
.fp-row .small { margin-top: 6px; }
.fp-tools { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.fp-heal { width: 100%; }
.fp .rules { margin: 0; }
.fp-log { grid-area: log; margin-top: 0; }
@media (max-width: 760px) {
  .fp { gap: 10px; }
  .fp-hud { padding: 10px 12px; }
  .fp-top h1 { font-size: 18px; }
  .fp-whos { gap: 10px; }
  .fp-float { font-size: 20px; } .fp-float.crit b { font-size: 24px; } .fp-float.hurt b { font-size: 22px; } .fp-float span { font-size: 13px; }
  .fp-float.big { font-size: 36px; } .fp-float.big span { font-size: 17px; } .fp-float.big.crit b, .fp-float.big.hurt b { font-size: 40px; }
  .fp-vid .fp-cap { font-size: 14px; }
  .fp-slots { gap: 6px; }
  .fp-slot { padding: 8px 2px; font-size: 13px; }
}

/* Loading: the vision port glass is fogged (blurred) until every clip of the battle is in, then it clears (Vova's idea). */
.fp-vid .fp-win { transition: filter 1.4s ease; }
.fp-vid.loading .fp-win { filter: blur(16px) brightness(.75) saturate(.6); }

/* live cockpit over the synth cockpit picture (.fp-ckfx takes the picture's own box, so it scales with it):
   lamps glowing and blinking at uneven rhythms, a jittering gauge needle, a faint red cabin flicker */
.fp-ckfx { position: absolute; z-index: 1; pointer-events: none; display: none; }
.fp-ckfx.on { display: block; }
.fp-out .fp-ckfx { display: none; }
.fp-ckfx i { position: absolute; display: block; translate: -50% -50%; border-radius: 50%; }
.fp-ckfx .fx-lamp { mix-blend-mode: screen; background: radial-gradient(circle, rgba(255, 120, 90, .95) 0, rgba(255, 50, 35, .45) 30%, rgba(255, 30, 20, 0) 70%); }
.fp-ckfx .l1 { left: 14.45%; top: 17.09%; width: 6%; height: 6%; animation: fxPulse 3.7s ease-in-out infinite; }
.fp-ckfx .l2 { left: 81.05%; top: 17.58%; width: 6%; height: 6%; animation: fxPulse 5.3s ease-in-out -1.9s infinite; }
.fp-ckfx .l3 { left: 10.94%; top: 20.5%; width: 2.2%; height: 2.2%; animation: fxBlink 2.9s steps(1) -0.7s infinite; }
.fp-ckfx .l4 { left: 17.6%; top: 47.8%; width: 3.2%; height: 1.6%; border-radius: 40%; animation: fxBlink 4.1s steps(1) -2.3s infinite; }
.fp-ckfx .l5 { left: 85.2%; top: 26.2%; width: 2.4%; height: 2.4%; animation: fxBlink 6.7s steps(1) -3.1s infinite; }
.fp-ckfx .fx-cab { left: 48%; top: 14%; width: 110%; height: 40%; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(closest-side at 15% 50%, rgba(255, 40, 30, .16), transparent), radial-gradient(closest-side at 85% 50%, rgba(255, 40, 30, .16), transparent);
  animation: fxCab 7.3s linear infinite; }
/* the gauge on the right wall (seen at an angle): a soft strip of dial colour hides the painted needle; the dial box sits on
   the painted hub and is squashed like the dial, a thin tapered needle with a hub cap rests at the same reading and trembles */
.fp-ckfx .fx-face { left: 95.75%; top: 42.2%; width: .8%; height: 3.6%; border-radius: 40%; rotate: 23.4deg;
  background: linear-gradient(90deg, rgba(146, 131, 122, 0), rgb(146, 131, 122) 35%, rgb(136, 122, 114) 65%, rgba(136, 122, 114, 0)); }
.fp-ckfx .fx-gauge { left: 95.41%; top: 42.68%; width: 6.45%; height: 6.45%; border-radius: 0; transform: scaleX(.455); filter: drop-shadow(1px 1.5px 1px rgba(0, 0, 0, .45)); }
.fp-ckfx .fx-needle { position: absolute; left: 50%; bottom: 42%; width: 4.5%; height: 48%; translate: -50% 0; transform-origin: 50% 83.3%; rotate: 47deg;
  background: linear-gradient(#7a1d14, #3a0d09); clip-path: polygon(50% 0, 82% 83%, 62% 100%, 38% 100%, 18% 83%); animation: fxNeedle 2.6s ease-in-out infinite; }
.fp-ckfx .fx-hub { position: absolute; left: 50%; top: 50%; width: 11%; height: 11%; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8a8076, #2a2420 60%, #15110e); }
@keyframes fxPulse { 0%, 100% { opacity: .55; } 18% { opacity: .9; } 31% { opacity: .62; } 47% { opacity: 1; } 52% { opacity: .5; } 70% { opacity: .82; } 86% { opacity: .6; } }
@keyframes fxBlink { 0% { opacity: 1; } 34% { opacity: .25; } 41% { opacity: 1; } 63% { opacity: .2; } 66% { opacity: .9; } 88% { opacity: .3; } }
@keyframes fxCab { 0%, 100% { opacity: 1; } 41% { opacity: 1; } 42% { opacity: .55; } 43.5% { opacity: 1; } 77% { opacity: .9; } 78% { opacity: .5; } 79% { opacity: .95; } }
@keyframes fxNeedle { 0%, 100% { rotate: 47deg; } 11% { rotate: 50deg; } 19% { rotate: 45.5deg; } 34% { rotate: 49deg; } 47% { rotate: 44deg; } 58% { rotate: 51deg; } 69% { rotate: 47.5deg; } 84% { rotate: 43deg; } }
@media (prefers-reduced-motion: reduce) { .fp-ckfx i, .fp-ckfx i::after, .fp-ckfx b { animation: none !important; } }

/* still-picture scene (theme ui.fpStills): two stacked pictures cross-fade; the shot itself is a hard cut (.cut) */
.fp-still { position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; background: var(--fp-night, #000); }
.fp-still.on { opacity: 1; }
.fp-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.fp-still img.on { opacity: 1; }
.fp-still img.cut { transition: none; }
.fp-still.shake { animation: fpShake .55s linear; }
/* the killed enemy burns: the picture flickers like firelight */
.fp-still img.burn { animation: fpBurn 1.1s steps(6) infinite; }
@keyframes fpBurn { 0%, 100% { filter: brightness(1) saturate(1); } 30% { filter: brightness(1.08) saturate(1.1); } 55% { filter: brightness(.96); } 80% { filter: brightness(1.12) saturate(1.15); } }
.fp-win { isolation: isolate; }   /* pictures in the vision port stay under the cockpit frame */
.fp-still video.fp-kv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.fp-still video.fp-kv.on { opacity: 1; }

/* the shot on the picture: a muzzle flash where the gun fires (our big one at the barrel, his small one far away) */
.fp-still .fp-flash { position: absolute; z-index: 3; width: var(--s); height: var(--s); translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fffbe8 0, #ffd877 18%, rgba(255, 150, 40, .75) 38%, rgba(255, 90, 20, 0) 70%); mix-blend-mode: screen;
  animation: fpFlash .5s ease-out forwards; }
.fp-still .fp-flash.big { animation-duration: .35s; }
@keyframes fpFlash { 0% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1.4); } }
/* our tank is hit: the alarm (Vova: no shaking; the red lamp blazes and blinks, the cabin floods red) */
.fp-vid.alarm .fp-ckfx .fx-lamp { animation: fpAlarmLamp .5s steps(1) infinite !important; opacity: 1; }
.fp-vid.alarm .fp-ckfx .l2 { width: 16%; height: 16%; }
.fp-vid.alarm .fp-ckfx .l1 { width: 12%; height: 12%; }
.fp-vid.alarm .fp-ckfx::before { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;   /* under the lamps (they come after it) */
  background: radial-gradient(ellipse at 80% 18%, #ff2a10 0, #b0100a 45%, #600 100%); animation: fpAlarm .5s steps(1) infinite; }
@keyframes fpAlarmLamp { 0% { opacity: 1; filter: brightness(1.8) saturate(1.4); } 50% { opacity: .15; filter: none; } }
@keyframes fpAlarm { 0% { opacity: .55; } 50% { opacity: .18; } }
@media (prefers-reduced-motion: reduce) { .fp-vid.alarm .fp-ckfx::before { animation: none; opacity: .45; } }

/* the gun smoke clears: the old picture (with the smoke) fades out on top of the same picture without it */
.fp-still img.top { z-index: 1; }
.fp-still img.smokeout { transition: opacity 1.9s ease-out; }
/* the scene lives (Vova: "too static", then "I see nothing move", then "leave the ground still"): the clouds drift,
   haze rolls over the steppe,
   dust blows through the air, exhaust smoke rises over the enemy tank (placed by ambient() in js/views-fight-fp.js) */
.fp-amb { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.fp-amb .haze { position: absolute; left: -60%; right: -60%; top: 14%; height: 40%; opacity: .95; mix-blend-mode: screen; filter: blur(10px);
  background: radial-gradient(ellipse 16% 38% at 18% 50%, rgba(255, 214, 160, .55), transparent 70%), radial-gradient(ellipse 20% 32% at 52% 58%, rgba(255, 200, 150, .45), transparent 70%),
    radial-gradient(ellipse 14% 30% at 84% 45%, rgba(255, 220, 170, .5), transparent 70%);
  animation: fpHaze 24s ease-in-out infinite alternate; }
@keyframes fpHaze { from { transform: translateX(-16%); } to { transform: translateX(16%); } }
.fp-amb .dust { position: absolute; inset: -30%; opacity: .6; mix-blend-mode: screen;
  background-image: radial-gradient(circle, rgba(255, 226, 185, .85) 0 1.1px, transparent 2px), radial-gradient(circle, rgba(250, 210, 165, .7) 0 1.5px, transparent 2.6px);
  background-size: 140px 107px, 223px 171px; background-position: 0 0, 60px 90px; filter: blur(.5px); animation: fpDust 14s linear infinite; }
.fp-amb .dust.d2 { opacity: .55; background-size: 181px 133px, 271px 211px; filter: blur(1.6px); animation-duration: 21s; }
@keyframes fpDust { from { transform: translate(0, 0); } to { transform: translate(-140px, -26px); } }
.fp-amb .wisp { position: absolute; width: var(--s, 40px); height: calc(var(--s, 40px) * 2.4); translate: -50% -100%; }
.fp-amb .wisp::before, .fp-amb .wisp::after { content: ''; position: absolute; left: 15%; bottom: 0; width: 70%; height: 34%; border-radius: 50%; filter: blur(3px);
  background: radial-gradient(circle, rgba(105, 98, 90, .6), rgba(105, 98, 90, 0) 70%); animation: fpWisp 3.4s ease-out infinite; }
.fp-amb .wisp::after { animation-delay: -1.7s; }
@keyframes fpWisp { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(45%, -230%) scale(2.2); } }
@media (prefers-reduced-motion: reduce) { .fp-amb .haze, .fp-amb .dust, .fp-amb .wisp::before, .fp-amb .wisp::after { animation: none; } }
.fp-amb .sky { position: absolute; inset: -4% -6%; background-size: cover; background-position: center top; transition: opacity .4s;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 10%, transparent 16%); mask-image: linear-gradient(180deg, #000 0, #000 10%, transparent 16%);
  animation: fpSky 11s ease-in-out infinite alternate; }   /* the clouds drift */
@keyframes fpSky { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
@media (prefers-reduced-motion: reduce) { .fp-amb .sky { animation: none; } }
.fp-amb .clouds { position: absolute; left: 0; top: 0; width: 200%; height: 19%; pointer-events: none; mix-blend-mode: soft-light; opacity: .9;
  background: radial-gradient(ellipse 9% 42% at 12% 40%, rgba(20, 14, 10, .85), transparent 70%), radial-gradient(ellipse 12% 34% at 31% 62%, rgba(255, 220, 170, .7), transparent 70%),
    radial-gradient(ellipse 8% 40% at 47% 30%, rgba(25, 18, 12, .8), transparent 70%), radial-gradient(ellipse 11% 30% at 66% 55%, rgba(255, 210, 160, .6), transparent 70%),
    radial-gradient(ellipse 10% 44% at 84% 38%, rgba(20, 14, 10, .75), transparent 70%);
  background-size: 50% 100%; background-repeat: repeat-x; filter: blur(6px);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);
  animation: fpClouds 30s linear infinite; }   /* cloud shadows and lit edges sliding across the sky */
@keyframes fpClouds { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fp-amb .clouds { animation: none; } }
