:root {
    --background: #0b0d12;
    --background-light: #11141b;
    --panel: #171b23;
    --panel-light: #1d222c;
    --panel-hover: #222834;
    --border: #303744;
    --border-light: #414a59;
    --text: #f3f1eb;
    --muted: #a4abb6;
    --muted-dark: #7e8794;
    --gold: #c8a66a;
    --gold-light: #e0c38a;
    --gold-dark: #8e6c39;
    --orange: #cb6b37;
    --green: #56ca85;
    --danger: #d85858;
    --shadow: rgba(0, 0, 0, 0.42);
    --site-width: 1220px;
    --header-height: 86px;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(65, 75, 92, 0.12), transparent 42rem),
        var(--background);
    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-container {
    width: min(calc(100% - 40px), var(--site-width));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.background-grid {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.background-glow {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
}

.background-glow-one {
    top: 18%;
    left: -180px;
    background: var(--gold);
}

.background-glow-two {
    right: -180px;
    bottom: 10%;
    background: #596f94;
}

.header-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    background: #080a0e;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-strip-inner {
    min-height: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(86, 202, 133, 0.65);
}

.site-header {
    position: relative;
    z-index: 100;
}

.main-nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(13, 16, 22, 0.94);
    backdrop-filter: blur(18px);
    transition:
        background var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(10, 12, 17, 0.97);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}

.brand-copy small {
    margin-top: 7px;
    color: var(--muted-dark);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.clock-logo {
    position: relative;
    width: 52px;
    height: 52px;
    display: inline-block;
    flex: 0 0 auto;
    border: 2px solid var(--gold-dark);
    border-radius: 50%;
    background:
        radial-gradient(circle, #262c36 0 7%, transparent 8%),
        repeating-conic-gradient(
            from 0deg,
            rgba(225, 195, 138, 0.7) 0deg 1deg,
            transparent 1deg 30deg
        ),
        radial-gradient(circle, #171b22 0 59%, #0b0d11 60% 100%);
    box-shadow:
        inset 0 0 0 4px #0a0c10,
        inset 0 0 0 5px rgba(200, 166, 106, 0.42),
        0 0 24px rgba(200, 166, 106, 0.1);
}

.clock-ring {
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(224, 195, 138, 0.32);
    border-radius: 50%;
}

.clock-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 2px;
    border-radius: 3px;
    background: var(--gold-light);
    transform-origin: bottom center;
}

.clock-hour {
    height: 13px;
    transform: translateX(-50%) rotate(42deg);
}

.clock-minute {
    height: 18px;
    transform: translateX(-50%) rotate(128deg);
}

.clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border: 1px solid #14171d;
    border-radius: 50%;
    background: var(--gold-light);
    transform: translate(-50%, -50%);
}

.nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.primary-links,
.account-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.primary-links a,
.nav-login {
    position: relative;
    padding: 31px 14px;
    color: #bcc2cc;
    font-size: 0.84rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition:
        color var(--transition),
        background var(--transition);
}

.primary-links a::after {
    position: absolute;
    right: 14px;
    bottom: 20px;
    left: 14px;
    height: 2px;
    content: "";
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.primary-links a:hover,
.primary-links a.active,
.nav-login:hover {
    color: var(--text);
}

.primary-links a.active::after,
.primary-links a:hover::after {
    transform: scaleX(1);
}

.button {
    min-height: 46px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--gold);
    color: #18130c;
    background:
        linear-gradient(180deg, var(--gold-light), var(--gold));
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.35),
        0 10px 24px rgba(0, 0, 0, 0.18);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition:
        transform var(--transition),
        filter var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.4),
        0 14px 28px rgba(0, 0, 0, 0.26);
}

.button-small {
    min-height: 40px;
    padding: 0 18px;
}

.button-large {
    min-height: 55px;
    padding: 0 30px;
}

.button-secondary {
    color: var(--text);
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
}

.button-full {
    width: 100%;
}

button.button:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    filter: grayscale(0.4);
    transform: none;
}

.mobile-menu-button {
    width: 45px;
    height: 42px;
    padding: 8px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    background: var(--panel);
}

.mobile-menu-button > span:not(.sr-only) {
    width: 23px;
    height: 2px;
    display: block;
    background: var(--text);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

.mobile-menu-button.open > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.open > span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(8, 10, 14, 0.98) 0%, rgba(8, 10, 14, 0.86) 48%, rgba(8, 10, 14, 0.34) 100%),
        radial-gradient(circle at 76% 45%, #3c4653 0, #161a21 28%, #090b0f 68%);
}

.hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.13;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 150px;
    content: "";
    background: linear-gradient(to top, var(--background), transparent);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.018), transparent 15%),
        radial-gradient(circle at 75% 55%, transparent 0 22%, rgba(0, 0, 0, 0.46) 62%);
}

.hero-content {
    position: relative;
    z-index: 5;
    padding-block: 110px 140px;
}

.season-label {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold-light);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.season-label span {
    width: 34px;
    height: 1px;
    background: var(--gold);
}

.hero h1,
.page-hero h1,
.wiki-hero h1,
.join-hero h1,
.auth-card h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.hero h1 strong {
    display: block;
    color: var(--gold-light);
    font-weight: 500;
}

.hero-content > p {
    max-width: 670px;
    margin: 28px 0 0;
    color: #b6bdc7;
    font-size: 1.08rem;
    line-height: 1.85;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: stretch;
    gap: 15px;
}

.server-address {
    min-width: 285px;
    padding: 9px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 1px 20px;
    border: 1px solid var(--border-light);
    color: var(--text);
    text-align: left;
    background: rgba(22, 26, 34, 0.9);
    transition:
        border-color var(--transition),
        background var(--transition);
}

.server-address:hover {
    border-color: var(--gold-dark);
    background: var(--panel-hover);
}

