:root {
    --bg: #060404;
    --bg-soft: #120b08;
    --panel: rgba(20, 10, 8, 0.92);
    --panel-strong: rgba(14, 8, 6, 0.96);
    --line: rgba(227, 178, 76, 0.18);
    --line-strong: #d9a847;
    --line-bright: #f4cf81;
    --text: #fbf2de;
    --muted: #cfbea2;
    --accent: #d2a03d;
    --accent-soft: rgba(210, 160, 61, 0.16);
    --accent-deep: #805114;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    --danger: #ffb693;
    --success: #ecd371;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: Verdana, Tahoma, sans-serif;
    background:
        linear-gradient(180deg, rgba(8, 5, 4, 0.66), rgba(8, 5, 4, 0.88)),
        radial-gradient(circle at 50% 100%, rgba(111, 62, 13, 0.18), transparent 28%),
        url("village-golden.png") center center / cover no-repeat fixed,
        linear-gradient(135deg, #120b08 0%, #090606 52%, #170d0b 100%);
    overflow-x: hidden;
}

body.is-modal-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 14%, rgba(255, 255, 255, 0.012) 14% 19%, transparent 19% 100%),
        linear-gradient(295deg, transparent 0 18%, rgba(255, 255, 255, 0.01) 18% 22%, transparent 22% 100%);
    opacity: 0.7;
}

a {
    color: inherit;
}

code {
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(244, 207, 129, 0.1);
    background: rgba(210, 160, 61, 0.08);
    color: #f6dc9f;
    font-family: Consolas, "Courier New", monospace;
}

.site-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-backdrop__flare,
.site-backdrop__shadow {
    position: absolute;
    filter: blur(18px);
}

.site-backdrop__flare--left {
    inset: auto auto 6% 6%;
    width: 38vw;
    height: 30vh;
    background: radial-gradient(circle, rgba(120, 69, 18, 0.18), transparent 70%);
}

.site-backdrop__flare--right {
    inset: 8% 8% auto auto;
    width: 34vw;
    height: 32vh;
    background: radial-gradient(circle, rgba(210, 160, 61, 0.08), transparent 72%);
}

.site-backdrop__shadow--left {
    left: -12vw;
    top: 0;
    width: 40vw;
    height: 100vh;
    background: linear-gradient(130deg, rgba(0, 0, 0, 0.68), transparent 60%);
}

.site-backdrop__shadow--right {
    right: -16vw;
    top: 0;
    width: 42vw;
    height: 100vh;
    background: linear-gradient(230deg, rgba(0, 0, 0, 0.68), transparent 60%);
}

.site-shell {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 22px 0;
}

.content {
    display: grid;
    gap: 22px;
}

.topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

.server-strip {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 48px;
}

.server-strip__copy {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
}

.server-copy,
.server-online {
    border: 1px solid rgba(244, 207, 129, 0.12);
    background: linear-gradient(180deg, rgba(22, 11, 9, 0.86), rgba(12, 7, 6, 0.94));
    box-shadow: var(--shadow);
}

.server-copy {
    position: relative;
    display: grid;
    flex: 1 1 0;
    gap: 4px;
    width: 100%;
    min-width: 239px;
    min-height: 70px;
    padding: 7px 12px 8px;
    box-sizing: border-box;
    align-content: center;
    border-color: rgba(244, 207, 129, 0.18);
    background:
        radial-gradient(circle at top right, rgba(255, 214, 120, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(30, 15, 12, 0.92), rgba(12, 7, 6, 0.96));
    overflow: hidden;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 180ms ease;
}

.server-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 48%);
    pointer-events: none;
}

