/*
 * EarthSMP theme
 * Public theme styles only. Azuriom admin pages do not use .earthsmp-site.
 */

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-condensed-400.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/barlow-condensed-900.woff2") format("woff2");
}

.earthsmp-site {
    --earth-primary: #f4b942;
    --earth-secondary: #3c8cff;
    --earth-success: #29b765;
    --earth-background: #090b12;
    --earth-surface: #141824;
    --earth-surface-raised: #1a1f2d;
    --earth-surface-soft: #10141e;
    --earth-border: rgba(196, 210, 238, 0.14);
    --earth-border-strong: rgba(196, 210, 238, 0.24);
    --earth-text: #f7f8fb;
    --earth-text-muted: #aab2c3;
    --earth-text-soft: #818b9f;
    --earth-danger: #ef6464;
    --earth-warning: #f4b942;
    --earth-radius-sm: 0.65rem;
    --earth-radius: 1rem;
    --earth-radius-lg: 1.5rem;
    --earth-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
    --earth-font-display: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
    --earth-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    color: var(--earth-text);
    background:
        radial-gradient(circle at 12% 20%, rgba(60, 140, 255, 0.09), transparent 28rem),
        radial-gradient(circle at 88% 62%, rgba(41, 183, 101, 0.06), transparent 30rem),
        var(--earth-background);
    font-family: var(--earth-font-body);
    line-height: 1.65;
    overflow-x: hidden;
}

.earthsmp-site *,
.earthsmp-site *::before,
.earthsmp-site *::after {
    box-sizing: border-box;
}

.earthsmp-site ::selection {
    color: #11141b;
    background: var(--earth-primary);
}

.earthsmp-site a {
    color: inherit;
    text-decoration: none;
}

.earthsmp-main :where(p, li, dd, figcaption, blockquote) a:not(.btn) {
    color: var(--earth-secondary);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.earthsmp-main :where(p, li, dd, figcaption, blockquote) a:not(.btn):hover {
    color: var(--earth-text);
}

.earthsmp-site img {
    max-width: 100%;
    height: auto;
}

.earthsmp-site code {
    color: var(--earth-primary);
}

.earthsmp-site :focus-visible {
    outline: 3px solid var(--earth-secondary);
    outline-offset: 3px;
}

.earthsmp-skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.7rem 1rem;
    color: #11141b !important;
    background: var(--earth-primary);
    border-radius: var(--earth-radius-sm);
    font-weight: 800;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.earthsmp-skip-link:focus {
    transform: translateY(0);
}

/* Header and navigation */

.earthsmp-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 76px;
    background: rgba(7, 9, 15, 0.92);
    border-bottom: 1px solid var(--earth-border);
    backdrop-filter: blur(16px);
}

.earthsmp-navbar {
    min-height: 76px;
    padding-block: 0.75rem;
}

.earthsmp-navbar .navbar-toggler {
    width: 46px;
    height: 46px;
    padding: 0.55rem;
    border-color: var(--earth-border-strong);
    border-radius: var(--earth-radius-sm);
}

.earthsmp-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(60, 140, 255, 0.24);
}

.earthsmp-brand {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    min-height: 44px;
    color: var(--earth-text) !important;
}

.earthsmp-brand-logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: 42px;
    object-fit: contain;
}

.earthsmp-brand-logo--icon,
.earthsmp-fallback-logo {
    image-rendering: pixelated;
}

.earthsmp-brand-name {
    font-family: var(--earth-font-display);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.earthsmp-navbar-links {
    gap: 0.2rem;
}

.earthsmp-navbar .nav-link {
    position: relative;
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 0.85rem !important;
    color: var(--earth-text-muted);
    font-family: var(--earth-font-display);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    transition: color 160ms ease, background-color 160ms ease;
}

.earthsmp-navbar .nav-link:hover,
.earthsmp-navbar .nav-link:focus-visible,
.earthsmp-navbar .nav-link.active {
    color: var(--earth-text);
}

.earthsmp-navbar-links > .nav-item > .nav-link::after {
    position: absolute;
    right: 0.85rem;
    bottom: 0.28rem;
    left: 0.85rem;
    height: 2px;
    content: "";
    background: var(--earth-primary);
    border-radius: 999px;
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 160ms ease, transform 160ms ease;
}

.earthsmp-navbar-links > .nav-item > .nav-link.dropdown-toggle::after {
    position: static;
    width: auto;
    height: auto;
    margin-left: 0.35rem;
    vertical-align: 0.15em;
    background: none;
    border-top: 0.28em solid;
    border-right: 0.28em solid transparent;
    border-left: 0.28em solid transparent;
    border-radius: 0;
    opacity: 0.65;
    transform: none;
}

.earthsmp-navbar-links > .nav-item > .nav-link:hover::after,
.earthsmp-navbar-links > .nav-item > .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.earthsmp-navbar-account {
    gap: 0.35rem;
}

.earthsmp-account-button {
    min-height: 42px;
    padding: 0.6rem 1rem;
    color: #16130d;
    background: linear-gradient(135deg, #ffd66d, var(--earth-primary));
    border: 0;
    border-radius: var(--earth-radius-sm);
    box-shadow: 0 8px 24px rgba(244, 185, 66, 0.16);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.earthsmp-account-button:hover,
.earthsmp-account-button:focus-visible {
    color: #08090c;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.earthsmp-site .dropdown-menu {
    padding: 0.5rem;
    color: var(--earth-text);
    background: rgba(20, 24, 36, 0.98);
    border: 1px solid var(--earth-border-strong);
    border-radius: var(--earth-radius);
    box-shadow: var(--earth-shadow);
}

.earthsmp-site .dropdown-item {
    min-height: 42px;
    padding: 0.65rem 0.75rem;
    color: var(--earth-text-muted);
    border-radius: 0.55rem;
}

.earthsmp-site .dropdown-item:hover,
.earthsmp-site .dropdown-item:focus,
.earthsmp-site .dropdown-item.active {
    color: var(--earth-text);
    background: rgba(60, 140, 255, 0.14);
}

.earthsmp-site .dropdown-divider {
    border-color: var(--earth-border);
}

/* Hero */

.earthsmp-hero {
    --earth-hero-image: none;
    position: relative;
    display: grid;
    min-height: min(780px, calc(100svh - 76px));
    overflow: hidden;
    isolation: isolate;
    place-items: center;
    background-color: #080a10;
    background-image:
        linear-gradient(180deg, rgba(6, 8, 13, 0.35) 0%, rgba(7, 9, 16, 0.68) 58%, var(--earth-background) 100%),
        radial-gradient(circle at 50% 36%, rgba(60, 140, 255, 0.2), transparent 36%),
        var(--earth-hero-image),
        linear-gradient(135deg, #10243b, #08101a 50%, #102517);
    background-position: center;
    background-size: cover;
}

.earthsmp-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(5, 8, 13, 0.55), transparent 27%, transparent 73%, rgba(5, 8, 13, 0.55)),
        repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.012) 4px);
    pointer-events: none;
}

.earthsmp-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 980px;
    padding-block: 5rem 7rem;
    text-align: center;
}