.server-address-label,
.server-address-action {
    color: var(--muted-dark);
    font-size: 0.67rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.server-address strong {
    grid-row: 2;
    color: var(--gold-light);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.server-address-action {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.hero-stats {
    max-width: 760px;
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-stats div {
    padding: 22px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-stats div:first-child {
    padding-left: 0;
}

.hero-stats div:last-child {
    border-right: 0;
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 500;
}

.hero-stats span {
    margin-top: 3px;
    color: var(--muted-dark);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-clock {
    position: absolute;
    top: 50%;
    right: max(-130px, calc((100vw - var(--site-width)) / 2 - 140px));
    z-index: 2;
    width: 620px;
    height: 620px;
    opacity: 0.65;
    transform: translateY(-50%);
}

.hero-clock-face {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(200, 166, 106, 0.62);
    border-radius: 50%;
    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(224, 195, 138, 0.46) 0deg 0.7deg,
            transparent 0.7deg 6deg
        ),
        radial-gradient(
            circle,
            rgba(36, 42, 51, 0.28) 0 9%,
            transparent 9.5% 59%,
            rgba(200, 166, 106, 0.16) 59.5% 60%,
            transparent 60.5% 72%,
            rgba(200, 166, 106, 0.29) 72.5% 73%,
            transparent 73.5%
        );
    box-shadow:
        inset 0 0 0 14px rgba(8, 10, 14, 0.65),
        inset 0 0 0 16px rgba(200, 166, 106, 0.2),
        0 0 130px rgba(200, 166, 106, 0.08);
    animation: clock-float 8s ease-in-out infinite;
}

.hero-clock-face::before,
.hero-clock-face::after {
    position: absolute;
    inset: 38px;
    content: "";
    border: 1px solid rgba(200, 166, 106, 0.24);
    border-radius: 50%;
}

.hero-clock-face::after {
    inset: 88px;
    border-color: rgba(200, 166, 106, 0.12);
}

.roman {
    position: absolute;
    color: rgba(224, 195, 138, 0.6);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
}

.roman-12 {
    top: 43px;
    left: 50%;
    transform: translateX(-50%);
}

.roman-3 {
    top: 50%;
    right: 45px;
    transform: translateY(-50%);
}

.roman-6 {
    bottom: 43px;
    left: 50%;
    transform: translateX(-50%);
}

.roman-9 {
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
}

.hero-hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 5px;
    border-radius: 5px;
    background:
        linear-gradient(to top, var(--gold-dark), var(--gold-light));
    transform-origin: bottom;
    box-shadow: 0 0 20px rgba(200, 166, 106, 0.2);
}

.hero-hour {
    height: 150px;
    transform: translateX(-50%) rotate(43deg);
}

.hero-minute {
    height: 220px;
    transform: translateX(-50%) rotate(131deg);
}

.hero-clock-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border: 5px solid #12161c;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(200, 166, 106, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 38px;
    left: 50%;
    z-index: 6;
    width: 24px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: var(--gold);
    transform: translateX(-50%);
    animation: scroll-marker 1.8s ease-in-out infinite;
}

.announcement-bar {
    position: relative;
    z-index: 8;
    border-top: 1px solid rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid var(--border);
    background: #11151b;
}

.announcement-inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.announcement-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-dark);
    border-radius: 50%;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 1.3rem;
}

.announcement-inner div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.announcement-inner span {
    color: var(--muted-dark);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.announcement-inner strong {
    margin-top: 4px;
    font-family: Georgia, serif;
    font-size: 1.03rem;
    font-weight: 500;
}

.announcement-inner > a {
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-section {
    position: relative;
    padding: 100px 0;
}

.alternate-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(17, 20, 27, 0.72);
}

.section-heading {
    max-width: 730px;
    margin-bottom: 48px;
}

.section-heading.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.eyebrow {
    display: block;
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.section-heading h2,
.story-panel h2,
.callout-inner h2,
.forum-toolbar h2,
.policy-content h2 {
    margin: 10px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

.section-heading p,
.story-panel p,
.callout-inner p {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.85;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.feature-card {
    position: relative;
    min-height: 350px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--border);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 45%),
        var(--panel);
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.feature-card::after {
    position: absolute;
    right: -28px;
    bottom: -55px;
    width: 130px;
    height: 130px;
    content: "";
    border: 1px solid rgba(200, 166, 106, 0.15);
    border-radius: 50%;
}

.feature-card:hover {
    border-color: var(--gold-dark);
    background:
        linear-gradient(150deg, rgba(200, 166, 106, 0.055), transparent 45%),
        var(--panel-hover);
    transform: translateY(-7px);
}

.feature-card.featured {
    border-color: rgba(200, 166, 106, 0.5);
}

.feature-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-dark);
    color: var(--gold-light);
    background: rgba(200, 166, 106, 0.06);
    font-family: Georgia, serif;
    font-size: 1.25rem;
}

.feature-number {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--muted-dark);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.feature-card h3 {
    margin: 34px 0 0;
    font-family: Georgia, serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.feature-card p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.91rem;
    line-height: 1.75;
}

.card-link {
    position: absolute;
    bottom: 31px;
    left: 32px;
    color: var(--gold-light);
    font-size: 0.71rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 90px;
}

.story-panel p {
    max-width: 670px;
}

.text-link {
    margin-top: 24px;
    display: inline-flex;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-card {
    padding: 34px;
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: 0 28px 60px var(--shadow);
}

.timeline-heading {
    margin-bottom: 25px;
    padding-bottom: 21px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.timeline-heading span {
    color: var(--gold);
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.timeline-heading strong {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.timeline-item {
    position: relative;
    padding: 12px 0 28px 38px;
}

.timeline-item:not(:last-child)::before {
    position: absolute;
    top: 28px;
    bottom: -4px;
    left: 8px;
    width: 1px;
    content: "";
    background: var(--border);
}

.timeline-marker {
    position: absolute;
    top: 19px;
    left: 2px;
    width: 13px;
    height: 13px;
    border: 2px solid var(--panel);
    border-radius: 50%;
    background: var(--muted-dark);
    box-shadow: 0 0 0 1px var(--border-light);
}

.timeline-item.active .timeline-marker {
    background: var(--gold);
    box-shadow:
        0 0 0 1px var(--gold-dark),
        0 0 18px rgba(200, 166, 106, 0.35);
}

.timeline-item small,
.timeline-item strong,
.timeline-item p {
    display: block;
}

.timeline-item small {
    color: var(--gold);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timeline-item strong {
    margin-top: 4px;
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 500;
}

.timeline-item p {
    margin: 5px 0 0;
    color: var(--muted-dark);
    font-size: 0.85rem;
}

.activity-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.7fr);
    gap: 24px;
}

.news-card {
    min-height: 530px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--border);
    background:
        linear-gradient(to top, rgba(9, 11, 15, 1), rgba(9, 11, 15, 0.18)),
        radial-gradient(circle at 65% 30%, #3e4a5c, #181d26 50%, #0c0f14);
}

.news-content {
    max-width: 720px;
    padding: 45px;
}

.news-tag {
    position: absolute;
    margin: 24px;
    padding: 8px 12px;
    color: #1b150e;
    background: var(--gold);
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-content > span {
    color: var(--muted-dark);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.news-content h3 {
    margin: 10px 0 0;
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.15;
}

.news-content p {
    margin: 15px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.news-content a {
    margin-top: 24px;
    display: inline-flex;
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.activity-sidebar,
.forum-sidebar,
.wiki-sidebar,
.join-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    padding: 28px;
    border: 1px solid var(--border);
    background: var(--panel);
}

.sidebar-heading {
    margin-bottom: 22px;
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.sidebar-heading h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-row {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    color: var(--muted);
    font-size: 0.81rem;
}

.status-row strong,
.status-row button {
    border: 0;
    color: var(--text);
    background: transparent;
    font-weight: 700;
    text-align: right;
}

.sidebar-card .button {
    margin-top: 24px;
}

.sidebar-card > p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.quick-links {
    display: flex;
    flex-direction: column;
}

.quick-links a {
    padding: 13px 0;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    color: var(--muted);
    font-size: 0.84rem;
    transition: color var(--transition);
}

.quick-links a:hover {
    color: var(--gold-light);
}

.quick-links span {
    color: var(--gold-dark);
    font-size: 0.64rem;
    font-weight: 850;
}

.callout-section {
    padding: 75px 0;
    border-top: 1px solid var(--gold-dark);
    border-bottom: 1px solid var(--gold-dark);
    background:
        linear-gradient(120deg, rgba(200, 166, 106, 0.09), transparent 45%),
        #12161c;
}

.callout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.callout-inner h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.callout-inner p {
    max-width: 670px;
}

.callout-actions {
    min-width: max-content;
    display: flex;
    gap: 12px;
}

.page-hero,
.wiki-hero,
.join-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(9, 11, 15, 0.97), rgba(9, 11, 15, 0.55)),
        radial-gradient(circle at 80% 20%, #3e4958, #171b22 46%, #0a0c10);
}

.page-hero::after,
.wiki-hero::after,
.join-hero::after {
    position: absolute;
    top: -220px;
    right: -100px;
    width: 600px;
    height: 600px;
    content: "";
    border: 1px solid rgba(200, 166, 106, 0.15);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 70px rgba(200, 166, 106, 0.025),
        inset 0 0 0 140px rgba(200, 166, 106, 0.02);
}

.page-hero-inner,
.wiki-hero-inner {
    position: relative;
    z-index: 2;
    padding: 115px 0;
}

.page-hero h1,
.wiki-hero h1,
.join-hero h1 {
    margin-top: 10px;
    font-size: clamp(3rem, 7vw, 5.5rem);
}

.page-hero p,
.wiki-hero p,
.join-hero p {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.page-content {
    min-height: 620px;
}

.forum-layout,
.wiki-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
}

.forum-toolbar {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.forum-toolbar h2 {
    font-size: 2.4rem;
}

.forum-category {
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
}

.forum-category-heading {
    min-height: 78px;
    padding: 17px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(100deg, rgba(200, 166, 106, 0.08), transparent 55%),
        var(--panel-light);
}

.forum-category-heading > div {
    display: flex;
    align-items: baseline;
    gap: 13px;
}

.forum-category-heading span {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.forum-category-heading h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 1.28rem;
    font-weight: 500;
}

.forum-row {
    padding: 22px 24px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 75px minmax(190px, 0.42fr);
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

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

.forum-row:hover {
    background: var(--panel-hover);
}

.forum-row-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-dark);
    color: var(--gold-light);
    background: rgba(200, 166, 106, 0.055);
    font-family: Georgia, serif;
    font-size: 1.1rem;
}

.forum-row-content strong,
.forum-row-content p,
.forum-row-latest small,
.forum-row-latest strong,
.forum-row-latest span {
    display: block;
}

.forum-row-content strong {
    font-family: Georgia, serif;
    font-size: 1.02rem;
    font-weight: 500;
}

.forum-row-content p {
    margin: 6px 0 0;
    color: var(--muted-dark);
    font-size: 0.8rem;
    line-height: 1.55;
}

.forum-row-stats {
    text-align: center;
}

.forum-row-stats strong,
.forum-row-stats span {
    display: block;
}

.forum-row-stats strong {
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 500;
}

.forum-row-stats span,
.forum-row-latest small {
    color: var(--muted-dark);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.forum-row-latest {
    min-width: 0;
}

.forum-row-latest strong {
    margin-top: 3px;
    overflow: hidden;
    font-size: 0.77rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-row-latest span {
    margin-top: 3px;
    color: var(--muted-dark);
    font-size: 0.71rem;
}

.stat-list {
    display: flex;
    flex-direction: column;
}

.stat-list div {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.stat-list span {
    color: var(--muted);
    font-size: 0.8rem;
}

.stat-list strong {
    font-size: 0.8rem;
    text-align: right;
}

.wiki-hero-inner {
    text-align: center;
}

.wiki-hero-inner p {
    margin-right: auto;
    margin-left: auto;
}

.wiki-search {
    max-width: 720px;
    margin: 36px auto 0;
    padding: 7px;
    display: flex;
    border: 1px solid var(--border-light);
    background: rgba(11, 14, 19, 0.86);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.wiki-search input {
    min-width: 0;
    flex: 1;
    padding: 14px 17px;
    border: 0;
    outline: 0;
    color: var(--text);
    background: transparent;
}

.wiki-search input::placeholder {
    color: var(--muted-dark);
}

.wiki-search button {
    padding: 0 26px;
    border: 1px solid var(--gold);
    color: #17120b;
    background: var(--gold);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.wiki-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.wiki-category-card {
    min-height: 195px;
    padding: 27px;
    display: flex;
    gap: 22px;
    border: 1px solid var(--border);
    background: var(--panel);
    transition:
        border-color var(--transition),
        transform var(--transition),
        background var(--transition);
}

.wiki-category-card:hover {
    border-color: var(--gold-dark);
    background: var(--panel-hover);
    transform: translateY(-4px);
}

.wiki-category-icon {
    width: 49px;
    height: 49px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--gold-dark);
    color: var(--gold-light);
    font-size: 0.68rem;
    font-weight: 850;
}

.wiki-category-card h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 1.22rem;
    font-weight: 500;
}

.wiki-category-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.wiki-category-card div > span {
    margin-top: 15px;
    display: block;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.simple-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.simple-list li {
    position: relative;
    padding: 8px 0 8px 18px;
    color: var(--muted);
    font-size: 0.83rem;
}

.simple-list li::before {
    position: absolute;
    top: 17px;
    left: 0;
    width: 5px;
    height: 5px;
    content: "";
    border-radius: 50%;
    background: var(--gold);
}

.policy-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 75px;
}

.policy-navigation {
    position: sticky;
    top: 120px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    background: var(--panel);
}

.policy-navigation .eyebrow {
    margin-bottom: 14px;
}

.policy-navigation a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    color: var(--muted);
    font-size: 0.82rem;
    transition:
        color var(--transition),
        padding var(--transition);
}

.policy-navigation a:hover,
.policy-navigation a.active {
    padding-left: 8px;
    color: var(--gold-light);
}

.policy-content {
    max-width: 790px;
}

.policy-content section {
    position: relative;
    padding: 0 0 65px 62px;
}

.policy-content section:not(:last-child) {
    margin-bottom: 65px;
    border-bottom: 1px solid var(--border);
}

.policy-number {
    position: absolute;
    top: 5px;
    left: 0;
    color: var(--gold-dark);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.policy-content h2 {
    font-size: 2.45rem;
}

.policy-content > section > p {
    color: var(--muted);
    line-height: 1.85;
}

.rule-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border);
}

.rule-list > div {
    padding: 23px 0;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
    border-bottom: 1px solid var(--border);
}

.rule-list strong {
    font-family: Georgia, serif;
    font-weight: 500;
}

.rule-list p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.join-hero-inner {
    position: relative;
    z-index: 2;
    padding: 105px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.join-address {
    min-width: 330px;
    padding: 25px 30px;
    border: 1px solid var(--gold-dark);
    color: var(--text);
    background: rgba(14, 17, 23, 0.8);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
    text-align: left;
}

.join-address span,
.join-address strong,
.join-address small {
    display: block;
}

.join-address span,
.join-address small {
    color: var(--muted-dark);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.join-address strong {
    margin: 5px 0;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.join-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 35px;
}

.join-steps {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    background: var(--panel);
}

.join-step {
    padding: 36px;
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 25px;
    border-bottom: 1px solid var(--border);
}

.join-step:last-child {
    border-bottom: 0;
}

.join-step-number {
    color: var(--gold-dark);
    font-family: Georgia, serif;
    font-size: 1.6rem;
}

.join-step h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.join-step p {
    margin: 10px 0 0;
    color: var(--muted);
}

.copy-inline {
    margin-top: 19px;
    padding: 10px 15px;
    border: 1px solid var(--gold-dark);
    color: var(--gold-light);
    background: rgba(200, 166, 106, 0.055);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.online-text {
    color: var(--green) !important;
}

.auth-section {
    min-height: 760px;
    padding: 85px 20px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, rgba(200, 166, 106, 0.08), transparent 25rem),
        linear-gradient(rgba(9, 11, 15, 0.85), rgba(9, 11, 15, 0.97));
}

.auth-card {
    width: min(100%, 520px);
    padding: 45px;
    border: 1px solid var(--border-light);
    background: rgba(23, 27, 35, 0.96);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42);
}

.auth-brand {
    text-align: center;
}

.auth-clock-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.auth-card h1 {
    margin-top: 8px;
    font-size: 2.6rem;
}

.auth-brand p {
    margin: 15px 0 0;
    color: var(--muted);
}

.auth-form {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.auth-form > label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #d8dce2;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.auth-form input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    outline: 0;
    color: var(--text);
    background: #101319;
}

.auth-form input:focus {
    border-color: var(--gold-dark);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    color: var(--muted-dark);
    font-size: 0.75rem;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auth-footer {
    margin: 24px 0 0;
    color: var(--muted-dark);
    font-size: 0.82rem;
    text-align: center;
}

.auth-footer a {
    color: var(--gold-light);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #0a0c10;
}

.footer-grid {
    padding: 65px 0;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 0.6fr);
    gap: 60px;
}

.footer-brand p {
    max-width: 440px;
    margin: 22px 0 0;
    color: var(--muted-dark);
    font-size: 0.86rem;
    line-height: 1.75;
}

.clock-logo-small {
    width: 43px;
    height: 43px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-grid h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-grid a,
.footer-grid button,
.footer-grid span {
    padding: 0;
    border: 0;
    color: var(--muted-dark);
    background: transparent;
    font-size: 0.8rem;
    transition: color var(--transition);
}

.footer-grid a:hover,
.footer-grid button:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.footer-bottom-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #656d79;
    font-size: 0.69rem;
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 500;
    max-width: min(390px, calc(100% - 40px));
    padding: 15px 18px;
    border: 1px solid var(--gold-dark);
    color: var(--text);
    background: #181c23;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition:
        opacity var(--transition),
        transform var(--transition);
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scroll-marker {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
}

@keyframes clock-float {
    0%,
    100% {
        transform: rotate(-1deg) translateY(0);
    }

    50% {
        transform: rotate(1deg) translateY(-9px);
    }
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-clock {
        right: -260px;
        opacity: 0.4;
    }

    .primary-links a,
    .nav-login {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 0.75rem;
    }

    .split-section {
        gap: 45px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 74px;
    }

    .header-strip {
        display: none;
    }

    .site-header.scrolled .main-nav {
        top: 0;
    }

    .mobile-menu-button {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        padding: 22px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        background: rgba(10, 12, 17, 0.985);
    }

    .nav-menu.open {
        display: flex;
    }

    .primary-links,
    .account-links {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-links a,
    .nav-login {
        padding: 18px 10px;
        border-bottom: 1px solid var(--border);
    }

    .primary-links a::after {
        display: none;
    }

    .account-links {
        margin-top: 25px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-clock {
        right: -330px;
    }

    .hero-content {
        padding-block: 100px 130px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats div:nth-child(2) {
        border-right: 0;
    }

    .hero-stats div:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    }

    .split-section,
    .activity-layout,
    .forum-layout,
    .wiki-layout,
    .join-layout {
        grid-template-columns: 1fr;
    }

    .callout-inner,
    .join-hero-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .callout-actions {
        min-width: 0;
        flex-wrap: wrap;
    }

    .policy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .policy-navigation {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .site-container {
        width: min(calc(100% - 28px), var(--site-width));
    }

    .brand-copy strong {
        font-size: 0.95rem;
    }

    .brand-copy small {
        font-size: 0.56rem;
    }

    .clock-logo {
        width: 45px;
        height: 45px;
    }

    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding-block: 85px 120px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .hero-content > p {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .server-address {
        min-width: 0;
        width: 100%;
    }

    .hero-clock {
        top: 40%;
        right: -430px;
        opacity: 0.3;
    }

    .hero-stats {
        margin-top: 45px;
    }

    .announcement-inner {
        padding: 20px 0;
        grid-template-columns: auto 1fr;
    }

    .announcement-inner > a {
        grid-column: 2;
    }

    .content-section {
        padding: 75px 0;
    }

    .feature-grid,
    .wiki-category-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 320px;
    }

    .activity-layout {
        gap: 18px;
    }

    .news-card {
        min-height: 470px;
    }

    .news-content {
        padding: 30px;
    }

    .callout-actions {
        width: 100%;
        flex-direction: column;
    }

    .callout-actions .button {
        width: 100%;
    }

    .page-hero-inner,
    .wiki-hero-inner {
        padding: 85px 0;
    }

    .page-hero h1,
    .wiki-hero h1,
    .join-hero h1 {
        font-size: 3.3rem;
    }

    .wiki-search {
        flex-direction: column;
    }

    .wiki-search button {
        min-height: 46px;
    }

    .forum-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .forum-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .forum-row-stats,
    .forum-row-latest {
        grid-column: 2;
        text-align: left;
    }

    .join-address {
        min-width: 0;
        width: 100%;
    }

    .join-step {
        padding: 28px 22px;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    .policy-content section {
        padding-left: 0;
    }

    .policy-number {
        position: static;
        margin-bottom: 10px;
        display: block;
    }

    .rule-list > div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .auth-card {
        padding: 34px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-bottom-inner {
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }
}

/* =========================================================
   REPEAT SMP MINECRAFT REDESIGN
   ========================================================= */

:root {
    --mc-bg: #080b08;
    --mc-bg-two: #101510;
    --mc-panel: #161c16;
    --mc-panel-light: #1d251d;
    --mc-border: #384336;
    --mc-text: #f3f2e9;
    --mc-muted: #aeb7aa;
    --mc-muted-dark: #7f897b;
    --mc-green: #74aa43;
    --mc-green-light: #96cf59;
    --mc-green-dark: #3b6425;
    --mc-gold: #d9b566;
    --mc-site-width: 1230px;
}

body {
    color: var(--mc-text);
    background: var(--mc-bg);
}

.site-container {
    width: min(calc(100% - 40px), var(--mc-site-width));
}

.mc-status-strip {
    min-height: 31px;
    color: #aeb6aa;
    background: #050805;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.mc-status-inner {
    min-height: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-online-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6bd681;
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mc-online-label i,
.mc-server-status > i {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #65d47d;
    box-shadow: 0 0 13px rgba(101, 212, 125, 0.75);
}

.mc-navigation {
    min-height: 84px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(9, 13, 9, 0.97);
    backdrop-filter: blur(16px);
}

.site-header.scrolled .mc-navigation {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 300;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.42);
}

.mc-navigation-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.mc-brand {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 13px;
}

.mc-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter:
        drop-shadow(0 4px 0 rgba(0, 0, 0, 0.3))
        drop-shadow(0 0 10px rgba(217, 181, 102, 0.14));
}

.mc-brand > span {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.mc-brand strong {
    font-family: "Courier New", monospace;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.mc-brand small {
    margin-top: 8px;
    color: var(--mc-muted-dark);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.17em;
}

.mc-navigation-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-navigation-links,
.mc-account-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mc-navigation-links a,
.mc-account-links > a:not(.mc-button) {
    position: relative;
    padding: 31px 13px;
    color: #bcc5b9;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.mc-navigation-links a::after {
    position: absolute;
    right: 13px;
    bottom: 18px;
    left: 13px;
    height: 3px;
    content: "";
    background: var(--mc-green-light);
    box-shadow: 0 3px var(--mc-green-dark);
    transform: scaleX(0);
    transition: transform 150ms ease;
}

.mc-navigation-links a:hover,
.mc-navigation-links a.active,
.mc-account-links > a:hover {
    color: #fff;
}

.mc-navigation-links a:hover::after,
.mc-navigation-links a.active::after {
    transform: scaleX(1);
}

.mc-button {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 3px solid #29451d;
    color: #fff;
    background:
        linear-gradient(
            to bottom,
            #86bf4d 0 48%,
            #6da23d 48% 100%
        );
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.17),
        inset -3px -3px rgba(29, 55, 18, 0.52),
        0 5px 0 #263e1b;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-shadow: 2px 2px #29441b;
    text-transform: uppercase;
    transition:
        filter 130ms ease,
        transform 130ms ease;
}

.mc-button:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.mc-button-small {
    min-height: 42px;
    padding: 0 18px;
}

.mc-button-large {
    min-height: 58px;
    padding: 0 29px;
}

.mc-button-dark {
    border-color: #465144;
    background:
        linear-gradient(
            to bottom,
            #353e34 0 48%,
            #282f28 48% 100%
        );
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.07),
        inset -3px -3px rgba(0, 0, 0, 0.35),
        0 5px 0 #111611;
    text-shadow: 2px 2px #111511;
}

.mc-button-full {
    width: 100%;
    margin-top: 24px;
}

.mc-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 5px solid #334529;
    background: #172119;
}

.mc-hero-world {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        linear-gradient(
            to bottom,
            #1c2933 0%,
            #334438 50%,
            #675c3c 72%,
            #172017 100%
        );
}

.mc-hero-world::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.11;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 16px 16px;
}

.mc-sun {
    position: absolute;
    top: 108px;
    right: 16%;
    width: 100px;
    height: 100px;
    opacity: 0.55;
    background: #f0cd75;
    box-shadow:
        0 0 80px rgba(240, 205, 117, 0.45),
        0 0 155px rgba(240, 205, 117, 0.18);
}

.mc-cloud {
    position: absolute;
    height: 32px;
    opacity: 0.12;
    background: #f1f4eb;
    box-shadow:
        32px 0 #f1f4eb,
        64px 0 #f1f4eb,
        96px 0 #f1f4eb,
        32px -32px #f1f4eb,
        64px -32px #f1f4eb;
}

.mc-cloud-one {
    top: 120px;
    left: 7%;
    width: 96px;
}

.mc-cloud-two {
    top: 225px;
    right: 7%;
    width: 128px;
    transform: scale(0.75);
}

.mc-ground {
    position: absolute;
    right: 0;
    left: 0;
}

.mc-ground-grass {
    bottom: 123px;
    height: 40px;
    background:
        repeating-linear-gradient(
            90deg,
            #4d792f 0 18px,
            #65913d 18px 34px,
            #416928 34px 50px
        );
}

.mc-ground-dirt {
    bottom: 55px;
    height: 78px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055) 25%,
            transparent 25%
        ) 0 0 / 28px 28px,
        #674831;
}

.mc-ground-stone {
    bottom: 0;
    height: 60px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.04) 25%,
            transparent 25%
        ) 0 0 / 30px 30px,
        #4c514d;
}

.mc-tree {
    position: absolute;
    bottom: 160px;
    width: 150px;
    height: 250px;
    opacity: 0.82;
}

.mc-tree-one {
    right: 27%;
    transform: scale(1.2);
}

.mc-tree-two {
    right: 2%;
    transform: scale(0.8);
}

.mc-tree-trunk {
    position: absolute;
    bottom: 0;
    left: 56px;
    width: 43px;
    height: 132px;
    background:
        repeating-linear-gradient(
            90deg,
            #584029 0 14px,
            #765334 14px 28px
        );
}

.mc-tree-leaves {
    position: absolute;
    top: 0;
    left: 14px;
    width: 126px;
    height: 96px;
    background: #263f26;
    box-shadow:
        -28px 30px #294728,
        28px 30px #315331,
        0 64px #253e25,
        -28px 64px #2b492b,
        28px 64px #2f4d2f;
}

.mc-castle {
    position: absolute;
    right: 8%;
    bottom: 160px;
    width: 350px;
    height: 310px;
    opacity: 0.48;
}

.mc-castle-left,
.mc-castle-right {
    position: absolute;
    bottom: 0;
    width: 94px;
    height: 280px;
    background: #454c47;
}

.mc-castle-left {
    left: 0;
}

.mc-castle-right {
    right: 0;
}

.mc-castle-center {
    position: absolute;
    right: 85px;
    bottom: 0;
    left: 85px;
    height: 225px;
    background: #4a504c;
}

.mc-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 6, 0.98) 0%,
            rgba(6, 10, 7, 0.88) 44%,
            rgba(7, 10, 8, 0.36) 74%,
            rgba(6, 9, 7, 0.62) 100%
        ),
        linear-gradient(to top, rgba(4, 7, 5, 0.95), transparent 45%);
}

.mc-hero-layout {
    position: relative;
    z-index: 10;
    padding: 95px 0 145px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.72fr);
    align-items: center;
    gap: 72px;
}

.mc-eyebrow {
    margin-bottom: 23px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--mc-green-light);
    font-family: "Courier New", monospace;
    font-size: 0.69rem;
    font-weight: 950;
    letter-spacing: 0.16em;
}

.mc-eyebrow span {
    width: 31px;
    height: 3px;
    background: var(--mc-green);
    box-shadow: 0 3px var(--mc-green-dark);
}

.mc-hero-copy h1 {
    max-width: 730px;
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: clamp(3.4rem, 6.3vw, 6.25rem);
    font-weight: 950;
    letter-spacing: -0.085em;
    line-height: 0.92;
    text-transform: uppercase;
    text-shadow:
        5px 5px #0d100e,
        8px 8px rgba(0, 0, 0, 0.25);
}

.mc-hero-copy h1 strong {
    display: block;
    color: var(--mc-green-light);
    font-weight: 950;
    text-shadow:
        5px 5px #293e1b,
        8px 8px rgba(0, 0, 0, 0.25);
}

.mc-hero-copy > p {
    max-width: 680px;
    margin: 28px 0 0;
    color: #c0c8bd;
    font-size: 1.02rem;
    line-height: 1.85;
}

.mc-hero-actions {
    margin-top: 36px;
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.mc-sword-icon {
    position: relative;
    width: 23px;
    height: 23px;
    display: inline-block;
}

.mc-sword-icon::before {
    position: absolute;
    top: 1px;
    left: 10px;
    width: 5px;
    height: 17px;
    content: "";
    background: #d8e5e0;
    box-shadow:
        -3px 3px #92b5b1,
        3px -3px #eef8f5;
    transform: rotate(45deg);
}

.mc-sword-icon::after {
    position: absolute;
    right: 1px;
    bottom: 2px;
    width: 13px;
    height: 4px;
    content: "";
    background: #745033;
    transform: rotate(45deg);
}

.mc-server-address {
    min-width: 285px;
    padding: 10px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 1px 18px;
    border: 2px solid #40503c;
    color: var(--mc-text);
    text-align: left;
    background:
        linear-gradient(
            to bottom,
            #182018 0 50%,
            #111711 50%
        );
    box-shadow:
        inset 2px 2px rgba(255, 255, 255, 0.035),
        inset -2px -2px rgba(0, 0, 0, 0.35),
        0 5px 0 #080b08;
}

.mc-server-address span,
.mc-server-address small {
    color: var(--mc-muted-dark);
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mc-server-address strong {
    grid-row: 2;
    color: var(--mc-green-light);
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
}

.mc-server-address small {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.mc-stat-grid {
    max-width: 810px;
    margin-top: 57px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 2px solid rgba(90, 105, 85, 0.48);
    background: rgba(6, 9, 7, 0.64);
}

.mc-stat {
    min-height: 92px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-right: 1px solid rgba(111, 126, 105, 0.25);
}

.mc-stat:last-child {
    border-right: 0;
}

.mc-stat strong,
.mc-stat small {
    display: block;
}

.mc-stat strong {
    font-family: "Courier New", monospace;
    font-size: 1rem;
    font-weight: 950;
}

.mc-stat small {
    margin-top: 4px;
    color: var(--mc-muted-dark);
    font-size: 0.53rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-item-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-block;
    flex: 0 0 auto;
}

.mc-item-sword::before {
    position: absolute;
    top: 4px;
    left: 17px;
    width: 8px;
    height: 27px;
    content: "";
    background: #70dad3;
    box-shadow:
        -5px 5px #3faaa9,
        5px -5px #b5f4ec;
    transform: rotate(45deg);
}

.mc-item-table {
    border: 5px solid #4b2e1d;
    background:
        linear-gradient(
            90deg,
            #b27337 0 47%,
            #7d4928 47% 53%,
            #c0813f 53%
        );
    box-shadow: inset 0 7px #d49a55;
}

.mc-item-emerald {
    width: 28px;
    height: 37px;
    margin-inline: 6px;
    background: #37da6b;
    clip-path:
        polygon(
            50% 0,
            85% 17%,
            100% 50%,
            82% 83%,
            50% 100%,
            18% 83%,
            0 50%,
            15% 17%
        );
    filter: drop-shadow(3px 3px #153d25);
}

.mc-item-book {
    width: 36px;
    height: 30px;
    margin-top: 5px;
    border: 4px solid #6b401f;
    background:
        linear-gradient(
            90deg,
            #d6aa57 0 46%,
            #76542b 46% 54%,
            #efc972 54%
        );
    box-shadow: 0 6px #372719;
}

.mc-banner-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    padding: 20px;
    overflow: hidden;
    border: 6px solid #4a514b;
    background: #202620;
    box-shadow:
        inset 4px 4px rgba(255, 255, 255, 0.1),
        inset -4px -4px rgba(0, 0, 0, 0.45),
        0 15px 0 rgba(0, 0, 0, 0.17),
        0 32px 80px rgba(0, 0, 0, 0.42);
}

.mc-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:
        brightness(0.45)
        saturate(0.62)
        sepia(0.1);
}

.mc-banner-overlay {
    position: absolute;
    inset: 20px;
    background:
        radial-gradient(
            circle,
            transparent 0 30%,
            rgba(8, 12, 8, 0.16) 52%,
            rgba(5, 8, 6, 0.82) 100%
        );
}

.mc-banner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58%;
    z-index: 4;
    transform: translate(-50%, -58%);
    filter:
        drop-shadow(0 10px 0 rgba(0, 0, 0, 0.24))
        drop-shadow(0 0 27px rgba(217, 181, 102, 0.26));
}

.mc-banner-title {
    position: absolute;
    right: 32px;
    bottom: 38px;
    left: 32px;
    z-index: 5;
    text-align: center;
}

.mc-banner-title strong,
.mc-banner-title span {
    display: block;
}

.mc-banner-title strong {
    font-family: "Courier New", monospace;
    font-size: clamp(1.6rem, 4vw, 2.55rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    text-shadow:
        4px 4px #101510,
        -2px -2px #101510;
}

.mc-banner-title span {
    margin-top: 7px;
    color: var(--mc-green-light);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.22em;
}

.mc-server-status {
    margin-top: 19px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 2px solid #3f4b3c;
    background: rgba(10, 15, 10, 0.92);
}

.mc-server-status small,
.mc-server-status strong {
    display: block;
}

.mc-server-status small {
    color: var(--mc-muted-dark);
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mc-server-status strong {
    margin-top: 2px;
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
}

.mc-announcement {
    border-top: 4px solid #212a1f;
    border-bottom: 4px solid #252e23;
    background:
        linear-gradient(
            to bottom,
            #181e18 0 50%,
            #121712 50%
        );
}

.mc-announcement-inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 19px;
}

.mc-announcement-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 3px solid #846931;
    color: #fff3bf;
    background:
        linear-gradient(
            to bottom,
            #d8ad4f,
            #a97928
        );
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.16),
        inset -3px -3px rgba(70, 43, 11, 0.4),
        0 4px #5f471e;
    font-family: "Courier New", monospace;
    font-size: 1.35rem;
    font-weight: 950;
}

.mc-announcement-inner > div:nth-child(2) span,
.mc-announcement-inner > div:nth-child(2) strong {
    display: block;
}

.mc-announcement-inner > div:nth-child(2) span {
    color: var(--mc-muted-dark);
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mc-announcement-inner > div:nth-child(2) strong {
    margin-top: 4px;
    font-family: "Courier New", monospace;
    font-size: 0.86rem;
}

.mc-announcement-inner > a {
    color: var(--mc-green-light);
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-section {
    position: relative;
    padding: 95px 0;
    background:
        radial-gradient(
            circle at top,
            rgba(95, 127, 74, 0.055),
            transparent 38rem
        ),
        var(--mc-bg);
}

.mc-section-dark {
    border-top: 4px solid #20271f;
    border-bottom: 4px solid #20271f;
    background:
        linear-gradient(
            135deg,
            rgba(90, 117, 72, 0.055),
            transparent 38%
        ),
        var(--mc-bg-two);
}

.mc-section-heading {
    max-width: 770px;
    margin-bottom: 45px;
}

.mc-centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.mc-section-heading > span,
.mc-small-heading,
.mc-callout-inner > div > span {
    color: var(--mc-green-light);
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mc-section-heading h2,
.mc-story-copy h2,
.mc-callout-inner h2 {
    margin: 12px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    font-weight: 950;
    letter-spacing: -0.065em;
    line-height: 1.02;
    text-transform: uppercase;
    text-shadow: 4px 4px #090c09;
}

.mc-section-heading h2 strong,
.mc-story-copy h2 strong {
    color: var(--mc-green-light);
}

.mc-section-heading p,
.mc-story-copy p,
.mc-callout-inner p {
    margin: 19px 0 0;
    color: var(--mc-muted);
    line-height: 1.85;
}

.mc-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mc-feature-card {
    position: relative;
    min-height: 365px;
    padding: 30px;
    border: 3px solid var(--mc-border);
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.025),
            transparent 30%
        ),
        var(--mc-panel);
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.35),
        0 7px 0 #080b08;
    transition:
        transform 150ms ease,
        border-color 150ms ease;
}

.mc-feature-card:hover {
    border-color: #5f7b4d;
    transform: translateY(-7px);
}

.mc-feature-highlighted {
    border-color: #587543;
}

.mc-feature-number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: #667061;
    font-family: "Courier New", monospace;
    font-size: 0.62rem;
    font-weight: 950;
}

.mc-feature-icon {
    position: relative;
    width: 58px;
    height: 58px;
}

.mc-feature-chest {
    border: 5px solid #62471e;
    background:
        linear-gradient(
            90deg,
            #c69534 0 46%,
            #9b6e24 46% 54%,
            #d4a33b 54%
        );
    box-shadow:
        inset 0 8px #edbd54,
        0 6px #3f2d15;
}

.mc-feature-book {
    border: 5px solid #684223;
    background:
        linear-gradient(
            90deg,
            #d1a452 0 45%,
            #6f502d 45% 55%,
            #ebca76 55%
        );
    box-shadow: 0 6px #392717;
    transform: skewY(-5deg);
}

.mc-feature-shield {
    background: #8a9690;
    clip-path:
        polygon(
            50% 0,
            92% 15%,
            88% 67%,
            50% 100%,
            12% 67%,
            8% 15%
        );
    filter: drop-shadow(0 6px #373d39);
}

.mc-feature-grass {
    border: 4px solid #3a482f;
    background:
        linear-gradient(
            to bottom,
            #719b42 0 28%,
            #6e4c35 28%
        );
    box-shadow: 0 6px #232b20;
}

.mc-feature-card h3 {
    margin: 31px 0 0;
    font-family: "Courier New", monospace;
    font-size: 1.16rem;
    font-weight: 950;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.mc-feature-card p {
    margin: 14px 0 0;
    color: var(--mc-muted);
    font-size: 0.85rem;
    line-height: 1.75;
}

.mc-feature-link {
    position: absolute;
    bottom: 28px;
    left: 30px;
    color: var(--mc-green-light);
    font-size: 0.63rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mc-story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    align-items: center;
    gap: 80px;
}

.mc-text-link {
    margin-top: 27px;
    padding-bottom: 5px;
    display: inline-flex;
    border-bottom: 3px solid var(--mc-green-dark);
    color: var(--mc-green-light);
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mc-progress-panel,
.mc-panel {
    border: 3px solid var(--mc-border);
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.023),
            transparent 30%
        ),
        var(--mc-panel);
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.36),
        0 8px 0 #080b08;
}

.mc-progress-panel,
.mc-panel {
    padding: 29px;
}

.mc-panel-heading {
    margin-bottom: 22px;
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #333b31;
}

.mc-panel-heading > span {
    color: var(--mc-green-light);
    font-size: 0.57rem;
    font-weight: 950;
    letter-spacing: 0.11em;
}

.mc-panel-heading > strong {
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    font-weight: 950;
    text-transform: uppercase;
}

.mc-progress-item {
    position: relative;
    padding: 13px 0 27px 43px;
}

.mc-progress-item:not(:last-child)::after {
    position: absolute;
    top: 33px;
    bottom: -4px;
    left: 13px;
    width: 4px;
    content: "";
    background: #30392e;
}

.mc-progress-item > i {
    position: absolute;
    top: 19px;
    left: 4px;
    width: 20px;
    height: 20px;
    border: 3px solid #4b5548;
    background: #5f685d;
    box-shadow: 0 3px #252b24;
}

.mc-progress-item.active > i {
    border-color: #527837;
    background: var(--mc-green-light);
    box-shadow:
        0 3px #304a20,
        0 0 15px rgba(143, 199, 84, 0.38);
}

.mc-progress-item small,
.mc-progress-item strong,
.mc-progress-item p {
    display: block;
}

.mc-progress-item small {
    color: var(--mc-green-light);
    font-size: 0.55rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mc-progress-item strong {
    margin-top: 4px;
    font-family: "Courier New", monospace;
    font-size: 0.88rem;
    font-weight: 950;
}

.mc-progress-item p {
    margin: 5px 0 0;
    color: var(--mc-muted-dark);
    font-size: 0.78rem;
}

.mc-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.67fr);
    gap: 24px;
}

.mc-news-card {
    position: relative;
    min-height: 525px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 4px solid #3d463a;
    background: #161b16;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.4),
        0 8px #080b08;
}

.mc-news-world {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mc-news-sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            #273b46,
            #79673f 68%,
            #20261d
        );
}

.mc-news-hill {
    position: absolute;
    bottom: 105px;
    width: 520px;
    height: 290px;
    background: #334a2e;
    clip-path:
        polygon(
            0 100%,
            0 70%,
            10% 70%,
            10% 57%,
            21% 57%,
            21% 43%,
            35% 43%,
            35% 29%,
            49% 29%,
            49% 43%,
            62% 43%,
            62% 57%,
            75% 57%,
            75% 70%,
            88% 70%,
            88% 84%,
            100% 84%,
            100% 100%
        );
}

.mc-news-hill-one {
    right: -35px;
}

.mc-news-hill-two {
    right: 300px;
    bottom: 90px;
    opacity: 0.7;
    transform: scale(0.74);
}

.mc-news-ground {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 120px;
    background:
        linear-gradient(
            to bottom,
            #557838 0 26px,
            #61452f 26px 72px,
            #404540 72px
        );
}

.mc-news-world::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            to top,
            rgba(6, 9, 6, 0.98),
            rgba(6, 9, 6, 0.2) 74%
        ),
        linear-gradient(
            90deg,
            rgba(6, 9, 6, 0.76),
            transparent
        );
}