.server-copy:hover {
    border-color: rgba(244, 207, 129, 0.38);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.server-copy:active {
    border-color: rgba(244, 207, 129, 0.42);
}

.server-copy__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.server-copy__title,
.server-online__label {
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.server-copy__badge {
    padding: 2px 5px;
    border: 1px solid rgba(244, 207, 129, 0.2);
    background: rgba(255, 214, 120, 0.08);
    color: #f8ddb0;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.server-copy__value {
    color: #fff;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.1;
    word-break: break-word;
}

.server-copy__hint {
    display: block;
    color: rgba(251, 242, 222, 0.72);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 160ms ease, opacity 160ms ease;
    opacity: 0.92;
}

.server-copy:hover .server-copy__hint {
    color: var(--line-bright);
}

.server-copy.is-copied {
    border-color: rgba(236, 211, 113, 0.52);
    background:
        radial-gradient(circle at top right, rgba(236, 211, 113, 0.24), transparent 42%),
        linear-gradient(180deg, rgba(34, 26, 12, 0.94), rgba(14, 10, 6, 0.98));
    box-shadow: 0 0 0 1px rgba(236, 211, 113, 0.12), 0 20px 44px rgba(0, 0, 0, 0.36);
}

.server-copy.is-copied .server-copy__hint {
    color: var(--success);
}

.server-online {
    display: grid;
    align-content: center;
    min-width: 118px;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    padding: 6px 12px;
    box-sizing: border-box;
    text-align: right;
}

.server-online__value {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand__mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(244, 207, 129, 0.2);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 214, 120, 0.32), transparent 42%),
        linear-gradient(180deg, rgba(34, 17, 13, 0.96), rgba(12, 7, 6, 0.96));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.brand__mark::before,
.brand__mark::after {
    content: "";
    position: absolute;
    background: rgba(255, 214, 120, 0.18);
}

.brand__mark::before {
    inset: 7px auto 7px 7px;
    width: 4px;
}

.brand__mark::after {
    inset: auto 7px 7px 7px;
    height: 4px;
}

.brand__mark-core {
    position: relative;
    z-index: 1;
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 0.9rem;
    letter-spacing: -0.08em;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 16px rgba(255, 214, 120, 0.18);
}

.brand__text {
    display: grid;
    gap: 2px;
}

.brand__kicker {
    color: rgba(255, 221, 171, 0.7);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.brand__main {
    display: block;
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.92;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(244, 207, 129, 0.2);
    background: linear-gradient(180deg, rgba(30, 15, 12, 0.92), rgba(12, 7, 6, 0.96));
    color: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    background: currentColor;
    transition: transform 140ms ease, opacity 140ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav a {
    position: relative;
    padding: 8px 0 16px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.96rem;
}

.nav a.is-active {
    font-weight: 700;
}

.nav a.is-active::after,
.nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 4px;
    background: var(--accent);
}

.showcase,
.notice,
.latest-section,
.doc-page,
.status-card {
    position: relative;
}

.showcase {
    min-height: auto;
    display: grid;
    align-items: start;
    padding: 0 0 28px;
}

.content > .showcase:first-child {
    margin-top: -12px;
}

.showcase__inner {
    display: grid;
    grid-template-columns: 446px 1fr;
    gap: 30px;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
}

.catalog-category-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 214, 120, 0.08);
    background: linear-gradient(180deg, rgba(22, 11, 9, 0.9), rgba(17, 9, 8, 0.94));
    box-shadow: var(--shadow);
}

.catalog-category-bar .catalog-panel-head {
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
}

.catalog-category-bar .catalog-panel-head::before {
    display: none;
}

.catalog-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.catalog-filter {
    padding: 10px 18px;
    border: 1px solid rgba(244, 207, 129, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.catalog-filter:hover,
.catalog-filter.is-active {
    border-color: rgba(244, 207, 129, 0.3);
    background: linear-gradient(135deg, rgba(150, 100, 25, 0.32), rgba(150, 100, 25, 0.08));
    transform: translateY(-1px);
}

.is-filter-hidden {
    display: none !important;
}

.catalog-sidebar,
.catalog-detail,
.notice,
.latest-section,
.doc-page,
.status-card {
    border: 1px solid rgba(255, 214, 120, 0.08);
    background: linear-gradient(180deg, rgba(22, 11, 9, 0.9), rgba(17, 9, 8, 0.94));
    box-shadow: var(--shadow);
}

.catalog-sidebar,
.catalog-detail {
    min-height: 600px;
}

.catalog-sidebar,
.catalog-details {
    height: 600px;
}

.catalog-sidebar {
    display: flex;
    flex-direction: column;
}

.catalog-rank-list {
    flex: 1;
    max-height: none;
}

.catalog-detail {
    height: 600px;
}

.catalog-panel-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 28px 16px;
    background: linear-gradient(180deg, rgba(37, 18, 14, 0.75), rgba(20, 11, 9, 0.4));
}

.catalog-panel-head::before,
.notice::before,
.latest-section::before,
.doc-page::before,
.status-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--line-strong);
}

