/* Fareejo illustration system v3: the colours (docs/design/illustration-v3-rules.md).
   Every picture is a .v3pic. The faded city keeps the website pictures' --il-w-* tokens (Daylight), and After dark
   redefines them under .d-b. The hero takes its subject type's ramp through a class on its group (.t-<type>), as
   --h-t (top face), --h-r (lit side, facing right), --h-l (shade side, facing left), --h-a (accent), --h-d (deep:
   glass, asphalt, ink) and --h-lit (lit windows after dark). Nothing in a scene types a colour: it uses these. */
.v3pic{
  /* The faded city, Daylight: exactly the website pictures' values (feature-visuals-src/shell.html) */
  --il-w-base:#E8EDF3; --il-w-plot:#F7F9FC; --il-w-kerb:#E0E6EE; --il-w-mark:#FFFFFF; --il-w-park:#E7F2EB;
  --il-w-crown:#D5EBDD; --il-w-crown-2:#C1DFCC; --il-w-trunk:#C8D2DC;
  --il-w-top:#FDFEFF; --il-w-right:#EFF3F7; --il-w-left:#E3E9F0; --il-w-floor:#D9E0E9; --il-w-shadow:rgba(11,23,38,.05); --il-w-haze:#F3F6FA;
  --il-w-water:#DCEBF8; --il-w-quay:#C3D6EA; --il-w-wave:#C2DAF0; --il-w-rail:#C5CBEA;
  --il-g-ground:#F4F6F8; --il-g-road:#E9ECF0; --il-g-lane:#F7F8FA; --il-g-plot:#E2E6EB; --il-g-shadow:rgba(11,23,38,.14);
  /* v3 additions to the faded world: sand and scrub for desert and beach edges, night windows (off by day) */
  --il-w-sand:#F4EEE3; --il-w-sand-2:#ECE3D2; --il-w-sand-3:#E0D4BD; --il-w-apron:#EEF1F5; --il-w-win:transparent; --il-w-hshadow:rgba(11,23,38,.10);
  --v3-pill:#FFFFFF; --v3-pill-ink:#3B4A60; --v3-pill-line:rgba(11,23,38,.06);
  position:relative; background:var(--il-w-base);
}
.v3pic.d-b, .d-b .v3pic{
  --il-w-base:#0E1828; --il-w-plot:#142035; --il-w-kerb:#1C2A41; --il-w-mark:#25354E; --il-w-park:#122A26;
  --il-w-crown:#1C3A33; --il-w-crown-2:#173129; --il-w-trunk:#24344B;
  --il-w-top:#24344D; --il-w-right:#1B283C; --il-w-left:#152032; --il-w-floor:#2B3B55; --il-w-shadow:rgba(0,0,0,0); --il-w-haze:#0E1828;
  --il-w-water:#122741; --il-w-quay:#1F3756; --il-w-wave:#1F3E60; --il-w-rail:#2C3A57;
  --il-g-ground:#121D2E; --il-g-road:#0E1828; --il-g-lane:#18253A; --il-g-plot:#1D2B42; --il-g-shadow:rgba(0,0,0,.35);
  --il-w-sand:#68624F; --il-w-sand-2:#5B5645; --il-w-sand-3:#4D493B; --il-w-apron:#141F31; --il-w-win:#8C836E; --il-w-hshadow:rgba(0,0,0,.28);
  --v3-pill:#18253A; --v3-pill-ink:#C9D5E6; --v3-pill-line:rgba(255,255,255,.08);
}

/* ── The hero palette: seven subject types, one ramp each, on one lightness ladder (research/ideation.md 3.2).
   --h-t top, --h-r lit side, --h-l shade side, --h-a accent (at most a tenth of the hero), --h-d deep (asphalt, ink),
   --h-g glass (dark by day, lit cream after dark). Towers keep the website pictures' hero faces exactly. ── */
