/*
 * `manipulation` drops the gestures a game has no use for — double-tap to zoom
 * above all, whose 300ms wait for a second tap otherwise sits between every tap
 * and the button it lands on. This, not the viewport meta, is what actually turns
 * it off: iOS Safari has ignored `user-scalable=no` since iOS 10.
 *
 * Set here on the root rather than on the canvas so it also covers the HTML the
 * game overlays (the rules page), and `manipulation` rather than `none` so that
 * page can still be scrolled — it narrows itself to `pan-y` on its own element.
 *
 * **And the document itself does not scroll.**
 *
 * There is nothing here to scroll to: the game is one canvas cut to the window and the panel is a
 * fixed sheet over it, and the one page that does scroll — the rules — is its own scroller inside
 * that sheet (`.mui-popup__page` in `@magic/ui`). What a scrollable document would give a phone
 * instead is a game that can be *dragged*: a flick that misses a control carries the whole canvas
 * up under the panel, and on iOS it takes the browser's toolbars with it, which resizes the page and
 * moves everything again halfway through the gesture.
 *
 * It only takes a page a pixel taller than the window for that to be possible, and this page has
 * spent most of its life exactly that: the body was `min-height: 100vh`, and `100vh` on a phone is
 * the *large* viewport, the one the window would have if the toolbars were retracted — so with them
 * up the body stood taller than the window by the height of the toolbar itself. The body is measured
 * in `dvh` now (see its own rule below) and this is the backstop under that.
 */
html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    overflow: hidden;
}

