First-principles (the equation is the real one, only the geometry is simplified): Rayleigh λ⁻⁴ scaling, the Planck illuminant and thermal term, the exact single-scattering slab solution, Kasten-Young airmass, CIE 1931 integration, the XYZ to sRGB matrix, Bradford chromatic adaptation, the lux integral (683 lm/W × ȳ).
Fitted (a number or a shape chosen to look right, not derived): the per-gas scattering coefficients, the methane band curve and its strength constant, the haze wavelength exponent, the haze albedo range and its blue-tilted absorption, the Henyey-Greenstein asymmetry g = 0.7, the multiple-scattering chromaticity blend (its 0.5 threshold, its 0.85 ceiling and its linear ramp), the dome tone curve and its exposure floor (skies below 10⁻⁴ of the star's irradiance are shown dark instead of normalised), and every preset value.
Known omissions: no Mie theory or aerosol size distributions, no ozone Chappuis band (real Earth twilight is bluer than this), no spherical-shell geometry (so twilight is wrong and cut at −10°), no polarisation, no clouds, no surface reflection into the sky, no equilibrium temperature, no check that the world could exist. Real Mars dust and Titan tholins have albedo spectra measured across many wavelengths; here they are one number and one tilt.
The reason to take the invented worlds semi-seriously: Earth and Mars are not special-cased anywhere. They are produced by the same equations, with the same fitted constants, that produce the lava world and the M-dwarf sky. Add ?test to the URL to see the regression harness assert that Earth comes out blue, its sunset red, Mars butterscotch and Titan orange, with the actual hex values printed. If that harness ever fails, the presets are not to be adjusted to hide it.