:root {
    --bg: #0b0b0d;
    --panel: #121214;
    --panel-2: #19191d;
    --border: #302b25;
    --gold: #d6ad68;
    --orange: #c65b36;
    --orange-light: #df8050;
    --orange-dark: #a9452c;
    --green: #72b58c;
    --red: #d56c68;
    --muted: #969092;
    --text: #e9e3d8;
    --heading: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --body: "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
    background-image: radial-gradient(ellipse at 50% -12rem, rgba(130, 70, 43, .12), transparent 38rem);
    font-size: 16px;
    line-height: 1.6;
}

.announcement {
    height: auto;
    min-height: 32px;
    padding: 6px 12px;
    background: #271b19;
    border-bottom: 1px solid rgba(214, 173, 104, .15);
    color: #d6c5a8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .035em;
}

.site-header {
    max-width: 1280px;
    height: 76px;
    border-bottom-color: rgba(214, 173, 104, .18);
}

.brand {
    font-size: 17px;
    letter-spacing: .075em;
}

.brand strong {
    color: var(--gold);
}

.brand small {
    font-size: 9px;
    letter-spacing: .21em;
}

.main-nav,
.header-actions {
    gap: 18px;
}

.main-nav a,
.login-link {
    position: relative;
    color: #b9b2a8;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.button {
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover {
    transform: translateY(-1px);
    filter: none;
}

.button-primary {
    border: 1px solid #d59a55;
    background: #c77b42;
    color: #17110d;
    box-shadow: none;
}

.button-primary:hover {
    background: #d68a4e;
}

.button-secondary {
    border-color: #675638;
    background: transparent;
    color: #dfc58f;
}

.button-secondary:hover {
    border-color: var(--gold);
    background: rgba(214, 173, 104, .07);
}

.menu-toggle {
    width: 38px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border-color: #40372b;
    border-radius: 4px;
    font-size: 0;
}

.menu-toggle::before {
    width: 16px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -5px currentColor, 0 5px currentColor;
    content: "";
}

.hero {
    padding-top: 78px;
    padding-bottom: 48px;
}

.hero:before {
    background: radial-gradient(ellipse, rgba(180, 91, 47, .13), transparent 68%);
}

.eyebrow {
    color: #d58b58;
    font-size: 10px;
    letter-spacing: .17em;
}

.hero h1,
.error-page h1 {
    font-size: clamp(34px, 5.6vw, 61px);
    letter-spacing: .012em;
}

.hero h1 span {
    color: #d6ad68;
}

.hero-copy {
    max-width: 620px;
    color: #aaa29a;
    font-size: 17px;
}

.search-bar {
    border-color: #65543b;
    border-radius: 5px;
    background: #111113;
    box-shadow: none;
}

.search-bar input::placeholder {
    color: #77716c;
}

.filter-chips {
    gap: 7px;
}

.chip {
    padding: 5px 11px;
    border-color: #35302a;
    border-radius: 4px;
    color: #aaa29a;
    font-size: 12px;
}

.chip:hover,
.chip.selected {
    border-color: #806943;
    background: rgba(214, 173, 104, .07);
    color: #e2c68e;
}

.stat-card {
    padding: 14px 16px;
    border-color: #302b25;
    border-radius: 5px;
    background: #121214;
}

.stat-card span,
.card-stats small {
    font-size: 10px;
    letter-spacing: .09em;
}

.stat-card strong {
    font-size: 23px;
}

.section-wrap {
    max-width: 1280px;
    padding-top: 34px;
    padding-bottom: 34px;
}

.section-heading h2,
.callout h2 {
    font-size: clamp(19px, 2.7vw, 24px);
    letter-spacing: .012em;
}

.section-heading>div:after {
    background: linear-gradient(90deg, rgba(214, 173, 104, .4), transparent);
}

.text-link {
    color: #dfc58f;
    font-size: 13px;
}

.server-grid {
    gap: 16px;
}

.server-card,
.panel {
    border-color: #302b25;
    border-radius: 6px;
    background: #121214;
}

.server-card {
    transition: border-color .2s ease, transform .2s ease;
}

.server-card:hover {
    border-color: #796343;
    box-shadow: none;
    transform: translateY(-2px);
}

.server-banner {
    height: 112px;
    border-bottom-color: rgba(214, 173, 104, .35);
    background-image: radial-gradient(ellipse at 50% 70%, rgba(117, 57, 39, .42), transparent 72%), linear-gradient(140deg, #26201d, #171719 65%, #261a18);
}

.banner-mark {
    color: rgba(214, 173, 104, .35);
    text-shadow: none;
}

.vip-badge {
    border: 1px solid rgba(214, 173, 104, .4);
    border-radius: 3px;
    background: #33291d;
    color: #e1bf7d;
    letter-spacing: .08em;
}

.server-card-body {
    padding: 13px;
}

.server-logo {
    border: 1px solid #9c7744;
    border-radius: 5px;
    background: #1c1917;
    color: #d6ad68;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.server-title-row h3,
.upcoming-card-head h2 {
    color: #eee7dc;
    font-size: 14px;
    letter-spacing: .01em;
}

.server-title-row p {
    color: #969092;
    font-size: 12px;
}

.tag-row span {
    border: 1px solid #302b25;
    border-radius: 3px;
    background: #19191b;
    color: #b6ada1;
    font-size: 10px;
}

.card-stats {
    gap: 5px;
}

.card-stats>div {
    border: 1px solid rgba(255, 255, 255, .035);
    border-radius: 4px;
    background: #19191b;
}

.card-stats strong {
    font-size: 13px;
}

.vote-progress {
    background: #302b25;
}

.vote-progress span {
    background: #c77b42;
    box-shadow: none;
}

.card-actions {
    gap: 7px;
}

.card-actions .button {
    min-height: 34px;
    font-size: 11px;
}

.lower-grid {
    gap: 16px;
}

.panel {
    padding: 18px;
}

.compact h2 {
    font-size: 18px;
}

table {
    font-size: 13px;
}

th {
    color: #9c9388;
    font-size: 9px;
    letter-spacing: .12em;
}

td {
    border-bottom-color: rgba(214, 173, 104, .09);
}

tbody tr:hover {
    background: rgba(214, 173, 104, .035);
}

.rank {
    color: #d6ad68;
    font-size: 16px;
}

.page-intro h1 {
    font-size: clamp(26px, 4.5vw, 40px);
    letter-spacing: .015em;
}

.page-intro>p:last-child {
    color: #a49b92;
    font-size: 16px;
}

.filter-panel,
.notice-panel,
.empty-state {
    border-color: #302b25;
    border-radius: 6px;
    background: #121214;
}

.filter-panel label,
.stacked-form label,
.reminder-form label {
    color: #bcb3a8;
    font-size: 12px;
}

.filter-panel input,
.filter-panel select,
.stacked-form input,
.stacked-form select,
.stacked-form textarea,
.reminder-form input,
.owner-form-grid input:not([type=file]),
.owner-form-grid textarea,
.package-order-form input,
.package-order-form select,
.comparison-picker select {
    border-color: #39332d;
    border-radius: 4px;
    background: #0e0e10;
}

.filter-panel input:focus,
.filter-panel select:focus,
.stacked-form input:focus,
.stacked-form select:focus,
.stacked-form textarea:focus,
.reminder-form input:focus,
.owner-form-grid input:focus,
.owner-form-grid textarea:focus {
    outline: 1px solid rgba(214, 173, 104, .45);
    border-color: #8a7048;
}

.page-number {
    border-radius: 4px;
}

.page-number:hover,
.page-number.active {
    border-color: #d6ad68;
    background: #d6ad68;
    color: #1c1711;
}

.detail-banner {
    border-radius: 6px;
    border-bottom-color: rgba(214, 173, 104, .4);
    background-image: radial-gradient(ellipse at center, rgba(120, 59, 40, .4), transparent 70%), linear-gradient(135deg, #26201d, #171719 60%, #2d1c19);
}

.detail-logo {
    border-color: #9c7744;
    border-radius: 7px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .5);
}

.detail-title h1,
.upcoming-card-head h2 {
    letter-spacing: .01em;
}

.detail-facts>div {
    border-color: #302b25;
    border-radius: 4px;
    background: #19191b;
}

.vote-panel {
    background: linear-gradient(180deg, rgba(135, 69, 42, .08), transparent 55%), #121214;
}

.report-panel summary {
    color: #c3a77c;
}

.countdown>span {
    border-color: #423829;
    border-radius: 4px;
    background: #171719;
}

.detail-panel h2,
.link-panel h2,
.vote-panel h2,
.comparison-versus {
    color: #d6ad68;
}

.flash-message {
    border-radius: 4px;
}

.screenshot,
.lightbox {
    border-radius: 4px;
}

.blog-article,
.support-content,
.public-package,
.admin-table-panel,
.admin-review,
.admin-form-panel,
.admin-smtp-panel {
    border-radius: 5px;
}

.blog-article>h1,
.public-package-price,
.manual-payment-note h2,
.support-article h2 {
    color: #d6ad68;
}

.public-blog-cover {
    background: radial-gradient(circle at 50% 35%, rgba(160, 84, 47, .22), transparent 65%), #19191b;
}

.admin-announcement {
    background: #271b19;
}

.admin-nav {
    gap: 6px;
}

.admin-header .main-nav a {
    padding: 5px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.admin-header .main-nav a::after {
    bottom: -3px;
}

.admin-header .button {
    padding: 8px 11px;
}

.admin-stat-card {
    border-radius: 5px;
}

.admin-stat-card:hover {
    border-color: #796343;
    transform: translateY(-1px);
}

.admin-bulk-delete {
    border-radius: 4px;
    background: rgba(213, 108, 104, .035);
}

.admin-delete-button,
.admin-danger-button {
    border-radius: 4px;
}

.admin-filter-tabs a {
    border-radius: 4px;
}

.admin-smtp-panel {
    border: 1px solid #302b25;
}

.footer-grid a:hover,
.footer a:hover {
    color: #dfc58f;
}

:focus-visible {
    outline: 2px solid #d6ad68;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .hero {
        padding-top: 56px;
    }

    .main-nav a::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 43px;
    }

    .button {
        letter-spacing: .02em;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