body,
canvas,
div {
    display: block;
    outline: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*
 * Nothing here is text to be selected, and nothing here is an object to be dragged.
 *
 * This is not tidiness. A press that begins on the canvas or on one of the React controls and then
 * travels — a drag across the bet grid, a scrub of the volume bar, a swipe over the reels — is a
 * *selection* gesture as far as the browser is concerned, and it makes one: a blue wash over
 * whatever the pointer passed, and a caret left behind that the next tap has to clear before it
 * counts as a press. iOS adds its Copy / Look Up callout to that on a long hold. All of it arrives
 * during the manipulation it interrupts, which is what makes it worse than cosmetic.
 *
 * On `*`, not only on the root: `user-select` inherits, so the root alone would carry most of the
 * tree, but the UA sheet *declares* its own value on a few elements — images, form controls — and a
 * declared value beats an inherited one whatever its specificity. (Author `*` still beats a UA
 * `img`: origin is settled before specificity is looked at.) The rule this was split out of named
 * `body, canvas, div`, which was three of the elements the game happens to be built from; it caught
 * their descendants by inheritance and left everything the rules page is made of to the UA.
 *
 * `-webkit-user-drag` is what stops a picture being lifted and a ghost of it carried across the
 * page. Gecko has no such property and reads `draggable="false"` on the element instead — hence the
 * attribute on the loader in `index.html` and on the images the rules page's Markdown emits.
 */
* {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

/*
 * The backstop, for a selection made without a gesture: ⌘A, or a script that sets a range. Nothing
 * above can prevent those, and this is what keeps them from painting over the game when they happen.
 */
::selection {
    background: transparent;
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* The window the page actually has, and **the box the canvas is drawn at**: the engine measures
       this element rather than the window (`onResize` in `MagicSlot`), so whatever is written here is
       what the game is sized to. `dvh` and not `vh` or a percentage of the block the browser says
       this box sits in: both of those can be the *large* viewport on a phone, and a body an inch
       taller than the window is a game that can be dragged off the top of it. */
    height: 100dvh;
    border: 0;
    cursor: default;
    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    /* Cross-axis start, not centre: the canvas is sized to this box, so centring it only ever has
       something to centre inside of in the frame after a resize, before the game has been given the
       new width — and then it offsets the game to the right and `overflow: hidden` eats the far edge.
       There is no width at which the canvas should sit anywhere but flush left. */
    align-items: flex-start;
    /* No min-width, and no min-height either: between them they were what made the body larger
       than the window it is drawn in. The game scales to whatever it is given; it does not need
       a floor in either axis. */
    background-color: black;
}

/* --------------------------------------------------------- the launch screen */

/*
 * The pictures the game opens on and the bar that reports the load — the page's own launch screen,
 * markup and behaviour both in `index.html`. Nothing in `@magic/ui` or under `src/` draws any of it.
 *
 * ## Where the bar's line is
 *
 * **On the play button's own centre** — the spin disc the panel puts up when the load is done, which
 * is where the bar is headed anyway (`arrive` in `index.html`, `startDisc` in `@magic/ui`). So the
 * light fills where the button will be rather than somewhere above it, and what the arrival has left
 * to do is draw the line in to a disc, with nowhere to carry it.
 *
 * It is worked out here rather than measured because it has to hold **before there is anything to
 * measure**: the bar is up while the bundle is still in flight and the panel that draws the disc is
 * part of that bundle. A line taken off the button once it landed would move the bar under the
 * player's eyes at the moment it arrived — and the button is deliberately not put up until the light
 * has reached it.
 *
 * **So it is `@magic/ui`'s own sum, restated** — `--mui-origin-y` in its `base.css`, plus the 342
 * units the design puts between that origin and the disc's centre (`BASELINE` in `layout/design.ts`;
 * the 83 below is the disc's radius, half of `CONTROLS.spin.size`). The defaults are this game's:
 * it declares none of the `--mui-*` tokens for itself. **Another anchor, another drop, or a disc of
 * another size, and these numbers change.**
 *
 * The two are not wired together, and cannot be: the package's tokens are declared on `.mui` and
 * arrive with the bundle. What keeps them honest is the arrival itself — it flies to the disc as
 * *measured*, so a sum that has drifted comes out as a short hop rather than as a bar in the wrong
 * place.
 */
:root {
    /*
     * `--mui-min-width`: the room the panel asks for before it starts scaling down. It is lowered
     * twice as the page narrows and the bar closes its end groups up — `narrow.css`, whose two tiers
     * are the media queries below.
     */
    --loading-panel-min-width: 860;

    /* `--mui-unit` and `--mui-slack`, flattened: the panel's design unit on this screen, and the
       page the design space is not standing in — which is as far as the drop can be taken. */
    --loading-unit: min(1px, 100dvh / 1080, 100dvw / var(--loading-panel-min-width));
    --loading-slack: max(0px, (100dvh - 1080 * var(--loading-unit)) / 2);

    /* The second term is `--mui-origin-y`'s own ceiling, for the short page whose panel has stopped
       coming down: the disc's foot held a footroom off the bottom, less its radius. It is also why
       there is no clamp on the bar below — this line cannot be put off the page. */
    --loading-line: min(
        50dvh + min(20px, var(--loading-slack)) + 416.663414 * var(--loading-unit),
        100dvh - env(safe-area-inset-bottom, 0px) - 8px - 83 * var(--loading-unit)
    );

    /*
     * **Half the reel frame**, out from the middle of the window — where the arrows below stand.
     *
     * The frame is 1146 units of the layout wide and centred on the window, and the layout is scaled by
     * `resize` in magic-slot's `Main.controller`: the smaller of the window's two sides over
     * `minWidth`/`minHeight` from `main.ts`, both 1080, and never more than 1 — so the game shrinks into a
     * small window and stops growing at its authored size. That is the whole of the `min()`, the 1080px
     * term standing for the 1. **Another `minWidth`, or reels of another width, and this number changes.**
     */
    --splash-reel-half: calc(min(100dvw, 100dvh, 1080px) * 573 / 1080);

    /*
     * **Where the lockup has to stop clearing room for** — the play button's own top edge, a small gap
     * above it. `--loading-line` above is already the button's *centre*, worked out the same way for the
     * same reason: it has to hold before there is a button to measure. `83 * unit` is that disc's radius,
     * restated rather than shared because the two live in unrelated rules.
     */
    --splash-opt-out: 36px;
    --splash-safe-bottom: calc(var(--loading-line) - 83 * var(--loading-unit) - 12px - var(--splash-opt-out));
}

/* The bar's two tiers, `narrow.css`'s restated: the panel is drawn at a larger unit on a page it has
   closed itself up for, so the disc stands lower than the width above would put it. */
@media (min-height: 1080px) and (max-width: 860px),
    (max-height: 1080px) and (max-aspect-ratio: 860 / 1080) {
    :root {
        --loading-panel-min-width: 690;
    }
}

@media (min-height: 1080px) and (max-width: 690px),
    (max-height: 1080px) and (max-aspect-ratio: 690 / 1080) {
    :root {
        --loading-panel-min-width: 632;
    }
}

/* See the comment on this element in `index.html`: where `fit` reads `--splash-safe-bottom` from. */
#splash-safe-bottom {
    position: fixed;
    top: var(--splash-safe-bottom);
    left: 0;
    visibility: hidden;
}

.splash__opt-out {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: calc(var(--splash-safe-bottom) + var(--splash-opt-out));
    transform: translate(-50%, -100%);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 6px 4px;
    color: rgba(255, 255, 255, 0.92);
    font-family: system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 12px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease-out;
}

.splash__opt-out.is-shown {
    opacity: 1;
    pointer-events: auto;
}

.splash__opt-out input {
    appearance: none;
    display: grid;
    place-items: center;
    flex: none;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.splash__opt-out input::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #0d0b1a;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.2 5 8.6 9.5 3.6'/%3E%3C/svg%3E")
        center / contain no-repeat;
    transform: scale(0);
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.splash__opt-out:hover input {
    border-color: #fff;
}

.splash__opt-out input:checked {
    border-color: #fff;
    background: #fff;
}

.splash__opt-out input:checked::after {
    transform: scale(1);
}

.splash__opt-out input:active {
    transform: scale(0.9);
}

.splash__opt-out input:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* The press ring the slot menu's rows throw off (see .mui-menu__row::after in packages/ui), centred
   on the box: 4px of padding plus half the 20px box. */
.splash__opt-out::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 14px;
    width: 56px;
    aspect-ratio: 1;
    translate: -50% -50%;
    background: radial-gradient(
        circle closest-side,
        transparent 40%,
        rgba(255, 255, 255, 0.5) 57%,
        transparent 74%
    );
    opacity: 0;
    transform: scale(2.2);
    transition:
        transform 0.62s ease-out,
        opacity 0.55s ease-out;
    pointer-events: none;
}

.splash__opt-out:active::after {
    opacity: 0.9;
    transform: scale(0.38);
    transition-duration: 0s;
}

@media (prefers-reduced-motion: reduce) {
    .splash__opt-out::after {
        content: none;
    }
}

/* --------------------------------------------------------- the pictures */

/*
 * **Under the panel, not over it** — z-index 4 against `.mui`'s 5.
 *
 * Which is the one arrangement that gives both halves of this screen what they need: the play button
 * is the panel's own spin disc wearing a play mark, so it stands over the picture and takes its press,
 * while `.mui` is a sheet of nothing under that one disc and every drag that is not on it falls
 * through to here. A sheet over the panel would have swallowed the press it exists to ask for.
 *
 * `fixed`, so the pictures are placed against the window itself rather than against the body — which
 * is the same box now that the body is measured in `dvh`, and was not while it carried a
 * `min-height` of the taller viewport a phone only has with its toolbars retracted.
 */
.splash {
    position: fixed;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    /* Around the artwork, under any transparency in it, and behind it while it is still being
       fetched. The same black the page itself is, so the two cannot be told apart. */
    background: #000;
    opacity: 1;
    transition:
        opacity 400ms ease-out,
        background-color 400ms ease-out;
    /* The horizontal axis is this sheet's, for swiping; the vertical stays the browser's, so a page
       that can scroll still scrolls. Set here rather than on the track because the drag is read on
       the sheet, which is the whole viewport. */
    touch-action: pan-y;
}

/*
 * **Loaded** — the backdrop goes, and the game behind it is on screen. What is left is the artwork
 * over the reels, with the play disc on the panel below it: a title card, rather than a sheet in
 * front of everything.
 */
.splash--ready {
    background: transparent;
}

/*
 * On its way out, at the press of play — 400ms, which is `EXIT_MS` in `index.html` less the slack
 * that timer keeps before it takes the element off the page.
 *
 * The pointer goes with the opacity rather than at the end of it, so the first press of the spin
 * button underneath is not caught by a sheet that is already half gone.
 */
.splash.is-leaving {
    opacity: 0;
    pointer-events: none;
}

/* Nothing but the frame the pictures are placed in. They are stacked on it, not laid out along it. */
.splash__track {
    position: absolute;
    inset: 0;
}

/*
 * **One picture, one screen** — every slide is the whole frame, and which of them the player can see is
 * a matter of where each is translated to. The script writes that transform, a screen's width apiece
 * either side of the middle, and turns the transition off for the pictures it is parking and for the
 * length of a drag: a picture that eases towards the finger is a picture that lags behind it.
 *
 * Stacked rather than strung along a strip because the run is a circle — see the note in `index.html`.
 * A strip has two ends and going round from one to the other would run every picture in between past
 * the player.
 */
.splash__slide {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1);
}