.t-towers   {--h-t:#FFFFFF;--h-r:#D3E4F7;--h-l:#A9C4E6;--h-a:#3D6C9E;--h-d:#23466F;--h-g:#3A5A82}
.t-landmark {--h-t:#FFF8FA;--h-r:#F0C9D8;--h-l:#D29AB0;--h-a:#91526B;--h-d:#5E2F42;--h-g:#7A4459}
.t-transport{--h-t:#FBF8FF;--h-r:#DACDF3;--h-l:#AE98D8;--h-a:#74599B;--h-d:#46356A;--h-g:#5E4A80}
.t-water    {--h-t:#F3FCFD;--h-r:#B3E2E6;--h-l:#77BDC5;--h-a:#007881;--h-d:#00525A;--h-g:#1F6A72}
.t-green    {--h-t:#F6FCF7;--h-r:#C3E2C9;--h-l:#8CBD96;--h-a:#3C784B;--h-d:#25543A;--h-g:#356B45}
.t-home     {--h-t:#FFF8F5;--h-r:#F4CDBE;--h-l:#D99F89;--h-a:#96553B;--h-d:#6A3624;--h-g:#7E4A36}
.t-desert   {--h-t:#FCFAF3;--h-r:#E8DAB2;--h-l:#C8B377;--h-a:#7D671B;--h-d:#57470F;--h-g:#6B5A24}
.d-b .t-towers,   .d-b.t-towers   {--h-t:#9FB6D2;--h-r:#4F6B8E;--h-l:#33496A;--h-a:#96C2F3;--h-d:#142238;--h-g:#E9E2CF}
.d-b .t-landmark, .d-b.t-landmark {--h-t:#D3AFBE;--h-r:#8E6074;--h-l:#633F4F;--h-a:#F0B3CB;--h-d:#2A1720;--h-g:#E9E2CF}
.d-b .t-transport,.d-b.t-transport{--h-t:#BBAFD4;--h-r:#715F96;--h-l:#4E4169;--h-a:#CDB6F5;--h-d:#1E1830;--h-g:#E9E2CF}
.d-b .t-water,    .d-b.t-water    {--h-t:#93CACE;--h-r:#2F7C82;--h-l:#1A555B;--h-a:#7FD6DE;--h-d:#082A2E;--h-g:#E9E2CF}
.d-b .t-green,    .d-b.t-green    {--h-t:#A9C8AE;--h-r:#4F7858;--h-l:#33543B;--h-a:#9CD6A8;--h-d:#0F2214;--h-g:#E9E2CF}
.d-b .t-home,     .d-b.t-home     {--h-t:#D9B4A5;--h-r:#91614E;--h-l:#654033;--h-a:#F0B39B;--h-d:#2A1610;--h-g:#E9E2CF}
.d-b .t-desert,   .d-b.t-desert   {--h-t:#D6CBA2;--h-r:#8E8052;--h-l:#635735;--h-a:#DCC68A;--h-d:#26200F;--h-g:#E9E2CF}

/* The neutral parts a hero carries (white train bodies, glass, a boat's wood): from the type's own ramp and the city */
.v3pic{--v3-n-t:#FFFFFF;--v3-n-r:#F3F6FA;--v3-n-l:#D9E1EB;--v3-white:#FFFFFF;--v3-glass:#2A3850;--v3-wood:#B98A5E;--v3-wood-2:#8E6440;--v3-sea:#BFE6EE;--v3-foam:#FFFFFF;--v3-person:#3B4A60}
.v3pic.d-b,.d-b .v3pic{--v3-n-t:#C9D3E2;--v3-n-r:#8C9AB0;--v3-n-l:#5C6A82;--v3-white:#C9D3E2;--v3-glass:#F6D58E;--v3-wood:#6E5236;--v3-wood-2:#4E3A26;--v3-sea:#123A4A;--v3-foam:#6F9FB4;--v3-person:#9FB0C8}

/* The world's own classes (FV.world), on the tokens above */
.v3pic .fvw-base{fill:var(--il-w-base)}
.v3pic .fvw-plot{fill:var(--il-w-plot);stroke:var(--il-w-kerb);stroke-width:.8;stroke-linejoin:round}
.v3pic .fvw-park{fill:var(--il-w-park)}
.v3pic .fvw-mark{stroke:var(--il-w-mark);stroke-width:1.1;stroke-dasharray:5 5;stroke-linecap:round;opacity:.9}
.v3pic .fvw-sh{fill:var(--il-w-shadow)}
.v3pic .fvw-water{fill:var(--il-w-water)}
.v3pic .fvw-quay{stroke:var(--il-w-quay);stroke-width:1.2;stroke-linecap:round}
.v3pic .fvw-wave{stroke:var(--il-w-wave);stroke-width:1;stroke-linecap:round}
.v3pic .fvw-rail{stroke:var(--il-w-rail);stroke-width:1;stroke-linecap:round}
.v3pic .fvw-b .t{fill:var(--il-w-top)}.v3pic .fvw-b .r{fill:var(--il-w-right)}.v3pic .fvw-b .l{fill:var(--il-w-left)}
.v3pic .fvw-fl{fill:none;stroke:var(--il-w-floor);stroke-width:.6}
.v3pic .fvw-crown{fill:var(--il-w-crown)}.v3pic .fvw-crown-2{fill:var(--il-w-crown-2)}
.v3pic .fvw-trunk{stroke:var(--il-w-trunk);stroke-width:1.3;stroke-linecap:round}
.v3pic .fvw-haze-stop{stop-color:var(--il-w-haze)}
.v3pic .fvw-ct-stop{stop-color:var(--il-w-hshadow)}
.v3pic .fvw-g-road{fill:var(--il-g-road)}.v3pic .fvw-g-block{fill:var(--il-g-ground)}
.v3pic .fvw-g-plot{fill:none;stroke:var(--il-g-plot);stroke-width:.8}
.v3pic .fvw-g-lane{stroke:var(--il-g-lane);stroke-width:1;stroke-dasharray:5 5;stroke-linecap:round}
/* Night windows on the faded city: a few lit squares, invisible by day */
.v3pic .v3-nw{fill:var(--il-w-win);opacity:.55}
.v3pic .v3-sand{fill:var(--il-w-sand)}.v3pic .v3-sand-2{fill:var(--il-w-sand-2)}
.v3pic .v3-hsh{fill:var(--il-w-hshadow)}
/* Ambient life: clouds, their shadows, birds */
.v3pic{--v3-cloud:#FFFFFF;--v3-cloud-op:.92;--v3-cloud-edge:#E3EAF2;--v3-cloud-sh:rgba(11,23,38,.05);--v3-bird:#6B7A90}
.v3pic.d-b,.d-b .v3pic{--v3-cloud:#2B3A55;--v3-cloud-op:.55;--v3-cloud-edge:#22304A;--v3-cloud-sh:rgba(0,0,0,.14);--v3-bird:#9FB0C8}
.v3pic .v3-cloud{fill:var(--v3-cloud)}.v3pic .v3-cloud-under{fill:var(--v3-cloud-edge);transform:translateY(1.6px)}
.v3pic .v3-sky > g{opacity:var(--v3-cloud-op)}
.v3pic .v3-cloud-shade{fill:var(--v3-cloud-sh)}
.v3pic .v3-bird{fill:none;stroke:var(--v3-bird);stroke-width:1;stroke-linecap:round;stroke-linejoin:round}

/* Hero helpers */
.v3pic .h-t{fill:var(--h-t)}.v3pic .h-r{fill:var(--h-r)}.v3pic .h-l{fill:var(--h-l)}
.v3pic .h-a{fill:var(--h-a)}.v3pic .h-d{fill:var(--h-d)}.v3pic .h-g{fill:var(--h-g)}
.v3pic .h-as{stroke:var(--h-a);fill:none}.v3pic .h-ds{stroke:var(--h-d);fill:none}.v3pic .h-ls{stroke:var(--h-l);fill:none}
.v3pic .n-w{fill:var(--v3-white)}.v3pic .n-g{fill:var(--v3-glass)}.v3pic .n-wood{fill:var(--v3-wood)}.v3pic .n-wood2{fill:var(--v3-wood-2)}
.v3pic .n-sea{fill:var(--v3-sea)}.v3pic .n-foam{stroke:var(--v3-foam);fill:none}.v3pic .n-p{fill:var(--v3-person)}
/* After dark only / Daylight only pieces */
.v3pic .only-night{opacity:0}.v3pic.d-b .only-night,.d-b .v3pic .only-night{opacity:1}
.v3pic.d-b .only-day,.d-b .v3pic .only-day{opacity:0}

/* A place name: the website pictures' muted mono pill */
.v3-place{position:absolute;transform:translate(-50%,-50%);display:inline-flex;align-items:center;height:calc(1.9*var(--x));padding:0 calc(.75*var(--x));
  border-radius:999px;background:var(--v3-pill);color:var(--v3-pill-ink);font:600 var(--x)/1 "Geist Mono",ui-monospace,monospace;letter-spacing:.04em;white-space:nowrap;
  box-shadow:0 1px 3px rgba(11,23,38,.08),0 0 0 1px var(--v3-pill-line);pointer-events:none}
.v3pic{container-type:size;overflow:hidden;--v3-gop:.12}
.v3pic.d-b,.d-b .v3pic{--v3-gop:.3}
.v3pic .v3-apron{fill:var(--il-w-apron)}
.v3-place{--x:max(9px,2.78cqw)}

/* Round 4 settings (kit.js, world's o.setting): the open grounds and their parts. Daylight, then After dark. */
.v3pic{--il-w-rock-t:#EFE8DC;--il-w-rock-r:#DFD3BF;--il-w-rock-l:#CBBDA4;--il-w-fair:#EEF7F0;--il-w-green:#E2F1E6;--il-w-rough:#E3EEE6;
  --il-w-lawn:#EEF6F0;--il-w-path:#F6F2EA;--il-w-mud:#EDE6DA;--il-w-rwy:#DDE2E9;--v3-taxi:#E9D9A6;--il-w-scrub:#DCD0B8}
.v3pic.d-b,.d-b .v3pic{--il-w-rock-t:#6A6455;--il-w-rock-r:#575246;--il-w-rock-l:#46423A;--il-w-fair:#183530;--il-w-green:#1D3D35;--il-w-rough:#112622;
  --il-w-lawn:#163029;--il-w-path:#22324A;--il-w-mud:#3E3B33;--il-w-rwy:#1A2537;--v3-taxi:#6E6440;--il-w-scrub:#4A4638}
.v3pic .v3-rough{fill:var(--il-w-rough)}.v3pic .v3-fair{fill:var(--il-w-fair)}.v3pic .v3-green{fill:var(--il-w-green)}
.v3pic .v3-lawn{fill:var(--il-w-lawn)}.v3pic .v3-path{fill:var(--il-w-path)}.v3pic .v3-mud{fill:var(--il-w-mud)}
.v3pic .v3-rwy{fill:var(--il-w-rwy)}.v3pic .v3-rwy-mark{stroke:var(--il-w-mark);stroke-width:1.2;stroke-dasharray:7 7;fill:none}
.v3pic .v3-scrub{fill:var(--il-w-scrub)}.v3pic .v3-sand-3{fill:var(--il-w-sand-3)}
.v3pic .v3-haze-desert,.v3pic .v3-haze-mountains,.v3pic .v3-haze-airport{stop-color:var(--il-w-sand)}
.v3pic .v3-haze-park,.v3pic .v3-haze-golf{stop-color:var(--il-w-park)}
.v3pic .v3-haze-wetland{stop-color:var(--il-w-water)}
