/* MichaelAirJordan.com v2.5 foundation layer.
   Page-specific legacy styles remain separate during Stage 1 so visual changes stay reversible. */
:root {
    color-scheme: dark;
    --site-accent: #e63946;
    --site-gold: #d7b75b;
    --site-focus: #ffffff;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

img,
video {
    max-width: 100%;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--site-focus);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
}

.language-switcher img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* v2.5 language selector and restrained archive details. */
.site-language-switcher{
    position:fixed;top:.75rem;right:.85rem;z-index:80;
    padding:.35rem;border:1px solid rgba(255,255,255,.1);border-radius:999px;
    background:rgba(18,20,24,.88);box-shadow:0 10px 26px rgba(0,0,0,.22);backdrop-filter:blur(10px)
}
.site-language-switcher a{gap:.35rem;padding:.28rem .42rem;border-radius:999px;text-decoration:none;color:#f4f4f4}
.site-language-switcher a[aria-current="page"]{background:rgba(215,183,91,.14)}
.site-language-switcher a:hover,.site-language-switcher a:focus-visible{background:rgba(255,255,255,.08)}
.site-language-switcher .lang-label{display:none;font-size:.82rem;padding-right:.2rem}
.site-language-switcher.labeled .lang-label{display:none}
.history-trigger{appearance:none;border:0;padding:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:.2em;cursor:pointer}
.history-capsule{max-width:600px;margin:1rem auto 0;padding:1rem;border:1px solid rgba(215,183,91,.2);border-radius:14px;background:rgba(9,10,13,.72);text-align:left;box-shadow:0 18px 35px rgba(0,0,0,.22)}
.history-capsule img{max-width:100%;height:auto;margin:.1rem auto .8rem;image-rendering:auto}
.history-capsule p{margin:.4rem 0 0;color:#c9ccd2;line-height:1.6}
.history-capsule strong{color:#f0d27e}
.not-found-shell{min-height:100vh;display:grid;place-items:center;padding:2rem;background:radial-gradient(circle at top,rgba(230,57,70,.12),transparent 35%),#17191d;color:#f2f2f2;font-family:Arial,sans-serif}
.not-found-card{width:min(620px,100%);padding:2rem;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:#202329;box-shadow:0 24px 55px rgba(0,0,0,.32);text-align:center}
.not-found-card .number{font-size:clamp(4rem,14vw,8rem);line-height:.9;font-weight:800;color:#d7b75b}.not-found-card h1{margin:.8rem 0 .6rem}.not-found-card p{color:#b8bcc4;line-height:1.65}.not-found-card a{display:inline-flex;margin-top:.7rem;padding:.72rem 1rem;border-radius:999px;background:#e63946;color:#fff;text-decoration:none;font-weight:700}
@media(max-width:720px){.site-language-switcher{top:.45rem;right:.45rem}.site-language-switcher.labeled .lang-label{display:none}}

/* Contact-form honeypot: kept outside the visible and keyboard-accessible flow. */
.site-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}


/* v2.5.1 visual patch: compact language switcher, safe topbars and subtle basketball easter eggs. */
.site-language-switcher .lang-label,
.site-language-switcher.labeled .lang-label{display:none!important}
.site-language-switcher a{min-width:2.35rem;padding:.3rem .38rem}
.site-language-switcher img{display:block}

@media(min-width:721px){
  body>.topbar .topbar-inner{padding-right:9rem!important}
  body>.topbar .topbar-note{min-width:0;max-width:min(54ch,55%);overflow-wrap:break-word}
}
@media(max-width:720px){
  body>.topbar .topbar-inner{padding-top:3.35rem!important}
}

.history-capsule img{display:block;width:auto}
.history-capsule-title{display:flex;align-items:center;gap:.65rem;margin:.15rem 0 .35rem;font-family:'Oswald',Arial,sans-serif;font-size:1.12rem;font-weight:600;letter-spacing:.035em;color:#f0d27e}
.history-capsule-title::before{content:"";width:2.25rem;height:2px;flex:0 0 auto;background:linear-gradient(90deg,#f29a38,#d7b75b);border-radius:999px}
.history-capsule-title span{color:#f29a38;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}

.mj-easter-trigger{appearance:none;border:1px solid rgba(242,154,56,.34);background:rgba(242,154,56,.09);color:#ffd49a;border-radius:999px;padding:.38rem .68rem;font:600 .8rem/1 'Roboto',Arial,sans-serif;letter-spacing:.035em;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease}
.mj-easter-trigger:hover,.mj-easter-trigger:focus-visible{transform:translateY(-1px);border-color:rgba(242,154,56,.7);background:rgba(242,154,56,.16)}
.mj-easter-actions{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}
.mj-easter-panel{margin-top:.75rem;padding:.95rem 1rem;border:1px solid rgba(242,154,56,.26);border-radius:16px;background:radial-gradient(circle at 86% 14%,rgba(242,154,56,.13),transparent 26%),linear-gradient(135deg,rgba(230,57,70,.09),rgba(17,21,28,.96));box-shadow:0 15px 32px rgba(0,0,0,.2)}
.mj-easter-panel strong{color:#fff}.mj-easter-panel p{margin:.35rem 0 0!important;color:#d7dbe2!important;line-height:1.6!important}
.mj-easter-score{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.7rem}
.mj-easter-score span{display:inline-flex;align-items:center;padding:.4rem .58rem;border-radius:8px;background:#11151b;border:1px solid rgba(255,255,255,.09);font-family:'Oswald',Arial,sans-serif;letter-spacing:.045em;color:#f2c56b}
.mj-easter-note{display:block;margin-top:.65rem;color:#9ea6b2;font-size:.78rem}

.image-frame .jersey-easter-trigger{position:absolute;right:1.35rem;bottom:1.35rem;z-index:4;width:3rem;height:3rem;border-radius:50%;padding:0;border:2px solid rgba(255,255,255,.72);background:linear-gradient(145deg,#d92535,#8e1220);color:#fff;font:700 1.15rem/1 'Oswald',Arial,sans-serif;box-shadow:0 9px 22px rgba(0,0,0,.36);cursor:pointer}
.image-frame .jersey-easter-trigger:hover,.image-frame .jersey-easter-trigger:focus-visible{transform:rotate(-4deg) scale(1.05);border-color:#f4c66b}
.image-frame .jersey-easter-panel{position:absolute;z-index:5;right:1rem;bottom:5rem;width:min(19rem,calc(100% - 2rem));padding:.85rem .9rem;border-radius:14px;border:1px solid rgba(242,154,56,.42);background:linear-gradient(145deg,rgba(14,17,22,.97),rgba(55,20,25,.97));box-shadow:0 18px 38px rgba(0,0,0,.42);text-align:left}
.image-frame .jersey-easter-panel::before{content:"";position:absolute;inset:.55rem;border:1px solid rgba(242,154,56,.16);border-radius:10px;pointer-events:none}
.image-frame .jersey-easter-panel>*{position:relative;z-index:1}
.image-frame .jersey-easter-panel strong{display:block;font-family:'Oswald',Arial,sans-serif;font-size:1.2rem;letter-spacing:.04em;color:#fff}
.image-frame .jersey-easter-panel p{margin:.28rem 0 0;color:#d0d4dc;font-size:.86rem;line-height:1.5}
.image-frame .jersey-easter-panel .scoreline{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.55rem}
.image-frame .jersey-easter-panel .scoreline span{padding:.3rem .45rem;border-radius:7px;background:#171b22;border:1px solid rgba(255,255,255,.08);color:#f2c56b;font-family:'Oswald',Arial,sans-serif;font-size:.82rem;letter-spacing:.04em}

.shot-clock{display:inline-grid;place-items:center;margin:0 auto .7rem;padding:.45rem .62rem;border:2px solid #e63946;border-radius:8px;background:#090b0e;box-shadow:0 0 0 3px rgba(242,154,56,.12);font-family:'Oswald',Arial,sans-serif;color:#ff5b64}
.shot-clock span{font-size:1.45rem;line-height:1;letter-spacing:.08em}.shot-clock small{margin-top:.2rem;font-size:.55rem;letter-spacing:.12em;color:#f29a38}
