:root {
    color-scheme: dark;
    --rs-ink: #0b1118;
    --rs-panel: #121b24;
    --rs-panel-raised: #18232d;
    --rs-line: rgba(227, 197, 139, .19);
    --rs-paper: #f5efe3;
    --rs-muted: #aab4bd;
    --rs-gold: #e6bd76;
    --rs-gold-light: #ffe3aa;
    --rs-red: #a63a2b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body.runesplit-site { margin: 0; background: radial-gradient(ellipse at 50% -20%, #243544 0, transparent 48%), var(--rs-ink); color: var(--rs-paper); font: 15px/1.65 Inter, Arial, sans-serif; }
body.runesplit-site a { color: inherit; text-decoration: none; }
body.runesplit-site a:focus-visible, body.runesplit-site button:focus-visible { outline: 2px solid var(--rs-gold-light); outline-offset: 4px; }
.skipLink { padding: 8px 12px; position: absolute; z-index: 60; top: 8px; left: -9999px; color: var(--rs-ink) !important; background: var(--rs-gold-light); }
.skipLink:focus { left: 8px; }

.topbar { min-height: 34px; padding: 5px clamp(18px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ffffff10; background: #070c11; color: #d7c59f; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.topbar > span { color: var(--rs-gold-light); }
.topbar a { color: #cbd3d7; font-size: 10px; letter-spacing: .08em; }
.topbar a:hover { color: var(--rs-gold-light); }

.siteHeader { min-height: 106px; padding: 5px clamp(18px, 4vw, 62px); position: sticky; inset: 0 0 auto; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; gap: 24px; border-bottom: 1px solid var(--rs-line); background: rgba(8, 14, 20, .95); box-shadow: 0 8px 30px #0005; backdrop-filter: blur(14px); }
.siteHeader .navFrame { position: absolute; inset: auto 5% 0; height: 1px; background: linear-gradient(90deg, transparent, #e7be7666, transparent); pointer-events: none; }
.siteHeader .navleft, .siteHeader .navright { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 34px); }
.siteHeader .navleft { justify-content: flex-end; }
.siteHeader .navright { justify-content: flex-start; }
.siteHeader .navleft a, .siteHeader .navright a, .siteHeader .mobileNav a { color: #d7d5cf; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .18s, border-color .18s; }
.siteHeader .navleft a:hover, .siteHeader .navright a:hover, .siteHeader .navleft a.active, .siteHeader .navright a.active, .siteHeader .mobileNav a.active { color: var(--rs-gold-light); }
.siteHeader .navleft a.active, .siteHeader .navright a.active { text-shadow: 0 0 15px #d59f5370; }
.siteHeader .logo { width: 112px; height: 96px; display: grid; place-items: center; justify-self: center; }
.siteHeader .logo img { display: block; width: 92px; height: 92px; object-fit: contain; background: transparent; filter: drop-shadow(0 4px 13px #000b); }
.siteHeader .navToggle { display: none; }
.siteHeader .mobileNav { display: none; background: #0b1118; }

#main-content { width: min(1320px, calc(100% - 44px)); margin: 0 auto; }
.runesplit-home { padding: 24px 0 74px; }
.rs-hero { min-height: 0; position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--rs-line); background: #101820; box-shadow: 0 26px 75px #0005; }
.rs-hero::after { display: none; }
.rs-hero__art { position: relative; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 1916 / 821; object-fit: cover; object-position: center; }
.rs-hero__content { width: 100%; padding: clamp(28px, 4vw, 52px) clamp(24px, 6vw, 78px) 65px; background: linear-gradient(110deg, #151f28, #10171e); }
.rs-eyebrow { margin: 0 0 15px; color: var(--rs-gold); font-size: 10px; font-weight: 800; letter-spacing: .22em; line-height: 1.5; }
.rs-live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: #91c98a; box-shadow: 0 0 12px #91c98a; vertical-align: 1px; }
.rs-hero h1, .rs-intro h2, .rs-world-callout h2, .rs-spotlight h2, .rs-final-cta h2 { margin: 0; font: 700 clamp(38px, 4.4vw, 60px)/1.12 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
.rs-hero h1 em, .rs-intro h2 em, .rs-world-callout h2 em, .rs-spotlight h2 em { color: var(--rs-gold-light); font-style: normal; }
.rs-hero__copy { max-width: 570px; margin: 22px 0 25px; color: #d0d3d2; font-size: 14px; line-height: 1.75; }
.rs-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rs-button { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid transparent; border-radius: 3px; font-size: 10px; font-weight: 800; letter-spacing: .04em; transition: transform .18s, background .18s, border-color .18s; }
.rs-button:hover { transform: translateY(-2px); }
.rs-button--gold { color: #20180d !important; background: linear-gradient(135deg, #f5d28b, #c68b42); box-shadow: 0 8px 24px #985d2b55; }
.rs-button--gold:hover { background: var(--rs-gold-light); }
.rs-button--quiet { border-color: #ffffff3a; color: var(--rs-paper) !important; background: #ffffff0b; }
.rs-button--quiet:hover { border-color: var(--rs-gold); background: #ffffff14; }
.rs-button--outline { border-color: #e6bd7680; color: var(--rs-gold-light) !important; background: #0910189e; }
.rs-hero__tags { margin-top: 27px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #c1c7c9; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.rs-hero__tags i { width: 3px; height: 3px; border-radius: 50%; background: var(--rs-gold); }
.rs-hero__scroll { position: absolute; bottom: 22px; left: 30px; color: #c5c8c7 !important; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.rs-hero__scroll span { margin-left: 10px; color: var(--rs-gold); font-size: 15px; }

.rs-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: end; gap: 60px; padding: 91px 4px 35px; }
.rs-intro h2, .rs-spotlight h2 { font-size: clamp(34px, 4vw, 49px); }
.rs-intro > p, .rs-spotlight__intro > p:not(.rs-eyebrow) { margin: 0; color: var(--rs-muted); font-size: 13px; line-height: 1.8; }
.rs-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 0 94px; }
.rs-feature-card { min-height: 252px; padding: 25px; position: relative; overflow: hidden; border: 1px solid var(--rs-line); background: linear-gradient(145deg, #19232c, #10171e); }
.rs-feature-card::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 150px; height: 150px; border: 1px solid #e3ba741b; border-radius: 50%; box-shadow: 0 0 0 17px #e3ba7409, 0 0 0 37px #e3ba7406; }
.rs-feature-card__number { color: #9ba5a9; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.rs-feature-card__icon { display: block; height: 38px; margin-top: 26px; color: var(--rs-gold); font-size: 25px; }
.rs-feature-card h3 { margin: 5px 0 9px; font: 700 18px/1.3 Georgia, 'Times New Roman', serif; }
.rs-feature-card p { margin: 0; color: #acb5b8; font-size: 11px; line-height: 1.7; }

.rs-world-callout { min-height: 330px; position: relative; overflow: hidden; display: flex; align-items: center; border: 1px solid var(--rs-line); background: radial-gradient(ellipse at 82% 50%, #b34d292e, transparent 34%), linear-gradient(120deg, #111a22, #0b1219); }
.rs-world-callout::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 43%, #080f1760 100%); pointer-events: none; }
.rs-world-callout__crest { position: absolute; z-index: 0; top: 50%; right: 9%; width: min(29%, 310px); height: auto; transform: translateY(-50%); object-fit: contain; filter: drop-shadow(0 10px 30px #c9782b40); }
.rs-world-callout__content { width: min(1130px, calc(100% - 52px)); margin: auto; position: relative; z-index: 1; }
.rs-world-callout h2 { font-size: clamp(36px, 4.5vw, 54px); }
.rs-world-callout__content > p:not(.rs-eyebrow) { max-width: 400px; margin: 15px 0 20px; color: #c5c9c7; font-size: 12px; }

.rs-link-hub { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 72px 0; }
.rs-hub-card { min-height: 174px; padding: 20px; position: relative; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--rs-line); background: linear-gradient(145deg, #18232d, #10171e); transition: transform .18s, border-color .18s; }
.rs-hub-card:hover { transform: translateY(-3px); border-color: #e6bd7680; }
.rs-hub-card__icon { color: var(--rs-gold); font-size: 20px; }
.rs-hub-card__label { margin: 14px 0 5px; color: #8f9ba1; font-size: 7px; font-weight: 800; letter-spacing: .18em; }
.rs-hub-card strong { margin-bottom: 7px; font: 700 16px/1.3 Georgia, 'Times New Roman', serif; }
.rs-hub-card > span:not(.rs-hub-card__icon):not(.rs-hub-card__label) { max-width: 220px; color: #aeb7b9; font-size: 10px; line-height: 1.55; }
.rs-hub-card > b { position: absolute; top: 18px; right: 19px; color: var(--rs-gold-light); font-size: 15px; }

.rs-spotlight { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 45px; padding: 68px 0 86px; border-top: 1px solid var(--rs-line); }
.rs-spotlight__intro > p:not(.rs-eyebrow) { max-width: 350px; margin-top: 14px; }
.rs-spotlight__note { margin-top: 26px !important; font-size: 10px !important; }
.rs-spotlight__note a { color: var(--rs-gold-light) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.rs-roster { border: 1px solid var(--rs-line); background: #121a22; }
.rs-roster__heading, .rs-roster__row { display: grid; grid-template-columns: 74px minmax(100px, 1fr) 120px; align-items: center; gap: 14px; padding: 11px 18px; }
.rs-roster__heading { border-bottom: 1px solid var(--rs-line); color: #808f96; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.rs-roster__row { min-height: 43px; border-bottom: 1px solid #ffffff0b; }
.rs-roster__row:last-child { border: 0; }
.rs-roster__row:hover { background: #ffffff07; }
.rs-roster__rank { color: var(--rs-gold); font: 700 12px Georgia, 'Times New Roman', serif; }
.rs-roster__row strong { font-size: 11px; }
.rs-roster__status { color: #a1abae; font-size: 9px; }
.rs-roster__status i { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: #91c98a; box-shadow: 0 0 8px #91c98a; }

.rs-final-cta { padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid #e5bd7655; background: linear-gradient(110deg, #1b2328, #121922); }
.rs-final-cta h2 { font-size: clamp(28px, 3vw, 38px); }
.rs-final-cta > div:first-child > p:last-child { margin: 8px 0 0; color: var(--rs-muted); font-size: 11px; }

.inner { width: min(1100px, calc(100% - 44px)); margin: 44px auto; padding: clamp(20px, 4vw, 44px); border: 1px solid var(--rs-line); background: linear-gradient(145deg, #15202a, #10171e); box-shadow: 0 16px 55px #0003; }
.inner > h1 { color: var(--rs-paper); font: 700 clamp(32px, 4vw, 48px)/1.2 Georgia, 'Times New Roman', serif; }
.inner > h1 em { color: var(--rs-gold-light); font-style: normal; }
.inner .eyebrow { color: var(--rs-gold); letter-spacing: .18em; }
.inner a.primary, .inner a.secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--rs-line); border-radius: 3px; font-size: 11px; font-weight: 700; }
.inner a.primary { border-color: #e6bd7677; color: #21190e !important; background: linear-gradient(135deg, #f5d28b, #c68b42); }
.inner a.secondary { color: var(--rs-paper) !important; background: #ffffff0b; }
.inner .panel, .inner .donationPanel, .inner .rankBenefits { border-color: var(--rs-line); background-color: #111a22; }
.inner input, .inner select { color: var(--rs-paper); border-color: #ffffff28; background-color: #0b1118; }
footer .footerLogo img { content: url("runesplit-emblem.webp"); width: 82px; height: 82px; object-fit: contain; background: transparent; }
footer { border-top: 1px solid var(--rs-line); background: #080d12; color: var(--rs-muted); }
footer .footerCentered { width: min(1320px, calc(100% - 44px)); min-height: 150px; margin: 0 auto; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .footerNav { display: flex; align-items: center; gap: 18px; }
footer .footerNav a, footer .footerDiscord { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
footer .footerCentered > p { margin: 0; color: #7f8a90; font-size: 9px; }
footer .footerNav a, footer .footerDiscord { color: #d0d1ca; }
footer .footerNav a:hover, footer .footerDiscord:hover { color: var(--rs-gold-light); }
#arkenor-sound-toggle { border-color: #e6bd7677 !important; color: var(--rs-gold-light) !important; background: #10171eee !important; }

@media (max-width: 900px) {
    .siteHeader { min-height: 92px; grid-template-columns: minmax(0, 1fr) 105px minmax(0, 1fr); gap: 12px; padding-inline: 18px; }
    .siteHeader .navleft, .siteHeader .navright { gap: 12px; }
    .siteHeader .navleft a, .siteHeader .navright a { font-size: 9px; letter-spacing: .06em; }
    .siteHeader .logo { width: 100px; height: 88px; }
    .siteHeader .logo img { width: 84px; height: 84px; }
    .rs-link-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rs-spotlight { grid-template-columns: 1fr; gap: 25px; }
    .rs-final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    html { scroll-padding-top: 75px; }
    .topbar { min-height: 32px; padding-inline: 14px; font-size: 8px; letter-spacing: .1em; }
    .topbar a { font-size: 8px; }
    .siteHeader { min-height: 76px; padding: 0 16px; display: flex; justify-content: center; }
    .siteHeader .navleft, .siteHeader .navright { display: none; }
    .siteHeader .logo { width: 78px; height: 72px; }
    .siteHeader .logo img { width: 70px; height: 70px; }
    .siteHeader .navToggle { width: 40px; height: 38px; padding: 8px; position: absolute; left: 14px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid var(--rs-line); border-radius: 3px; background: #ffffff08; }
    .siteHeader .navToggle span { height: 2px; display: block; background: var(--rs-gold-light); }
    .siteHeader .mobileNav { position: absolute; top: 100%; inset-inline: 0; padding: 8px 18px 15px; border-bottom: 1px solid var(--rs-line); box-shadow: 0 14px 24px #0007; }
    .siteHeader .navToggle[aria-expanded="true"] + .mobileNav { display: grid; }
    .siteHeader .mobileNav a { padding: 11px 2px; border-bottom: 1px solid #ffffff0d; }
    .siteHeader .mobileNav a { padding: 11px 2px; border-bottom: 1px solid #ffffff0d; }
    #main-content { width: min(100% - 24px, 1320px); }
    .runesplit-home { padding-top: 12px; }
    .rs-hero { min-height: 0; display: block; }
    .rs-hero__art { height: clamp(205px, 61vw, 320px); aspect-ratio: auto; object-position: center 46%; }
    .rs-hero__content { width: 100%; padding: 25px 20px 64px; }
    .rs-hero h1 { font-size: clamp(35px, 9vw, 50px); }
    .rs-hero__copy { margin: 14px 0 18px; font-size: 12px; }
    .rs-actions { gap: 8px; }
    .rs-button { min-height: 40px; padding-inline: 12px; font-size: 9px; }
    .rs-hero__tags { gap: 8px; font-size: 7px; }
    .rs-hero__scroll { left: 20px; bottom: 18px; }
    .rs-intro { grid-template-columns: 1fr; gap: 13px; padding: 61px 2px 25px; }
    .rs-intro h2, .rs-spotlight h2 { font-size: 34px; }
    .rs-feature-grid { grid-template-columns: 1fr; gap: 10px; padding-bottom: 56px; }
    .rs-feature-card { min-height: 180px; padding: 22px; }
    .rs-feature-card__icon { margin-top: 15px; }
    .rs-world-callout { min-height: 340px; }
    .rs-world-callout__crest { right: -25px; width: 210px; opacity: .7; }
    .rs-world-callout__content { width: calc(100% - 40px); }
    .rs-link-hub { grid-template-columns: 1fr 1fr; gap: 8px; padding: 48px 0; }
    .rs-hub-card { min-height: 174px; padding: 15px; }
    .rs-hub-card strong { font-size: 14px; }
    .rs-spotlight { padding: 45px 0 55px; }
    .rs-roster__heading, .rs-roster__row { grid-template-columns: 48px minmax(80px, 1fr) 86px; gap: 8px; padding-inline: 10px; }
    .rs-roster__heading { font-size: 7px; }
    .rs-roster__row strong { font-size: 10px; }
    .rs-roster__status { font-size: 8px; }
    .rs-final-cta { padding: 21px; }
    .inner { width: calc(100% - 24px); margin: 18px auto; padding: 18px; }
    footer .footerCentered { width: calc(100% - 30px); justify-content: flex-start; }
    footer .footerCentered > p { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Supersede the old Arkenor image replacement still present in arkenor.css. */
.siteHeader .logo img {
    content: url("runesplit-emblem.webp?v=20261009-2") !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
