/* home_page.css - the home page (v11 Deep Space redesign, Oct 2026).
 * The name above a planet's glowing horizon with the squad's mark in a
 * holographic ring, a scanner band of live numbers, then HUD panels: the
 * live numbers, the operations board, The Squad and the Data Hub.
 * Plain words, no em dashes (site rule).
 */

body.mc-home main.site-content {
    padding-bottom: 0;
}

main.mc {
    counter-reset: mcsec;
}

/* ------------------------------------------------------------- hero */
.mc-hero {
    position: relative;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: center;
    gap: 2rem;
    min-height: min(86vh, 820px);
    padding: clamp(2rem, 6vh, 4rem) var(--gutter) clamp(9rem, 22vh, 14rem);
    overflow: hidden;
    isolation: isolate;
}

/* The planet: a huge disc whose top edge is the horizon, lit along its rim
   by the atmosphere in the theme colour. */
.mc-planet {
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: calc(-1 * min(240vw, 3200px) + clamp(7rem, 18vh, 11rem));
    width: min(240vw, 3200px);
    aspect-ratio: 1 / 1;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 22%, #050A14) 0%, #040912 7%, #020509 40%);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--accent) 70%, white),
        0 -2px 18px 2px var(--accent),
        0 -20px 80px 10px var(--glow-colour),
        0 -60px 200px 40px color-mix(in srgb, var(--accent) 18%, transparent);
    pointer-events: none;
}

body.theme-alt .mc-planet {
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 22%, #0C0508) 0%, #0E0408 7%, #060204 40%);
}

/* A sunrise flare on the horizon. */
.mc-planet::before {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    width: 60%;
    height: 80px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.55), color-mix(in srgb, var(--accent) 40%, transparent) 30%, transparent 70%);
    filter: blur(6px);
}

.mc-hero-in {
    position: relative;
}

.mc-callsign {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.4rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--rule);
    background: rgba(4, 10, 22, 0.5);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.mc-callsign::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
    .mc-callsign::before {
        animation: mcBlink 1.6s ease-in-out infinite;
    }
}

.mc-word {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 7.4vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0 0 30px var(--glow-colour), 0 0 2px rgba(255, 255, 255, 0.6);
}

.mc-lede {
    max-width: 48ch;
    margin: 1.4rem 0 0;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--ink-2);
}

.mc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.mc-actions .v7-btn {
    min-height: 46px;
    padding: 0.6rem 1.5rem;
}

/* The mark in a holographic ring. */
.mc-mark {
    position: relative;
    justify-self: center;
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.mc-mark::before,
.mc-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--rule);
}

.mc-mark::before {
    inset: 6%;
    border: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent);
    box-shadow: 0 0 40px -10px var(--glow-colour), inset 0 0 40px -10px var(--glow-colour);
}

.mc-mark::after {
    border-color: transparent;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    filter: drop-shadow(0 0 6px var(--accent));
}

@media (prefers-reduced-motion: no-preference) {
    .mc-mark::before {
        animation: mcSpin 60s linear infinite;
    }

    .mc-mark::after {
        animation: mcSpin 9s linear infinite;
    }
}

@keyframes mcSpin {
    to { transform: rotate(360deg); }
}

.mc-mark img {
    position: relative;
    width: 52%;
    height: auto;
    filter: drop-shadow(0 0 18px var(--glow-colour));
}

/* ----------------------------------------------------------- ticker */
.mc-ticker {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--rule-soft);
    border-bottom: 1px solid var(--rule-soft);
    background: rgba(4, 10, 22, 0.6);
    backdrop-filter: blur(10px);
    color: var(--accent-hi);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.mc-ticker::before,
.mc-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 120px;
    pointer-events: none;
}

.mc-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--paper), transparent);
}

.mc-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--paper), transparent);
}

.mc-ticker-track {
    display: inline-flex;
    padding: 0.75rem 0;
}

.mc-ticker span {
    padding: 0 1.6rem;
}

.mc-ticker span::before {
    content: "\25C6";
    margin-right: 1rem;
    color: var(--accent);
    font-size: 0.6rem;
    vertical-align: 2px;
}

@media (prefers-reduced-motion: no-preference) {
    .mc-ticker-track {
        animation: mcTick 50s linear infinite;
    }
}