.catalog-panel-head strong {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.catalog-panel-head--periods {
    justify-content: space-between;
    align-items: flex-start;
}

.catalog-rank-list {
    display: grid;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255, 255, 255, 0.03);
    align-items: start;
    align-content: start;
}

.catalog-rank-list::-webkit-scrollbar {
    width: 10px;
}

.catalog-rank-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

.catalog-rank-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0b25c, #8f5d1a);
}

.catalog-rank {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 62px;
    padding: 0 28px;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}

.catalog-rank:hover,
.catalog-rank.is-active {
    background: linear-gradient(90deg, rgba(150, 100, 25, 0.34), rgba(150, 100, 25, 0.1) 75%, transparent);
}

.catalog-rank__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(244, 207, 129, 0.14);
    background: rgba(255, 255, 255, 0.02);
}

.catalog-rank__icon img {
    display: block;
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    object-fit: contain;
}

.catalog-rank__meta strong {
    display: block;
    font-size: 1.06rem;
    font-weight: 700;
}

.catalog-rank__price {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
}

.catalog-details {
    position: relative;
}

.catalog-detail {
    display: none;
}

.catalog-detail.is-active {
    display: flex;
    flex-direction: column;
}

.catalog-period-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.catalog-period {
    padding: 0 2px 10px;
    border: 0;
    border-bottom: 4px solid transparent;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
}

.catalog-period.is-active,
.catalog-period:hover {
    border-bottom-color: var(--accent);
}

.catalog-detail__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 22px 28px 28px;
    overflow: hidden;
}

.catalog-detail__main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(255, 255, 255, 0.03);
}

.catalog-detail__main::-webkit-scrollbar {
    width: 10px;
}

.catalog-detail__main::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

.catalog-detail__main::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #e0b25c, #8f5d1a);
}

.catalog-label {
    margin: 0 0 16px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.catalog-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-feature-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 16px;
    font-size: 0.98rem;
    line-height: 1.45;
}

.catalog-feature-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}

.catalog-kit-box {
    margin-top: 24px;
    order: 2;
}

.catalog-kit-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.catalog-kit-box__head .catalog-label {
    margin-bottom: 0;
}