/*
 * **The picture: down to fit, and never up.**
 *
 * A splash is a lockup — a title, a row of symbols, a max-win line, drawn to its own edges with nothing
 * spare — so unlike the scene behind it there is no bleed to give away. It cannot be cropped without
 * losing part of what it says, and it cannot be enlarged without going soft: authored pixels stretched
 * over a wider window is a blurred picture. So the whole of it is always on screen, at its own size
 * wherever there is room for that.
 *
 * Two caps and no width, which is the whole rule: the picture takes its intrinsic size, `max-width`
 * brings it down to a window narrower than it is, and `max-height` brings it down again when *that*
 * width leaves it too tall to fit — a short landscape window, or artwork drawn tall. The browser holds
 * the ratio through both, because only one of the two dimensions is ever declared.
 *
 * Centred by hand rather than by flexbox: the slide is also the drag's frame, and an item centred by
 * `justify-content` cannot then be moved by a transform without fighting it.
 */
/*
 * **The picture, centred on the middle of the window** — the same line the two arrows stand on, so
 * the artwork sits between them rather than above or below them.
 *
 * **`--splash-fit`, not a `max-height`.** A cap on this box's height only ever had one thing to give —
 * the picture — and gave it by *squashing* it: shrinking a flex item's height without shrinking its
 * width is exactly what the picture's own rule above says never to do. `fit` in `index.html` measures
 * this box at its natural size (`offsetHeight`, which a `transform` does not touch) against
 * `--splash-safe-bottom` below, and writes the one number that brings it down whole. Never above 1:
 * the picture's own down-only rule still holds, this can only ask for less.
 */