@keyframes mcTick {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ------------------------------------------------------- HUD panels */
.mc-inst,
.mc-board,
.mc-squad,
.mc-mod {
    position: relative;
    background: rgba(10, 22, 42, 0.62);
    border: 1px solid var(--rule-soft);
    backdrop-filter: blur(10px);
}

body.theme-alt .mc-inst,
body.theme-alt .mc-board,
body.theme-alt .mc-squad,
body.theme-alt .mc-mod {
    background: rgba(40, 12, 18, 0.6);
}

/* Bracket corners. */
.mc-inst::before,
.mc-inst::after,
.mc-board::before,
.mc-board::after,
.mc-squad::before,
.mc-squad::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent);
    pointer-events: none;
    z-index: 1;
}

.mc-inst::before,
.mc-board::before,
.mc-squad::before {
    top: -1px;
    left: -1px;
    border-right: 0;
    border-bottom: 0;
}

.mc-inst::after,
.mc-board::after,
.mc-squad::after {
    right: -1px;
    bottom: -1px;
    border-left: 0;
    border-top: 0;
}

/* ------------------------------------------------------- live numbers */
.mc-instruments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.mc-inst {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
    padding: 1.1rem 1.2rem 1.2rem;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mc-inst:hover {
    border-color: var(--rule);
    box-shadow: 0 0 30px -8px var(--glow-colour), inset 0 0 30px -16px var(--glow-colour);
}

.mc-inst .crt {
    padding: 0;
    background: none;
    box-shadow: none;
    font-size: clamp(2rem, 3.2vw, 3rem);
}

/* ---------------------------------------------- section heads */
.mc-head,
.mc-squad-intro {
    counter-increment: mcsec;
}

.mc-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem 2rem;
    margin: 0 0 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--rule-soft);
    position: relative;
}

.mc-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 140px;
    height: 1px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.mc-head h2,
.mc-squad-intro h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
    text-shadow: 0 0 22px var(--glow-colour);
}

.mc-head h2::before,
.mc-squad-intro h2::before {
    content: "SECTOR " counter(mcsec, decimal-leading-zero);
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--accent);
    text-shadow: none;
}

.mc-head p {
    margin: 0;
    max-width: 44ch;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* ---------------------------------------------------- operations board */
.mc-board-wrap {
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.mc-board-top,
.mc-row {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr) 11rem;
    gap: 1.2rem;
    align-items: start;
    padding-inline: 1.3rem;
}

.mc-board-top {
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--rule-soft);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.mc-row {
    padding-block: 1.1rem;
    border-bottom: 1px solid var(--rule-soft);
    transition: background 0.2s ease;
}

.mc-row:last-child {
    border-bottom: 0;
}

.mc-row:hover {
    background: var(--accent-soft);
}

.mc-when {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-hi);
}

.mc-what h3 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    color: var(--ink);
}

.mc-what p {
    margin: 0;
    max-width: 68ch;
    font-size: 0.95rem;
    color: var(--ink-2);
}

.mc-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
}

.mc-flap {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.65rem;
    border: 1px solid var(--rule-soft);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.mc-row.is-next .mc-flap {
    border-color: var(--accent);
    color: var(--accent-hi);
    box-shadow: 0 0 14px -4px var(--glow-colour);
}

.mc-row.is-live .mc-flap {
    border-color: var(--good);
    color: var(--good);
}

.mc-row.is-live .mc-flap::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--good);
    box-shadow: 0 0 8px var(--good);
}

@media (prefers-reduced-motion: no-preference) {
    .mc-row.is-live .mc-flap::before {
        animation: mcBlink 1.2s ease-in-out infinite;
    }
}

@keyframes mcBlink {
    50% { opacity: 0.25; }
}

.mc-sign {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--link);
    text-decoration: none;
}

.mc-sign:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--glow-colour);
}

.mc-board-empty {
    margin: 0;
    padding: 1.8rem 1.3rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-2);
}

/* ------------------------------------------------------- the squad */
.mc-squad {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
    gap: 0;
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.mc-squad.v7-wrap,
.mc-instruments.v7-wrap {
    width: calc(100% - 2 * var(--gutter));
    max-width: calc(var(--page-w) - 2 * var(--gutter));
    padding: 0;
}

.mc-squad-intro {
    padding: 1.6rem;
    border-right: 1px solid var(--rule-soft);
    background:
        linear-gradient(180deg, rgba(4, 10, 22, 0.35), rgba(4, 10, 22, 0.9)),
        url('../images/bg/66-1920.webp') center / cover no-repeat;
}

.mc-squad-intro p {
    max-width: 36ch;
    margin: 1rem 0 1.6rem;
    font-size: 1rem;
    color: var(--ink-2);
}

.mc-squad-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: mcsq;
}