.mc-news-label {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 4;
    padding: 9px 13px;
    border: 2px solid #365027;
    color: #fff;
    background: var(--mc-green);
    box-shadow: 0 4px #263a1d;
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mc-news-content {
    position: relative;
    z-index: 4;
    max-width: 750px;
    padding: 43px;
}

.mc-news-content > span {
    color: var(--mc-muted-dark);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.mc-news-content h3 {
    margin: 11px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(1.8rem, 3.8vw, 2.85rem);
    font-weight: 950;
    letter-spacing: -0.06em;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 4px 4px #090c09;
}

.mc-news-content p {
    margin: 17px 0 0;
    color: var(--mc-muted);
    line-height: 1.8;
}

.mc-news-content a {
    margin-top: 24px;
    display: inline-flex;
    color: var(--mc-green-light);
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.mc-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mc-detail-row {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #30372e;
    color: var(--mc-muted);
    font-size: 0.78rem;
}

.mc-detail-row strong,
.mc-detail-row button {
    padding: 0;
    border: 0;
    color: var(--mc-text);
    background: transparent;
    font-weight: 800;
    text-align: right;
}

.mc-quick-links {
    display: flex;
    flex-direction: column;
}

.mc-quick-links a {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #30372e;
    color: var(--mc-muted);
    font-size: 0.79rem;
    font-weight: 800;
}

.mc-quick-links i {
    width: 27px;
    height: 27px;
    display: inline-block;
}

.mc-quick-grass {
    border: 3px solid #304126;
    background:
        linear-gradient(
            to bottom,
            #729f43 0 30%,
            #6a4b35 30%
        );
}

.mc-quick-book {
    border: 3px solid #5e3f23;
    background:
        linear-gradient(
            90deg,
            #d1a34e 0 44%,
            #684b2c 44% 56%,
            #e7c46b 56%
        );
}

.mc-quick-chest {
    border: 3px solid #5d3e1c;
    background:
        linear-gradient(
            to bottom,
            #c18c33 0 45%,
            #7b521e 45% 55%,
            #ae7628 55%
        );
}

.mc-callout {
    padding: 73px 0;
    border-top: 5px solid #345126;
    border-bottom: 5px solid #345126;
    background:
        linear-gradient(
            135deg,
            rgba(116, 164, 77, 0.14),
            transparent 46%
        ),
        #172017;
}

.mc-callout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.mc-callout-actions {
    min-width: max-content;
    display: flex;
    gap: 13px;
}

.mc-footer {
    border-top: 5px solid #292f28;
    background: #070a07;
}

.mc-footer-grass {
    height: 48px;
    background:
        linear-gradient(
            to bottom,
            #4e7732 0 13px,
            #62452f 13px
        );
}

.mc-footer-grid {
    padding: 58px 0;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 0.58fr);
    gap: 56px;
}

.mc-footer-intro p {
    max-width: 440px;
    margin: 21px 0 0;
    color: var(--mc-muted-dark);
    font-size: 0.82rem;
}

.mc-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.mc-footer-column h3 {
    margin: 0 0 12px;
    color: var(--mc-green-light);
    font-family: "Courier New", monospace;
    font-size: 0.66rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.mc-footer-column a,
.mc-footer-column button,
.mc-footer-column span {
    padding: 0;
    border: 0;
    color: var(--mc-muted-dark);
    background: transparent;
    font-size: 0.77rem;
}

.mc-footer-bottom {
    border-top: 1px solid #242a23;
}

.mc-footer-bottom-inner {
    min-height: 67px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #5e675b;
    font-size: 0.65rem;
}

@media (max-width: 1120px) {
    .mc-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mc-hero-layout {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 42px;
    }
}

@media (max-width: 930px) {
    .mc-status-strip {
        display: none;
    }

    .mobile-menu-button {
        margin-left: auto;
        display: flex;
    }

    .mc-navigation-menu {
        position: fixed;
        top: 74px;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 22px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        background: rgba(7, 10, 7, 0.99);
    }

    .mc-navigation-menu.open {
        display: flex;
    }

    .mc-navigation-links,
    .mc-account-links {
        flex-direction: column;
        align-items: stretch;
    }

    .mc-navigation-links a,
    .mc-account-links > a:not(.mc-button) {
        padding: 18px 10px;
        border-bottom: 2px solid #283027;
    }

    .mc-navigation-links a::after {
        display: none;
    }

    .mc-account-links {
        margin-top: 24px;
    }

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

    .mc-brand-showcase {
        max-width: 500px;
    }

    .mc-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mc-story-layout,
    .mc-community-layout {
        grid-template-columns: 1fr;
    }

    .mc-callout-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .mc-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 670px) {
    .site-container {
        width: min(calc(100% - 28px), var(--mc-site-width));
    }

    .mc-brand img {
        width: 48px;
        height: 48px;
    }

    .mc-brand strong {
        font-size: 0.84rem;
    }

    .mc-brand small {
        font-size: 0.48rem;
    }

    .mc-hero {
        min-height: auto;
    }

    .mc-hero-layout {
        padding: 74px 0 120px;
    }

    .mc-hero-copy h1 {
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .mc-eyebrow {
        font-size: 0.57rem;
    }

    .mc-eyebrow span {
        width: 18px;
    }

    .mc-hero-actions {
        flex-direction: column;
    }

    .mc-server-address {
        min-width: 0;
        width: 100%;
    }

    .mc-stat {
        padding: 12px;
    }

    .mc-announcement-inner {
        padding: 20px 0;
        grid-template-columns: auto 1fr;
    }

    .mc-announcement-inner > a {
        grid-column: 2;
    }

    .mc-section {
        padding: 73px 0;
    }

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

    .mc-feature-card {
        min-height: 335px;
    }

    .mc-news-content {
        padding: 30px;
    }

    .mc-callout-actions {
        width: 100%;
        flex-direction: column;
    }

    .mc-callout-actions .mc-button {
        width: 100%;
    }

    .mc-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mc-footer-bottom-inner {
        padding: 19px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }
}

/* =========================================================
   REPEAT SMP HOMEPAGE NOTES OVERRIDE
   Added after the original stylesheet intentionally.
   ========================================================= */

.repeat-site {
    color: #f4f4eb;
    background:
        radial-gradient(circle at top, rgba(88, 124, 63, 0.07), transparent 42rem),
        #070b07;
}

.repeat-header {
    position: relative;
    z-index: 500;
}

.repeat-navigation {
    min-height: 78px;
    border-bottom: 1px solid rgba(132, 157, 116, 0.16);
    background: rgba(5, 9, 6, 0.97);
    backdrop-filter: blur(18px);
}

.repeat-header.scrolled .repeat-navigation {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.48);
}

.repeat-navigation-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.repeat-brand {
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.repeat-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter:
        drop-shadow(0 4px 0 rgba(0, 0, 0, 0.3))
        drop-shadow(0 0 10px rgba(215, 177, 92, 0.12));
}

.repeat-brand strong {
    font-family: "Courier New", monospace;
    font-size: 1.12rem;
    font-weight: 950;
    letter-spacing: 0.06em;
}

.repeat-navigation-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.repeat-navigation-links,
.repeat-account-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.repeat-navigation-links a,
.repeat-login-link {
    position: relative;
    padding: 28px 12px;
    color: #c0c6bd;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.repeat-navigation-links a::after {
    position: absolute;
    right: 12px;
    bottom: 16px;
    left: 12px;
    height: 3px;
    content: "";
    background: #8ecb4d;
    box-shadow: 0 3px #416523;
    transform: scaleX(0);
    transition: transform 150ms ease;
}

.repeat-navigation-links a:hover,
.repeat-navigation-links a.active,
.repeat-login-link:hover {
    color: #ffffff;
}

.repeat-navigation-links a:hover::after,
.repeat-navigation-links a.active::after {
    transform: scaleX(1);
}

.header-player-count {
    min-height: 43px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #293526;
    color: #a7afa2;
    background:
        linear-gradient(
            to bottom,
            rgba(22, 30, 21, 0.9),
            rgba(11, 16, 11, 0.92)
        );
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.header-player-count strong {
    color: #8fca4e;
}

.header-online-dot {
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-radius: 50%;
    background: #58c970;
    box-shadow:
        0 0 0 2px rgba(88, 201, 112, 0.1),
        0 0 13px rgba(88, 201, 112, 0.72);
}

.repeat-button {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 3px solid #29451d;
    color: #ffffff;
    background:
        linear-gradient(
            to bottom,
            #86bf4d 0 48%,
            #6da23d 48% 100%
        );
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.17),
        inset -3px -3px rgba(29, 55, 18, 0.52),
        0 5px 0 #263e1b;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-shadow: 2px 2px #29441b;
    text-transform: uppercase;
    transition:
        filter 130ms ease,
        transform 130ms ease;
}

.repeat-button:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.repeat-button-small {
    min-height: 42px;
    padding: 0 18px;
}

.repeat-button-large {
    min-height: 58px;
    padding: 0 29px;
}

.repeat-hero {
    position: relative;
    min-height: 645px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 5px solid #304326;
    background: #101710;
}

.repeat-hero-background {
    position: absolute;
    inset: 0;
}

.repeat-hero-background > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter:
        brightness(0.44)
        saturate(0.6)
        sepia(0.08);
    transform: scale(1.045);
}

.repeat-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 5, 0.98) 0%,
            rgba(5, 9, 6, 0.91) 40%,
            rgba(6, 10, 7, 0.44) 69%,
            rgba(5, 8, 6, 0.75) 100%
        ),
        linear-gradient(
            to top,
            rgba(4, 7, 4, 0.94),
            transparent 52%
        );
}

.repeat-hero-block-grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
}

.repeat-hero-layout {
    position: relative;
    z-index: 5;
    padding: 85px 0 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 80px;
}

.repeat-season-label {
    margin-bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #8fca4e;
    font-family: "Courier New", monospace;
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.repeat-season-label span {
    width: 34px;
    height: 3px;
    background: #6e9f3e;
    box-shadow: 0 3px #334f21;
}

.repeat-hero-copy h1 {
    max-width: 720px;
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: clamp(4rem, 7.4vw, 7.25rem);
    font-weight: 950;
    letter-spacing: -0.105em;
    line-height: 0.84;
    text-transform: uppercase;
    text-shadow:
        6px 6px #0a0d0a,
        10px 10px rgba(0, 0, 0, 0.24);
}

.repeat-hero-copy h1 strong {
    display: block;
    color: #8fc94e;
    font-weight: 950;
    text-shadow:
        6px 6px #2d471d,
        10px 10px rgba(0, 0, 0, 0.24);
}

.repeat-hero-copy > p {
    max-width: 655px;
    margin: 28px 0 0;
    color: #c6ccc2;
    font-size: 1.02rem;
    line-height: 1.82;
}

.repeat-hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.repeat-sword-icon {
    position: relative;
    width: 23px;
    height: 23px;
    display: inline-block;
}

.repeat-sword-icon::before {
    position: absolute;
    top: 1px;
    left: 10px;
    width: 5px;
    height: 17px;
    content: "";
    background: #d8e5e0;
    box-shadow:
        -3px 3px #64beb8,
        3px -3px #baf3ef;
    transform: rotate(45deg);
}

.repeat-sword-icon::after {
    position: absolute;
    right: 1px;
    bottom: 2px;
    width: 13px;
    height: 4px;
    content: "";
    background: #745033;
    transform: rotate(45deg);
}

.repeat-server-address {
    min-width: 285px;
    padding: 10px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 1px 18px;
    border: 2px solid #40503c;
    color: #f3f3eb;
    text-align: left;
    background:
        linear-gradient(
            to bottom,
            #182018 0 50%,
            #111711 50%
        );
    box-shadow:
        inset 2px 2px rgba(255, 255, 255, 0.035),
        inset -2px -2px rgba(0, 0, 0, 0.35),
        0 5px 0 #080b08;
}

.repeat-server-address span,
.repeat-server-address small {
    color: #7f897b;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.repeat-server-address strong {
    grid-row: 2;
    color: #8fca4e;
    font-family: "Courier New", monospace;
    font-size: 0.85rem;
}

.repeat-server-address small {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.repeat-hero-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.repeat-hero-logo {
    width: min(100%, 430px);
    max-height: 430px;
    object-fit: contain;
    filter:
        drop-shadow(0 14px 0 rgba(0, 0, 0, 0.2))
        drop-shadow(0 0 30px rgba(221, 181, 89, 0.19));
}

.featured-thread-section {
    position: relative;
    z-index: 10;
    padding: 32px 0 25px;
    background:
        linear-gradient(
            to bottom,
            rgba(12, 18, 12, 0.98),
            rgba(7, 11, 7, 0.98)
        );
}

.featured-thread-card {
    min-height: 190px;
    padding: 25px;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) 225px;
    align-items: stretch;
    gap: 27px;
    border: 4px solid #434a32;
    background:
        linear-gradient(
            110deg,
            rgba(103, 129, 71, 0.08),
            transparent 43%
        ),
        rgba(7, 12, 8, 0.94);
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.4),
        0 8px 0 #030503;
}