.earthsmp-hero-brand {
    display: inline-flex;
    gap: 0.9rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.earthsmp-hero-brand > img {
    width: auto;
    max-width: min(420px, 80vw);
    max-height: 135px;
    object-fit: contain;
}

.earthsmp-hero-brand > .earthsmp-fallback-logo {
    width: 64px;
    height: 64px;
}

.earthsmp-eyebrow {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin: 0 0 1rem;
    color: #dbe6f8;
    font-family: var(--earth-font-display);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.earthsmp-eyebrow > span:first-child {
    width: 28px;
    height: 2px;
    background: var(--earth-primary);
    box-shadow: 0 0 12px rgba(244, 185, 66, 0.55);
}

.earthsmp-version {
    padding: 0.25rem 0.5rem;
    color: #d9e7ff;
    background: rgba(60, 140, 255, 0.13);
    border: 1px solid rgba(114, 180, 255, 0.22);
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.earthsmp-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-family: var(--earth-font-display);
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    font-weight: 950;
    line-height: 0.96;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.earthsmp-hero h1::first-line {
    color: #fff;
}

.earthsmp-hero-subtitle {
    max-width: 720px;
    margin: 1.4rem auto 0;
    color: #c3cad8;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
    text-wrap: balance;
}

.earthsmp-server-status {
    display: inline-flex;
    gap: 0.6rem;
    align-items: center;
    min-height: 38px;
    margin-top: 1.5rem;
    padding: 0.4rem 0.85rem;
    color: #dce4f1;
    background: rgba(7, 10, 17, 0.62);
    border: 1px solid rgba(195, 209, 235, 0.16);
    border-radius: 999px;
    box-shadow: 0 9px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    font-size: 0.88rem;
    font-weight: 700;
}

.earthsmp-server-status small {
    color: var(--earth-text-soft);
}

.earthsmp-status-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    background: var(--earth-text-soft);
    border-radius: 50%;
}

.earthsmp-status-dot--online {
    background: var(--earth-success);
    box-shadow: 0 0 0 4px rgba(41, 183, 101, 0.12), 0 0 16px var(--earth-success);
}

.earthsmp-status-dot--offline {
    background: var(--earth-danger);
    box-shadow: 0 0 0 4px rgba(239, 100, 100, 0.12);
}

.earthsmp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: stretch;
    justify-content: center;
    margin-top: 1.35rem;
}

.earthsmp-copy-button {
    display: inline-flex;
    min-width: min(370px, 90vw);
    min-height: 56px;
    padding: 0;
    overflow: hidden;
    color: #15171c;
    background: #fff;
    border: 0;
    border-radius: 0.8rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.earthsmp-copy-button:hover,
.earthsmp-copy-button:focus-visible {
    color: #090b0f;
    background: #fff;
    box-shadow: 0 17px 42px rgba(0, 0, 0, 0.38);
    transform: translateY(-2px);
}

.earthsmp-copy-address,
.earthsmp-copy-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
}

.earthsmp-copy-address {
    flex: 1 1 auto;
    color: #1d2532;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.92rem;
    letter-spacing: -0.02em;
}

.earthsmp-copy-label {
    gap: 0.45rem;
    flex: 0 0 auto;
    color: #1b1509;
    background: linear-gradient(135deg, #ffdb79, var(--earth-primary));
    font-size: 0.78rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.earthsmp-copy-button.is-copied .earthsmp-copy-label {
    color: #06160c;
    background: #69d78e;
}

.earthsmp-secondary-button {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0.85rem 1.25rem;
    color: #e8f1ff;
    background: rgba(60, 140, 255, 0.16);
    border: 1px solid rgba(125, 183, 255, 0.38);
    border-radius: 0.8rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    font-weight: 850;
}

.earthsmp-secondary-button:hover,
.earthsmp-secondary-button:focus-visible {
    color: #fff;
    background: rgba(60, 140, 255, 0.25);
    border-color: rgba(151, 199, 255, 0.7);
    transform: translateY(-2px);
}

.earthsmp-config-required {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    color: #ffce6a;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.earthsmp-config-required--hero {
    justify-content: center;
    min-height: 56px;
    padding: 0.75rem 1rem;
    background: rgba(244, 185, 66, 0.1);
    border: 1px dashed rgba(244, 185, 66, 0.48);
    border-radius: 0.8rem;
}

.earthsmp-scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    min-height: 44px;
    color: var(--earth-text-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.earthsmp-scroll-cue:hover {
    color: var(--earth-text);
}

.earthsmp-scroll-cue i {
    color: var(--earth-primary);
}

/* Home sections */

.earthsmp-home-alerts {
    position: relative;
    z-index: 2;
    margin-top: -1.5rem;
}

.earthsmp-section {
    position: relative;
    padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.earthsmp-section-heading {
    max-width: 760px;
    margin: 0 auto 2.7rem;
    text-align: center;
}

.earthsmp-section-heading > p {
    margin: 0 0 0.45rem;
    color: var(--earth-primary);
    font-family: var(--earth-font-display);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.earthsmp-section-heading h2 {
    margin: 0;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    text-wrap: balance;
}

.earthsmp-section-heading > span {
    display: block;
    max-width: 650px;
    margin: 1rem auto 0;
    color: var(--earth-text-muted);
    font-size: 1.02rem;
}

.earthsmp-section-heading--left {
    margin-inline: 0;
    text-align: left;
}

.earthsmp-section-heading--left > span {
    margin-left: 0;
}

.earthsmp-intro-section {
    background:
        radial-gradient(circle at 50% 0, rgba(60, 140, 255, 0.08), transparent 34rem),
        transparent;
}

.earthsmp-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.earthsmp-pillar-card {
    position: relative;
    min-height: 240px;
    padding: 1.65rem;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 45%),
        var(--earth-surface);
    border: 1px solid var(--earth-border);
    border-radius: var(--earth-radius-lg);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.14);
}

.earthsmp-pillar-card::after {
    position: absolute;
    right: -38px;
    bottom: -48px;
    width: 140px;
    height: 140px;
    content: "";
    border: 1px solid rgba(60, 140, 255, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 22px rgba(60, 140, 255, 0.025),
        0 0 0 44px rgba(60, 140, 255, 0.018);
}

.earthsmp-pillar-icon,
.earthsmp-quick-icon,
.earthsmp-server-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    color: #cde1ff;
    background: rgba(60, 140, 255, 0.12);
    border: 1px solid rgba(102, 167, 255, 0.22);
    border-radius: 0.85rem;
    font-size: 1.25rem;
    place-items: center;
}

.earthsmp-pillar-card h3 {
    position: relative;
    z-index: 1;
    margin: 1.3rem 0 0.65rem;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.earthsmp-pillar-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--earth-text-muted);
}

.earthsmp-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.earthsmp-quick-grid:empty {
    display: none;
}

.earthsmp-quick-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 150px;
    padding: 1.35rem;
    overflow: hidden;
    color: var(--earth-text);
    background: var(--earth-surface);
    border: 1px solid var(--earth-border);
    border-radius: var(--earth-radius-lg);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.earthsmp-quick-card:hover,
.earthsmp-quick-card:focus-visible {
    color: var(--earth-text);
    border-color: rgba(244, 185, 66, 0.44);
    box-shadow: var(--earth-shadow);
    transform: translateY(-3px);
}

.earthsmp-quick-card > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.earthsmp-quick-card small {
    color: var(--earth-primary);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.earthsmp-quick-card strong {
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: 1.45rem;
    font-weight: 950;
    text-transform: uppercase;
}

.earthsmp-quick-card > span > span {
    color: var(--earth-text-muted);
    font-size: 0.9rem;
}

.earthsmp-quick-card > .bi-arrow-up-right {
    color: var(--earth-text-soft);
    font-size: 1.2rem;
}

.earthsmp-quick-card--shop .earthsmp-quick-icon {
    color: #3d2b05;
    background: var(--earth-primary);
    border-color: rgba(255, 255, 255, 0.24);
}

.earthsmp-quick-card--vote .earthsmp-quick-icon {
    color: #061c10;
    background: var(--earth-success);
    border-color: rgba(255, 255, 255, 0.24);
}

.earthsmp-message-section {
    padding-block: 0 2rem;
}

.earthsmp-announcement {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    color: #f8e3ae;
    background: rgba(244, 185, 66, 0.08);
    border: 1px solid rgba(244, 185, 66, 0.26);
    border-radius: var(--earth-radius);
}

.earthsmp-announcement > i {
    margin-top: 0.15rem;
    color: var(--earth-primary);
}

.earthsmp-announcement p {
    margin: 0;
}

.earthsmp-servers-section {
    background: rgba(5, 7, 12, 0.42);
    border-block: 1px solid rgba(196, 210, 238, 0.07);
}

.earthsmp-server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
}

.earthsmp-server-card {
    padding: 1.35rem;
    background: var(--earth-surface);
    border: 1px solid var(--earth-border);
    border-radius: var(--earth-radius-lg);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.earthsmp-server-card-heading {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.earthsmp-server-card h3 {
    margin: 0 0 0.2rem;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
}

.earthsmp-online-label,
.earthsmp-offline-label {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    color: var(--earth-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.earthsmp-player-progress {
    height: 7px;
    margin-top: 1.15rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
}

.earthsmp-player-progress .progress-bar {
    background: linear-gradient(90deg, var(--earth-secondary), var(--earth-success));
    border-radius: 999px;
}

.earthsmp-player-count {
    margin-top: 0.4rem;
    color: var(--earth-text);
    font-weight: 800;
}

.earthsmp-player-count small {
    color: var(--earth-text-soft);
    font-weight: 600;
}

.earthsmp-server-card code {
    display: block;
    margin-top: 1rem;
    padding: 0.65rem 0.75rem;
    overflow-wrap: anywhere;
    color: #dbe8fb;
    background: rgba(7, 10, 16, 0.65);
    border: 1px solid var(--earth-border);
    border-radius: 0.65rem;
    font-size: 0.8rem;
}

.earthsmp-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
    gap: 1rem;
}

.earthsmp-news-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: var(--earth-surface);
    border: 1px solid var(--earth-border);
    border-radius: var(--earth-radius-lg);
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.earthsmp-news-card:hover {
    border-color: var(--earth-border-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.earthsmp-news-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0d1726;
    border-bottom: 1px solid var(--earth-border);
}

.earthsmp-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.earthsmp-news-card:hover .earthsmp-news-image img {
    transform: scale(1.035);
}

.earthsmp-news-image--placeholder {
    position: relative;
    display: grid;
    background:
        radial-gradient(circle at 70% 30%, rgba(65, 194, 101, 0.25), transparent 26%),
        linear-gradient(135deg, rgba(60, 140, 255, 0.25), transparent 60%),
        #101725;
    place-items: center;
}

.earthsmp-news-image--placeholder::before,
.earthsmp-news-image--placeholder::after,
.earthsmp-news-image--placeholder span {
    position: absolute;
    content: "";
    border: 1px solid rgba(137, 189, 255, 0.18);
    border-radius: 50%;
}

.earthsmp-news-image--placeholder::before {
    width: 120px;
    height: 120px;
}

.earthsmp-news-image--placeholder::after {
    width: 82px;
    height: 82px;
}

.earthsmp-news-image--placeholder span {
    width: 44px;
    height: 44px;
    background: rgba(60, 140, 255, 0.1);
}

.earthsmp-news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem;
}

.earthsmp-news-meta {
    margin: 0 0 0.45rem !important;
    color: var(--earth-primary) !important;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.earthsmp-news-card h3 {
    margin: 0;
    font-family: var(--earth-font-display);
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.2;
}

.earthsmp-news-card h3 a {
    color: var(--earth-text);
}

.earthsmp-news-card h3 a:hover {
    color: var(--earth-primary);
}

.earthsmp-news-body > p:not(.earthsmp-news-meta) {
    margin: 0.85rem 0 1.2rem;
    color: var(--earth-text-muted);
}

.earthsmp-news-link {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    min-height: 44px;
    margin-top: auto;
    color: var(--earth-primary) !important;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.earthsmp-news-link:hover i {
    transform: translateX(3px);
}

.earthsmp-news-link i {
    transition: transform 160ms ease;
}

.earthsmp-empty-state {
    display: grid;
    min-height: 220px;
    color: var(--earth-text-muted);
    background: var(--earth-surface);
    border: 1px dashed var(--earth-border-strong);
    border-radius: var(--earth-radius-lg);
    place-content: center;
    text-align: center;
}

.earthsmp-empty-state i {
    margin-bottom: 0.5rem;
    color: var(--earth-text-soft);
    font-size: 2rem;
}

.earthsmp-empty-state p {
    margin: 0;
}

/* Native Azuriom and plugin pages */

.earthsmp-main {
    width: 100%;
    min-height: 58vh;
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.earthsmp-main > h1,
.earthsmp-main .content-title,
.earthsmp-main > .row h1 {
    margin-bottom: 1.5rem;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: clamp(2rem, 5vw, 3.35rem);
    font-weight: 950;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.earthsmp-site .card {
    color: var(--earth-text);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 40%),
        var(--earth-surface);
    border: 1px solid var(--earth-border);
    border-radius: var(--earth-radius);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.earthsmp-site .card-header,
.earthsmp-site .card-footer {
    color: var(--earth-text);
    background: rgba(7, 10, 16, 0.25);
    border-color: var(--earth-border);
}

.earthsmp-site .card-header:first-child {
    border-radius: calc(var(--earth-radius) - 1px) calc(var(--earth-radius) - 1px) 0 0;
}

.earthsmp-site .card-title,
.earthsmp-site .card-title a {
    color: var(--earth-text);
}

.earthsmp-site .card-text,
.earthsmp-site .text-body-secondary,
.earthsmp-site .text-muted {
    color: var(--earth-text-muted) !important;
}

.earthsmp-site .list-group-item {
    color: var(--earth-text);
    background: var(--earth-surface);
    border-color: var(--earth-border);
}

.earthsmp-site .table {
    --bs-table-color: var(--earth-text);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--earth-border);
    --bs-table-striped-color: var(--earth-text);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.025);
    --bs-table-hover-color: var(--earth-text);
    --bs-table-hover-bg: rgba(60, 140, 255, 0.07);

    color: var(--earth-text);
}

.earthsmp-site .table-responsive {
    border: 1px solid var(--earth-border);
    border-radius: var(--earth-radius);
}

.earthsmp-site .form-label {
    color: #dbe1ec;
    font-weight: 700;
}

.earthsmp-site .form-control,
.earthsmp-site .form-select,
.earthsmp-site .input-group-text {
    min-height: 46px;
    color: var(--earth-text);
    background-color: rgba(7, 10, 16, 0.66);
    border-color: var(--earth-border-strong);
    border-radius: 0.7rem;
}

.earthsmp-site .input-group > .form-control,
.earthsmp-site .input-group > .form-select,
.earthsmp-site .input-group > .input-group-text {
    border-radius: 0;
}

.earthsmp-site .input-group > :first-child {
    border-radius: 0.7rem 0 0 0.7rem;
}

.earthsmp-site .input-group > :last-child {
    border-radius: 0 0.7rem 0.7rem 0;
}

.earthsmp-site .form-control::placeholder {
    color: #697388;
}

.earthsmp-site .form-control:focus,
.earthsmp-site .form-select:focus {
    color: var(--earth-text);
    background-color: rgba(9, 13, 21, 0.92);
    border-color: var(--earth-secondary);
    box-shadow: 0 0 0 0.22rem rgba(60, 140, 255, 0.16);
}

.earthsmp-site .form-check-input {
    background-color: rgba(7, 10, 16, 0.7);
    border-color: var(--earth-border-strong);
}

.earthsmp-site .form-check-input:checked {
    background-color: var(--earth-secondary);
    border-color: var(--earth-secondary);
}

.earthsmp-site .btn {
    min-height: 42px;
    border-radius: 0.7rem;
    font-weight: 800;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.earthsmp-site .btn:hover {
    transform: translateY(-1px);
}

.earthsmp-site .btn-primary {
    color: #19140a;
    background: linear-gradient(135deg, #ffd66b, var(--earth-primary));
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(244, 185, 66, 0.12);
}

.earthsmp-site .btn-primary:hover,
.earthsmp-site .btn-primary:focus-visible,
.earthsmp-site .btn-primary:active {
    color: #090b0e;
    background: linear-gradient(135deg, #ffe18b, #ffc952);
    border-color: transparent;
}

.earthsmp-site .btn-secondary {
    color: var(--earth-text);
    background: #2a3140;
    border-color: #3c465a;
}

.earthsmp-site .btn-outline-primary {
    color: #ffd46d;
    border-color: rgba(244, 185, 66, 0.62);
}

.earthsmp-site .btn-outline-primary:hover {
    color: #171208;
    background: var(--earth-primary);
    border-color: var(--earth-primary);
}

.earthsmp-site .alert {
    color: var(--earth-text);
    background: var(--earth-surface);
    border: 1px solid var(--earth-border-strong);
    border-radius: var(--earth-radius);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.earthsmp-site .alert-success {
    background: rgba(41, 183, 101, 0.11);
    border-color: rgba(41, 183, 101, 0.35);
}

.earthsmp-site .alert-danger {
    background: rgba(239, 100, 100, 0.1);
    border-color: rgba(239, 100, 100, 0.35);
}

.earthsmp-site .alert-warning {
    background: rgba(244, 185, 66, 0.1);
    border-color: rgba(244, 185, 66, 0.35);
}

.earthsmp-site .alert-info {
    background: rgba(60, 140, 255, 0.1);
    border-color: rgba(60, 140, 255, 0.34);
}

.earthsmp-site .modal-content,
.earthsmp-site .offcanvas {
    color: var(--earth-text);
    background: var(--earth-surface);
    border: 1px solid var(--earth-border-strong);
    border-radius: var(--earth-radius);
}

.earthsmp-site .modal-header,
.earthsmp-site .modal-footer {
    border-color: var(--earth-border);
}

.earthsmp-site .page-link {
    color: var(--earth-text-muted);
    background: var(--earth-surface);
    border-color: var(--earth-border);
}

.earthsmp-site .page-link:hover,
.earthsmp-site .page-item.active .page-link {
    color: #151108;
    background: var(--earth-primary);
    border-color: var(--earth-primary);
}

.earthsmp-site .progress {
    background: rgba(255, 255, 255, 0.07);
}

.earthsmp-site .progress-bar {
    background: linear-gradient(90deg, var(--earth-secondary), var(--earth-success));
}

.earthsmp-site .nav-tabs {
    border-color: var(--earth-border);
}

.earthsmp-site .nav-tabs .nav-link {
    color: var(--earth-text-muted);
    border-color: transparent;
}

.earthsmp-site .nav-tabs .nav-link:hover,
.earthsmp-site .nav-tabs .nav-link.active {
    color: var(--earth-text);
    background: var(--earth-surface);
    border-color: var(--earth-border) var(--earth-border) var(--earth-surface);
}

.earthsmp-site .accordion-item,
.earthsmp-site .accordion-button {
    color: var(--earth-text);
    background: var(--earth-surface);
    border-color: var(--earth-border);
}

.earthsmp-site .accordion-button:not(.collapsed) {
    color: var(--earth-text);
    background: rgba(60, 140, 255, 0.09);
    box-shadow: inset 0 -1px 0 var(--earth-border);
}

.earthsmp-site .badge.bg-primary,
.earthsmp-site .text-bg-primary {
    color: #151108 !important;
    background-color: var(--earth-primary) !important;
}

.earthsmp-site hr {
    border-color: var(--earth-border);
    opacity: 1;
}

.earthsmp-shop-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.15rem;
    background:
        linear-gradient(135deg, rgba(244, 185, 66, 0.08), transparent 45%),
        var(--earth-surface);
    border: 1px solid rgba(244, 185, 66, 0.3);
    border-radius: var(--earth-radius);
}

.earthsmp-shop-notice-icon {
    display: grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    color: #181206;
    background: var(--earth-primary);
    border-radius: 0.8rem;
    font-size: 1.2rem;
    place-items: center;
}

.earthsmp-shop-notice h2 {
    margin: 0 0 0.25rem;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
}

.earthsmp-shop-notice p {
    margin: 0;
    color: var(--earth-text-muted);
    font-size: 0.9rem;
}

.earthsmp-shop-notice a,
.earthsmp-shop-notice > div > span {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    margin-top: 0.55rem;
    color: var(--earth-primary);
    font-size: 0.8rem;
    font-weight: 800;
}

/* Footer */

.earthsmp-footer {
    position: relative;
    padding-block: 4.5rem 1.5rem;
    background:
        radial-gradient(circle at 20% 0, rgba(60, 140, 255, 0.08), transparent 24rem),
        #070910;
    border-top: 1px solid var(--earth-border);
}

.earthsmp-footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) minmax(140px, 0.65fr) minmax(170px, 0.8fr) minmax(260px, 1.2fr);
    gap: 2.5rem;
}

.earthsmp-brand--footer {
    margin-bottom: 1rem;
}

.earthsmp-footer-brand > p {
    max-width: 320px;
    margin: 0;
    color: var(--earth-text-muted);
}

.earthsmp-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.earthsmp-social-links a {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--earth-text);
    background: color-mix(in srgb, var(--earth-social-color, var(--earth-secondary)) 20%, #111522);
    border: 1px solid color-mix(in srgb, var(--earth-social-color, var(--earth-secondary)) 38%, transparent);
    border-radius: 0.75rem;
    place-items: center;
}

.earthsmp-social-links a:hover {
    color: #fff;
    background: var(--earth-social-color, var(--earth-secondary));
    transform: translateY(-2px);
}

.earthsmp-footer-section h2 {
    margin: 0 0 1rem;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.earthsmp-footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.earthsmp-footer-section a {
    color: var(--earth-text-muted);
}

.earthsmp-footer-section a:hover {
    color: var(--earth-primary);
}

.earthsmp-footer-action {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    min-height: 44px;
}

.earthsmp-footer-legal dl,
.earthsmp-footer-legal dd {
    margin: 0;
}

.earthsmp-footer-legal dl {
    display: grid;
    gap: 0.8rem;
}

.earthsmp-footer-legal dt {
    color: var(--earth-text-soft);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.earthsmp-footer-legal dd {
    color: var(--earth-text-muted);
    overflow-wrap: anywhere;
}

.earthsmp-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.2rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--earth-border);
}

.earthsmp-legal-links > a,
.earthsmp-legal-links > span {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    color: var(--earth-text-muted);
    font-size: 0.8rem;
}

.earthsmp-legal-links > a:hover {
    color: var(--earth-primary);
}

.earthsmp-legal-links .earthsmp-config-required {
    padding: 0.12rem 0.32rem;
    background: rgba(244, 185, 66, 0.08);
    border: 1px dashed rgba(244, 185, 66, 0.3);
    border-radius: 0.35rem;
    font-size: 0.58rem;
}

.earthsmp-privacy-notice {
    max-width: 920px;
    margin: 1.25rem 0 0;
    color: var(--earth-text-soft);
    font-size: 0.78rem;
}

.earthsmp-minecraft-disclaimer {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    color: var(--earth-text-muted);
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid var(--earth-border);
    border-left: 3px solid var(--earth-primary);
    border-radius: 0.7rem;
    font-size: 0.72rem;
}

.earthsmp-minecraft-disclaimer strong {
    color: #edf1f8;
    font-size: 0.74rem;
    letter-spacing: 0.035em;
}

.earthsmp-official-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

.earthsmp-official-links a {
    color: var(--earth-primary);
    font-weight: 750;
}

.earthsmp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    color: #697386;
    font-size: 0.72rem;
}

.earthsmp-footer-bottom a {
    color: #aeb7c7;
    font-weight: 800;
}

.earthsmp-footer-bottom a:hover {
    color: var(--earth-primary);
}

/* Responsive and accessibility */

@media (max-width: 1199.98px) {
    .earthsmp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .earthsmp-header,
    .earthsmp-navbar {
        min-height: 68px;
    }

    .earthsmp-navbar .navbar-collapse {
        max-height: calc(100vh - 76px);
        padding: 0.8rem 0 1rem;
        overflow-y: auto;
        border-top: 1px solid var(--earth-border);
    }

    .earthsmp-navbar-links {
        gap: 0;
        padding-block: 0.5rem;
    }

    .earthsmp-navbar .nav-link {
        display: flex;
        width: 100%;
        padding-inline: 0.2rem !important;
    }

    .earthsmp-navbar-links > .nav-item > .nav-link::after {
        display: none;
    }

    .earthsmp-navbar-account {
        align-items: stretch !important;
        padding-top: 0.75rem;
        border-top: 1px solid var(--earth-border);
    }

    .earthsmp-account-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .earthsmp-pillar-grid {
        grid-template-columns: 1fr;
    }

    .earthsmp-pillar-card {
        min-height: 0;
    }
}

@media (max-width: 767.98px) {
    .earthsmp-hero {
        min-height: max(680px, calc(100svh - 68px));
    }

    .earthsmp-hero-content {
        padding-block: 4rem 6.5rem;
    }

    .earthsmp-hero-brand {
        font-size: 1.55rem;
    }

    .earthsmp-eyebrow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .earthsmp-hero h1 {
        font-size: clamp(2.45rem, 13vw, 4rem);
    }

    .earthsmp-hero-actions {
        width: 100%;
    }

    .earthsmp-copy-button,
    .earthsmp-secondary-button,
    .earthsmp-config-required--hero {
        width: 100%;
        max-width: 520px;
    }

    .earthsmp-copy-button {
        min-width: 0;
    }

    .earthsmp-copy-address,
    .earthsmp-copy-label {
        padding-inline: 0.75rem;
    }

    .earthsmp-copy-address {
        min-width: 0;
        overflow: hidden;
        font-size: 0.78rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .earthsmp-copy-label {
        font-size: 0.7rem;
    }

    .earthsmp-scroll-cue span {
        display: none;
    }

    .earthsmp-quick-grid {
        grid-template-columns: 1fr;
    }

    .earthsmp-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .earthsmp-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 479.98px) {
    .earthsmp-brand-logo {
        max-width: 145px;
        height: 36px;
    }

    .earthsmp-hero-brand > img {
        max-height: 100px;
    }

    .earthsmp-version {
        width: 100%;
    }

    .earthsmp-copy-button {
        flex-direction: column;
    }

    .earthsmp-copy-address,
    .earthsmp-copy-label {
        width: 100%;
        min-height: 48px;
    }

    .earthsmp-quick-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .earthsmp-quick-card > .bi-arrow-up-right {
        display: none;
    }

    .earthsmp-shop-notice {
        flex-direction: column;
    }
}

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

@media print {
    .earthsmp-header,
    .earthsmp-footer,
    .earthsmp-scroll-cue {
        display: none !important;
    }

    .earthsmp-site {
        color: #111;
        background: #fff;
    }

    .earthsmp-main,
    .earthsmp-section {
        padding-block: 1rem;
    }
}

/* Reference-led compact visual system — v1.1 */

.earthsmp-site {
    --earth-ink: #060609;
    --earth-page: #0d0d16;
    --earth-panel: #111119;
    --earth-row: #181822;
    --earth-border: #25252e;
    --earth-border-strong: #2b2c37;
    --earth-text: #f6f5f7;
    --earth-text-muted: #85848b;
    --earth-text-soft: #626169;
    --earth-gold: #ffb52d;
    --earth-gold-light: #fed061;
    --earth-gold-orange: #f8a528;
    --earth-gold-ink: #71380c;
    --earth-bronze: #c66a20;
    --earth-radius-sm: 0.45rem;
    --earth-radius: 0.72rem;
    --earth-radius-lg: 0.9rem;
    --earth-font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
    --earth-font-body: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

    background: var(--earth-page);
    font-family: var(--earth-font-body);
    font-size: 1rem;
    line-height: 1.5;
}

.earthsmp-site :focus-visible {
    outline-color: var(--earth-gold-light);
}

.earthsmp-header,
.earthsmp-navbar {
    min-height: 60px;
}

.earthsmp-header {
    background: rgba(6, 6, 9, 0.97);
    border-color: #181820;
    backdrop-filter: blur(14px);
}

.earthsmp-navbar {
    padding-block: 0;
}

.earthsmp-navbar > .container {
    width: min(calc(100% - 2rem), 1176px);
    max-width: 1176px;
}

@media (min-width: 992px) {
    .earthsmp-navbar > .container > .earthsmp-brand {
        display: none;
    }

    .earthsmp-navbar .navbar-collapse {
        display: grid !important;
        width: 100%;
        grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    }

    .earthsmp-navbar-links {
        grid-column: 2;
        justify-self: center;
        margin: 0 !important;
    }

    .earthsmp-navbar-account {
        grid-column: 3;
        justify-self: end;
    }
}

.earthsmp-navbar-links {
    align-items: center;
    gap: 0;
}

.earthsmp-navbar-links > .nav-item {
    position: relative;
}

.earthsmp-navbar-links > .nav-item + .nav-item::before {
    position: absolute;
    top: 50%;
    left: -2px;
    width: 4px;
    height: 4px;
    content: "";
    background: #292933;
    border-radius: 50%;
    transform: translateY(-50%);
}

.earthsmp-navbar .nav-link {
    min-height: 60px;
    padding: 0.3rem 1.25rem !important;
    color: #77767d;
    font-family: var(--earth-font-display);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.earthsmp-navbar .nav-link:hover,
.earthsmp-navbar .nav-link:focus-visible {
    color: var(--earth-text);
}

.earthsmp-navbar .nav-link.active {
    color: var(--earth-gold);
}

.earthsmp-navbar-links > .nav-item > .nav-link::after {
    display: none;
}

.earthsmp-player-space,
.earthsmp-user-link {
    min-width: 174px;
    min-height: 30px !important;
    justify-content: center;
    margin-block: 15px;
    padding: 0.25rem 0.75rem !important;
    color: #8a8990 !important;
    background: rgba(16, 16, 23, 0.82);
    border: 1px solid #25252e;
    border-radius: 0.35rem;
    font-size: 0.72rem !important;
}

.earthsmp-player-space:hover,
.earthsmp-user-link:hover {
    color: var(--earth-text) !important;
    border-color: #3b3b45;
}

.earthsmp-player-space__chevron {
    margin-left: 0.2rem;
    color: #55545d;
    font-size: 0.62rem;
}

/* Shared server hero */

.earthsmp-server-hero {
    --earth-hero-image: none;
    position: relative;
    display: grid;
    min-height: 425px;
    overflow: hidden;
    isolation: isolate;
    background-color: #11131a;
    background-image:
        linear-gradient(180deg, rgba(8, 8, 12, 0.5) 0%, rgba(8, 8, 12, 0.45) 46%, var(--earth-page) 100%),
        radial-gradient(circle at 50% 45%, transparent 0, rgba(6, 6, 9, 0.1) 35%, rgba(6, 6, 9, 0.58) 100%),
        var(--earth-hero-image);
    background-position: center;
    background-size: cover;
    place-items: center;
}

.earthsmp-server-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(90deg, rgba(6, 6, 9, 0.5), transparent 28%, transparent 72%, rgba(6, 6, 9, 0.5));
}

.earthsmp-server-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 155px;
    content: "";
    background: linear-gradient(180deg, transparent, var(--earth-page));
}

.earthsmp-server-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(calc(100% - 2rem), 760px);
    align-items: center;
    padding: 3.5rem 0 4rem;
    flex-direction: column;
    text-align: center;
}

.earthsmp-server-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.8rem;
    color: #fff !important;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}

.earthsmp-server-wordmark > img:not(.earthsmp-server-wordmark__icon) {
    width: auto;
    max-width: min(230px, 70vw);
    max-height: 130px;
}

.earthsmp-server-wordmark__icon {
    width: 66px;
    height: 66px;
    image-rendering: pixelated;
}

.earthsmp-server-wordmark > span {
    font-family: var(--earth-font-display);
    font-size: clamp(3.25rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 0.8;
    text-transform: uppercase;
}

.earthsmp-server-join {
    position: relative;
    display: inline-flex;
    width: min(250px, 82vw);
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    color: var(--earth-gold-ink);
    background: linear-gradient(90deg, var(--earth-gold-light), var(--earth-gold-orange));
    border: 2px solid rgba(255, 239, 190, 0.78);
    border-radius: 0.55rem;
    box-shadow:
        0 5px 0 #9b560c,
        0 0 0 6px rgba(25, 25, 34, 0.86),
        0 16px 28px rgba(0, 0, 0, 0.3);
    font-family: var(--earth-font-display);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition: transform 150ms ease, filter 150ms ease;
}

.earthsmp-server-join:hover,
.earthsmp-server-join:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.earthsmp-server-join.is-copied {
    background: linear-gradient(90deg, #89e2a6, #49c879);
    border-color: #c8f5d7;
    box-shadow:
        0 5px 0 #1d7b43,
        0 0 0 6px rgba(25, 25, 34, 0.86),
        0 16px 28px rgba(0, 0, 0, 0.3);
}

.earthsmp-server-join__feedback {
    position: absolute;
    top: calc(100% + 13px);
    left: 50%;
    width: max-content;
    color: #9a999f;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    opacity: 0;
    pointer-events: none;
    text-transform: none;
    transform: translate(-50%, -3px);
    transition: opacity 150ms ease, transform 150ms ease;
}

.earthsmp-server-join.is-copied .earthsmp-server-join__feedback {
    opacity: 1;
    transform: translate(-50%, 0);
}

.earthsmp-server-join--missing {
    color: #f9ca67;
    background: rgba(6, 6, 9, 0.72);
    border-color: rgba(255, 181, 45, 0.45);
}

.earthsmp-server-hero__status {
    margin: 1.75rem 0 0;
    color: #8b8a90;
    font-size: 0.88rem;
    font-weight: 500;
}

.earthsmp-server-hero__status strong {
    color: #fff;
    font-weight: 700;
}

/* Main content and native Azuriom components */

.earthsmp-main,
.earthsmp-section > .container,
.earthsmp-footer > .container {
    width: min(calc(100% - 2rem), 1005px);
    max-width: 1005px;
}

.earthsmp-main {
    min-height: 320px;
    padding-block: 3.5rem 5.5rem;
}

.earthsmp-main > h1,
.earthsmp-main .content-title,
.earthsmp-main > .row h1 {
    font-size: clamp(2rem, 4vw, 2.55rem);
    letter-spacing: 0.02em;
}

.earthsmp-site .card {
    background: var(--earth-panel);
    border-color: var(--earth-border);
    border-radius: var(--earth-radius-lg);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.earthsmp-site .card-header,
.earthsmp-site .card-footer,
.earthsmp-site .list-group-item {
    background: var(--earth-row);
    border-color: var(--earth-border);
}

.earthsmp-site .btn {
    border-radius: 0.55rem;
    font-family: var(--earth-font-display);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.earthsmp-site .btn-primary {
    color: var(--earth-gold-ink);
    background: linear-gradient(90deg, var(--earth-gold-light), var(--earth-gold-orange));
    border: 2px solid rgba(255, 239, 190, 0.68);
    box-shadow: 0 4px 0 #9b560c, 0 0 0 5px rgba(25, 25, 34, 0.75);
}

.earthsmp-site .btn-primary:hover,
.earthsmp-site .btn-primary:focus-visible,
.earthsmp-site .btn-primary:active {
    color: #572b09;
    background: linear-gradient(90deg, #ffda79, #ffb238);
    border-color: rgba(255, 247, 218, 0.85);
}

.earthsmp-site .form-control,
.earthsmp-site .form-select,
.earthsmp-site .input-group-text {
    min-height: 44px;
    background: #0b0b12;
    border-color: var(--earth-border-strong);
    border-radius: 0.55rem;
    font-family: var(--earth-font-body);
}

.earthsmp-site .form-control:focus,
.earthsmp-site .form-select:focus {
    border-color: var(--earth-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 181, 45, 0.14);
}

.earthsmp-site .table {
    --bs-table-color: var(--earth-text);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--earth-border);
    --bs-table-striped-color: var(--earth-text);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-hover-color: var(--earth-text);
    --bs-table-hover-bg: rgba(255, 181, 45, 0.04);
}

.earthsmp-site .table-dark {
    --bs-table-bg: var(--earth-row);
    --bs-table-border-color: var(--earth-border);
}

.earthsmp-site .progress {
    height: 5px;
    background: #050509;
    border-radius: 999px;
}

.earthsmp-site .progress-bar {
    background: linear-gradient(90deg, var(--earth-gold-light), var(--earth-gold-orange));
    border-radius: inherit;
}

/* Vote plugin */

.earthsmp-main--vote-home {
    padding-top: 3rem;
}

.earthsmp-vote-intro {
    max-width: 660px;
    margin: 0 auto 3.9rem;
    text-align: center;
}

.earthsmp-vote-intro h1 {
    margin: 0;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: clamp(2rem, 4vw, 2.35rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.earthsmp-vote-intro h1 span {
    color: var(--earth-gold);
}

.earthsmp-vote-intro p {
    max-width: 620px;
    margin: 1.3rem auto 0;
    color: var(--earth-text-muted);
    font-size: 1.02rem;
    line-height: 1.55;
}

.earthsmp-vote-choice {
    position: relative;
    min-height: 180px;
    overflow: visible;
}

.earthsmp-vote-choice > .card-body {
    display: grid;
    min-height: 180px;
    align-items: center;
    padding: 2rem 17rem 2rem 2.5rem;
}

.earthsmp-vote-choice__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.earthsmp-vote-choice h2 {
    margin: 0;
    color: var(--earth-text);
    font-size: 1.35rem;
    font-weight: 700;
}

.earthsmp-vote-choice__content > p {
    margin: 0.45rem 0 1.25rem;
    color: var(--earth-text-muted);
    font-size: 0.88rem;
}

.earthsmp-vote-choice .row {
    --bs-gutter-x: 0;
}

.earthsmp-vote-choice .form-control {
    text-align: center;
}

.earthsmp-vote-choice .btn-primary {
    min-width: 180px;
    min-height: 42px;
}

.earthsmp-vote-sites {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.earthsmp-vote-sites .earthsmp-vote-site {
    margin: 0 !important;
}

.earthsmp-vote-character {
    position: absolute;
    z-index: 1;
    right: -1rem;
    bottom: -1px;
    width: 260px;
    max-width: none;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.42));
    pointer-events: none;
}

.earthsmp-vote-character.is-fallback {
    right: 2.5rem;
    bottom: 2.25rem;
    width: 112px;
    height: 112px;
    border: 1px solid var(--earth-border);
    border-radius: 0.75rem;
    background: var(--earth-surface);
    object-fit: cover;
    image-rendering: pixelated;
}

.earthsmp-vote-ranking {
    margin-top: 2.35rem;
}

.earthsmp-vote-ranking > .card-body {
    padding: 2.45rem;
}

.earthsmp-vote-ranking__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 2rem;
}

.earthsmp-vote-ranking__header h2 {
    margin: 0;
    color: var(--earth-text);
    font-family: var(--earth-font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.earthsmp-vote-goal {
    width: 210px;
}

.earthsmp-vote-goal__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    gap: 0.75rem;
    color: #77767f;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.earthsmp-vote-goal__label strong {
    color: var(--earth-gold);
    font-size: 0.78rem;
}

.earthsmp-vote-ranking__grid {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.1rem;
    list-style: none;
}

.earthsmp-vote-ranking__grid > li {
    display: grid;
    min-width: 0;
    min-height: 62px;
    align-items: center;
    padding: 0.55rem 0.9rem;
    background: var(--earth-row);
    border: 1px solid var(--earth-border-strong);
    border-radius: 0.68rem;
    grid-template-columns: 42px 18px minmax(0, 1fr) auto;
    gap: 0.65rem;
}

.earthsmp-vote-ranking__grid > li.is-first {
    grid-column: 1 / -1;
}

.earthsmp-vote-ranking__grid > li.is-last-centered {
    width: calc((100% - 1.1rem) / 2);
    grid-column: 1 / -1;
    justify-self: center;
}

.earthsmp-vote-avatar {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 0.28rem;
    image-rendering: pixelated;
}

.earthsmp-vote-trophy {
    color: #74737b;
    font-size: 0.95rem;
}

.is-first .earthsmp-vote-trophy {
    color: var(--earth-gold);
}

.earthsmp-vote-player {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 0.35rem;
}

.earthsmp-vote-player strong {
    overflow: hidden;
    color: var(--earth-text);
    font-size: 1.08rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.earthsmp-vote-player small {
    flex: 0 0 auto;
    color: #77767f;
    font-size: 0.74rem;
}

.earthsmp-vote-player small b {
    color: var(--earth-gold);
    font-weight: 800;
}

.earthsmp-vote-rank {
    color: #707079;
    font-size: 1.55rem;
    font-weight: 800;
}

.is-first .earthsmp-vote-rank {
    color: var(--earth-gold);
}

.earthsmp-vote-ranking__grid > li:nth-child(3) .earthsmp-vote-rank,
.earthsmp-vote-ranking__grid > li:nth-child(3) .earthsmp-vote-trophy {
    color: var(--earth-bronze);
}

.earthsmp-vote-ranking__grid > .earthsmp-vote-ranking__empty {
    display: grid;
    min-height: 120px;
    color: var(--earth-text-muted);
    border-style: dashed;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    place-items: center;
    text-align: center;
}

.earthsmp-vote-personal {
    margin: 1.25rem 0 0;
    color: var(--earth-text-muted);
    text-align: center;
}

.earthsmp-vote-rewards > .card-body {
    padding: 2rem 2.45rem;
}

.earthsmp-vote-rewards .card-title {
    margin-bottom: 1.25rem;
    font-size: 1.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Compact home rhythm */

.earthsmp-home-alerts {
    margin-top: 0;
}

.earthsmp-section {
    padding-block: clamp(4.5rem, 7vw, 6rem);
}

.earthsmp-pillar-card,
.earthsmp-quick-card,
.earthsmp-server-card,
.earthsmp-news-card {
    background: var(--earth-panel);
    border-color: var(--earth-border);
    border-radius: var(--earth-radius-lg);
}

/* Centered reference-style footer */

.earthsmp-footer {
    min-height: 450px;
    padding-block: 5rem 1.5rem;
    background:
        radial-gradient(circle at 50% 18%, rgba(198, 106, 32, 0.1), transparent 17rem),
        var(--earth-page);
    border-color: #1c1c24;
}

.earthsmp-footer-centered {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.earthsmp-footer-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.6rem;
    gap: 0.65rem;
    color: #fff !important;
}

.earthsmp-footer-wordmark img {
    width: auto;
    max-width: 165px;
    height: 70px;
    object-fit: contain;
    image-rendering: pixelated;
}

.earthsmp-footer-wordmark span {
    font-size: 2.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 0.9;
}

.earthsmp-footer-centered > h2 {
    margin: 0;
    color: var(--earth-text);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.earthsmp-footer-intro {
    max-width: 680px;
    margin: 1rem auto 0;
    color: var(--earth-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.earthsmp-social-links {
    justify-content: center;
    margin-top: 1.6rem;
    gap: 1.25rem;
}

.earthsmp-social-links a {
    width: 28px;
    height: 28px;
    color: #69686f;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 1.15rem;
}

.earthsmp-social-links a:hover {
    color: var(--earth-gold);
    background: transparent;
}

.earthsmp-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.7rem;
    gap: 0.75rem 2.2rem;
}

.earthsmp-footer-nav a {
    color: #77767d;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.earthsmp-footer-nav a:hover {
    color: var(--earth-gold);
}

.earthsmp-footer-centered .earthsmp-legal-links {
    justify-content: center;
    max-width: 760px;
    margin-top: 1.6rem;
    padding-top: 1.25rem;
    border-color: #1b1b23;
}

.earthsmp-footer-centered .earthsmp-legal-links > a,
.earthsmp-footer-centered .earthsmp-legal-links > span {
    color: #65646b;
    font-size: 0.72rem;
}

.earthsmp-footer-seller,
.earthsmp-footer-required {
    justify-content: center;
    margin: 0.9rem 0 0;
    color: #6e6d74;
    font-size: 0.7rem;
}

.earthsmp-footer-seller a {
    color: var(--earth-gold);
}

.earthsmp-footer-centered .earthsmp-minecraft-disclaimer {
    justify-items: center;
    max-width: 820px;
    margin-top: 1.25rem;
    padding: 0;
    color: #65646b;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.67rem;
}

.earthsmp-footer-centered .earthsmp-minecraft-disclaimer strong {
    color: #88878e;
    font-size: 0.68rem;
}

.earthsmp-footer-centered .earthsmp-official-links {
    justify-content: center;
}

.earthsmp-footer-centered .earthsmp-privacy-notice {
    max-width: 760px;
    margin: 0.8rem auto 0;
    color: #57565d;
    font-size: 0.68rem;
    text-align: center;
}

.earthsmp-footer-centered .earthsmp-footer-bottom {
    justify-content: center;
    width: min(100%, 620px);
    margin-top: 1.25rem;
    padding-top: 1rem;
    color: #55545b;
    border-top: 1px solid #1b1b23;
    font-size: 0.68rem;
}

@media (max-width: 991.98px) {
    .earthsmp-header,
    .earthsmp-navbar {
        min-height: 68px;
    }

    .earthsmp-navbar {
        padding-block: 0.4rem;
    }

    .earthsmp-navbar > .container {
        width: min(calc(100% - 2rem), 1005px);
    }

    .earthsmp-navbar .earthsmp-brand {
        display: inline-flex;
    }

    .earthsmp-navbar .navbar-collapse {
        padding: 0.7rem 0 1rem;
        background: rgba(6, 6, 9, 0.98);
        border-top-color: var(--earth-border);
    }

    .earthsmp-navbar-links > .nav-item + .nav-item::before {
        display: none;
    }

    .earthsmp-navbar .nav-link {
        min-height: 44px;
        justify-content: center;
    }

    .earthsmp-player-space,
    .earthsmp-user-link {
        width: 100%;
        margin-block: 0;
    }

    .earthsmp-server-hero {
        min-height: 400px;
    }

    .earthsmp-vote-character {
        right: -0.5rem;
        width: 220px;
        max-height: 380px;
    }

    .earthsmp-vote-choice > .card-body {
        padding-right: 14rem;
    }
}

@media (max-width: 767.98px) {
    .earthsmp-server-hero {
        min-height: 370px;
    }

    .earthsmp-server-hero__content {
        padding-block: 3rem 3.5rem;
    }

    .earthsmp-server-wordmark {
        margin-bottom: 1.7rem;
    }

    .earthsmp-server-wordmark__icon {
        width: 54px;
        height: 54px;
    }

    .earthsmp-server-wordmark > span {
        font-size: clamp(2.85rem, 14vw, 3.7rem);
    }

    .earthsmp-main {
        width: min(calc(100% - 2rem), 1005px);
        padding-block: 3rem 4.5rem;
    }

    .earthsmp-vote-intro {
        margin-bottom: 2.5rem;
    }

    .earthsmp-vote-intro h1 {
        font-size: clamp(1.85rem, 9vw, 2.25rem);
    }

    .earthsmp-vote-choice > .card-body {
        min-height: 220px;
        padding: 1.75rem;
    }

    .earthsmp-vote-character {
        display: none;
    }

    .earthsmp-vote-ranking > .card-body,
    .earthsmp-vote-rewards > .card-body {
        padding: 1.5rem;
    }

    .earthsmp-vote-ranking__header {
        flex-direction: column;
    }

    .earthsmp-vote-goal {
        width: 100%;
    }

    .earthsmp-vote-ranking__grid {
        grid-template-columns: 1fr;
    }

    .earthsmp-vote-ranking__grid > li.is-first,
    .earthsmp-vote-ranking__grid > li.is-last-centered {
        width: 100%;
        grid-column: auto;
    }

    .earthsmp-footer {
        padding-top: 4rem;
    }
}

@media (max-width: 519.98px) {
    .earthsmp-vote-sites {
        align-items: stretch;
        flex-direction: column;
    }

    .earthsmp-vote-sites .earthsmp-vote-site,
    .earthsmp-vote-choice .btn-primary {
        width: 100%;
        min-width: 0;
    }

    .earthsmp-vote-ranking__grid > li {
        grid-template-columns: 38px 16px minmax(0, 1fr) auto;
        padding-inline: 0.7rem;
        gap: 0.45rem;
    }

    .earthsmp-vote-avatar {
        width: 38px;
        height: 38px;
    }

    .earthsmp-vote-player {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .earthsmp-footer-nav {
        gap-inline: 1rem;
    }
}