.mc-squad-list li {
    font-size: 1rem;
    border-bottom: 1px solid var(--rule-soft);
}

.mc-squad-list li:last-child {
    border-bottom: 0;
}

.mc-squad-list a {
    display: grid;
    grid-template-columns: 2.4rem 13rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.3rem;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.2s ease;
}

.mc-squad-list a::before {
    counter-increment: mcsq;
    content: counter(mcsq, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-3);
}

.mc-squad-list a::after {
    content: "\f105";
    font-family: FontAwesome;
    color: var(--ink-3);
}

.mc-squad-list a:hover {
    background: var(--accent-soft);
}

.mc-squad-list a:hover b {
    color: var(--accent-hi);
    text-shadow: 0 0 12px var(--glow-colour);
}

.mc-squad-list a:hover::after,
.mc-squad-list a:hover::before {
    color: var(--accent);
}

.mc-squad-list .fa {
    display: none;
}

.mc-squad-list b {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-squad-list span {
    color: var(--ink-2);
    font-size: 0.93rem;
}

/* --------------------------------------------------------- data hub */
.mc-hub {
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

.mc-modules {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    counter-reset: mcmod;
}

.mc-mod {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 170px;
    padding: 1.1rem 1.2rem 1.2rem;
    color: var(--ink);
    text-decoration: none;
    clip-path: var(--chamfer);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mc-mod::before {
    counter-increment: mcmod;
    content: "MOD-" counter(mcmod, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--ink-3);
}

.mc-mod:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, rgba(10, 22, 42, 0.7));
    box-shadow: inset 0 0 40px -16px var(--glow-colour);
}

.mc-mod .fa {
    position: absolute;
    top: 1.1rem;
    right: 1.2rem;
    color: var(--accent);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 6px var(--glow-colour));
}

