:root {
  --ink: #132c45;
  --ink-soft: #526982;
  --ink-light: #7590a5;
  --sky: #eaf6fe;
  --sky-deep: #dceefa;
  --blue: #3085bb;
  --blue-deep: #24618e;
  --gold: #f7b42a;
  --gold-deep: #e99a14;
  --green: #55b76f;
  --white: #fff;
  --line: rgba(38, 82, 117, .11);
  --shadow: 0 18px 55px rgba(27, 66, 101, .1);
  --shadow-soft: 0 9px 30px rgba(27, 66, 101, .075);
  --radius: 22px;
  --heading: "Fredoka", "Trebuchet MS", sans-serif;
  --body: "Nunito", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.7; background: #f4faff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #ffd166; outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 52px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -70px; padding: 10px 16px; background: #fff; border-radius: 10px; color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 12px; }

/* Shared glass navigation. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 89px; color: #fff; }
.nav-shell { display: flex; align-items: center; height: 89px; gap: 26px; }
.brand-lockup, .footer-brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-icon { display: grid; width: 39px; height: 39px; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .33); border-radius: 12px; background: rgba(255, 255, 255, .1); }
.brand-name { font-size: 16px; font-weight: 900; letter-spacing: .025em; }
.brand-name span { color: #fbd066; }
.primary-nav { display: flex; align-items: center; gap: 23px; margin-inline: auto; }
.nav-link, .nav-more summary { position: relative; padding-block: 12px; color: rgba(255, 255, 255, .84); font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: color .18s ease; }
.nav-link:hover, .nav-link.is-active, .nav-more summary:hover, .nav-more.has-active summary { color: #fff; }
.nav-link.is-active::after, .nav-more.has-active summary::after { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; border-radius: 4px; background: var(--gold); }
.nav-more { position: relative; }
.nav-more summary { display: flex; align-items: center; gap: 3px; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-dropdown { position: absolute; top: calc(100% + 9px); left: 50%; width: 222px; padding: 9px; transform: translateX(-50%); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 20px 60px rgba(13, 40, 67, .2); }
.dropdown-link { display: block; padding: 10px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.dropdown-link:hover, .dropdown-link.is-active { color: var(--blue-deep); background: #edf7ff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.online-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 900; white-space: nowrap; backdrop-filter: blur(8px); }
.status-dot, .mini-status-dot { display: inline-block; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #52d77c; box-shadow: 0 0 12px rgba(74, 219, 114, .63); }
.status-dot.offline, .mini-status-dot { background: #9aa9b7; box-shadow: none; }
.status-dot.unknown { background: #f9c14f; box-shadow: none; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px; color: var(--ink); border-radius: 99px; background: var(--gold); font-size: 11px; font-weight: 900; white-space: nowrap; }
.nav-cta:hover { background: #ffc758; }
.mobile-toggle { display: none; padding: 8px; color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 11px; background: rgba(255, 255, 255, .09); }

/* Cinematic first viewport. */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero-background { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(180deg, rgba(9, 25, 47, .68) 0%, rgba(10, 28, 45, .36) 45%, rgba(15, 39, 58, .63) 85%, rgba(244, 250, 255, 1) 100%), url("images/hero.webp"); background-position: center 43%; background-size: cover; }
.hero-home { display: flex; min-height: 810px; align-items: center; padding: 118px 0 145px; }
.hero-content { position: relative; z-index: 1; display: flex; max-width: 710px; flex-direction: column; align-items: center; text-align: center; }
.hero-eyebrow { display: inline-flex; align-items: center; align-self: center; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .29); border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: 11px; font-weight: 900; letter-spacing: .13em; backdrop-filter: blur(7px); }
.hero-logo { width: min(310px, 68vw); margin: 14px 0 12px; filter: drop-shadow(0 12px 23px rgba(0, 0, 0, .27)); animation: pinnacle-logo-float 5.5s ease-in-out infinite; will-change: transform; }
@keyframes pinnacle-logo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-title { margin: 0; font-family: var(--heading); font-size: clamp(34px, 5vw, 57px); font-weight: 600; line-height: 1.1; text-shadow: 0 3px 20px rgba(0, 0, 0, .3); }
.hero-identity { margin: 7px 0 0; color: #ffe09a; font-size: 11px; font-weight: 900; letter-spacing: .115em; }
.hero-description { max-width: 590px; margin: 10px 0 15px; color: rgba(255, 255, 255, .91); font-size: 16px; font-weight: 600; line-height: 1.75; text-shadow: 0 2px 12px rgba(0, 0, 0, .28); }
.hero-ip { display: inline-flex; align-items: center; gap: 9px; margin: 1px 0 16px; padding: 7px 15px; color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-radius: 99px; background: rgba(255, 255, 255, .11); font-size: 13px; font-weight: 800; cursor: pointer; backdrop-filter: blur(7px); }
.hero-ip:hover { background: rgba(255, 255, 255, .2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border: 0; border-radius: 99px; font-size: 12px; font-weight: 900; letter-spacing: .025em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #16304a; background: var(--gold); box-shadow: 0 8px 22px rgba(226, 153, 16, .25); }
.button-gold:hover { background: #ffc857; box-shadow: 0 12px 25px rgba(226, 153, 16, .36); }
.button-glass { color: #fff; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); }

.fact-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -66px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .82); border-radius: 21px; background: rgba(255, 255, 255, .91); box-shadow: var(--shadow); backdrop-filter: blur(13px); }
.fact { position: relative; display: flex; min-height: 113px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.fact + .fact::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 0; width: 1px; background: var(--line); }
.fact strong { color: var(--blue-deep); font-family: var(--heading); font-size: 30px; font-weight: 600; line-height: 1; }
.fact span { color: var(--ink-light); font-size: 10px; font-weight: 900; letter-spacing: .11em; }

.section { padding: 93px 0; }
.section-soft { background: rgba(227, 241, 252, .7); }
.section-heading { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.section-heading h2, .split-heading h2, .intro-copy h2, .banner-inner h2 { margin: 5px 0 8px; font-family: var(--heading); font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.16; }
.section-heading > p:last-child, .split-heading p:not(.eyebrow) { margin: 0; color: var(--ink-soft); }
.eyebrow { margin: 0; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.community-intro { padding-top: 108px; }
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 70px; }
.intro-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 15px; }
.intro-copy h2 span { color: var(--blue); }
.intro-image { position: relative; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.intro-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(12, 37, 59, .58)); }
.intro-image > img { width: 100%; aspect-ratio: 1.4; object-fit: cover; }
.image-caption { position: absolute; z-index: 1; right: 18px; bottom: 18px; left: 18px; color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 13px; font-weight: 900; }
.text-link:hover { color: var(--blue-deep); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card, .update-card, .event-card { padding: 23px; border: 1px solid rgba(48, 104, 146, .1); border-radius: 19px; background: rgba(255, 255, 255, .91); box-shadow: var(--shadow-soft); }
.feature-icon { display: grid; width: 47px; height: 47px; place-items: center; color: var(--blue); border-radius: 14px; background: #e7f3fc; }
.feature-card h3, .update-card h3, .event-card h3, .join-step h3 { margin: 15px 0 7px; font-family: var(--heading); font-size: 19px; font-weight: 500; line-height: 1.3; }
.feature-card p, .update-card p, .join-step p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }

.join-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 1030px; margin: 0 auto; }
.join-step { position: relative; padding: 5px 17px 8px 0; }
.join-step > span { display: grid; width: 47px; height: 47px; place-items: center; color: var(--blue-deep); border-radius: 50%; background: #e6f1fa; font-family: var(--heading); font-size: 19px; }
.join-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -4px; width: calc(100% - 78px); height: 1px; background: linear-gradient(90deg, rgba(47, 119, 173, .25), transparent); }
.center-action { display: flex; justify-content: center; margin-top: 35px; }

.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.split-heading h2 { font-size: 37px; }
.update-grid, .event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; }
.update-card { display: flex; min-height: 261px; flex-direction: column; }
.update-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag { display: inline-flex; padding: 3px 8px; color: #6d5795; border-radius: 99px; background: #f0eafa; font-size: 9px; font-weight: 900; letter-spacing: .045em; }
.tag-event { color: #a56320; background: #fff0cd; }
.update-meta time { color: var(--ink-light); font-size: 10px; font-weight: 800; }
.update-card > a { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 15px; color: var(--blue); font-size: 12px; font-weight: 900; }
.event-card { min-height: 205px; }
.event-date { display: flex; align-items: center; gap: 7px; color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .035em; }
.event-card h3 { min-height: 54px; }
.event-detail { display: flex; justify-content: space-between; padding-top: 6px; font-size: 12px; }
.event-detail span { color: var(--ink-light); }

.gallery-preview { padding-top: 0; }
.gallery-preview-grid, .gallery-season-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery-preview-card, .gallery-season-card, .gallery-feature-card { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--ink); box-shadow: var(--shadow-soft); }
.gallery-preview-card > img, .gallery-season-card > img { width: 100%; height: 240px; object-fit: cover; transition: transform .35s ease; }
.gallery-preview-card:hover > img, .gallery-season-card:hover > img, .gallery-feature-card:hover > img { transform: scale(1.04); }
.gallery-preview-card::after, .gallery-season-card::after, .gallery-feature-card::after { content: ""; position: absolute; inset: 36% 0 0; background: linear-gradient(transparent, rgba(12, 36, 53, .8)); }
.gallery-preview-card > span, .gallery-season-card > span { position: absolute; z-index: 1; right: 19px; bottom: 17px; left: 19px; display: flex; flex-direction: column; color: #fff; }
.gallery-preview-card strong, .gallery-season-card strong { font-family: var(--heading); font-size: 23px; font-weight: 500; }
.gallery-preview-card small, .gallery-season-card small { color: rgba(255, 255, 255, .87); font-size: 12px; }

.faq-preview { padding-top: 35px; }
.faq-shell { max-width: 850px; }
.faq-stack { display: grid; gap: 10px; }
.faq-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.faq-card summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; list-style: none; font-size: 14px; font-weight: 800; cursor: pointer; }
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card summary svg { flex: 0 0 19px; transition: transform .2s ease; }
.faq-card[open] summary svg { transform: rotate(180deg); }
.faq-card-body { padding: 0 18px 17px; color: var(--ink-soft); font-size: 14px; }

.community-banner { color: #fff; background: linear-gradient(110deg, #173953 0%, #295b7c 54%, #397ca5 100%); }
.banner-inner { display: flex; min-height: 205px; align-items: center; justify-content: space-between; gap: 25px; }
.banner-inner .eyebrow { color: #abdafa; }
.banner-inner h2 { font-size: 36px; }
.banner-inner > div > p:last-child { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14px; }

/* Shared interior page layout. */
.hero-interior { min-height: 363px; }
.hero-interior .hero-background { background-image: linear-gradient(180deg, rgba(9, 27, 48, .8), rgba(19, 45, 68, .68) 72%, rgba(19, 44, 68, .74)), url("images/hero.webp"); background-position: center 46%; }
.interior-hero-content { position: relative; z-index: 1; display: flex; min-height: 363px; flex-direction: column; align-items: center; justify-content: center; padding-top: 67px; text-align: center; }
.interior-hero-content .hero-eyebrow { margin-bottom: 8px; }
.interior-hero-content h1 { margin: 4px 0 5px; font-family: var(--heading); font-size: clamp(34px, 5vw, 53px); font-weight: 550; line-height: 1.17; }
.interior-hero-content > p:last-child { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .83); font-size: 14px; }
.interior-section { min-height: 540px; padding: 32px 0 92px; }
.interior-content > .box { padding: clamp(24px, 5vw, 46px); border: 1px solid var(--line); border-radius: 23px; background: rgba(255, 255, 255, .89); box-shadow: var(--shadow-soft); }
.box-title { display: none; }
.box-body > :first-child { margin-top: 0; }
.box-body > :last-child { margin-bottom: 0; }
.box-body p { color: var(--ink-soft); }
.box-body h2, .box-body h3, .box-body h4 { color: var(--ink); font-family: var(--heading); font-weight: 500; line-height: 1.3; }
.box-body h2 { margin: 31px 0 13px; font-size: 27px; }
.box-body h3 { margin: 20px 0 9px; font-size: 21px; }
.box-body h4 { font-size: 17px; }
.box-body a:not(.button-90s):not(.roster-name):not(.gallery-season-card):not(.gallery-feature-card):not(.season-gallery-item) { color: var(--blue); }
.box-body a:not(.button-90s):hover { color: var(--blue-deep); }
.box-body code, .command-block code { padding: 3px 7px; color: #254d70; border-radius: 6px; background: #edf5fc; font-family: "SFMono-Regular", Consolas, monospace; font-size: .86em; }
.box-body hr { height: 1px; border: 0; background: var(--line); }
.callout, .notice, .wiki-updated, .wiki-legend, .note-box, .warning-box, .plugin-summary, .membership-open-status { margin: 17px 0; padding: 15px 18px; border: 1px solid #d9eaf6; border-radius: 14px; background: #edf6fd; font-size: 14px; }
.membership-open-status { color: #276940; border-color: #cfead5; background: #edf8ef; font-size: 12px; font-weight: 900; letter-spacing: .035em; }
.warning-box { border-color: #f2dfb7; background: #fff8e8; }
.notice { border-color: #ddd9f2; background: #f6f3ff; }
.wiki-updated { display: grid; gap: 5px; }
.wiki-updated strong { color: var(--blue-deep); font-size: 11px; letter-spacing: .06em; }
.wiki-updated span { color: var(--ink-soft); font-size: 13px; }
.button-90s { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 4px 6px 4px 0; padding: 10px 15px; color: var(--blue-deep) !important; border: 1px solid #d3e6f4; border-radius: 99px; background: #edf6fc; font-size: 11px; font-weight: 900; letter-spacing: .02em; cursor: pointer; }
.button-90s:hover { color: #fff !important; border-color: var(--blue); background: var(--blue); }
.center { text-align: center; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-item, .link-card, .timeline-item { margin: 14px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.two-column .news-item, .two-column .link-card { margin: 0; }
.official-logo { width: min(210px, 100%); margin: 0 auto; }
.icon-list, .step-list { padding-left: 23px; color: var(--ink-soft); }
.icon-list li, .step-list li { margin: 8px 0; }
.icon-list li::marker, .step-list li::marker { color: var(--blue); }
.timeline-item { position: relative; padding-left: 81px; }
.timeline-item::before { content: ""; position: absolute; top: 24px; left: 32px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px #e8f3fb; }
.timeline-date { color: var(--blue); font-size: 11px; font-weight: 900; }
.timeline-item h3 { margin: 5px 0; }

table { width: 100%; margin: 18px 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; font-size: 13px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; }
th { color: var(--blue-deep); background: #edf5fc; font-size: 11px; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; }
tr + tr td { border-top: 1px solid var(--line); }
tbody tr:nth-child(even) td { background: rgba(240, 247, 253, .47); }
td:first-child { font-weight: 800; }
.standings-table tbody tr:first-child td:first-child { color: #c68613; }
.download-table td a { font-weight: 800; }

/* Roster and existing member profiles. */
.roster-section { padding: 3px 0 12px; }
.roster-section h2 { display: flex; align-items: center; gap: 10px; }
.roster-count { display: grid; width: 28px; height: 28px; place-items: center; color: var(--blue); border-radius: 50%; background: #edf5fc; font-family: var(--body); font-size: 12px; font-weight: 900; }
.roster-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.roster-name { display: flex; min-height: 79px; align-items: center; gap: 11px; padding: 10px 11px; border: 1px solid var(--line); border-left: 3px solid #7eabd0; border-radius: 14px; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.roster-name:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.roster-name img, .roster-placeholder { width: 45px; height: 45px; flex: 0 0 45px; border-radius: 9px; background: #e8f3fb; image-rendering: pixelated; }
.roster-placeholder { display: grid; place-items: center; color: var(--blue); font-family: var(--heading); font-size: 25px; }
.roster-text { min-width: 0; }
.roster-text strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.roster-text small { display: flex; align-items: center; gap: 5px; color: var(--ink-light); font-size: 11px; }
.mini-status-dot { width: 7px; height: 7px; flex-basis: 7px; }
.roster-name.is-online .mini-status-dot, .profile-status.is-online .status-dot { background: #54c87b; box-shadow: 0 0 9px rgba(74, 219, 114, .47); }
.rank-founder { border-left-color: #e27272; }
.rank-admin { border-left-color: #e9b03c; }
.rank-legacy { border-left-color: #9a7ccc; }
.rank-full { border-left-color: #65a8d5; }
.rank-new { border-left-color: #65bb85; }
.rank-banned { border-left-color: #a79a99; opacity: .86; }
.source-note { margin-top: 22px; color: var(--ink-light) !important; font-size: 12px; }
.profile-hero { display: grid; grid-template-columns: 114px minmax(0, 1fr); align-items: center; gap: 21px; margin: 22px 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #f5faff; }
.profile-hero[hidden], .profile-message[hidden], .dynamic-profile[hidden] { display: none; }
.profile-head-slot { display: grid; width: 106px; height: 106px; place-items: center; overflow: hidden; border-radius: 18px; background: #e6f1fa; }
.profile-player-head { width: 96px; height: 96px; image-rendering: pixelated; }
.profile-head-placeholder { color: var(--blue); font-family: var(--heading); font-size: 52px; }
.profile-hero h1 { margin: 0 0 8px; font-family: var(--heading); font-size: 34px; font-weight: 500; }
.profile-hero > div:last-child > p { margin: 8px 0 0; }
.profile-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; color: var(--ink-soft); border-radius: 99px; background: #e7edf1; font-size: 11px; font-weight: 900; }
.profile-status.is-online { color: #2d7443; background: #e7f6eb; }
.profile-alias { font-weight: 800; }
.profile-footnote { margin-top: 20px; font-size: 12px; }
.stats-dashboard { display: grid; gap: 17px; }
.stats-updated { color: var(--ink-light); font-size: 12px; }
.stats-updated.is-stale { color: #9a6d1c; }
.stats-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-tile, .highlight-card, .stat-category-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.stat-tile__label, .highlight-card__label, .stat-row__label { color: var(--ink-light); font-size: 10px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.stat-tile__value { margin-top: 6px; color: var(--blue-deep); font-family: var(--heading); font-size: 25px; line-height: 1.2; overflow-wrap: anywhere; }
.stats-highlights, .stats-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.highlight-card__value { margin-top: 7px; color: var(--blue-deep); font-weight: 900; }
.highlight-card__amount { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.stat-category-card h2 { margin: 0 0 7px; font-size: 20px; }
.stat-category-card > p { font-size: 12px; }
.stat-row { padding: 9px 0; border-top: 1px solid var(--line); }
.stat-row__value, .stat-row__list { margin-top: 3px; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.stats-loading, .stats-fallback { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #f5faff; }
.stats-fallback strong, .stats-fallback span { display: block; }
.stats-fallback span { margin-top: 4px; color: var(--ink-soft); font-size: 13px; }

/* Editorial news archive, article pages, wiki, gallery, rules and forms. */
.news-archive-shell { padding: clamp(22px, 4vw, 38px) !important; }
.archive-intro { margin-bottom: 25px; }
.archive-intro > p:last-child { max-width: 640px; margin: 6px 0 0; }
.news-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.news-archive-card { position: relative; display: flex; min-height: 260px; flex-direction: column; overflow: hidden; padding: 23px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(165deg, #fff 0%, #f8fbff 100%); scroll-margin-top: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.news-archive-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #54a8db, #96ceee); }
.news-archive-card:first-child::before { background: linear-gradient(180deg, #f7b42a, #ffd685); }
.news-archive-card:hover { transform: translateY(-3px); border-color: rgba(48, 133, 187, .25); box-shadow: var(--shadow-soft); }
.archive-card-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.news-archive-card h2 { margin: 17px 0 8px; font-family: var(--heading); font-size: 22px; font-weight: 500; line-height: 1.32; }
.news-archive-card > p { margin: 0 0 21px; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.archive-new { color: #b87814; font-size: 10px; font-weight: 900; letter-spacing: .045em; }
.archive-read-more { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-top: auto; padding: 9px 13px; border-radius: 99px; background: #edf6fc; font-size: 10px; font-weight: 900; letter-spacing: .04em; transition: color .18s ease, background .18s ease; }
.archive-read-more:hover { color: #fff !important; background: var(--blue); }
.tag-news { color: #347657; background: #e8f5ed; }
.tag-update { color: #25618c; background: #e7f2fb; }
.tag-community-vote { color: #8c6265; background: #f8edef; }
.article-shell { max-width: 850px; margin-inline: auto; }
.article-content { max-width: 700px; margin-inline: auto; }
.article-meta { padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.article-body { padding: 13px 0 18px; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body li { margin: 8px 0; }
.article-back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 14px; border-radius: 99px; background: #edf6fc; font-size: 11px; font-weight: 900; letter-spacing: .035em; }
.article-back-link svg { transform: rotate(180deg); }
.news-date { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.archive-tag, .plugin-type, .player-badge, .admin-badge { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 4px 9px; border-radius: 99px; background: #eaf2fa; color: var(--blue-deep); font-family: var(--body); font-size: 9px; font-weight: 900; letter-spacing: .025em; }
.admin-badge { color: #a34444; background: #fbecec; }
.player-badge { color: #39744b; background: #e9f5ec; }
.new-badge { margin-left: 7px; color: #b87814; font-family: var(--body); font-size: 10px; font-weight: 900; }
.plugin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.plugin-card { display: flex; min-height: 204px; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.plugin-card-header { display: grid; gap: 7px; }
.plugin-card h2 { margin: 0; font-size: 22px; }
.plugin-card .plugin-type { justify-self: start; }
.plugin-card > p { font-size: 13px; }
.plugin-card > a { align-self: start; margin-top: auto; }
.plugin-summary { margin-top: 15px; }
.plugin-summary p { margin-bottom: 0; }
.player-section, .admin-section { margin: 20px 0; padding: 16px 18px; border: 1px solid #dce9dd; border-radius: 16px; background: #f1f8f2; }
.admin-section { border-color: #efdcdc; background: #fff8f8; }
.player-section > h2:first-child, .admin-section > h2:first-child { margin-top: 0; }
.command-block { padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; background: #f4f9fd; }
.wiki-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.gallery-season-cards { margin-top: 21px; }
.gallery-list, .season-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 19px; }
.gallery-feature-card > img { width: 100%; height: 165px; object-fit: cover; transition: transform .35s ease; }
.gallery-card-title { position: absolute; z-index: 1; right: 13px; bottom: 11px; left: 13px; color: #fff; font-family: var(--heading); font-size: 19px; }
.season-gallery-item { overflow: hidden; border-radius: 13px; background: #e8f2f9; }
.season-gallery-item img { width: 100%; aspect-ratio: 1.43; object-fit: cover; }
.rules { display: grid; gap: 12px; margin: 18px 0; padding-left: 24px; }
.rules > li { padding: 15px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.rules > li::marker { color: var(--blue); font-weight: 900; }
.rules > li > strong { color: var(--ink); font-size: 15px; }
.rule-category { color: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.page-faq .box-body { display: grid; gap: 11px; }
.page-faq .faq-card { margin: 0; }
.compact-banner .banner-inner { min-height: 166px; }
.compact-banner .banner-inner h2 { font-size: 29px; }

/* Footer. */
.site-footer { padding-top: 59px; color: #e7f0f7; background: #142c42; }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 46px; }
.footer-brand { color: #fff; font-family: var(--heading); font-size: 20px; }
.footer-brand svg { color: #f8c96a; }
.footer-intro > p { max-width: 320px; color: #aebdca; font-size: 13px; }
.footer-ip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #dceafa; border: 1px solid rgba(255, 255, 255, .12); border-radius: 9px; background: rgba(255, 255, 255, .06); font-size: 11px; font-weight: 800; cursor: pointer; }
.footer-column { display: flex; flex-direction: column; gap: 7px; }
.footer-column h3 { margin: 0 0 4px; color: #fff; font-size: 12px; font-weight: 900; }
.footer-column a, .footer-clock { color: #bac9d5; font-size: 12px; }
.footer-column a:hover { color: #fff; }
.footer-clock { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom p { margin: 0; color: #a6b7c5; font-size: 11px; }
.copy-toast { position: fixed; z-index: 30; right: 22px; bottom: 22px; padding: 11px 16px; transform: translateY(14px); color: #fff; border-radius: 11px; background: #173b56; box-shadow: var(--shadow); font-size: 12px; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.copy-toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1170px) {
  .nav-shell { gap: 15px; }
  .primary-nav { gap: 15px; }
  .nav-link, .nav-more summary { font-size: 12px; }
  .header-actions { gap: 8px; }
}

@media (max-width: 980px) {
  .container { width: min(100% - 38px, 860px); }
  .nav-shell { gap: 13px; }
  .mobile-toggle { display: inline-flex; order: 3; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .primary-nav { position: absolute; top: 77px; right: 19px; left: 19px; display: none; align-items: stretch; gap: 2px; padding: 10px; color: var(--ink); border-radius: 17px; background: #fff; box-shadow: 0 18px 50px rgba(13, 40, 67, .24); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .nav-link, .nav-more summary { padding: 9px 12px; color: var(--ink); border-radius: 9px; font-size: 13px; }
  .nav-link:hover, .nav-link.is-active, .nav-more summary:hover, .nav-more.has-active summary { color: var(--blue-deep); background: #eef7fe; }
  .nav-link.is-active::after, .nav-more.has-active summary::after { display: none; }
  .nav-dropdown { position: static; width: auto; padding-left: 14px; transform: none; border: 0; box-shadow: none; }
  .intro-grid { gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .update-grid { grid-template-columns: 1fr; }
  .update-card { min-height: auto; }
  .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
  .event-card { padding: 16px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; }
  .roster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 30px); }
  .site-header, .nav-shell { height: 74px; }
  .nav-shell { gap: 9px; }
  .brand-icon { width: 35px; height: 35px; }
  .brand-name { font-size: 13px; }
  .online-pill { padding: 7px 9px; font-size: 10px; }
  .nav-cta { display: none; }
  .mobile-toggle { padding: 6px; }
  .hero-home { min-height: 748px; padding: 108px 0 129px; }
  .hero-logo { width: min(255px, 68vw); margin: 14px 0 11px; }
  .hero-description { font-size: 14px; }
  .hero-actions { width: 100%; }
  .button { min-height: 46px; padding: 11px 15px; font-size: 10px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); margin-top: -54px; }
  .fact { min-height: 88px; }
  .fact:nth-child(3)::before { display: none; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .fact strong { font-size: 25px; }
  .fact span { font-size: 9px; }
  .section { padding: 69px 0; }
  .community-intro { padding-top: 79px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-image { order: -1; }
  .intro-image > img { aspect-ratio: 1.65; }
  .feature-grid { gap: 11px; }
  .feature-card { padding: 16px; }
  .feature-card h3 { font-size: 16px; }
  .feature-card p { font-size: 12px; }
  .join-steps { grid-template-columns: 1fr; gap: 21px; }
  .join-step:not(:last-child)::after { display: none; }
  .split-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .split-heading h2 { font-size: 31px; }
  .event-grid { grid-template-columns: 1fr; gap: 12px; }
  .event-card { min-height: 165px; }
  .event-card h3 { min-height: auto; }
  .gallery-preview-grid, .gallery-season-cards { grid-template-columns: 1fr; }
  .gallery-preview-card > img, .gallery-season-card > img { height: 215px; }
  .banner-inner { min-height: 223px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
  .banner-inner h2 { font-size: 31px; }
  .hero-interior, .interior-hero-content { min-height: 300px; }
  .interior-hero-content { padding-top: 58px; }
  .interior-hero-content h1 { font-size: 36px; }
  .interior-content > .box { padding: 20px 16px; }
  .interior-section { padding-bottom: 68px; }
  .two-column, .plugin-grid, .stats-highlights, .stats-categories { grid-template-columns: 1fr; }
  .roster-grid { grid-template-columns: 1fr; }
  .stats-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-hero { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 13px; }
  .profile-head-slot { width: 78px; height: 78px; }
  .profile-player-head { width: 72px; height: 72px; }
  .profile-hero h1 { overflow-wrap: anywhere; font-size: 25px; }
  .news-card-grid { grid-template-columns: 1fr; gap: 13px; }
  .news-archive-card { min-height: 224px; padding: 19px; }
  .news-archive-card h2 { font-size: 20px; }
  .archive-intro { margin-bottom: 18px; }
  .archive-tag { max-width: 96px; }
  .gallery-list, .season-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-feature-card > img { height: 125px; }
  table { display: block; overflow-x: auto; }
  th, td { min-width: 108px; padding: 9px 10px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

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