:root {
    --odin-gold: #d9b65d;
    --odin-surface: #171719;
}

html:not([data-theme="light"]) {
    --bg: #0d0d0f;
    --bg2: #131315;
    --card: var(--odin-surface);
    --gold: var(--odin-gold);
    --gold2: #b28b3d;
    --theme-bg: var(--bg);
    --theme-surface: var(--odin-surface);
    --theme-surface-2: #222124;
    --theme-text: #f5f1e8;
}

html:not([data-theme="light"]) body { background-color: var(--bg); }
html:not([data-theme="light"]) .navbar,
html:not([data-theme="light"]) .mobile-sport-nav,
html:not([data-theme="light"]) .admin-sidebar { background: #111113; }
html:not([data-theme="light"]) .footer,
html:not([data-theme="light"]) .z6-panel,
html:not([data-theme="light"]) .zc { background-color: #121214; }
html:not([data-theme="light"]) .mc-league-panel,
html:not([data-theme="light"]) .mc-fixture,
html:not([data-theme="light"]) .zc-section { background-color: var(--odin-surface); }

.text-logo strong {
    font-size: clamp(15px, 2.1vw, 25px);
    letter-spacing: .035em;
}
.text-logo .logo-icon { filter: none; }
.text-logo .logo-icon img,
.auth-brand-icon img { object-fit: contain; }
.odin-admin-emblem { display: block; margin: 0 auto 12px; }

.z8-carousel {
    border-color: #64502d;
    background-color: #0d0d0f;
}
.z8-slide {
    background-image: linear-gradient(90deg, #0d0d0ff5 0%, #0d0d0fb3 39%, #0d0d0f00 76%), var(--banner);
}
.z8-slide-text h2,
.zc-hero h1 { font-family: Georgia, serif; }
.z8-slide-text small { color: var(--odin-gold); }
.z8-slide-text a { background-color: var(--odin-gold); color: #15110a; }

@media (max-width: 700px) {
    .text-logo { gap: 5px; }
    .text-logo .logo-icon img { width: 28px; height: 28px; }
    .z8-slide { background-size: cover; background-position: 66% center; }
    .z8-slide-text { max-width: 72%; }
}

html:not([data-theme="light"]) .auth-page,
html:not([data-theme="light"]) .auth-shell,
html:not([data-theme="light"]) .auth-panel {
    background: #0e0e10;
}
html:not([data-theme="light"]) .auth-shell { border-color: #4c3d26; }
.auth-submit-btn { background: linear-gradient(115deg,#ddc37e,#bf9a50); color: #16110a; }

.auth-page .auth-visual { background: #131315; border-color: #64502d; }
.odin-auth-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
}
@media (max-width: 1100px) {
    .auth-page .auth-visual,
    .auth-register-page .auth-visual-register {
        display: block;
        min-height: 0;
        height: clamp(175px, 34vw, 310px);
    }
}

.mc-team-logo { position: relative; }
.mc-team-logo img[data-match-team-logo] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #171719;
}
.mc-team-logo img[data-match-team-logo][hidden] { display: none; }

.home-match-center {
    padding-top: 90px; /* Reserve space for the fixed site header. */
}

.home-showcase {
    height: clamp(290px, 31vw, 410px);
    background: #101014;
}

.home-showcase .z8-slide {
    display: grid;
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
    align-items: center;
    background: radial-gradient(ellipse at 75% 45%, #2d231a, #101014 68%);
}

.home-showcase .z8-slide-text {
    position: static;
    max-width: none;
    padding-inline: clamp(16px, 5vw, 68px) 0;
    transform: none;
}

.home-showcase-art {
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 8px clamp(8px, 2vw, 28px) 12px 8px;
    box-sizing: border-box;
}

.home-showcase-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-showcase .z8-controls {
    left: clamp(16px, 5vw, 68px);
    right: auto;
    bottom: 14px;
}

@media (max-width: 700px) {
    .home-showcase { height: clamp(225px, 58vw, 330px); }
    .home-showcase .z8-slide { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
    .home-showcase .z8-slide-text { padding-bottom: 32px; }
    .home-showcase .z8-slide-text small { font-size: 12px; }
    .home-showcase .z8-slide-text h2 { margin-block: 8px 13px; }
    .home-showcase-art { padding-bottom: 24px; }
}