.mc-mod b {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-mod span {
    color: var(--ink-2);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* The two big modules carry a picture from the 'verse. */
.mc-mod.is-big {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 340px;
    padding: 1.6rem;
    background:
        linear-gradient(0deg, rgba(3, 8, 18, 0.95) 0%, rgba(3, 8, 18, 0.55) 50%, rgba(3, 8, 18, 0.15) 100%),
        url('../images/bg/140-1920.webp') center / cover no-repeat;
    border-color: var(--rule);
}

.mc-mod.is-big + .mc-mod.is-big {
    background:
        linear-gradient(0deg, rgba(3, 8, 18, 0.95) 0%, rgba(3, 8, 18, 0.55) 50%, rgba(3, 8, 18, 0.15) 100%),
        url('../images/bg/193-1920.webp') center / cover no-repeat;
}

.mc-mod.is-big .fa {
    font-size: 1.8rem;
}

.mc-mod.is-big b {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    text-shadow: 0 0 24px var(--glow-colour);
}

.mc-mod.is-big span {
    max-width: 38ch;
    font-size: 1rem;
    color: var(--ink);
}

.mc-mod.is-big:hover {
    box-shadow: inset 0 0 0 1px var(--accent), 0 0 40px -10px var(--glow-colour);
}

/* The last module stretches to fill its row, whatever the number of
   modules (22 Oct 2026: Mining added; every new Data Hub page gets a module
   here, standing rule 16). Four columns after the two big ones (2 x 2). */
@media (min-width: 1101px) {
    .mc-modules .mc-mod:last-child:nth-child(4n + 1) { grid-column: span 2; }
    .mc-modules .mc-mod:last-child:nth-child(4n + 3) { grid-column: span 4; }
    .mc-modules .mc-mod:last-child:nth-child(4n + 4) { grid-column: span 3; }
}

/* Two columns: an odd one out at the end takes the whole row. */
@media (min-width: 761px) and (max-width: 1100px) {
    .mc-modules .mc-mod:last-child:nth-child(odd) { grid-column: span 2; }
}

/* -------------------------------------------------------- the call */
.mc-call {
    position: relative;
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
    overflow: hidden;
    border-top: 1px solid var(--rule-soft);
    background: radial-gradient(800px 300px at 20% 100%, var(--accent-soft), transparent 70%);
}

.mc-call-in {
    padding-block: clamp(2.6rem, 6vw, 4rem);
}

.mc-call-in h2 {
    margin: 0;
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
    text-shadow: 0 0 30px var(--glow-colour);
}

.mc-call-in p {
    max-width: 46ch;
    margin: 1rem 0 1.6rem;
    font-size: 1.08rem;
    color: var(--ink-2);
}

body.mc-home .site-footer {
    margin-top: clamp(3.5rem, 8vw, 5.5rem);
}

body.mc-home main:has(.mc-call) + .site-footer {
    margin-top: 0;
}

/* ----------------------------------------------------------- phones */
@media (max-width: 1100px) {
    .mc-modules {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mc-squad {
        grid-template-columns: 1fr;
    }

    .mc-squad-intro {
        border-right: 0;
        border-bottom: 1px solid var(--rule-soft);
    }
}

@media (max-width: 760px) {
    .mc-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-bottom: 8rem;
    }

    .mc-mark {
        display: none;
    }

    .mc-board-top {
        display: none;
    }

    .mc-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .mc-status {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .mc-squad-list a {
        grid-template-columns: 2rem minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        row-gap: 0.15rem;
    }

    .mc-squad-list a::before {
        grid-row: span 2;
    }

    .mc-squad-list span {
        grid-column: 2;
    }

    .mc-squad-list a::after {
        grid-row: 1 / span 2;
        grid-column: 3;
    }

    .mc-modules {
        grid-template-columns: 1fr;
    }

    .mc-mod.is-big,
    .mc-modules .mc-mod:last-child {
        grid-column: auto;
        grid-row: auto;
    }

    .mc-mod.is-big {
        min-height: 240px;
    }
}

.theme-contrast .mc-planet,
.theme-contrast .mc-mark::before,
.theme-contrast .mc-mark::after {
    display: none;
}

.theme-contrast .mc-mod,
.theme-contrast .mc-mod.is-big {
    background: #000;
    clip-path: none;
}

/* "Did you know?" (21 Oct 2026, Matt): one Star Citizen fact under the
   buttons, a different one each visit (scripts/home_facts_lib.php,
   js/home_facts.js). A small readout panel, like the instruments. */
.mc-fact {
    position: relative;
    z-index: 2;
    max-width: 52ch;
    margin: 1.6rem 0 0;
    padding: 0.85rem 1rem 0.8rem 1.1rem;
    border: 1px solid var(--rule);
    border-left: 4px solid var(--accent);
    background: color-mix(in srgb, var(--sheet) 82%, transparent);
    text-align: left;
}

.mc-fact-k {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.35rem;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mc-fact-n {
    margin-left: auto;
    color: var(--ink-3);
    letter-spacing: 0.04em;
}

.mc-fact-t {
    margin: 0;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* the bottom line: Another fact on the left, the credit on the right (22 Oct 2026) */
.mc-fact-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.2rem 1rem;
    margin-top: 0.55rem;
}

.mc-fact-by {
    margin-left: auto;
    color: var(--ink-2);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.mc-fact-next {
    margin-top: 0;
    padding: 0.2rem 0;
    border: 0;
    background: none;
    color: var(--link);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.mc-fact-next:hover,
.mc-fact-next:focus-visible {
    text-decoration: underline;
    outline: none;
}

.mc-fact.is-new .mc-fact-t {
    animation: mc-fact-in 0.35s ease;
}

@keyframes mc-fact-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mc-fact.is-new .mc-fact-t {
        animation: none;
    }
}

.theme-contrast .mc-fact {
    background: #000;
    border-color: #fff;
    border-left-color: #FFE000;
}

/* 22 Oct 2026 (speed on phones and slower connections): the banner pictures come from
   images/bg/ - 1920 px wide copies (900 px on phones) of the full-size photos in
   images/webp/ (those stay for the gallery). 8.4 MB of banners became 0.7 MB (0.2 MB on phones). */
@media (max-width: 700px) {
    .mc-squad-intro { background-image: linear-gradient(180deg, rgba(4, 10, 22, 0.35), rgba(4, 10, 22, 0.9)), url('../images/bg/66-900.webp'); }
    .mc-mod.is-big { background-image: linear-gradient(0deg, rgba(3, 8, 18, 0.95) 0%, rgba(3, 8, 18, 0.55) 50%, rgba(3, 8, 18, 0.15) 100%), url('../images/bg/140-900.webp'); }
    .mc-mod.is-big + .mc-mod.is-big { background-image: linear-gradient(0deg, rgba(3, 8, 18, 0.95) 0%, rgba(3, 8, 18, 0.55) 50%, rgba(3, 8, 18, 0.15) 100%), url('../images/bg/193-900.webp'); }
}