.splash__lockup {
    position: absolute;
    top: var(--splash-top, 50%);
    left: 0;
    right: 0;
    transform: translateY(-50%) scale(var(--splash-fit, 1));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.2em;
    box-sizing: border-box;
}

/*
 * `align-items: center`, against the flexbox default of `stretch` — without it, a `picture` squeezed
 * short by the outer column stretches the `<img>` inside it to match, which is the same squashing the
 * comment above rules out, just moved one level down. Centred, the image sizes itself the way the
 * rule above describes and `picture` simply wraps it.
 */
.splash__lockup picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

.splash__image {
    display: block;
    max-width: min(100%, 95dvw);
    max-height: min(100%, 90dvh);
}

/*
 * **The two arrows**, and only on a game that ships more than one picture — the script unhides them when
 * the second one lands. Neither is ever disabled: the run is a circle, so there is no end of it to be
 * stopped at and no state either arrow can be spent in.
 *
 * **At the reels' edges, not at the edges of the window** — `--splash-reel-half` above, which is where
 * the game's own frame comes up to behind this sheet. **And on the play button's line**, not the middle
 * of the window — `--loading-line` above, the disc's own centre, so the three stand in one row.
 *
 * A fixed place, and deliberately not each picture's own edge: the pictures are not all one width, so an
 * arrow that took the edge of whichever one was showing would be somewhere else on every step, and jump
 * as the pictures crossed. The reels do not move. The `max()` is the floor for a window the frame is wider
 * than, where there is no room beside it and the arrow goes over the artwork instead.
 *
 * **A mark, not a disc.** The size is the mark's — three times the chevron the disc used to hold — and the
 * box is the mark: the viewBox is drawn to the ink, so the two rules below place the stroke itself rather
 * than a square with slack around it. The shadow does the work the glass did, since these are over unknown
 * artwork whenever the picture fills the window.
 */
.splash__arrow {
    --splash-arrow-height: 3.6em;
    /* 12 by 21 is the viewBox in `index.html`, which is drawn to the ink. */
    --splash-arrow-width: calc(var(--splash-arrow-height) * 12 / 21);
    /* From the frame, and from the edge of the window when it is standing there instead. */
    --splash-arrow-gap: 0.6em;
    position: absolute;
    top: var(--loading-line);
    transform: translateY(-50%);
    display: block;
    width: var(--splash-arrow-width);
    height: var(--splash-arrow-height);
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(0, 0, 0, 0.45));
    font-size: clamp(13px, 3.6dvw, 16px);
    transition: opacity 0.18s ease-out;
}

/*
 * `[hidden]` is a UA rule — `display: none` at the lowest origin there is — and the `display: block` two
 * rules above beats it on origin alone, whatever the specificity. So a game with one picture, whose
 * arrows are hidden by the script, drew them anyway. Said again here, where it wins.
 */
.splash__arrow[hidden] {
    display: none;
}