.featured-thread-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-thread-icon span {
    width: 72px;
    height: 84px;
    display: grid;
    place-items: center;
    border: 5px solid #795b1f;
    color: #fff1b3;
    background:
        linear-gradient(
            to bottom,
            #d7a936 0 50%,
            #ad7720 50%
        );
    box-shadow:
        inset 5px 5px rgba(255, 255, 255, 0.15),
        inset -5px -5px rgba(76, 43, 7, 0.42),
        0 7px #4b3616;
    font-family: "Courier New", monospace;
    font-size: 2.2rem;
    font-weight: 950;
    text-shadow: 3px 3px #6c4813;
}

.featured-thread-content {
    padding: 5px 0;
}

.featured-thread-label {
    color: #8fca4e;
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured-thread-content h2 {
    margin: 6px 0 0;
    font-family: "Courier New", monospace;
    font-size: 1.17rem;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.featured-thread-content p {
    max-width: 760px;
    margin: 9px 0 0;
    color: #afb7ab;
    font-size: 0.82rem;
    line-height: 1.62;
}

.featured-thread-meta {
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid #30392b;
}

.featured-thread-details {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #9ca596;
    font-size: 0.72rem;
}

.featured-thread-details strong {
    color: #8fca4e;
}

.thread-comments {
    margin-top: 4px;
    color: #8fca4e !important;
}

.repeat-main-section,
.repeat-news-section {
    position: relative;
    padding: 70px 0;
    background:
        radial-gradient(circle at top, rgba(91, 130, 59, 0.055), transparent 40rem),
        #070b07;
}

.repeat-news-section {
    padding-top: 20px;
    padding-bottom: 85px;
}

.repeat-section-heading {
    margin-bottom: 28px;
}

.compact-heading {
    margin-bottom: 25px;
}

.repeat-section-heading h2 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 4px 4px #050705;
}

.repeat-section-heading h2 strong {
    color: #8fca4e;
}

.repeat-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
}

.repeat-feature-card {
    position: relative;
    min-height: 335px;
    padding: 27px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid #394333;
    text-align: center;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.025),
            transparent 35%
        ),
        #141a14;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.35),
        0 7px 0 #030503;
    transition:
        border-color 150ms ease,
        transform 150ms ease;
}

.repeat-feature-card:hover {
    border-color: #66814e;
    transform: translateY(-6px);
}

.repeat-feature-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 25px;
}

.repeat-chest-icon {
    border: 6px solid #5d3d18;
    background:
        linear-gradient(
            to bottom,
            #c18b2f 0 43%,
            #6c471a 43% 55%,
            #aa7227 55%
        );
    box-shadow:
        inset 6px 6px rgba(255, 255, 255, 0.12),
        inset -6px -6px rgba(55, 30, 5, 0.28),
        0 7px #362411;
}

.repeat-chest-icon::after {
    position: absolute;
    top: 25px;
    left: 28px;
    width: 15px;
    height: 24px;
    content: "";
    border: 4px solid #4a331a;
    background: #c8c0a6;
}

.repeat-book-icon {
    border: 6px solid #5f3c1f;
    background:
        linear-gradient(
            90deg,
            #d5a654 0 45%,
            #68482a 45% 55%,
            #e8c671 55%
        );
    box-shadow: 0 7px #382416;
    transform: skewY(-5deg);
}

.repeat-shield-icon {
    background: #8d9690;
    clip-path:
        polygon(
            50% 0,
            92% 15%,
            88% 68%,
            50% 100%,
            12% 68%,
            8% 15%
        );
    filter: drop-shadow(0 7px #373e39);
}

.repeat-shield-icon::after {
    position: absolute;
    inset: 13px 20px 17px;
    content: "";
    background: #6c6148;
    clip-path:
        polygon(
            50% 0,
            100% 15%,
            92% 67%,
            50% 100%,
            8% 67%,
            0 15%
        );
}

.repeat-grass-icon {
    border: 5px solid #35452c;
    background:
        linear-gradient(
            to bottom,
            #75a645 0 30%,
            #6d4c34 30%
        );
    box-shadow:
        inset 5px 0 rgba(255, 255, 255, 0.05),
        inset -5px 0 rgba(0, 0, 0, 0.18),
        0 7px #222b20;
}

.repeat-feature-card h3 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: 1.05rem;
    font-weight: 950;
    text-transform: uppercase;
}

.repeat-feature-card p {
    margin: 13px 0 0;
    color: #adb5a9;
    font-size: 0.82rem;
    line-height: 1.68;
}

.repeat-feature-link {
    margin-top: auto;
    padding-top: 20px;
    color: #8fca4e;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.repeat-news-list {
    overflow: hidden;
    border: 3px solid #333e30;
    background: #0c110c;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.35),
        0 7px 0 #030503;
}

.repeat-news-row {
    min-height: 105px;
    padding: 11px;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 190px 50px;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #2a3328;
}

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

.repeat-news-row:hover {
    background: rgba(113, 151, 81, 0.045);
}

.repeat-news-thumbnail {
    height: 82px;
    overflow: hidden;
    border: 2px solid #30392d;
    background: #151b15;
}

.repeat-news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:
        brightness(0.66)
        saturate(0.74);
}

.season-thumbnail img {
    object-position: center;
}

.repeat-news-block-art {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            to bottom,
            #181d24,
            #251814
        );
}

.repeat-news-block-art span {
    width: 38px;
    height: 50px;
    border: 5px solid #381c37;
    background:
        linear-gradient(
            135deg,
            #8f43b6,
            #3c114b
        );
    box-shadow:
        inset 4px 4px rgba(255, 255, 255, 0.08),
        0 0 20px rgba(144, 58, 190, 0.4);
}

.repeat-news-summary h3 {
    margin: 0;
    color: #8fca4e;
    font-family: "Courier New", monospace;
    font-size: 0.94rem;
    font-weight: 950;
}

.repeat-news-summary p {
    margin: 6px 0 0;
    color: #aab2a6;
    font-size: 0.76rem;
    line-height: 1.55;
}

.repeat-news-meta {
    min-height: 75px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border-left: 1px solid #2c352a;
    color: #929b8e;
    font-size: 0.7rem;
}

.repeat-news-meta strong {
    color: #8fca4e;
}

.repeat-news-replies {
    min-height: 75px;
    display: grid;
    place-items: center;
    border-left: 1px solid #2c352a;
    color: #8fca4e;
    font-family: "Courier New", monospace;
    font-size: 0.86rem;
    font-weight: 950;
}

.repeat-news-footer {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.repeat-footer {
    border-top: 5px solid #263020;
    background: #060906;
}

.repeat-footer-grass {
    height: 48px;
    background:
        linear-gradient(
            to bottom,
            #548036 0 14px,
            #60432e 14px
        );
    box-shadow: inset 0 -8px rgba(0, 0, 0, 0.18);
}

.repeat-footer-grid {
    padding: 55px 0;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 0.6fr);
    gap: 55px;
}

.footer-repeat-brand img {
    width: 52px;
    height: 52px;
}

.repeat-footer-intro p {
    max-width: 430px;
    margin: 20px 0 0;
    color: #788274;
    font-size: 0.81rem;
    line-height: 1.7;
}

.repeat-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.repeat-footer-column h3 {
    margin: 0 0 12px;
    color: #8fca4e;
    font-family: "Courier New", monospace;
    font-size: 0.67rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.repeat-footer-column a,
.repeat-footer-column button,
.repeat-footer-column span {
    padding: 0;
    border: 0;
    color: #7d8779;
    background: transparent;
    font-size: 0.77rem;
}

.repeat-footer-column a:hover,
.repeat-footer-column button:hover {
    color: #8fca4e;
}

.repeat-footer-bottom {
    border-top: 1px solid #222a20;
}

.repeat-footer-bottom-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #596255;
    font-size: 0.64rem;
}

@media (max-width: 1120px) {
    .header-player-count {
        display: none;
    }

    .repeat-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .repeat-hero-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 45px;
    }

    .repeat-news-row {
        grid-template-columns: 145px minmax(0, 1fr) 160px 40px;
    }
}

@media (max-width: 930px) {
    .mobile-menu-button {
        margin-left: auto;
        display: flex;
    }

    .repeat-navigation-menu {
        position: fixed;
        top: 78px;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 22px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        background: rgba(5, 9, 6, 0.995);
    }

    .repeat-navigation-menu.open {
        display: flex;
    }

    .repeat-navigation-links,
    .repeat-account-links {
        flex-direction: column;
        align-items: stretch;
    }

    .repeat-navigation-links a,
    .repeat-login-link {
        padding: 18px 10px;
        border-bottom: 2px solid #273025;
    }

    .repeat-navigation-links a::after {
        display: none;
    }

    .repeat-account-links {
        margin-top: 22px;
    }

    .header-player-count {
        display: flex;
        justify-content: center;
    }

    .repeat-hero-layout {
        grid-template-columns: 1fr;
    }

    .repeat-hero-logo-wrap {
        display: none;
    }

    .featured-thread-card {
        grid-template-columns: 85px minmax(0, 1fr);
    }

    .featured-thread-meta {
        grid-column: 2;
        padding: 20px 0 0;
        border-top: 1px solid #30392b;
        border-left: 0;
    }

    .repeat-news-row {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .repeat-news-meta,
    .repeat-news-replies {
        grid-column: 2;
        min-height: 0;
        padding: 8px 0 0;
        border-left: 0;
    }

    .repeat-news-replies {
        display: block;
    }

    .repeat-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 670px) {
    .site-container {
        width: min(calc(100% - 28px), 1230px);
    }

    .repeat-brand img {
        width: 48px;
        height: 48px;
    }

    .repeat-brand strong {
        font-size: 0.88rem;
    }

    .repeat-hero {
        min-height: auto;
    }

    .repeat-hero-layout {
        padding: 72px 0 85px;
    }

    .repeat-season-label {
        font-size: 0.62rem;
    }

    .repeat-season-label span {
        width: 21px;
    }

    .repeat-hero-copy h1 {
        font-size: clamp(3.6rem, 18vw, 5.4rem);
    }

    .repeat-hero-copy > p {
        font-size: 0.94rem;
    }

    .repeat-hero-actions {
        flex-direction: column;
    }

    .repeat-server-address {
        min-width: 0;
        width: 100%;
    }

    .featured-thread-card {
        padding: 21px;
        grid-template-columns: 1fr;
    }

    .featured-thread-icon {
        justify-content: flex-start;
    }

    .featured-thread-icon span {
        width: 55px;
        height: 62px;
        font-size: 1.6rem;
    }

    .featured-thread-meta {
        grid-column: 1;
    }

    .repeat-main-section {
        padding: 58px 0;
    }

    .repeat-feature-grid {
        grid-template-columns: 1fr;
    }

    .repeat-feature-card {
        min-height: 315px;
    }

    .repeat-news-row {
        padding: 14px;
        grid-template-columns: 1fr;
    }

    .repeat-news-thumbnail {
        height: 145px;
    }

    .repeat-news-meta,
    .repeat-news-replies {
        grid-column: 1;
    }

    .repeat-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .repeat-footer-bottom-inner {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }
}

/* =========================================================
   REPEAT SMP RULES AND POLICIES PAGE
   ========================================================= */

.rules-hero {
    position: relative;
    min-height: 330px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 5px solid #304326;
    background: #101710;
}

.rules-hero-background {
    position: absolute;
    inset: 0;
}

.rules-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    filter:
        brightness(0.34)
        saturate(0.58)
        sepia(0.08);
    transform: scale(1.04);
}

.rules-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 5, 0.97),
            rgba(5, 9, 6, 0.75) 58%,
            rgba(5, 9, 6, 0.84)
        ),
        linear-gradient(
            to top,
            rgba(4, 7, 4, 0.94),
            transparent 72%
        );
}

.rules-hero-content {
    position: relative;
    z-index: 4;
    padding: 78px 0;
}