.catalog-kit-box__note {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.catalog-kit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.catalog-kit-card {
    display: grid;
    width: min(100%, 320px);
    justify-items: stretch;
    align-content: start;
    overflow: hidden;
    border: 1px solid rgba(244, 207, 129, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.catalog-kit-card img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
    max-height: none;
    margin: 0;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.24);
    image-rendering: pixelated;
}

.catalog-kit-card__meta {
    display: grid;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.catalog-kit-card__meta strong {
    color: #ffffff;
    font-size: 0.84rem;
}

.catalog-kit-card__meta span {
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.catalog-command-box {
    margin-top: 22px;
    order: 1;
    padding: 16px 18px;
    border: 1px solid rgba(244, 207, 129, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.catalog-command-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-command-list li {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border: 1px solid rgba(244, 207, 129, 0.14);
    background:
        linear-gradient(135deg, rgba(244, 207, 129, 0.12), rgba(255, 255, 255, 0.03)),
        rgba(13, 17, 26, 0.55);
    color: var(--text);
    line-height: 1.35;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.catalog-detail__bottom {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    flex-shrink: 0;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(244, 207, 129, 0.08);
    background: linear-gradient(180deg, rgba(17, 9, 8, 0), rgba(17, 9, 8, 0.9) 32%);
}

.catalog-purchase__price span {
    display: block;
    margin-bottom: 6px;
    color: var(--accent);
    font-weight: 700;
}

.catalog-purchase__price strong {
    font-family: "Arial Black", Impact, sans-serif;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.catalog-purchase__actions {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-server-field {
    position: relative;
    display: grid;
    gap: 10px;
    min-width: 240px;
}

.catalog-server-field span {
    color: var(--accent);
    font-weight: 700;
}

.catalog-server-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 54px;
    padding: 0 50px 0 16px;
    border: 1px solid rgba(244, 207, 129, 0.28);
    background:
        linear-gradient(180deg, rgba(48, 24, 16, 0.95), rgba(20, 10, 8, 0.98)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 48%);
    color: #fff4dc;
    box-shadow:
        inset 0 1px 0 rgba(255, 244, 220, 0.05),
        inset 0 0 0 1px rgba(120, 72, 18, 0.18);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
    background-image:
        linear-gradient(180deg, rgba(48, 24, 16, 0.95), rgba(20, 10, 8, 0.98)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 48%),
        linear-gradient(45deg, transparent 50%, #f4cf81 50%),
        linear-gradient(135deg, #f4cf81 50%, transparent 50%);
    background-repeat: no-repeat;
    background-size:
        auto,
        auto,
        8px 8px,
        8px 8px;
    background-position:
        0 0,
        0 0,
        calc(100% - 24px) calc(50% - 3px),
        calc(100% - 18px) calc(50% - 3px);
}

.catalog-server-select:hover {
    border-color: rgba(244, 207, 129, 0.45);
    background-image:
        linear-gradient(180deg, rgba(56, 28, 18, 0.98), rgba(24, 12, 8, 0.98)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 52%),
        linear-gradient(45deg, transparent 50%, #f6ddb0 50%),
        linear-gradient(135deg, #f6ddb0 50%, transparent 50%);
}

.catalog-server-select:focus {
    outline: none;
    border-color: var(--line-bright);
    box-shadow:
        0 0 0 3px rgba(244, 207, 129, 0.14),
        inset 0 1px 0 rgba(255, 244, 220, 0.06),
        inset 0 0 0 1px rgba(120, 72, 18, 0.2);
}

.catalog-server-select::-ms-expand {
    display: none;
}

.catalog-server-select option {
    background: #1a100c;
    color: #fff4dc;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 30px;
    border: 1px solid var(--accent);
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background: rgba(210, 160, 61, 0.08);
}

.button--primary {
    min-width: 190px;
}

.button--wide {
    width: 100%;
}

.catalog-purchase__button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.notice,
.latest-section,
.doc-page,
.status-card {
    padding: 28px;
}

.notice ul,
.doc-page ol,
.doc-page ul {
    padding-left: 18px;
}

.notice h2,
.latest-section h2,
.doc-page h2,
.doc-page h1,
.status-card h1,
.modal__card h2 {
    margin: 0 0 14px;
    font-family: "Arial Black", Impact, sans-serif;
    line-height: 1;
    text-transform: uppercase;
}

.doc-page h2 {
    margin-top: 28px;
    font-size: 1.1rem;
}

.notice p,
.notice li,
.doc-page p,
.doc-page li,
.status-card p,
.modal__summary,
.buy-form__hint,
.latest-item p,
.latest-item__meta small {
    color: var(--muted);
    line-height: 1.6;
}

.notice--error,
.status-card__error {
    color: var(--danger);
}

.notice--success {
    color: var(--success);
}

.status-card__success {
    color: var(--success);
}

.latest-section__header {
    margin-bottom: 16px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.latest-list {
    display: grid;
    gap: 10px;
}

.latest-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 214, 120, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.latest-item strong,
.latest-item p {
    margin: 0;
}

.latest-item__meta {
    text-align: right;
}

.latest-item__meta span {
    display: block;
    color: var(--accent);
    font-weight: 700;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
}

.modal.is-open {
    display: block;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(4px);
}

.modal__card {
    position: relative;
    max-width: 680px;
    margin: 6vh auto;
    padding: 28px;
    border: 1px solid rgba(244, 207, 129, 0.14);
    background: linear-gradient(180deg, rgba(25, 13, 10, 0.98), rgba(14, 8, 6, 0.98));
    box-shadow: var(--shadow);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(244, 207, 129, 0.14);
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.buy-form {
    display: grid;
    gap: 16px;
}

.buy-form__selection,
.status-card__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(244, 207, 129, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.status-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buy-form__selection small,
.status-card__grid small {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
}

.field {
    display: grid;
    gap: 8px;
}

.field input,
.field select {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(244, 207, 129, 0.14);
    background: rgba(0, 0, 0, 0.22);
    color: var(--text);
    font: inherit;
}

.field select {
    cursor: pointer;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--line-bright);
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 20px 22px 24px;
    background: rgba(9, 6, 5, 0.86);
    color: var(--muted);
}

.footer p {
    margin: 0 0 6px;
    line-height: 1.4;
}

.footer__copy {
    text-align: right;
    white-space: nowrap;
}

.footer a:hover {
    color: var(--line-bright);
}

.orders-page {
    display: grid;
    gap: 18px;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.orders-header h2,
.orders-header p {
    margin: 0;
}

.orders-login,
.orders-bulk-actions {
    display: grid;
    gap: 14px;
    max-width: 420px;
}

.orders-filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.orders-filter-actions {
    display: grid;
    gap: 10px;
}

.orders-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.orders-summary__card {
    padding: 16px 18px;
    border: 1px solid rgba(244, 207, 129, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.orders-summary__card small,
.orders-summary__card strong {
    display: block;
}

.orders-summary__card small {
    margin-bottom: 6px;
    color: var(--muted);
}

.orders-summary__card strong {
    color: var(--accent);
    font-size: 1.4rem;
}

.orders-empty {
    margin: 0;
    color: var(--muted);
}

.orders-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(244, 207, 129, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}

.orders-table th,
.orders-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(244, 207, 129, 0.08);
    text-align: left;
    vertical-align: top;
}

.orders-table th {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.orders-table td strong,
.orders-table td small {
    display: block;
}

.orders-table td small {
    margin-top: 4px;
    color: var(--muted);
    line-height: 1.4;
}

.orders-code {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.9rem;
}

.orders-row-action .button {
    min-height: 42px;
    padding: 0 16px;
}

.orders-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(244, 207, 129, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.orders-badge--completed {
    color: var(--success);
}

.orders-badge--pending {
    color: var(--accent);
}

.orders-badge--paid_needs_delivery,
.orders-badge--failed {
    color: var(--danger);
}

@media (max-width: 1120px) {
    .orders-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .orders-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase {
        min-height: auto;
        padding-top: 0;
    }

    .content > .showcase:first-child {
        margin-top: -6px;
    }

    .showcase__inner {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar,
    .catalog-detail,
    .catalog-details {
        min-height: auto;
        height: auto;
    }

    .catalog-detail__body {
        min-height: auto;
        overflow: visible;
    }

    .catalog-detail__main {
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 820px) {
    .orders-header {
        flex-direction: column;
        align-items: stretch;
    }

    .orders-filters {
        grid-template-columns: 1fr 1fr;
    }

    .site-shell {
        padding: 14px 14px 0;
    }

    .server-strip,
    .footer,
    .latest-item,
    .catalog-detail__bottom {
        display: grid;
    }

    .topbar {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 14px;
        min-height: auto;
    }

    .server-online {
        text-align: left;
    }

    .server-copy {
        min-width: 100%;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 20;
        display: none;
        gap: 10px;
        padding: 16px 18px;
        border: 1px solid rgba(244, 207, 129, 0.14);
        background: linear-gradient(180deg, rgba(25, 13, 10, 0.98), rgba(12, 7, 6, 0.98));
        box-shadow: var(--shadow);
    }

    .nav.is-open {
        display: grid;
    }

    .nav a {
        padding: 10px 0;
    }

    .nav a.is-active::after,
    .nav a:hover::after {
        bottom: 0;
    }

    .catalog-panel-head,
    .catalog-rank,
    .catalog-detail__body,
    .notice,
    .latest-section,
    .doc-page,
    .status-card,
    .modal__card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .catalog-category-bar {
        align-items: stretch;
        gap: 14px;
        padding: 16px 18px;
        flex-direction: column;
    }

    .catalog-panel-head--periods {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 14px;
    }

    .catalog-period-list {
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        margin: 0 -2px;
        scrollbar-width: thin;
    }

    .catalog-period {
        flex: 0 0 auto;
        min-width: 112px;
        padding: 11px 14px;
        border: 1px solid rgba(244, 207, 129, 0.12);
        border-bottom-width: 1px;
        background: rgba(255, 255, 255, 0.03);
        text-align: center;
        white-space: nowrap;
    }

    .catalog-period.is-active,
    .catalog-period:hover {
        border-color: rgba(244, 207, 129, 0.34);
        background: linear-gradient(180deg, rgba(164, 109, 31, 0.34), rgba(91, 54, 15, 0.18));
    }

    .catalog-rank {
        grid-template-columns: 52px 1fr;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .catalog-rank-list {
        max-height: 420px;
    }

    .catalog-rank__price {
        grid-column: 2;
    }

    .catalog-kit-grid {
        gap: 10px;
    }

    .catalog-purchase__actions {
        width: 100%;
    }

    .catalog-server-field {
        flex: 1 1 100%;
        min-width: 0;
    }

    .buy-form__selection,
    .status-card__grid {
        grid-template-columns: 1fr;
    }

    .latest-item__meta,
    .footer__copy {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .orders-filters,
    .orders-summary {
        grid-template-columns: 1fr;
    }

    .orders-filter-actions {
        grid-template-columns: 1fr;
    }

    .brand__text {
        width: 100%;
    }

    .server-copy {
        min-width: 100%;
    }

    .catalog-filter-list {
        gap: 10px;
    }

    .catalog-filter {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    .brand {
        gap: 10px;
    }

    .brand__mark {
        width: 44px;
        height: 44px;
    }

    .brand__kicker {
        font-size: 0.58rem;
        letter-spacing: 0.18em;
    }

    .brand__main {
        font-size: 1.55rem;
    }

    .server-copy__value {
        font-size: 0.82rem;
    }

    .nav {
        gap: 14px 18px;
    }

    .nav a {
        padding-bottom: 12px;
    }

    .catalog-panel-head--periods,
    .catalog-detail__bottom {
        align-items: start;
    }

    .catalog-period-list {
        gap: 8px;
        padding-bottom: 6px;
    }

    .catalog-kit-card {
        width: min(100%, 320px);
    }

    .catalog-purchase__price strong {
        font-size: 1.7rem;
    }

    .catalog-purchase__actions {
        width: 100%;
    }

    .button--primary {
        width: 100%;
    }
}

/* Server information sits after the storefront. */
.smp-info{margin:40px 0 24px;padding:clamp(20px,4vw,38px);border:1px solid rgba(255,210,130,.16);border-radius:20px;background:rgba(17,22,23,.88);color:#c6cece;line-height:1.8}
.smp-info h1{font-size:clamp(24px,3vw,36px);line-height:1.25;color:#ffe2a7;margin:12px 0 20px}
.smp-info h2{font-size:22px;color:#f4e6cf;margin:28px 0 12px}.smp-info p{max-width:82ch;margin:12px 0}.smp-info a{color:#eac582;text-decoration:underline;text-underline-offset:4px}
.smp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.smp-info details{padding:14px 0;border-top:1px solid rgba(255,255,255,.1)}.smp-info summary{cursor:pointer;color:#f4e6cf}.smp-info code{color:#83d9c2}.smp-info ol{padding-left:24px}@media(max-width:680px){.smp-grid{grid-template-columns:1fr;gap:0}}