.splash__arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Never past the edge of the window, notch included, however wide the frame comes out. */
.splash__arrow--prev {
    left: max(
        calc(var(--splash-arrow-gap) + env(safe-area-inset-left, 0px)),
        calc(50% - var(--splash-reel-half) - var(--splash-arrow-gap) - var(--splash-arrow-width))
    );
}

.splash__arrow--next {
    right: max(
        calc(var(--splash-arrow-gap) + env(safe-area-inset-right, 0px)),
        calc(50% - var(--splash-reel-half) - var(--splash-arrow-gap) - var(--splash-arrow-width))
    );
}

/* Out past the mark, because a chevron is narrow and a thumb is not: this widens what can be pressed
   without moving where the stroke is drawn. */
.splash__arrow::before {
    content: '';
    position: absolute;
    inset: -0.5em -0.8em;
}

.splash__arrow:active {
    opacity: 0.6;
}

.splash__arrow:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

/* --------------------------------------------------------- the bar */

#loading {
    position: fixed;
    inset: 0;
    /* Over the pictures and over the panel both: while the game is loading the progress is the one
       thing on this screen with anything to say. */
    z-index: 30;
    /* Nothing here is pressed — the arrows under it are, and so is the play disc. */
    pointer-events: none;
    opacity: 1;
    transition: opacity 400ms ease-out;
}

/* On its way out, as the play button arrives on the panel below. */
#loading.is-leaving {
    opacity: 0;
}

/*
 * Centred on the line — the play disc's own, worked out at the top of this file, which already holds
 * itself off the foot of a short page and needs no clamp under it.
 *
 * **Centred with `translate` rather than with a `transform`.** It is the same half of itself either way,
 * and it leaves `transform` free — which the bar needs at the end of the load, when it draws itself in to
 * a disc and carries the light down to the start button (`arrive` in `index.html`). The two compose in
 * the order the spec fixes, so the journey is *added* to the centring rather than replacing it; written
 * into one `transform` the pair would have to be restated together on every frame of the move.
 *
 * Being centred on its own point is also what makes the drawing-in free: the box shrinks about the
 * middle whatever size it is, so the light gathers where it already was instead of collapsing towards
 * one end.
 */
.loading__bar {
    position: absolute;
    left: 50%;
    top: var(--loading-line);
    translate: -50% -50%;
    width: min(76dvw, 440px);
    height: 4px;
    border-radius: 999px;
    /* Enough to read as a track over black, not enough to read as a bar that is already part full. */
    background: rgba(255, 255, 255, 0.13);
    overflow: hidden;
}

/*
 * `scaleX` from the left edge rather than a width, so every step is a composited transform and the
 * fill cannot make the browser lay the page out again in the middle of a load. The track's rounding
 * clips it, so the fill itself is a plain rectangle.
 */
.loading__fill {
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transform: scaleX(0);
    transform-origin: left center;
    /* Longer than the gap between two of Pixi's progress reports, so a bundle that lands in one
       piece is a slide rather than a jump. */
    transition: transform 260ms ease-out;
}

/*
 * **The line once it has begun drawing itself in**: the same light as a ball of it, on its way to the
 * button.
 *
 * Only the one thing the animation cannot carry. The shape is `width` and `height` from `index.html`
 * and the journey is a `transform`; this is the glow, which is a shadow rather than a length — a 4px
 * line over black had no use for one, and a disc of light crossing the artwork is not light without it.
 */
.loading__bar--disc {
    box-shadow: 0 0 34px rgba(255, 255, 255, 0.45);
}

/*
 * Before the first byte is accounted for — the manifest is still in flight, so there is no number to
 * draw and an empty track alone would read as a game that has already stalled. Dropped by
 * `setProgress` the moment a real one arrives.
 */
.loading__bar--waiting::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: loading-wait 1.3s ease-in-out infinite;
}

@keyframes loading-wait {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

/*
 * A player who asked for no movement still gets the progress — a bar is information, not decoration —
 * and still gets from one picture to the next. What goes is the travelling: the step between pictures
 * cuts, and so does the bar's. The bar's journey to the start button goes the same way, and is dropped
 * in `index.html` rather than here — it is animated from a script because it is aimed at a measured
 * point, so the script is where the preference has to be read.
 */
@media (prefers-reduced-motion: reduce) {
    .loading__bar--waiting::after {
        animation: none;
    }

    #loading,
    .splash,
    .splash__slide,
    .loading__fill {
        transition: none;
    }
}