.rules-hero-content > span {
    color: #8fca4e;
    font-size: 0.67rem;
    font-weight: 950;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rules-hero-content h1 {
    margin: 9px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(3rem, 7vw, 5.3rem);
    font-weight: 950;
    letter-spacing: -0.075em;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 5px 5px #070a07;
}

.rules-hero-content p {
    max-width: 690px;
    margin: 20px 0 0;
    color: #b9c1b6;
    font-size: 0.98rem;
    line-height: 1.75;
}

.rules-page-section {
    padding: 65px 0 95px;
    background:
        radial-gradient(
            circle at top,
            rgba(104, 145, 75, 0.055),
            transparent 44rem
        ),
        #070b07;
}

.rules-page-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.rules-sidebar {
    position: sticky;
    top: 105px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rules-sidebar-panel {
    border: 3px solid #384333;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.024),
            transparent 32%
        ),
        #131913;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.024),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 7px 0 #030503;
}

.rules-sidebar-label {
    padding: 16px 18px;
    display: block;
    border-bottom: 2px solid #30392d;
    color: #8fca4e;
    font-family: "Courier New", monospace;
    font-size: 0.67rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.rules-sidebar nav {
    display: flex;
    flex-direction: column;
}

.rules-sidebar nav a,
.rules-sidebar nav button {
    width: 100%;
    padding: 13px 18px;
    display: block;
    border: 0;
    border-bottom: 1px solid #2b3429;
    color: #abb3a7;
    background: transparent;
    font-size: 0.79rem;
    font-weight: 750;
    text-align: left;
    transition:
        color 140ms ease,
        background 140ms ease,
        padding 140ms ease;
}

.rules-sidebar nav a:last-child,
.rules-sidebar nav button:last-child {
    border-bottom: 0;
}

.rules-sidebar nav a:hover,
.rules-sidebar nav a.active,
.rules-sidebar nav button:hover {
    padding-left: 24px;
    color: #9bd45b;
    background: rgba(123, 166, 86, 0.06);
}

.rules-help-panel {
    padding-bottom: 18px;
}

.rules-help-panel p {
    margin: 17px 18px 0;
    color: #929c8e;
    font-size: 0.76rem;
    line-height: 1.65;
}

.rules-help-panel > a {
    margin: 18px 18px 0;
}

.rules-content {
    min-width: 0;
}

.rules-introduction {
    margin-bottom: 30px;
    padding: 24px 27px;
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 28px;
    border: 3px solid #3a4435;
    background:
        linear-gradient(
            105deg,
            rgba(119, 158, 87, 0.07),
            transparent 44%
        ),
        #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.022),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 7px 0 #030503;
}

.rules-introduction > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rules-introduction span {
    color: #7d8878;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rules-introduction strong {
    margin-top: 3px;
    color: #8fca4e;
    font-family: "Courier New", monospace;
    font-size: 0.84rem;
}

.rules-introduction p {
    margin: 0;
    padding-left: 28px;
    border-left: 2px solid #303a2d;
    color: #aeb6aa;
    font-size: 0.82rem;
    line-height: 1.7;
}

.rules-policy-section {
    margin-bottom: 40px;
    scroll-margin-top: 105px;
    border: 3px solid #384333;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.018),
            transparent 14rem
        ),
        #111711;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.022),
        inset -3px -3px rgba(0, 0, 0, 0.35),
        0 8px 0 #030503;
}

.rules-section-header {
    padding: 27px 29px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    border-bottom: 3px solid #333d30;
    background:
        linear-gradient(
            105deg,
            rgba(113, 158, 77, 0.095),
            transparent 50%
        ),
        #182018;
}

.rules-section-icon {
    position: relative;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-family: "Courier New", monospace;
    font-size: 1.4rem;
    font-weight: 950;
    text-shadow: 3px 3px #101510;
}

.rules-icon-grass {
    border: 5px solid #35452c;
    background:
        linear-gradient(
            to bottom,
            #75a645 0 30%,
            #6d4c34 30%
        );
    box-shadow:
        inset 5px 0 rgba(255, 255, 255, 0.05),
        inset -5px 0 rgba(0, 0, 0, 0.18),
        0 7px #222b20;
}

.rules-icon-discord {
    border: 5px solid #35436f;
    background:
        linear-gradient(
            to bottom,
            #7084da,
            #5267b8
        );
    box-shadow:
        inset 5px 5px rgba(255, 255, 255, 0.08),
        inset -5px -5px rgba(20, 29, 73, 0.25),
        0 7px #252d52;
}

.rules-icon-forum {
    border: 5px solid #6b491d;
    background:
        linear-gradient(
            to bottom,
            #d19b38,
            #aa7226
        );
    box-shadow:
        inset 5px 5px rgba(255, 255, 255, 0.11),
        inset -5px -5px rgba(59, 35, 7, 0.28),
        0 7px #473117;
}

.rules-icon-terms {
    border: 5px solid #5f4123;
    background:
        linear-gradient(
            90deg,
            #d2a657 0 45%,
            #6b4c2d 45% 55%,
            #e6c46f 55%
        );
    box-shadow: 0 7px #382617;
}

.rules-icon-privacy {
    background: #8e9790;
    clip-path:
        polygon(
            50% 0,
            92% 15%,
            88% 68%,
            50% 100%,
            12% 68%,
            8% 15%
        );
    filter: drop-shadow(0 7px #363d38);
}

.rules-section-header > div:last-child > span {
    color: #8fca4e;
    font-size: 0.59rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rules-section-header h2 {
    margin: 4px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-transform: uppercase;
}

.rules-section-header p {
    max-width: 770px;
    margin: 10px 0 0;
    color: #a8b1a4;
    font-size: 0.81rem;
    line-height: 1.65;
}

.rules-list {
    padding: 0 28px;
}

.rule-entry {
    position: relative;
    padding: 29px 0 29px 68px;
    border-bottom: 1px solid #2d362b;
}

.rule-entry:last-child {
    border-bottom: 0;
}

.rule-number {
    position: absolute;
    top: 31px;
    left: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 3px solid #42513d;
    color: #91ca50;
    background:
        linear-gradient(
            to bottom,
            #1a2319,
            #101610
        );
    box-shadow: 0 4px #080b08;
    font-family: "Courier New", monospace;
    font-size: 0.68rem;
    font-weight: 950;
}

.rule-entry h3 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: 1.08rem;
    font-weight: 950;
    text-transform: uppercase;
}

.rule-entry h4 {
    margin: 20px 0 0;
    color: #c7cdc3;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rule-entry p {
    margin: 11px 0 0;
    color: #aeb6aa;
    font-size: 0.85rem;
    line-height: 1.72;
}

.rule-entry ul,
.legal-content ul {
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 22px;
    list-style: none;
}

.rule-entry li,
.legal-content li {
    position: relative;
    padding-left: 18px;
    color: #a9b1a5;
    font-size: 0.81rem;
    line-height: 1.55;
}

.rule-entry li::before,
.legal-content li::before {
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    background: #78ad42;
    box-shadow: 2px 2px #30491f;
    transform: translateY(-50%);
}

.rule-note {
    padding: 12px 15px;
    border-left: 4px solid #769d4d;
    background: rgba(112, 151, 80, 0.07);
}

.rule-note-danger {
    border-left-color: #a95647;
    background: rgba(169, 86, 71, 0.075);
}

.community-expectations {
    margin: 0 28px 30px;
    padding: 27px;
    border: 3px solid #47553e;
    background:
        linear-gradient(
            120deg,
            rgba(115, 158, 82, 0.09),
            transparent 48%
        ),
        #151d15;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.022),
        inset -3px -3px rgba(0, 0, 0, 0.32),
        0 6px #080b08;
}

.community-expectations > span {
    color: #8fca4e;
    font-size: 0.6rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.community-expectations h3 {
    margin: 7px 0 0;
    font-family: "Courier New", monospace;
    font-size: 1.3rem;
    font-weight: 950;
    text-transform: uppercase;
}

.community-expectations > p {
    margin: 12px 0 0;
    color: #aeb6aa;
    font-size: 0.84rem;
    line-height: 1.7;
}

.expectations-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.expectations-grid > div {
    padding: 16px;
    border: 2px solid #354131;
    background: rgba(6, 10, 6, 0.4);
}

.expectations-grid strong,
.expectations-grid span {
    display: block;
}

.expectations-grid strong {
    font-family: "Courier New", monospace;
    font-size: 0.76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.expectations-grid span {
    margin-top: 5px;
    color: #8f998b;
    font-size: 0.74rem;
}

.expectations-reminder {
    color: #8fca4e !important;
    font-family: "Courier New", monospace;
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
}

.legal-content {
    padding: 4px 28px 28px;
}

.legal-content article {
    padding: 25px 0;
    border-bottom: 1px solid #2d362b;
}

.legal-content article:last-child {
    border-bottom: 0;
}

.legal-content h3 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: 1rem;
    font-weight: 950;
    text-transform: uppercase;
}

.legal-content p {
    margin: 11px 0 0;
    color: #aeb6aa;
    font-size: 0.84rem;
    line-height: 1.74;
}

@media (max-width: 1000px) {
    .rules-page-layout {
        grid-template-columns: 225px minmax(0, 1fr);
        gap: 22px;
    }

    .expectations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .rules-page-layout {
        grid-template-columns: 1fr;
    }

    .rules-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .rules-help-panel {
        grid-column: 1 / -1;
    }

    .rules-introduction {
        grid-template-columns: 1fr;
    }

    .rules-introduction p {
        padding: 17px 0 0;
        border-top: 2px solid #303a2d;
        border-left: 0;
    }
}

@media (max-width: 600px) {
    .rules-hero {
        min-height: 290px;
    }

    .rules-hero-content {
        padding: 60px 0;
    }

    .rules-sidebar {
        grid-template-columns: 1fr;
    }

    .rules-help-panel {
        grid-column: auto;
    }

    .rules-section-header {
        padding: 23px 20px;
        grid-template-columns: 55px minmax(0, 1fr);
        gap: 16px;
    }

    .rules-section-icon {
        width: 55px;
        height: 55px;
        font-size: 1rem;
    }

    .rules-list {
        padding: 0 20px;
    }

    .rule-entry {
        padding: 24px 0;
    }

    .rule-number {
        position: static;
        width: 38px;
        height: 38px;
        margin-bottom: 15px;
    }

    .rule-entry ul,
    .legal-content ul {
        grid-template-columns: 1fr;
    }

    .community-expectations {
        margin: 0 20px 24px;
        padding: 21px;
    }

    .legal-content {
        padding: 3px 20px 22px;
    }
}

/* =========================================================
   RULES AND POLICY DEEP LINKS
   ========================================================= */

#server,
#discord,
#forums,
#tos,
#privacy,
.rule-link-target,
.legal-link-target {
    scroll-margin-top: 110px;
}

.rule-link-target,
.legal-link-target {
    position: relative;
}

.rule-anchor-link {
    position: absolute;
    top: 28px;
    right: 0;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 2px solid #3f4c3a;
    color: #7d8978;
    background:
        linear-gradient(
            to bottom,
            #182018,
            #101610
        );
    box-shadow:
        inset 2px 2px rgba(255, 255, 255, 0.025),
        inset -2px -2px rgba(0, 0, 0, 0.3),
        0 4px #070a07;
    font-family: "Courier New", monospace;
    font-size: 0.92rem;
    font-weight: 950;
    opacity: 0.5;
    transition:
        color 140ms ease,
        border-color 140ms ease,
        opacity 140ms ease,
        transform 140ms ease;
}

.rule-link-target:hover .rule-anchor-link,
.legal-link-target:hover .rule-anchor-link,
.rule-anchor-link:hover,
.rule-anchor-link:focus-visible {
    border-color: #64834c;
    color: #a6dc68;
    opacity: 1;
    transform: translateY(-2px);
}

.legal-anchor-link {
    top: 22px;
}

.linked-rule-highlight {
    animation: linked-rule-flash 2.4s ease;
}

.rules-policy-section.linked-rule-highlight {
    animation: linked-section-flash 2.4s ease;
}

@keyframes linked-rule-flash {
    0%,
    100% {
        background-color: transparent;
    }

    15%,
    65% {
        background-color: rgba(143, 202, 78, 0.09);
        box-shadow:
            inset 5px 0 #8fca4e,
            inset 0 0 28px rgba(143, 202, 78, 0.06);
    }
}

@keyframes linked-section-flash {
    0%,
    100% {
        border-color: #384333;
    }

    15%,
    65% {
        border-color: #8fca4e;
        box-shadow:
            inset 0 0 34px rgba(143, 202, 78, 0.08),
            0 0 28px rgba(143, 202, 78, 0.15),
            0 8px 0 #030503;
    }
}

@media (max-width: 600px) {
    .rule-link-target,
    .legal-content article {
        padding-right: 45px;
    }

    .rule-anchor-link {
        top: 24px;
        opacity: 0.85;
    }
}

/* =========================================================
   ACCOUNTS AND FORUMS - RELEASE 1
   ========================================================= */

.repeat-button-full {
    width: 100%;
}

.header-account-link {
    min-height: 45px;
    padding: 5px 12px 5px 6px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 2px solid #344230;
    color: #d6ddd2;
    background: #111711;
    font-size: 0.72rem;
    font-weight: 900;
}

.header-account-link img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 2px solid #5c714d;
}

.repeat-account-links form {
    margin: 0;
}

.account-page-shell {
    min-height: calc(100vh - 150px);
    padding: 80px 20px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(102, 151, 66, 0.12), transparent 36rem),
        #070b07;
}

.account-card {
    width: min(100%, 540px);
    padding: 38px;
    border: 4px solid #3d4938;
    background: #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.36),
        0 9px #030503,
        0 30px 75px rgba(0, 0, 0, 0.35);
}

.account-card-brand {
    margin-bottom: 28px;
    text-align: center;
}

.account-card-brand img {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

.account-card-brand > span,
.page-heading-simple > span {
    margin-top: 10px;
    display: block;
    color: #8fca4e;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-card-brand h1,
.page-heading-simple h1 {
    margin: 7px 0 0;
    font-family: "Courier New", monospace;
    font-size: 2.35rem;
    font-weight: 950;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.account-card-brand p,
.page-heading-simple p {
    margin: 12px 0 0;
    color: #aab3a6;
    font-size: 0.85rem;
    line-height: 1.7;
}

.repeat-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.repeat-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #d6dbd2;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.repeat-form input,
.repeat-form textarea,
.repeat-form select {
    width: 100%;
    padding: 13px 14px;
    border: 3px solid #3b4737;
    border-radius: 0;
    outline: none;
    color: #f2f4ed;
    background: #090e09;
    box-shadow:
        inset 2px 2px rgba(0, 0, 0, 0.3),
        inset -2px -2px rgba(255, 255, 255, 0.018);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.repeat-form textarea {
    resize: vertical;
    line-height: 1.65;
}

.repeat-form input:focus,
.repeat-form textarea:focus,
.repeat-form select:focus {
    border-color: #78a94a;
    box-shadow:
        inset 2px 2px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(120, 169, 74, 0.12);
}

.repeat-form label small {
    color: #778273;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.form-checkbox {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px !important;
    color: #aab3a6 !important;
    line-height: 1.5;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
}

.form-checkbox a,
.account-card-footer a {
    color: #97cf59;
}

.account-card-footer {
    margin: 24px 0 0;
    color: #858f81;
    font-size: 0.78rem;
    text-align: center;
}

.form-alert {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 3px solid;
    font-size: 0.8rem;
    line-height: 1.6;
}

.form-alert p {
    margin: 0;
}

.form-alert p + p {
    margin-top: 4px;
}

.form-alert-error {
    border-color: #714038;
    color: #f1b0a5;
    background: rgba(126, 53, 44, 0.16);
}

.form-alert-success {
    border-color: #45663a;
    color: #b8e39d;
    background: rgba(81, 127, 58, 0.14);
}

.account-settings-page,
.profile-page,
.forum-page {
    min-height: 70vh;
    padding: 65px 0 90px;
    background:
        radial-gradient(circle at top, rgba(96, 141, 67, 0.07), transparent 40rem),
        #070b07;
}

.page-heading-simple {
    margin-bottom: 35px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.settings-panel,
.profile-content-panel,
.forum-form-panel,
.forum-sidebar-panel,
.forum-reply-panel {
    padding: 29px;
    border: 3px solid #384333;
    background: #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 7px #030503;
}

.settings-panel h2,
.profile-content-panel h2,
.forum-form-panel h1,
.forum-sidebar-panel h2,
.forum-reply-panel h2 {
    margin: 0 0 24px;
    font-family: "Courier New", monospace;
    font-size: 1.25rem;
    font-weight: 950;
    text-transform: uppercase;
}

.current-avatar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-avatar img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 4px solid #526449;
}

.current-avatar strong,
.current-avatar span {
    display: block;
}

.current-avatar strong {
    font-family: "Courier New", monospace;
    font-size: 1rem;
}

.current-avatar span {
    margin-top: 4px;
    color: #8fca4e;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-header-card {
    padding: 34px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    border: 4px solid #3c4937;
    background:
        linear-gradient(110deg, rgba(111, 156, 76, 0.1), transparent 45%),
        #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 8px #030503;
}

.profile-large-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #586b4d;
    background: #090d09;
}

.profile-main-info h1 {
    margin: 8px 0 0;
    font-family: "Courier New", monospace;
    font-size: 2.7rem;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.profile-main-info > p {
    max-width: 690px;
    margin: 12px 0 0;
    color: #aab2a6;
    line-height: 1.72;
}

.profile-role-badge,
.thread-prefix,
.thread-status-label,
.forum-status-tag {
    padding: 5px 9px;
    display: inline-flex;
    border: 2px solid #526548;
    color: #aadd71;
    background: rgba(95, 134, 68, 0.13);
    font-size: 0.57rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.role-owner,
.role-developer {
    border-color: #7d3d39;
    color: #ef8179;
    background: rgba(139, 54, 50, 0.14);
}

.role-admin,
.role-manager {
    border-color: #76572d;
    color: #e9bd64;
    background: rgba(139, 98, 43, 0.14);
}

.role-moderator,
.role-helper {
    border-color: #355e7b;
    color: #72b9e6;
    background: rgba(55, 103, 139, 0.14);
}

.role-media {
    border-color: #744d75;
    color: #d897db;
    background: rgba(130, 74, 133, 0.14);
}

.profile-stat-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.profile-stat-row span {
    min-width: 120px;
    padding: 10px 13px;
    border: 2px solid #333f30;
    color: #7f897b;
    background: #0c110c;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.profile-stat-row strong {
    margin-top: 3px;
    display: block;
    color: #e6e9e1;
    font-size: 0.78rem;
}

.profile-content-panel {
    margin-top: 28px;
}

.profile-thread-row,
.latest-thread-row {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #2c352a;
}

.profile-thread-row:last-child,
.latest-thread-row:last-child {
    border-bottom: 0;
}

.profile-thread-row strong,
.profile-thread-row span,
.latest-thread-row strong,
.latest-thread-row span {
    display: block;
}

.profile-thread-row strong,
.latest-thread-row strong {
    color: #dbe0d7;
}

.profile-thread-row span,
.latest-thread-row span,
.profile-thread-row time {
    margin-top: 3px;
    color: #7e887a;
    font-size: 0.7rem;
}

.forum-hero {
    padding: 62px 0;
    border-bottom: 5px solid #304326;
    background:
        linear-gradient(90deg, rgba(5, 9, 6, 0.93), rgba(5, 9, 6, 0.56)),
        url('/assets/backgrounds/repeat-clock-banner.jpg') center / cover;
}

.forum-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.forum-hero span {
    color: #8fca4e;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.forum-hero h1,
.forum-category-heading h1,
.thread-page-heading h1 {
    margin: 8px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 4px 4px #060906;
}

.forum-hero p,
.forum-category-heading p,
.thread-page-heading p {
    max-width: 700px;
    margin: 12px 0 0;
    color: #b1baad;
}

.forum-hero-actions,
.forum-form-actions,
.thread-management-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.forum-secondary-button,
.forum-danger-button {
    min-height: 43px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #414d3d;
    color: #d8ddd4;
    background: #171e17;
    font-size: 0.68rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-danger-button {
    border-color: #693c37;
    color: #eca49b;
    background: #291513;
}

.forum-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 25px;
}

.forum-category-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.forum-category-card {
    padding: 22px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 90px;
    align-items: center;
    gap: 20px;
    border: 3px solid #374233;
    background: #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 6px #030503;
    transition:
        transform 140ms ease,
        border-color 140ms ease;
}

.forum-category-card:hover {
    border-color: #65804e;
    transform: translateY(-3px);
}

.forum-category-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 5px solid #485740;
    color: #f5f6ef;
    background:
        linear-gradient(to bottom, #5f8d3d 0 30%, #60432e 30%);
    box-shadow: 0 6px #232d20;
    font-family: "Courier New", monospace;
    font-size: 1.35rem;
    font-weight: 950;
}

.forum-icon-bell {
    background: linear-gradient(to bottom, #d3a538, #9c681d);
}

.forum-icon-redstone {
    background: linear-gradient(to bottom, #a23f35, #5d1d18);
}

.forum-icon-emerald {
    background: linear-gradient(to bottom, #38c96a, #17632e);
}

.forum-icon-shield {
    background: linear-gradient(to bottom, #83908a, #4c5751);
}

.forum-category-info h2 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: 1.1rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-category-info p {
    margin: 7px 0 0;
    color: #939d90;
    font-size: 0.8rem;
    line-height: 1.6;
}

.forum-status-tag {
    margin-top: 9px;
}

.staff-tag {
    border-color: #65406b;
    color: #d895df;
}

.forum-category-count {
    text-align: center;
}

.forum-category-count strong,
.forum-category-count span {
    display: block;
}

.forum-category-count strong {
    font-family: "Courier New", monospace;
    font-size: 1.4rem;
}

.forum-category-count span {
    color: #788274;
    font-size: 0.58rem;
    text-transform: uppercase;
}

.forum-category-heading,
.thread-page-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.forum-breadcrumbs {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #7c8678;
    font-size: 0.73rem;
}

.forum-breadcrumbs a {
    color: #91ca50;
}

.thread-list-panel {
    border: 3px solid #364131;
    background: #101610;
    box-shadow: 0 7px #030503;
}

.thread-list-row {
    min-height: 105px;
    padding: 15px 20px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #2b3429;
}

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

.thread-list-row:hover {
    background: rgba(116, 164, 77, 0.05);
}

.thread-state-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 3px solid #47583f;
    color: #99cf5d;
    background: #172017;
    font-size: 0.52rem;
    font-weight: 950;
}

.thread-state-icon.locked {
    border-color: #65413b;
    color: #df8177;
}

.thread-list-main h2 {
    margin: 5px 0 0;
    font-family: "Courier New", monospace;
    font-size: 1rem;
    font-weight: 950;
}

.thread-list-main p {
    margin: 5px 0 0;
    color: #7f897b;
    font-size: 0.7rem;
}

.thread-list-main p strong {
    color: #98cc5a;
}

.thread-list-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.thread-list-stats span {
    color: #727c6e;
    font-size: 0.56rem;
    text-align: center;
    text-transform: uppercase;
}

.thread-list-stats strong {
    margin-top: 3px;
    display: block;
    color: #e1e5dc;
    font-size: 0.76rem;
}

.forum-empty-panel,
.forum-locked-message,
.forum-login-message {
    padding: 35px;
    border: 3px solid #364131;
    color: #949e90;
    background: #111711;
    text-align: center;
}

.forum-empty-panel h2 {
    margin: 0;
    font-family: "Courier New", monospace;
    text-transform: uppercase;
}

.forum-pagination {
    margin-top: 25px;
}

.forum-form-width {
    max-width: 920px;
}

.thread-heading-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.thread-status-label.locked {
    border-color: #68423d;
    color: #dc8177;
}

.forum-post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.forum-post-card {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    border: 3px solid #374233;
    background: #111711;
    box-shadow: 0 7px #030503;
}

.forum-post-author {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 2px solid #30392d;
    background: #151c15;
    text-align: center;
}

.forum-post-author > a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forum-post-author img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 4px solid #526449;
    background: #090d09;
}

.forum-post-author strong {
    margin-top: 12px;
    font-family: "Courier New", monospace;
}

.forum-post-author .profile-role-badge {
    margin-top: 8px;
}

.forum-post-author small {
    margin-top: 10px;
    color: #778273;
    font-size: 0.67rem;
}

.forum-post-content {
    min-width: 0;
    padding: 23px 27px;
}

.forum-post-content > header {
    padding-bottom: 14px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #2d362b;
    color: #7c8678;
    font-size: 0.69rem;
}

.forum-post-content > header a {
    color: #91ca50;
}

.forum-post-body {
    min-height: 115px;
    padding: 24px 0;
    color: #c3cac0;
    font-size: 0.89rem;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.post-edited-label {
    color: #717b6d;
    font-style: italic;
}

.forum-post-content > footer {
    margin-top: 17px;
    padding-top: 13px;
    display: flex;
    gap: 15px;
    border-top: 1px solid #2d362b;
}

.forum-post-content > footer a,
.forum-post-content > footer button {
    padding: 0;
    border: 0;
    color: #8fca4e;
    background: transparent;
    font-size: 0.67rem;
    font-weight: 900;
    text-transform: uppercase;
}

.forum-reply-panel {
    margin-top: 30px;
}

.forum-login-message,
.forum-locked-message {
    margin-top: 30px;
}

.forum-login-message a {
    color: #91ca50;
}

.empty-state-text {
    color: #7e887a;
    font-size: 0.78rem;
}

@media (max-width: 950px) {
    .settings-grid,
    .forum-layout {
        grid-template-columns: 1fr;
    }

    .profile-header-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .profile-header-card > .repeat-button {
        grid-column: 2;
        justify-self: start;
    }

    .profile-large-avatar {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 720px) {
    .forum-hero-inner,
    .forum-category-heading,
    .thread-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .forum-category-card {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .forum-category-icon {
        width: 56px;
        height: 56px;
    }

    .forum-category-count {
        grid-column: 2;
        text-align: left;
    }

    .thread-list-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .thread-list-stats {
        grid-column: 2;
        max-width: 180px;
    }

    .forum-post-card {
        grid-template-columns: 1fr;
    }

    .forum-post-author {
        flex-direction: row;
        align-items: center;
        gap: 13px;
        border-right: 0;
        border-bottom: 2px solid #30392d;
        text-align: left;
    }

    .forum-post-author > a {
        flex-direction: row;
        gap: 12px;
    }

    .forum-post-author img {
        width: 58px;
        height: 58px;
    }

    .forum-post-author strong {
        margin-top: 0;
    }

    .forum-post-author small {
        display: none;
    }

    .profile-header-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-large-avatar {
        margin-inline: auto;
    }

    .profile-header-card > .repeat-button {
        grid-column: 1;
        justify-self: center;
    }

    .profile-stat-row {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .account-card {
        padding: 27px 20px;
    }

    .account-card-brand h1 {
        font-size: 1.9rem;
    }

    .forum-page {
        padding-top: 40px;
    }

    .thread-list-row {
        padding: 15px 12px;
    }

    .forum-post-content {
        padding: 20px;
    }

    .thread-management-actions {
        width: 100%;
    }

    .thread-management-actions > *,
    .thread-management-actions form,
    .thread-management-actions button {
        width: 100%;
    }
}

/* =========================================================
   ACCOUNT SYSTEM
   ========================================================= */

.repeat-button-full {
    width: 100%;
}

.header-account-link {
    min-height: 45px;
    padding: 5px 12px 5px 6px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 2px solid #344230;
    color: #d6ddd2;
    background: #111711;
    font-size: 0.72rem;
    font-weight: 900;
}

.header-account-link img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 2px solid #5c714d;
}

.repeat-account-links form {
    margin: 0;
}

.account-page-shell {
    min-height: calc(100vh - 150px);
    padding: 80px 20px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(
            circle at top,
            rgba(102, 151, 66, 0.12),
            transparent 36rem
        ),
        #070b07;
}

.account-card {
    width: min(100%, 540px);
    padding: 38px;
    border: 4px solid #3d4938;
    background: #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.36),
        0 9px #030503,
        0 30px 75px rgba(0, 0, 0, 0.35);
}

.account-card-brand {
    margin-bottom: 28px;
    text-align: center;
}

.account-card-brand img {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

.account-card-brand > span,
.page-heading-simple > span {
    margin-top: 10px;
    display: block;
    color: #8fca4e;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-card-brand h1,
.page-heading-simple h1 {
    margin: 7px 0 0;
    font-family: "Courier New", monospace;
    font-size: 2.35rem;
    font-weight: 950;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.account-card-brand p,
.page-heading-simple p {
    margin: 12px 0 0;
    color: #aab3a6;
    font-size: 0.85rem;
    line-height: 1.7;
}

.repeat-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.repeat-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #d6dbd2;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.repeat-form input,
.repeat-form textarea,
.repeat-form select {
    width: 100%;
    padding: 13px 14px;
    border: 3px solid #3b4737;
    border-radius: 0;
    outline: none;
    color: #f2f4ed;
    background: #090e09;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.repeat-form textarea {
    resize: vertical;
    line-height: 1.65;
}

.repeat-form input:focus,
.repeat-form textarea:focus,
.repeat-form select:focus {
    border-color: #78a94a;
    box-shadow: 0 0 0 3px rgba(120, 169, 74, 0.12);
}

.repeat-form label small {
    color: #778273;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.form-checkbox {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px !important;
    color: #aab3a6 !important;
    line-height: 1.5;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
}

.form-checkbox a,
.account-card-footer a {
    color: #97cf59;
}

.account-card-footer {
    margin: 24px 0 0;
    color: #858f81;
    font-size: 0.78rem;
    text-align: center;
}

.form-alert {
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 3px solid;
    font-size: 0.8rem;
    line-height: 1.6;
}

.form-alert p {
    margin: 0;
}

.form-alert p + p {
    margin-top: 4px;
}

.form-alert-error {
    border-color: #714038;
    color: #f1b0a5;
    background: rgba(126, 53, 44, 0.16);
}

.form-alert-success {
    border-color: #45663a;
    color: #b8e39d;
    background: rgba(81, 127, 58, 0.14);
}

.account-settings-page,
.profile-page {
    min-height: 70vh;
    padding: 65px 0 90px;
    background:
        radial-gradient(
            circle at top,
            rgba(96, 141, 67, 0.07),
            transparent 40rem
        ),
        #070b07;
}

.page-heading-simple {
    margin-bottom: 35px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.settings-panel {
    padding: 29px;
    border: 3px solid #384333;
    background: #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 7px #030503;
}

.settings-panel h2 {
    margin: 0 0 24px;
    font-family: "Courier New", monospace;
    font-size: 1.25rem;
    font-weight: 950;
    text-transform: uppercase;
}

.current-avatar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-avatar img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 4px solid #526449;
}

.current-avatar strong,
.current-avatar span {
    display: block;
}

.current-avatar span {
    margin-top: 4px;
    color: #8fca4e;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-header-card {
    padding: 34px;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    border: 4px solid #3c4937;
    background:
        linear-gradient(
            110deg,
            rgba(111, 156, 76, 0.1),
            transparent 45%
        ),
        #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 8px #030503;
}

.profile-large-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #586b4d;
    background: #090d09;
}

.profile-main-info h1 {
    margin: 8px 0 0;
    font-family: "Courier New", monospace;
    font-size: 2.7rem;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.profile-main-info > p {
    max-width: 690px;
    margin: 12px 0 0;
    color: #aab2a6;
    line-height: 1.72;
}

.profile-role-badge {
    padding: 5px 9px;
    display: inline-flex;
    border: 2px solid #526548;
    color: #aadd71;
    background: rgba(95, 134, 68, 0.13);
    font-size: 0.57rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.role-owner,
.role-developer {
    border-color: #7d3d39;
    color: #ef8179;
}

.role-admin,
.role-manager {
    border-color: #76572d;
    color: #e9bd64;
}

.role-moderator,
.role-helper {
    border-color: #355e7b;
    color: #72b9e6;
}

.role-media {
    border-color: #744d75;
    color: #d897db;
}

.profile-stat-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.profile-stat-row span {
    min-width: 120px;
    padding: 10px 13px;
    border: 2px solid #333f30;
    color: #7f897b;
    background: #0c110c;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.profile-stat-row strong {
    margin-top: 3px;
    display: block;
    color: #e6e9e1;
    font-size: 0.78rem;
}

@media (max-width: 850px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .profile-header-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .profile-header-card > .repeat-button {
        grid-column: 2;
        justify-self: start;
    }

    .profile-large-avatar {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 600px) {
    .account-card {
        padding: 27px 20px;
    }

    .profile-header-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-large-avatar {
        margin-inline: auto;
    }

    .profile-header-card > .repeat-button {
        grid-column: 1;
        justify-self: center;
    }

    .profile-stat-row {
        justify-content: center;
    }
}

/* =========================================================
   ADMIN PANEL
   ========================================================= */

.header-admin-link {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border: 3px solid #76572d;
    color: #f0c56f;
    background: #2a2113;
    box-shadow: 0 4px #171006;
    font-size: 0.67rem;
    font-weight: 950;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.profile-name-heading,
.admin-user-name-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.profile-name-heading h1,
.admin-user-name-line h1 {
    margin: 0;
}

.profile-admin-badge {
    padding: 7px 11px;
    border: 3px solid #76572d;
    color: #f0c56f;
    background: #2a2113;
    box-shadow: 0 4px #171006;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-shell {
    min-height: 80vh;
    padding: 45px 0 90px;
    background:
        radial-gradient(
            circle at top,
            rgba(116, 164, 77, 0.08),
            transparent 45rem
        ),
        #070b07;
}

.admin-shell-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: start;
    gap: 25px;
}

.admin-sidebar {
    position: sticky;
    top: 100px;
    border: 3px solid #384333;
    background: #111711;
    box-shadow: 0 7px #030503;
}

.admin-sidebar-title {
    padding: 20px;
    border-bottom: 3px solid #303a2d;
    background: #172017;
}

.admin-sidebar-title span,
.admin-sidebar-title strong {
    display: block;
}

.admin-sidebar-title span {
    color: #8fca4e;
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-sidebar-title strong {
    margin-top: 5px;
    font-family: "Courier New", monospace;
    font-size: 0.87rem;
    text-transform: uppercase;
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
}

.admin-sidebar nav a {
    padding: 14px 18px;
    border-bottom: 1px solid #2b3429;
    color: #aeb6aa;
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
    padding-left: 24px;
    color: #9dd760;
    background: rgba(116, 164, 77, 0.07);
}

.admin-main {
    min-width: 0;
}

.admin-page-header {
    margin-bottom: 30px;
}

.admin-page-header > span {
    color: #8fca4e;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-page-header h1 {
    margin: 6px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    font-weight: 950;
    letter-spacing: -0.07em;
    text-transform: uppercase;
}

.admin-page-header p {
    margin: 10px 0 0;
    color: #98a294;
}

.admin-stat-grid {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
}

.admin-stat-grid a {
    padding: 20px;
    border: 3px solid #384333;
    background: #121812;
    box-shadow: 0 6px #030503;
}

.admin-stat-grid span,
.admin-stat-grid strong {
    display: block;
}

.admin-stat-grid span {
    color: #818b7d;
    font-size: 0.59rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-stat-grid strong {
    margin-top: 8px;
    color: #9bd45b;
    font-family: "Courier New", monospace;
    font-size: 1.8rem;
}

.admin-dashboard-grid,
.admin-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.admin-panel {
    padding: 25px;
    border: 3px solid #384333;
    background: #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 7px #030503;
}

.admin-panel h2 {
    margin: 0 0 20px;
    font-family: "Courier New", monospace;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.admin-panel-heading {
    margin-bottom: 13px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.admin-panel-heading h2 {
    margin: 0;
}

.admin-panel-heading a {
    color: #91ca50;
    font-size: 0.67rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-user-row {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #2c352a;
}

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

.admin-user-row img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 3px solid #526449;
}

.admin-user-row strong,
.admin-user-row span {
    display: block;
}

.admin-user-row > div > span {
    margin-top: 3px;
    color: #768172;
    font-size: 0.68rem;
}

.admin-audit-row {
    padding: 13px 0;
    border-bottom: 1px solid #2c352a;
}

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

.admin-audit-row strong,
.admin-audit-row time,
.admin-audit-row span {
    display: block;
}

.admin-audit-row p {
    margin: 5px 0;
    color: #a4ada0;
    font-size: 0.76rem;
}

.admin-audit-row time,
.admin-audit-row span {
    color: #727c6e;
    font-size: 0.64rem;
}

.admin-filter-form {
    margin-bottom: 22px;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 170px 170px auto;
    gap: 10px;
    border: 3px solid #384333;
    background: #121812;
}

.admin-filter-form input,
.admin-filter-form select {
    min-height: 43px;
    padding: 0 12px;
    border: 3px solid #3b4737;
    color: #eef1e9;
    background: #090e09;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 3px solid #384333;
    box-shadow: 0 7px #030503;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #111711;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid #2c352a;
    text-align: left;
    white-space: nowrap;
}

.admin-table th {
    color: #8fca4e;
    background: #172017;
    font-size: 0.62rem;
    text-transform: uppercase;
}

.admin-table td {
    color: #abb4a7;
    font-size: 0.76rem;
}

.admin-table td > a {
    color: #91ca50;
    font-weight: 900;
}

.admin-table-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-table-user img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border: 2px solid #526449;
}

.admin-status {
    padding: 5px 8px;
    display: inline-flex;
    border: 2px solid #4e6047;
    color: #a9da79;
    background: rgba(90, 136, 62, 0.12);
    font-size: 0.57rem;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-status-banned,
.admin-status-disabled {
    border-color: #70423c;
    color: #eb9287;
    background: rgba(137, 62, 54, 0.13);
}

.admin-status-suspended {
    border-color: #755b31;
    color: #e6bb66;
    background: rgba(139, 101, 44, 0.13);
}

.admin-user-header {
    margin-bottom: 25px;
    padding: 27px;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    border: 4px solid #3d4938;
    background: #121812;
    box-shadow: 0 8px #030503;
}

.admin-user-header > img {
    width: 105px;
    height: 105px;
    object-fit: cover;
    border: 5px solid #586b4d;
}

.admin-user-header h1 {
    font-family: "Courier New", monospace;
    font-size: 2.3rem;
    letter-spacing: -0.06em;
}

.admin-user-header p {
    margin: 6px 0 10px;
    color: #8b9587;
}

.admin-detail-list {
    margin: 0;
}

.admin-detail-list > div {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 15px;
    border-bottom: 1px solid #2c352a;
}

.admin-detail-list dt {
    color: #7b8577;
    font-size: 0.66rem;
    text-transform: uppercase;
}

.admin-detail-list dd {
    margin: 0;
    color: #c0c7bc;
    overflow-wrap: anywhere;
}

.admin-security-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-user-audit-panel {
    margin-top: 22px;
}

.admin-password-result {
    margin-bottom: 22px;
    padding: 20px;
    border: 4px solid #76572d;
    color: #f0c56f;
    background: #231b10;
}

.admin-password-result span,
.admin-password-result code {
    display: block;
}

.admin-password-result span {
    font-size: 0.62rem;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-password-result code {
    margin-top: 10px;
    font-size: 1.45rem;
    user-select: all;
}

.admin-password-result p {
    margin: 9px 0 0;
    color: #b89b65;
    font-size: 0.72rem;
}

@media (max-width: 1050px) {
    .admin-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-filter-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .admin-shell-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-dashboard-grid,
    .admin-user-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-header {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .admin-user-header > img {
        width: 90px;
        height: 90px;
    }

    .admin-user-header > a {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .admin-stat-grid,
    .admin-filter-form {
        grid-template-columns: 1fr;
    }

    .admin-sidebar nav {
        grid-template-columns: 1fr;
    }

    .admin-user-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .admin-user-header > img {
        margin-inline: auto;
    }

    .admin-user-header > a {
        grid-column: 1;
        justify-self: center;
    }

    .admin-user-name-line {
        justify-content: center;
    }
}

/* =========================================================
   COMPLETE MEMBER PROFILE SYSTEM
   ========================================================= */

.header-account-name {
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-role-badge {
    padding: 3px 5px;
    border: 1px solid currentColor;
    font-size: 0.48rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.header-role-admin {
    color: #e6b95f;
    background: rgba(182, 132, 44, 0.13);
}

.header-role-staff {
    color: #69bcea;
    background: rgba(58, 128, 171, 0.13);
}

.header-role-media {
    color: #d58bdf;
    background: rgba(135, 75, 141, 0.13);
}

.profile-page {
    position: relative;
    min-height: 80vh;
    padding: 0 0 95px;
    background:
        radial-gradient(
            circle at top,
            rgba(99, 145, 68, 0.09),
            transparent 48rem
        ),
        #070b07;
}

.profile-banner {
    position: absolute;
    inset: 0 0 auto;
    height: 360px;
    overflow: hidden;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter:
        brightness(0.25)
        saturate(0.55);
}

.profile-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(5, 9, 6, 0.38),
            #070b07 96%
        ),
        linear-gradient(
            90deg,
            rgba(5, 9, 6, 0.78),
            transparent,
            rgba(5, 9, 6, 0.78)
        );
}

.profile-page-content {
    position: relative;
    z-index: 2;
    padding-top: 95px;
}

.profile-header-expanded {
    position: relative;
    padding: 34px;
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    border: 4px solid #46533f;
    background:
        linear-gradient(
            115deg,
            rgba(115, 163, 77, 0.1),
            transparent 45%
        ),
        rgba(17, 23, 17, 0.97);
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.35),
        0 9px #030503,
        0 30px 70px rgba(0, 0, 0, 0.28);
}

.profile-avatar-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-large-avatar {
    width: 175px;
    height: 175px;
    object-fit: cover;
    border: 6px solid #607354;
    background: #090d09;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.04),
        0 8px #222d20;
}

.profile-status-indicator {
    min-width: 105px;
    margin-top: 12px;
    padding: 6px 10px;
    border: 2px solid #53684a;
    color: #a7dd70;
    background: #121b11;
    font-size: 0.57rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.profile-status-banned,
.profile-status-disabled {
    border-color: #74413c;
    color: #ed8e84;
    background: #271412;
}

.profile-status-suspended {
    border-color: #755c31;
    color: #e4b75e;
    background: #241b0e;
}

.profile-name-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.profile-name-heading h1 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 950;
    letter-spacing: -0.075em;
    line-height: 0.95;
}

.profile-role-display {
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 3px solid var(--role-color);
    color: var(--role-color);
    background: color-mix(
        in srgb,
        var(--role-color) 11%,
        #111711
    );
    box-shadow: 0 4px rgba(0, 0, 0, 0.38);
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-admin-banner,
.profile-staff-banner {
    width: fit-content;
    margin-top: 12px;
    padding: 7px 11px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 2px solid #76572d;
    color: #efc369;
    background: rgba(126, 87, 31, 0.16);
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-staff-banner {
    border-color: #3d6885;
    color: #7ac4ec;
    background: rgba(53, 102, 135, 0.15);
}

.profile-biography {
    max-width: 790px;
    margin: 17px 0 0;
    color: #b5bdb1;
    font-size: 0.91rem;
    line-height: 1.75;
}

.profile-meta-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-meta-row > span {
    min-width: 130px;
    padding: 10px 13px;
    border: 2px solid #354130;
    background: #0d120d;
}

.profile-meta-row small,
.profile-meta-row strong {
    display: block;
}

.profile-meta-row small {
    color: #778273;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.profile-meta-row strong {
    margin-top: 4px;
    color: #d8ded4;
    font-size: 0.71rem;
}

.profile-header-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-statistics-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 3px solid #3b4737;
    background: #101610;
    box-shadow: 0 7px #030503;
}

.profile-statistics-grid > div {
    padding: 20px;
    border-right: 1px solid #2f392c;
    text-align: center;
}

.profile-statistics-grid > div:last-child {
    border-right: 0;
}

.profile-statistics-grid span,
.profile-statistics-grid strong {
    display: block;
}

.profile-statistics-grid span {
    color: #788374;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-statistics-grid strong {
    margin-top: 6px;
    color: #9bd45b;
    font-family: "Courier New", monospace;
    font-size: 1.65rem;
}

.profile-content-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 25px;
}

.profile-main-column,
.profile-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-content-panel {
    padding: 27px;
    border: 3px solid #384333;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.015),
            transparent 14rem
        ),
        #121812;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        inset -3px -3px rgba(0, 0, 0, 0.34),
        0 7px #030503;
}

.profile-section-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
}

.profile-section-heading span {
    color: #8fca4e;
    font-size: 0.55rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.profile-section-heading h2 {
    margin: 4px 0 0;
    font-family: "Courier New", monospace;
    font-size: 1.14rem;
    font-weight: 950;
    text-transform: uppercase;
}

.profile-section-heading > a {
    color: #91ca50;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-activity-row {
    padding: 14px 0;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #2c352a;
}

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

.profile-activity-row:hover strong {
    color: #9dd75f;
}

.profile-activity-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 3px solid #4d603f;
    color: #9bd45b;
    background: #182017;
    box-shadow: 0 4px #080b08;
    font-family: "Courier New", monospace;
    font-weight: 950;
}

.profile-activity-icon.wiki {
    border-color: #4f5683;
    color: #9fa9ec;
    background: #171827;
}

.profile-activity-row strong,
.profile-activity-row span {
    display: block;
}

.profile-activity-row strong {
    color: #dce1d8;
    font-size: 0.83rem;
}

.profile-activity-row span {
    margin-top: 4px;
    color: #778273;
    font-size: 0.68rem;
}

.profile-post-preview {
    padding: 17px 0;
    display: block;
    border-bottom: 1px solid #2c352a;
}

.profile-post-preview:last-child {
    border-bottom: 0;
}

.profile-post-preview strong {
    color: #dce1d8;
    font-family: "Courier New", monospace;
    font-size: 0.83rem;
}

.profile-post-preview p {
    margin: 8px 0 0;
    color: #99a295;
    font-size: 0.76rem;
    line-height: 1.62;
}

.profile-post-preview time {
    margin-top: 8px;
    display: block;
    color: #6f796b;
    font-size: 0.63rem;
}

.profile-empty-state {
    padding: 28px 18px;
    border: 2px dashed #354131;
    background: rgba(7, 11, 7, 0.33);
    text-align: center;
}

.profile-empty-state strong {
    font-family: "Courier New", monospace;
    text-transform: uppercase;
}

.profile-empty-state p {
    margin: 7px 0 0;
    color: #788274;
    font-size: 0.73rem;
}

.profile-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.profile-custom-badge {
    min-height: 105px;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 3px solid var(--badge-color);
    color: var(--badge-color);
    background: color-mix(
        in srgb,
        var(--badge-color) 8%,
        #0d120d
    );
    text-align: center;
}

.profile-custom-badge > span {
    font-size: 1.5rem;
    line-height: 1;
}

.profile-custom-badge strong {
    font-family: "Courier New", monospace;
    font-size: 0.64rem;
    text-transform: uppercase;
}

.profile-no-badges {
    grid-column: 1 / -1;
    margin: 0;
    color: #778273;
    font-size: 0.72rem;
    text-align: center;
}

.profile-about-list {
    margin: 0;
}

.profile-about-list > div {
    padding: 11px 0;
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid #2c352a;
}

.profile-about-list > div:last-child {
    border-bottom: 0;
}

.profile-about-list dt {
    color: #778273;
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-about-list dd {
    margin: 0;
    color: #c1c8bd;
    font-size: 0.75rem;
    text-align: right;
}

.profile-minecraft-placeholder {
    text-align: center;
}

.profile-minecraft-placeholder img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    opacity: 0.55;
}

.profile-minecraft-placeholder strong {
    margin-top: 9px;
    display: block;
    font-family: "Courier New", monospace;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.profile-minecraft-placeholder p {
    margin: 8px 0 0;
    color: #788274;
    font-size: 0.7rem;
    line-height: 1.55;
}

@media (max-width: 1000px) {
    .profile-header-expanded {
        grid-template-columns: 145px minmax(0, 1fr);
    }

    .profile-large-avatar {
        width: 145px;
        height: 145px;
    }

    .profile-header-actions {
        grid-column: 2;
        flex-direction: row;
    }

    .profile-content-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-minecraft-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 750px) {
    .profile-page-content {
        padding-top: 60px;
    }

    .profile-header-expanded {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-avatar-column {
        margin-inline: auto;
    }

    .profile-name-heading,
    .profile-meta-row {
        justify-content: center;
    }

    .profile-admin-banner,
    .profile-staff-banner {
        margin-inline: auto;
    }

    .profile-header-actions {
        grid-column: 1;
        flex-direction: row;
        justify-content: center;
    }

    .profile-statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-statistics-grid > div {
        border-bottom: 1px solid #2f392c;
    }

    .profile-statistics-grid > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 550px) {
    .header-role-badge {
        display: none;
    }

    .profile-header-expanded {
        padding: 25px 18px;
    }

    .profile-sidebar-column {
        grid-template-columns: 1fr;
    }

    .profile-minecraft-panel {
        grid-column: auto;
    }

    .profile-badge-grid {
        grid-template-columns: 1fr;
    }

    .profile-statistics-grid {
        grid-template-columns: 1fr;
    }

    .profile-statistics-grid > div:last-child {
        grid-column: auto;
    }
}

/* =========================================================
   FUNCTIONAL FORUMS
   ========================================================= */

.forum-page {
    min-height: 75vh;
    padding: 65px 0 95px;
    background: #070b07;
}

.forum-page-header {
    margin-bottom: 35px;
}

.forum-page-header > span {
    color: #8fca4e;
    font-size: .65rem;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.forum-page-header h1,
.forum-category-header h1,
.forum-thread-header h1,
.forum-form-container > h1 {
    margin: 8px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 950;
    letter-spacing: -.07em;
    text-transform: uppercase;
}

.forum-page-header p,
.forum-category-header p,
.forum-thread-header p {
    color: #98a294;
}

.forum-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 25px;
    align-items: start;
}

.forum-category-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.forum-category-card {
    padding: 21px;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) 90px;
    gap: 18px;
    align-items: center;
    border: 3px solid #384333;
    background: #111711;
    box-shadow: 0 6px #030503;
}

.forum-category-card:hover {
    border-color: var(--forum-color);
    transform: translateY(-2px);
}

.forum-category-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 4px solid var(--forum-color);
    color: var(--forum-color);
    background: #0b100b;
    font-family: "Courier New", monospace;
    font-size: 1.2rem;
    font-weight: 950;
}

.forum-category-card h2 {
    margin: 0;
    font-family: "Courier New", monospace;
    font-size: 1rem;
    text-transform: uppercase;
}

.forum-category-card p {
    margin: 7px 0 0;
    color: #8d9789;
    font-size: .76rem;
    line-height: 1.55;
}

.forum-category-card small {
    margin-top: 7px;
    display: inline-block;
    color: var(--forum-color);
    font-size: .58rem;
    font-weight: 900;
    text-transform: uppercase;
}

.forum-category-card aside {
    text-align: center;
}

.forum-category-card aside strong,
.forum-category-card aside span {
    display: block;
}

.forum-category-card aside strong {
    font-size: 1.3rem;
}

.forum-category-card aside span {
    color: #717b6d;
    font-size: .56rem;
    text-transform: uppercase;
}

.forum-latest-panel,
.forum-reply-box {
    padding: 24px;
    border: 3px solid #384333;
    background: #111711;
    box-shadow: 0 6px #030503;
}

.forum-latest-panel h2,
.forum-reply-box h2 {
    margin: 0 0 18px;
    font-family: "Courier New", monospace;
    text-transform: uppercase;
}

.forum-latest-panel > a {
    padding: 12px 0;
    display: block;
    border-bottom: 1px solid #2c352a;
}

.forum-latest-panel > a strong,
.forum-latest-panel > a span {
    display: block;
}

.forum-latest-panel > a span {
    margin-top: 4px;
    color: #747e70;
    font-size: .66rem;
}

.forum-breadcrumbs {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #727c6e;
    font-size: .72rem;
}

.forum-breadcrumbs a {
    color: #8fca4e;
}

.forum-category-header,
.forum-thread-header {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.forum-thread-list {
    border: 3px solid #384333;
    background: #111711;
    box-shadow: 0 7px #030503;
}

.forum-thread-row {
    min-height: 100px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 180px;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid #2c352a;
}

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

.forum-thread-row:hover {
    background: rgba(143, 202, 78, .04);
}

.forum-thread-state {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 3px solid #4e6045;
    color: #9bd45b;
    font-size: .51rem;
    font-weight: 950;
}

.forum-thread-row h2 {
    margin: 5px 0 0;
    font-family: "Courier New", monospace;
    font-size: 1rem;
}

.forum-thread-row p {
    margin: 5px 0 0;
    color: #747e70;
    font-size: .68rem;
}

.forum-thread-row > div > small {
    color: #e0b758;
    font-size: .58rem;
    font-weight: 900;
    text-transform: uppercase;
}

.forum-thread-row aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.forum-thread-row aside span {
    color: #747e70;
    font-size: .55rem;
    text-align: center;
    text-transform: uppercase;
}

.forum-thread-row aside strong {
    margin-top: 3px;
    display: block;
    color: #dce1d8;
    font-size: .74rem;
}

.forum-empty-state {
    padding: 30px;
    border: 3px solid #384333;
    color: #8e988a;
    background: #111711;
    text-align: center;
}

.forum-form-container {
    max-width: 900px;
}

.forum-editor {
    margin-top: 25px;
    padding: 28px;
    border: 3px solid #384333;
    background: #111711;
    box-shadow: 0 7px #030503;
}

.forum-thread-header > div > span {
    padding: 5px 9px;
    display: inline-flex;
    border: 2px solid #76572d;
    color: #e7bb64;
    font-size: .58rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-thread-header p a {
    color: #8fca4e;
}

.forum-thread-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.forum-thread-actions a,
.forum-thread-actions button {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border: 2px solid #44513f;
    color: #c1c8bd;
    background: #151c15;
    font-size: .61rem;
    font-weight: 900;
    text-transform: uppercase;
}

.forum-thread-actions form {
    margin: 0;
}

.forum-post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.forum-post {
    display: grid;
    grid-template-columns: 205px minmax(0, 1fr);
    border: 3px solid #384333;
    background: #111711;
    box-shadow: 0 7px #030503;
}

.forum-post > aside {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 2px solid #30392d;
    background: #151c15;
    text-align: center;
}

.forum-post > aside > a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forum-post > aside img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border: 4px solid #526449;
}

.forum-post > aside strong {
    margin-top: 10px;
}

.forum-post > aside .profile-role-display {
    margin-top: 9px;
}

.forum-post > aside small {
    margin-top: 9px;
    color: #737d6f;
    font-size: .63rem;
}

.forum-post > div {
    padding: 22px 26px;
}

.forum-post > div > header {
    padding-bottom: 13px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #2c352a;
    color: #747e70;
    font-size: .66rem;
}

.forum-post > div > header a {
    color: #8fca4e;
}

.forum-post-body {
    min-height: 120px;
    padding: 22px 0;
    color: #c1c8bd;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.forum-post footer {
    padding-top: 12px;
    display: flex;
    gap: 14px;
    border-top: 1px solid #2c352a;
}

.forum-post footer a,
.forum-post footer button {
    padding: 0;
    border: 0;
    color: #8fca4e;
    background: transparent;
    font-size: .61rem;
    font-weight: 900;
    text-transform: uppercase;
}

.forum-reply-box {
    margin-top: 28px;
}

.admin-forum-category-editor {
    margin-top: 20px;
}

.admin-forum-category-editor h2 {
    display: flex;
    justify-content: space-between;
}

.admin-forum-category-editor h2 small {
    color: #737d6f;
    font-size: .61rem;
}

@media (max-width: 900px) {
    .forum-home-layout {
        grid-template-columns: 1fr;
    }

    .forum-post {
        grid-template-columns: 1fr;
    }

    .forum-post > aside {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        border-right: 0;
        border-bottom: 2px solid #30392d;
    }

    .forum-post > aside > a {
        flex-direction: row;
        gap: 10px;
    }

    .forum-post > aside img {
        width: 56px;
        height: 56px;
    }

    .forum-post > aside strong {
        margin-top: 0;
    }

    .forum-post > aside small {
        display: none;
    }
}

@media (max-width: 650px) {
    .forum-category-header,
    .forum-thread-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .forum-category-card {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .forum-category-card aside {
        grid-column: 2;
        text-align: left;
    }

    .forum-thread-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .forum-thread-row aside {
        grid-column: 2;
        max-width: 180px;
    }

    .forum-post > div {
        padding: 19px;
    }
}

/* =========================================================
   FORUM REDESIGN
   ========================================================= */

.forum-page-redesign {
    background:
        linear-gradient(
            rgba(7, 11, 7, 0.94),
            rgba(7, 11, 7, 0.98)
        ),
        url('/assets/backgrounds/repeat-clock-banner.jpg')
        center top / cover fixed;
}

.forum-page-header-compact {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.forum-welcome-notice {
    margin-bottom: 22px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    border: 3px solid #76502a;
    color: #e3bc75;
    background:
        linear-gradient(
            100deg,
            rgba(89, 42, 9, 0.82),
            rgba(52, 27, 9, 0.88)
        );
    box-shadow: 0 6px #120904;
}

.forum-welcome-notice img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.forum-welcome-notice strong {
    font-family: "Courier New", monospace;
    font-size: 1rem;
    text-transform: uppercase;
}

.forum-welcome-notice p {
    margin: 7px 0 0;
    line-height: 1.6;
}

.forum-welcome-notice a {
    color: #ffd27e;
    text-decoration: underline;
}

.forum-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 20px;
}

.forum-board,
.forum-thread-table {
    border: 4px solid #46513f;
    background: #0b0e0a;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.02),
        0 8px #020302;
}

.forum-board-heading {
    padding: 17px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #374131;
    background: #151a13;
}

.forum-board-heading span {
    color: #8fca4e;
    font-size: 0.55rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.forum-board-heading h2 {
    margin: 4px 0 0;
    font-family: "Courier New", monospace;
    font-size: 1.15rem;
    text-transform: uppercase;
}

.forum-board-heading > a {
    color: #a4da68;
    font-size: 0.65rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-board-row {
    min-height: 105px;
    padding: 15px;
    display: grid;
    grid-template-columns:
        58px
        minmax(230px, 1fr)
        150px
        minmax(210px, 290px);
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #292e27;
    background: #080a08;
}

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

.forum-board-row:hover {
    background: rgba(143, 202, 78, 0.035);
}

.forum-board-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 3px solid var(--forum-color);
    color: var(--forum-color);
    background: #11150f;
    font-family: "Courier New", monospace;
    font-size: 1.2rem;
    font-weight: 950;
}

.forum-board-description h3 {
    margin: 0;
    color: #dec9b4;
    font-family: "Courier New", monospace;
    font-size: 0.96rem;
}

.forum-board-description p {
    margin: 5px 0 0;
    color: #8f968c;
    font-size: 0.71rem;
    line-height: 1.45;
}

.forum-board-labels {
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.forum-board-labels span {
    padding: 3px 6px;
    border: 1px solid var(--forum-color);
    color: var(--forum-color);
    font-size: 0.48rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-board-counts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.forum-board-counts span {
    color: #767c73;
    font-size: 0.52rem;
    text-align: center;
    text-transform: uppercase;
}

.forum-board-counts strong {
    margin-top: 3px;
    display: block;
    color: #d5d9d1;
    font-size: 0.7rem;
}

.forum-board-latest {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.forum-board-latest img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 2px solid #4c5846;
}

.forum-board-latest a,
.forum-board-latest span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-board-latest a {
    color: #d8c3ae;
    font-size: 0.7rem;
    font-weight: 800;
}

.forum-board-latest span {
    margin-top: 4px;
    color: #777e74;
    font-size: 0.61rem;
}

.forum-right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.forum-sidebar-card {
    border: 3px solid #3d4638;
    background: #090b09;
    box-shadow: 0 6px #020302;
}

.forum-sidebar-card h2 {
    margin: 0;
    padding: 13px 15px;
    border-bottom: 2px solid #30372c;
    color: #e1e5dd;
    background: #141812;
    font-family: "Courier New", monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.forum-online-members {
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forum-online-members > a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d7c1ad;
    font-size: 0.68rem;
}

.forum-online-members img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border: 2px solid #4b5745;
}

.forum-online-members p,
.forum-sidebar-threads p {
    margin: 0;
    color: #777e74;
    font-size: 0.68rem;
    line-height: 1.5;
}

.forum-sidebar-card > footer {
    padding: 10px 13px;
    border-top: 1px solid #2c3229;
    color: #777e74;
    font-size: 0.62rem;
}

.forum-sidebar-card > footer strong {
    color: #d6dad2;
}

.forum-stat-list {
    margin: 0;
    padding: 13px;
}

.forum-stat-list > div {
    padding: 5px 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.forum-stat-list dt {
    color: #80877d;
    font-size: 0.68rem;
}

.forum-stat-list dd {
    margin: 0;
    color: #e0e3dc;
    font-size: 0.68rem;
    font-weight: 800;
}

.forum-stat-list a {
    color: #e5c29f;
}

.forum-sidebar-threads {
    padding: 5px 13px;
}

.forum-sidebar-threads > a {
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid #292e27;
}

.forum-sidebar-threads strong,
.forum-sidebar-threads span {
    display: block;
}

.forum-sidebar-threads strong {
    color: #dbc4ae;
    font-size: 0.68rem;
}

.forum-sidebar-threads span {
    margin-top: 4px;
    color: #747b71;
    font-size: 0.58rem;
}

.forum-thread-table-heading {
    padding: 11px 16px;
    display: grid;
    grid-template-columns: 1fr 155px 195px;
    gap: 15px;
    border-bottom: 2px solid #30372c;
    color: #7c8379;
    background: #141812;
    font-size: 0.56rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-thread-table-row {
    min-height: 92px;
    padding: 13px 16px;
    display: grid;
    grid-template-columns:
        48px
        minmax(0, 1fr)
        155px
        195px;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #292e27;
    background: #080a08;
}

.forum-thread-table-row:hover {
    background: rgba(143, 202, 78, 0.035);
}

.forum-thread-avatar img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border: 2px solid #4a5644;
}

.forum-thread-flags {
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.forum-thread-flags span {
    padding: 3px 5px;
    border: 1px solid #6b542e;
    color: #dab160;
    font-size: 0.47rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-thread-title-cell > a {
    color: #ddc7b1;
    font-size: 0.84rem;
    font-weight: 850;
}

.forum-thread-title-cell small {
    margin-top: 5px;
    display: block;
    color: #757c72;
    font-size: 0.61rem;
}

.forum-thread-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.forum-thread-numbers span {
    color: #737a70;
    font-size: 0.52rem;
    text-align: center;
    text-transform: uppercase;
}

.forum-thread-numbers strong {
    margin-top: 3px;
    display: block;
    color: #d9ddd5;
    font-size: 0.67rem;
}

.forum-thread-last-post {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-align: right;
}

.forum-thread-last-post strong,
.forum-thread-last-post span {
    display: block;
}

.forum-thread-last-post strong {
    color: #ddd0c2;
    font-size: 0.66rem;
}

.forum-thread-last-post span {
    margin-top: 3px;
    color: #747b71;
    font-size: 0.6rem;
}

.forum-thread-last-post img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border: 2px solid #4a5644;
}

.forum-composer-container {
    max-width: 1080px;
}

.forum-composer-heading {
    margin-bottom: 22px;
}

.forum-composer-heading > span {
    color: #8fca4e;
    font-size: 0.57rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-composer-heading h1 {
    margin: 5px 0 0;
    font-family: "Courier New", monospace;
    font-size: 2.4rem;
    text-transform: uppercase;
}

.forum-composer-heading p {
    margin: 7px 0 0;
    color: #858d82;
}

.forum-rich-composer {
    border: 4px solid #444e3e;
    background: #080a08;
    box-shadow: 0 8px #020302;
}

.forum-composer-title-row {
    padding: 14px;
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 2px solid #2f362c;
}

.forum-composer-title-row input {
    min-height: 48px;
    padding: 0 14px;
    border: 2px solid #333a30;
    color: #e5e8e1;
    background: #050605;
    font-size: 0.87rem;
}

.forum-editor-shell {
    margin: 14px;
    border: 2px solid #30372d;
    background: #050605;
}

.forum-editor-toolbar {
    min-height: 48px;
    padding: 7px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    border-bottom: 2px solid #292f27;
    background: #10130f;
}

.forum-editor-toolbar button {
    min-width: 36px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid transparent;
    color: #aeb4ab;
    background: transparent;
    font-size: 0.61rem;
    font-weight: 900;
}

.forum-editor-toolbar button:hover {
    border-color: #4a5644;
    color: #9dd661;
    background: #181d16;
}

.forum-editor-shell textarea {
    width: 100%;
    min-height: 350px;
    padding: 18px;
    border: 0;
    outline: 0;
    resize: vertical;
    color: #dce0d8;
    background: #050605;
    font-family: inherit;
    font-size: 0.88rem;
    line-height: 1.65;
}

.forum-editor-preview {
    min-height: 350px;
    padding: 18px;
    color: #d0d5cc;
    line-height: 1.7;
}

.forum-editor-preview blockquote,
.forum-markdown blockquote {
    margin: 16px 0;
    padding: 12px 15px;
    border-left: 4px solid #7ba54f;
    color: #aeb6aa;
    background: #111610;
}

.forum-editor-preview code,
.forum-markdown code {
    padding: 2px 5px;
    color: #d8ba7e;
    background: #18130d;
}

.forum-markdown pre {
    padding: 16px;
    overflow-x: auto;
    border: 2px solid #333a30;
    background: #050605;
}

.forum-markdown a {
    color: #9bce60;
    text-decoration: underline;
}

.forum-markdown h1,
.forum-markdown h2,
.forum-markdown h3 {
    font-family: "Courier New", monospace;
}

.forum-watch-option {
    margin: 0 14px 14px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 2px solid #2f362c;
    color: #a7aea3;
    background: #0f120e;
    font-size: 0.7rem;
}

.forum-composer-footer {
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #2f362c;
    background: #141613;
}

.forum-composer-footer > a {
    color: #858d82;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.forum-thread-header-redesign {
    align-items: flex-start;
}

.forum-thread-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.forum-thread-top-actions form {
    margin: 0;
}

.forum-thread-top-actions a,
.forum-thread-top-actions button {
    min-height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border: 2px solid #414a3c;
    color: #c9cec5;
    background: #121611;
    font-size: 0.59rem;
    font-weight: 950;
    text-transform: uppercase;
}

.forum-thread-top-actions button.watched {
    border-color: #678e43;
    color: #a6df67;
    background: #182314;
}

.forum-post-redesign {
    grid-template-columns: 210px minmax(0, 1fr);
    border-color: #414a3c;
    background: #080a08;
}

.forum-post-profile {
    background:
        linear-gradient(
            to bottom,
            #151a13,
            #10130f
        ) !important;
}

.forum-post-profile dl {
    width: 100%;
    margin: 15px 0 0;
}

.forum-post-profile dl > div {
    padding: 4px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.forum-post-profile dt,
.forum-post-profile dd {
    color: #767d73;
    font-size: 0.58rem;
}

.forum-post-profile dd {
    margin: 0;
    color: #c6cbc2;
}

.forum-post-main {
    min-width: 0;
}

.forum-post-actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.forum-post-actions form {
    margin: 0;
}

.forum-post-actions button,
.forum-post-actions a {
    color: #9bd15f !important;
}

.forum-reply-box-redesign {
    padding: 20px;
}

.forum-reply-box-redesign .forum-editor-shell {
    margin: 0 0 15px;
}

.forum-reply-box-redesign .forum-editor-shell textarea,
.forum-reply-box-redesign .forum-editor-preview {
    min-height: 220px;
}

@media (max-width: 1100px) {
    .forum-main-layout {
        grid-template-columns: 1fr;
    }

    .forum-right-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .forum-board-row {
        grid-template-columns:
            58px
            minmax(0, 1fr)
            140px;
    }

    .forum-board-latest {
        grid-column: 2 / -1;
    }
}

@media (max-width: 780px) {
    .forum-page-header-compact,
    .forum-thread-header-redesign {
        align-items: flex-start;
        flex-direction: column;
    }

    .forum-board-row {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .forum-board-counts,
    .forum-board-latest {
        grid-column: 2;
    }

    .forum-thread-table-heading {
        display: none;
    }

    .forum-thread-table-row {
        grid-template-columns: 45px minmax(0, 1fr);
    }

    .forum-thread-numbers,
    .forum-thread-last-post {
        grid-column: 2;
        justify-content: flex-start;
        text-align: left;
    }

    .forum-thread-last-post {
        justify-content: flex-start;
    }

    .forum-composer-title-row {
        grid-template-columns: 1fr;
    }

    .forum-post-redesign {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .forum-right-sidebar {
        grid-template-columns: 1fr;
    }

    .forum-welcome-notice {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .forum-welcome-notice img {
        margin-inline: auto;
    }

    .forum-board-counts {
        grid-template-columns: 1fr 1fr;
    }

    .forum-editor-toolbar button {
        min-width: 32px;
        padding: 0 6px;
    }
}

/* =========================================================
   DYNAMIC HOMEPAGE ANNOUNCEMENT
   ========================================================= */

.home-latest-announcement {
    padding: 44px 0;
    background:
        linear-gradient(
            90deg,
            rgba(13, 22, 13, 0.88),
            rgba(7, 12, 7, 0.98)
        );
}

.home-announcement-card {
    padding: 31px;
    display: grid;
    grid-template-columns:
        120px
        minmax(0, 1fr)
        285px;
    align-items: center;
    gap: 30px;
    border: 4px solid #43513d;
    background:
        radial-gradient(
            circle at left center,
            rgba(142, 196, 75, 0.07),
            transparent 25rem
        ),
        #091009;
    box-shadow:
        inset 3px 3px rgba(255, 255, 255, 0.025),
        inset -3px -3px rgba(0, 0, 0, 0.4),
        0 10px #020502;
}

.home-announcement-icon {
    width: 92px;
    height: 110px;
    display: grid;
    place-items: center;
    border: 6px solid #8b6424;
    color: #fff1c8;
    background:
        linear-gradient(
            to bottom,
            #e3b63c 0 50%,
            #ba7a18 50% 100%
        );
    box-shadow:
        inset 5px 5px rgba(255, 255, 255, 0.13),
        inset -5px -5px rgba(61, 35, 4, 0.24),
        0 8px #382509;
    font-family: "Courier New", monospace;
    font-size: 2.2rem;
    font-weight: 950;
}

.home-announcement-label {
    color: #8fca4e;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-announcement-content h2 {
    margin: 13px 0 0;
    font-family: "Courier New", monospace;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 1.25;
    text-transform: uppercase;
}

.home-announcement-content h2 a {
    color: #f0f1ec;
}

.home-announcement-content h2 a:hover {
    color: #9ed960;
}

.home-announcement-preview {
    max-height: 190px;
    margin-top: 18px;
    overflow: hidden;
    color: #a9b1a5;
    font-size: 0.87rem;
    line-height: 1.7;
}

.home-announcement-preview > :first-child {
    margin-top: 0;
}

.home-announcement-preview > :last-child {
    margin-bottom: 0;
}

.home-announcement-preview h1,
.home-announcement-preview h2,
.home-announcement-preview h3 {
    font-size: 1rem;
}

.home-announcement-details {
    padding-left: 28px;
    border-left: 3px solid #2f3c2d;
}

.home-announcement-details dl {
    margin: 0 0 22px;
}

.home-announcement-details dl > div {
    padding: 6px 0;
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 10px;
}

.home-announcement-details dt {
    color: #737d70;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-announcement-details dd {
    margin: 0;
    color: #b9c1b5;
    font-size: 0.72rem;
}

.home-announcement-details dd a {
    color: #92cc52;
    font-weight: 850;
}

.home-announcement-button {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.home-announcement-empty {
    grid-template-columns: 120px minmax(0, 1fr) auto;
}

@media (max-width: 950px) {
    .home-announcement-card {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .home-announcement-icon {
        width: 78px;
        height: 94px;
    }

    .home-announcement-details {
        grid-column: 2;
        padding: 22px 0 0;
        border-top: 2px solid #2f3c2d;
        border-left: 0;
    }
}

@media (max-width: 620px) {
    .home-latest-announcement {
        padding: 30px 0;
    }

    .home-announcement-card {
        padding: 24px 18px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-announcement-icon {
        margin-inline: auto;
    }

    .home-announcement-details {
        grid-column: 1;
    }

    .home-announcement-details dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

/* =========================================================
   PROFILE BADGE IMAGE CARDS
   ========================================================= */

.profile-custom-badge-image {
    min-height: 220px;
    padding: 14px;
}

.profile-custom-badge-image img {
    width: 100%;
    max-width: 165px;
    height: 145px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    image-rendering: auto;
    filter:
        drop-shadow(0 6px 0 rgba(0, 0, 0, 0.42));
}

.profile-custom-badge-image strong {
    margin-top: 10px;
    color: var(--badge-color);
    font-size: 0.72rem;
}

.profile-custom-badge-image small {
    margin-top: 7px;
    display: block;
    color: #939c8f;
    font-size: 0.58rem;
    line-height: 1.45;
    text-align: center;
    text-transform: none;
}


/* =========================================================
   FORUM POST MINI BADGES
   ========================================================= */

.forum-post-badge-icons {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    border: 2px solid #30392d;
    background: rgba(5, 8, 5, 0.42);
}

.forum-post-mini-badge {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 2px solid var(--badge-color);
    color: var(--badge-color);
    background:
        color-mix(
            in srgb,
            var(--badge-color) 10%,
            #0c110c
        );
    box-shadow:
        inset 2px 2px rgba(255, 255, 255, 0.025),
        0 3px #030503;
    cursor: help;
    overflow: hidden;
}

.forum-post-mini-badge img {
    width: 27px;
    height: 27px;
    display: block;
    object-fit: contain;
}

.forum-post-mini-badge > span {
    font-family: "Courier New", monospace;
    font-size: 0.87rem;
    font-weight: 950;
    line-height: 1;
}

.forum-post-more-badges {
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border: 2px solid #55634e;
    color: #9ed563;
    background: #111711;
    box-shadow: 0 3px #030503;
    font-family: "Courier New", monospace;
    font-size: 0.58rem;
    font-weight: 950;
}

.forum-post-more-badges:hover {
    border-color: #8fca4e;
    color: #b4e67d;
}

@media (max-width: 900px) {
    .forum-post-badge-icons {
        width: auto;
        max-width: 280px;
        margin-top: 0;
        padding: 7px;
    }

    .forum-post-mini-badge,
    .forum-post-more-badges {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }

    .forum-post-mini-badge img {
        width: 24px;
        height: 24px;
    }
}


/* =========================================================
   GLOBAL MEDIA IDENTITY SYMBOL
   ========================================================= */

.user-name-rank-group {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    vertical-align: middle;
}

.user-media-symbol {
    width: 27px;
    height: 27px;
    display: inline-block;
    flex: 0 0 auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter:
        drop-shadow(0 3px 0 rgba(0, 0, 0, 0.42));
}

.header-media-symbol {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex: 0 0 auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter:
        drop-shadow(0 2px 0 rgba(0, 0, 0, 0.42));
}

.profile-name-heading .user-media-symbol {
    width: 34px;
    height: 34px;
}

.forum-post-profile .user-name-rank-group {
    margin-top: 9px;
    justify-content: center;
}

.forum-post-profile .user-media-symbol {
    width: 24px;
    height: 24px;
}

.admin-table-user .user-media-symbol,
.admin-user-row .user-media-symbol {
    width: 21px;
    height: 21px;
}

@media (max-width: 600px) {
    .profile-name-heading .user-media-symbol {
        width: 29px;
        height: 29px;
    }

    .header-media-symbol {
        width: 18px;
        height: 18px;
    }
}


/* =========================================================
   MEDIA SYMBOL POSITION AND SIZE FIX
   ========================================================= */

/*
 * Forum author card:
 * Put the media icon directly beside the username.
 */
.forum-post-username-line {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.forum-post-username-line strong {
    margin-top: 0 !important;
}

.forum-post-name-media-symbol {
    width: 20px;
    height: 20px;
    display: block;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    object-fit: contain;
    image-rendering: pixelated;
    filter: none;
}

/*
 * The shared role component also contains the media icon.
 * Hide that duplicate only in forum author cards so the rank
 * remains beneath the username.
 */
.forum-post-profile
.user-name-rank-group
> .user-media-symbol {
    display: none !important;
}

.forum-post-profile .user-name-rank-group {
    margin-top: 10px;
    gap: 0;
}

/*
 * Header account area:
 * Keep the icon beside the name, but make it subtle.
 */
.header-account-name {
    gap: 6px !important;
}

.header-media-symbol {
    width: 15px !important;
    height: 15px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    object-fit: contain;
    image-rendering: pixelated;
}

/*
 * Remove accidental framing from every standalone media icon.
 */
.user-media-symbol {
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 900px) {
    .forum-post-username-line {
        margin-top: 0;
    }

    .forum-post-name-media-symbol {
        width: 18px;
        height: 18px;
    }
}


/* ==========================================================
   INLINE MEDIA ICON
   ========================================================== */

.user-media-symbol,
.header-media-symbol,
.profile-media-symbol {
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 8px 0 6px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    object-fit: contain;
    image-rendering: pixelated;
    vertical-align: middle;
}

.user-media-symbol-wrapper,
.media-symbol-wrapper,
.media-rank-wrapper {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.user-name-row,
.profile-name-row,
.forum-post-username-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.forum-post-name-media-symbol {
    width: 20px !important;
    height: 20px !important;
    margin: 0 6px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    image-rendering: pixelated;
}

.header-media-symbol {
    width: 15px !important;
    height: 15px !important;
    margin: 0 4px !important;
}


/* =========================================================
   PROFESSIONAL MINECRAFT-STYLE HEADINGS
   ========================================================= */

/*
 * Only large display headings are changed.
 * Body copy, navigation, rank labels, usernames, and badges
 * retain their existing typography.
 */

:root {
    --repeat-heading-font:
        "Chakra Petch",
        "Arial Narrow",
        Arial,
        sans-serif;
}

/* Homepage hero */
.hero-copy h1,
.home-hero h1,
.hero-title,
.home-hero-title,
.homepage-hero h1 {
    font-family: var(--repeat-heading-font) !important;
    font-weight: 700 !important;
    letter-spacing: -0.055em !important;
    line-height: 0.92 !important;
    text-transform: uppercase;
}

/* Homepage section headings */
.home-section-heading h2,
.section-heading h2,
.home-announcement-content h2,
.home-latest-heading,
.explore-heading,
.latest-heading,
.home-page h2 {
    font-family: var(--repeat-heading-font) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.05 !important;
}

/* Forums */
.forum-page-header h1,
.forum-category-header h1,
.forum-thread-header h1,
.forum-form-container > h1,
.forum-composer-heading h1,
.forum-board-heading h2,
.forum-sidebar-card h2,
.forum-reply-box h2 {
    font-family: var(--repeat-heading-font) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
}

/* Profiles */
.profile-name-heading h1,
.profile-section-heading h2 {
    font-family: var(--repeat-heading-font) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
}

/* Rules and wiki */
.rules-page h1,
.rules-page h2,
.rules-content h1,
.rules-content h2,
.wiki-page h1,
.wiki-page h2,
.wiki-content h1,
.wiki-content h2 {
    font-family: var(--repeat-heading-font) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
}

/* Admin page headings */
.admin-page-header h1,
.admin-panel h2 {
    font-family: var(--repeat-heading-font) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
}

/*
 * Broad fallback for page headers that do not use one of the
 * named classes above. This intentionally avoids card titles,
 * navigation, usernames, and rank labels.
 */
main > section > .site-container > header h1,
main > .site-container > header h1 {
    font-family: var(--repeat-heading-font) !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
}

/* Clean up the oversized homepage title */
@media (min-width: 901px) {
    .hero-copy h1,
    .home-hero h1,
    .hero-title,
    .home-hero-title,
    .homepage-hero h1 {
        font-size: clamp(4.5rem, 8.4vw, 8.75rem) !important;
    }
}

@media (max-width: 900px) {
    .hero-copy h1,
    .home-hero h1,
    .hero-title,
    .home-hero-title,
    .homepage-hero h1 {
        font-size: clamp(3.25rem, 12vw, 6rem) !important;
        line-height: 0.94 !important;
    }
}

@media (max-width: 560px) {
    .hero-copy h1,
    .home-hero h1,
    .hero-title,
    .home-hero-title,
    .homepage-hero h1 {
        font-size: clamp(2.85rem, 15vw, 4.6rem) !important;
        letter-spacing: -0.045em !important;
    }
}


/* =========================================================
   FINAL LARGE HEADING TYPOGRAPHY OVERRIDE
   ========================================================= */

:root {
    --repeat-display-heading:
        "Chakra Petch",
        "Trebuchet MS",
        Arial,
        sans-serif;
}

/*
 * Large page and section headings only.
 * Navigation, account names, ranks, badges and body copy
 * intentionally remain unchanged.
 */
main h1,
.hero h1,
.hero-copy h1,
.hero-content h1,
.home-hero h1,
.homepage-hero h1,
.home-hero-title,
.hero-title,
.profile-name-heading h1,
.forum-page-header h1,
.forum-category-header h1,
.forum-thread-header h1,
.forum-composer-heading h1,
.rules-page-header h1,
.wiki-page-header h1,
.admin-page-header h1 {
    font-family: var(--repeat-display-heading) !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: -0.045em !important;
    line-height: 0.98 !important;
}

/*
 * Main homepage section headings.
 */
.home-announcement-content h2,
.home-section-heading h2,
.section-heading h2,
.homepage-section-title,
.home-page > section h2,
main section > .site-container > h2,
main section > .site-container > header h2 {
    font-family: var(--repeat-display-heading) !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: -0.035em !important;
    line-height: 1.02 !important;
}

/*
 * Target the visible homepage headings even where the original
 * templates lack useful classes.
 */
main h1 {
    text-transform: uppercase;
}

main section > .site-container > h2 {
    text-transform: uppercase;
}

/*
 * Preserve smaller card titles and interface labels.
 */
.profile-role-display,
.header-role-badge,
.profile-custom-badge strong,
.forum-board-description h3,
.navigation a,
.site-navigation a,
.site-header a,
header nav a,
button,
.repeat-button {
    font-family: inherit;
    letter-spacing: inherit;
}

/*
 * Hero sizing after replacing the unusually wide slab font.
 */
@media (min-width: 901px) {
    main h1,
    .hero h1,
    .hero-copy h1,
    .hero-content h1,
    .home-hero h1,
    .homepage-hero h1 {
        font-size: clamp(4.25rem, 7.6vw, 8rem) !important;
    }
}

@media (max-width: 900px) {
    main h1,
    .hero h1,
    .hero-copy h1,
    .hero-content h1,
    .home-hero h1,
    .homepage-hero h1 {
        font-size: clamp(3.2rem, 11vw, 5.8rem) !important;
    }
}

@media (max-width: 560px) {
    main h1,
    .hero h1,
    .hero-copy h1,
    .hero-content h1,
    .home-hero h1,
    .homepage-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.4rem) !important;
        letter-spacing: -0.035em !important;
    }
}


/* =========================================================
   FORUM CONTENT AND PREVIEW HEADING SIZE FIX
   ========================================================= */

/*
 * Full forum post content.
 * Prevent Markdown headings from inheriting giant page-title sizing.
 */
.forum-markdown h1,
.forum-post-body h1 {
    margin: 1.35em 0 0.55em;
    font-family: var(--repeat-display-heading) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.1 !important;
    text-transform: none !important;
}

.forum-markdown h2,
.forum-post-body h2 {
    margin: 1.25em 0 0.5em;
    font-family: var(--repeat-display-heading) !important;
    font-size: 1.55rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    text-transform: none !important;
}

.forum-markdown h3,
.forum-post-body h3 {
    margin: 1.15em 0 0.45em;
    font-family: var(--repeat-display-heading) !important;
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.forum-markdown h4,
.forum-post-body h4,
.forum-markdown h5,
.forum-post-body h5,
.forum-markdown h6,
.forum-post-body h6 {
    margin: 1em 0 0.4em;
    font-family: var(--repeat-display-heading) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
}

/*
 * Homepage announcement and other compact Markdown previews.
 */
.home-announcement-preview h1,
.profile-post-preview h1,
.forum-editor-preview h1 {
    margin: 0.8em 0 0.35em;
    font-size: 1.2rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.015em !important;
    text-transform: none !important;
}

.home-announcement-preview h2,
.profile-post-preview h2,
.forum-editor-preview h2 {
    margin: 0.75em 0 0.3em;
    font-size: 1.05rem !important;
    line-height: 1.18 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

.home-announcement-preview h3,
.home-announcement-preview h4,
.home-announcement-preview h5,
.home-announcement-preview h6,
.profile-post-preview h3,
.profile-post-preview h4,
.profile-post-preview h5,
.profile-post-preview h6,
.forum-editor-preview h3,
.forum-editor-preview h4,
.forum-editor-preview h5,
.forum-editor-preview h6 {
    margin: 0.7em 0 0.28em;
    font-size: 0.92rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

/*
 * Ensure preview content cannot overflow its card again.
 */
.home-announcement-preview {
    max-height: 190px;
    overflow: hidden;
}

.home-announcement-preview img {
    max-width: 96px;
    max-height: 96px;
    object-fit: contain;
}

/*
 * Mobile content headings.
 */
@media (max-width: 700px) {
    .forum-markdown h1,
    .forum-post-body h1 {
        font-size: 1.65rem !important;
    }

    .forum-markdown h2,
    .forum-post-body h2 {
        font-size: 1.35rem !important;
    }

    .forum-markdown h3,
    .forum-post-body h3 {
        font-size: 1.12rem !important;
    }
}


/* ==========================================================
   FORUM THREAD HERO TITLE
   ========================================================== */

.forum-thread-header h1,
.thread-header h1,
.thread-title,
.thread-page-title,
.forum-thread-title,
.thread-view h1,
.thread-view header h1,
.thread-hero h1 {
    font-family: var(--repeat-display-heading) !important;
    font-size: clamp(2.8rem, 4vw, 3.8rem) !important;
    font-weight: 700 !important;
    line-height: .95 !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase !important;

    max-width: 70%;
    margin-bottom: 24px !important;
}

@media (max-width:900px){

.forum-thread-header h1,
.thread-header h1,
.thread-title,
.thread-page-title,
.forum-thread-title,
.thread-view h1,
.thread-view header h1,
.thread-hero h1{

    font-size:2.4rem !important;
    max-width:100%;

}

}

