.armory-body {
    --armory-bg: #0d0d0f;
    --armory-panel: #151518;
    --armory-panel-strong: #1b1b20;
    --armory-line: rgba(255, 255, 255, 0.1);
    --armory-line-strong: rgba(255, 255, 255, 0.18);
    --armory-ink: #f7f7fb;
    --armory-muted: #9f9dac;
    --armory-violet: #7363ff;
    --armory-violet-soft: #aaa2ff;
    --armory-green: #00df5a;
    --armory-danger: #ff6d82;
    background: var(--armory-bg);
}

.armory-body.armory-lock {
    overflow: hidden;
}

.armory-body [hidden] {
    display: none !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.armory button,
.armory input,
.armory select,
.armory textarea,
.armory-layer button,
.armory-layer input,
.armory-layer textarea,
.loadout-trigger {
    font: inherit;
}

.armory button,
.armory-layer button,
.loadout-trigger {
    cursor: pointer;
}

.armory button:focus-visible,
.armory input:focus-visible,
.armory select:focus-visible,
.armory-layer button:focus-visible,
.armory-layer input:focus-visible,
.armory-layer textarea:focus-visible,
.loadout-trigger:focus-visible {
    outline: 2px solid var(--armory-green);
    outline-offset: 3px;
}

.armory {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    overflow: clip;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 68px 68px,
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 68px 68px,
        radial-gradient(circle at 75% 6%, rgba(103, 87, 244, 0.16), transparent 28%),
        var(--armory-bg);
}

.payment-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(100% - 48px, 1680px);
    margin: 22px auto 6px;
    padding: 18px 20px;
    border: 1px solid rgba(115, 99, 255, 0.42);
    background: linear-gradient(110deg, rgba(115, 99, 255, 0.14), rgba(255, 255, 255, 0.025));
    outline: none;
}

.payment-result[hidden] {
    display: none;
}

.payment-result__mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(166, 156, 255, 0.58);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.payment-result:not(.is-success):not(.is-error) .payment-result__mark::before {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #a69cff;
    border-radius: 50%;
    content: "";
    animation: armory-spin 760ms linear infinite;
}

.payment-result.is-success {
    border-color: rgba(38, 219, 112, 0.42);
    background: linear-gradient(110deg, rgba(38, 219, 112, 0.12), rgba(255, 255, 255, 0.025));
}

.payment-result.is-success .payment-result__mark {
    border-color: rgba(38, 219, 112, 0.62);
    color: var(--armory-green);
}

.payment-result.is-error {
    border-color: rgba(255, 94, 120, 0.42);
    background: linear-gradient(110deg, rgba(255, 94, 120, 0.11), rgba(255, 255, 255, 0.025));
}

.payment-result.is-error .payment-result__mark {
    border-color: rgba(255, 94, 120, 0.62);
    color: #ff7b91;
}

.payment-result__copy small,
.payment-result__copy span {
    color: var(--armory-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-result__copy h2 {
    margin: 3px 0 4px;
    color: #fff;
    font-size: clamp(19px, 2vw, 25px);
    letter-spacing: -0.025em;
}

.payment-result__copy p {
    margin: 0 0 5px;
    color: var(--armory-muted);
    font-size: 13px;
    line-height: 1.5;
}

.payment-result > a {
    min-width: 116px;
    padding: 11px 14px;
    border: 1px solid rgba(166, 156, 255, 0.48);
    color: #dedaff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.payment-result > a:hover,
.payment-result > a:focus-visible {
    border-color: var(--armory-violet);
    background: var(--armory-violet);
    color: #fff;
}

.armory::before {
    content: "";
    position: absolute;
    top: 0;
    right: -220px;
    z-index: -1;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(115, 99, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(115, 99, 255, 0.025), 0 0 0 180px rgba(115, 99, 255, 0.018);
}

.armory-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 48px;
    width: min(100% - 48px, 1680px);
    margin: 0 auto;
    padding: 68px 0 44px;
}

.armory-hero__copy {
    max-width: 850px;
}

.armory-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--armory-violet-soft);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.armory-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--armory-green);
    box-shadow: 0 0 0 5px rgba(0, 223, 90, 0.12), 0 0 20px rgba(0, 223, 90, 0.55);
}

.armory-hero h1 {
    margin: 18px 0 18px;
    color: var(--armory-ink);
    font-size: clamp(44px, 6vw, 88px);
    font-weight: 880;
    letter-spacing: -0.066em;
    line-height: 0.92;
}

.armory-hero h1 em {
    color: transparent;
    font-style: normal;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.58);
}

.armory-hero__copy > p {
    max-width: 650px;
    margin: 0;
    color: var(--armory-muted);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.65;
}

.armory-hero__telemetry {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    min-width: min(100%, 410px);
    border: 1px solid var(--armory-line);
    background: rgba(21, 21, 24, 0.84);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    backdrop-filter: blur(14px);
}

.armory-hero__telemetry div {
    min-width: 0;
    padding: 22px 18px;
    border-right: 1px solid var(--armory-line);
}

.armory-hero__telemetry div:last-child {
    border-right: 0;
}

.armory-hero__telemetry span,
.armory-hero__telemetry strong {
    display: block;
}

.armory-hero__telemetry span {
    margin-bottom: 8px;
    color: var(--armory-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.armory-hero__telemetry strong {
    overflow: hidden;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.armory-ticker {
    display: flex;
    width: 100%;
    min-height: 76px;
    overflow: hidden;
    border-block: 1px solid var(--armory-line);
    background: rgba(18, 18, 21, 0.92);
}

.armory-ticker__label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 0 30px;
    border-right: 1px solid var(--armory-line-strong);
    background: #17171a;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.armory-ticker__label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--armory-green);
    box-shadow: 0 0 12px var(--armory-green);
}

.armory-ticker__viewport {
    min-width: 0;
    overflow: hidden;
}

.armory-ticker__track {
    display: flex;
    width: max-content;
    min-height: 74px;
    animation: armory-marquee 52s linear infinite;
}

.armory-ticker:hover .armory-ticker__track {
    animation-play-state: paused;
}

.armory-ticker__item {
    display: grid;
    grid-template-columns: 50px minmax(126px, 1fr) auto;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    gap: 0 13px;
    width: 300px;
    padding: 10px 20px;
    border-right: 1px solid var(--armory-line);
    color: var(--armory-ink);
}

.armory-ticker__item img {
    grid-row: 1 / 3;
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.42));
}

.armory-ticker__item strong {
    align-self: end;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.armory-ticker__item small {
    align-self: start;
    color: var(--armory-muted);
    font-size: 10px;
}

.armory-ticker__item b {
    grid-row: 1 / 3;
    color: var(--armory-green);
    font-size: 13px;
}

@keyframes armory-marquee {
    to { transform: translateX(-50%); }
}

.armory-mobile-tools {
    display: none;
}

.armory-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 30px;
    width: min(100% - 48px, 1680px);
    margin: 0 auto;
    padding: 34px 0 100px;
}

.armory-filters {
    position: sticky;
    top: calc(var(--site-header-height) + 22px);
    align-self: start;
    max-height: calc(100vh - var(--site-header-height) - 44px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid var(--armory-line);
    background: rgba(20, 20, 23, 0.96);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.22);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    scrollbar-width: thin;
    scrollbar-color: rgba(115, 99, 255, 0.6) transparent;
}

.armory-filters::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12px;
    width: 64px;
    height: 2px;
    background: var(--armory-violet);
    box-shadow: 0 0 20px rgba(115, 99, 255, 0.7);
}

.armory-filters__head,
.armory-catalog__head,
.loadout-drawer > header,
.request-drawer > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.armory-filters__head span,
.armory-catalog__head > div > span,
.loadout-drawer > header span,
.request-drawer > header span {
    display: block;
    margin-bottom: 5px;
    color: var(--armory-violet-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.armory-filters__head h2,
.armory-catalog__head h2,
.loadout-drawer > header h2,
.request-drawer > header h2 {
    margin: 0;
    color: var(--armory-ink);
    font-size: 24px;
    letter-spacing: -0.035em;
}

.armory-filters__head > button {
    display: none;
}

.armory-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 12px;
    padding: 0 14px;
    border: 1px solid var(--armory-line);
    background: #101012;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.armory-search:focus-within {
    border-color: rgba(115, 99, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(115, 99, 255, 0.12);
}

.armory-search > span {
    color: var(--armory-violet-soft);
    font-size: 23px;
}

.armory-search input {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--armory-ink);
}

.armory-search input::placeholder {
    color: #6f6d7b;
}

.armory-quick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.armory-quick button {
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid var(--armory-line);
    background: #1a1a1e;
    color: var(--armory-muted);
    font-size: 11px;
    font-weight: 750;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.armory-quick button:hover,
.armory-quick button.is-active {
    border-color: rgba(115, 99, 255, 0.6);
    background: rgba(115, 99, 255, 0.14);
    color: #fff;
}

.armory-quick button:last-child {
    grid-column: 1 / -1;
    color: var(--armory-violet-soft);
}

.armory-filter-grid {
    display: grid;
    gap: 11px;
}

.armory-field {
    display: grid;
    gap: 7px;
}

.armory-field > span,
.armory-price legend,
.armory-price label > span {
    color: var(--armory-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.armory-field select,
.armory-price input,
.armory-sort select,
.armory-mobile-tools select {
    width: 100%;
    min-height: 43px;
    padding: 0 35px 0 12px;
    border: 1px solid var(--armory-line);
    border-radius: 0;
    outline: 0;
    background: #101012;
    color: var(--armory-ink);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.armory-field select:focus,
.armory-price input:focus,
.armory-sort select:focus,
.armory-mobile-tools select:focus {
    border-color: rgba(115, 99, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(115, 99, 255, 0.1);
}

.armory-price {
    margin: 20px 0 0;
    padding: 19px 0 0;
    border: 0;
    border-top: 1px solid var(--armory-line);
}

.armory-price legend {
    float: none;
    width: auto;
    padding: 0;
    margin-bottom: 11px;
}

.armory-price__range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
    align-items: end;
    gap: 8px;
    width: 100%;
}

.armory-price label {
    display: grid;
    gap: 6px;
}

.armory-price input {
    padding: 0 10px;
}

.armory-price i {
    width: 12px;
    height: 1px;
    margin-bottom: 21px;
    background: var(--armory-line-strong);
}

.armory-filters__apply {
    display: none;
}

.armory-catalog {
    min-width: 0;
}

.armory-catalog__head {
    min-height: 72px;
    margin-bottom: 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--armory-line);
}

.armory-catalog__head h2 {
    font-size: 32px;
}

.armory-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.armory-sort > span {
    color: var(--armory-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.armory-sort select {
    width: 190px;
}

.armory-notice {
    margin-bottom: 16px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 193, 99, 0.32);
    background: rgba(255, 193, 99, 0.08);
    color: #ffd69b;
    font-size: 13px;
    line-height: 1.55;
}

.armory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.armory-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 365px;
    overflow: hidden;
    border: 1px solid var(--armory-line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 38%),
        #161619;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.armory-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 2;
    width: 52px;
    height: 2px;
    background: var(--card-accent, var(--armory-violet));
    box-shadow: 0 0 18px var(--card-accent, rgba(115, 99, 255, 0.75));
}

.armory-card:hover,
.armory-card:focus-within {
    z-index: 2;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34), inset 0 0 40px rgba(115, 99, 255, 0.035);
    transform: translateY(-4px);
}

.armory-card__open {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.armory-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 45px;
    padding: 12px 14px 0;
}

.armory-card__top span {
    overflow: hidden;
    color: var(--armory-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.armory-card__top b {
    flex: 0 0 auto;
    color: var(--armory-green);
    font-size: 10px;
    font-weight: 800;
}

.armory-card__media {
    position: relative;
    display: grid;
    min-height: 174px;
    place-items: center;
    margin: 2px 14px 0;
    overflow: hidden;
    background: radial-gradient(circle, rgba(115, 99, 255, 0.12), transparent 65%);
}

.armory-card__media::after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 16px;
    left: 8%;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.44);
    filter: blur(12px);
}

.armory-card__media img {
    position: relative;
    z-index: 1;
    width: min(88%, 220px);
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.4));
    transition: transform 240ms ease, filter 240ms ease;
}

.armory-card:hover .armory-card__media img {
    filter: drop-shadow(0 24px 19px rgba(0, 0, 0, 0.5));
    transform: scale(1.055) rotate(-1.2deg);
}

.armory-card__body {
    display: grid;
    gap: 5px;
    padding: 9px 16px 15px;
}

.armory-card__body small {
    overflow: hidden;
    color: var(--card-accent, var(--armory-violet-soft));
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.armory-card__body h3 {
    display: -webkit-box;
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    color: var(--armory-ink);
    font-size: 16px;
    font-weight: 780;
    letter-spacing: -0.02em;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.armory-card__body p {
    margin: 0;
    overflow: hidden;
    color: var(--armory-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.armory-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding: 13px 15px;
    border-top: 1px solid var(--armory-line);
    background: rgba(0, 0, 0, 0.13);
}

.armory-card__price span,
.armory-card__price strong {
    display: block;
}

.armory-card__price span {
    margin-bottom: 2px;
    color: var(--armory-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.armory-card__price strong {
    color: #fff;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.armory-card__add {
    position: relative;
    z-index: 3;
    min-width: 78px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(115, 99, 255, 0.46);
    background: rgba(115, 99, 255, 0.13);
    color: #dedaff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.armory-card__add:hover:not(:disabled) {
    border-color: var(--armory-violet);
    background: var(--armory-violet);
    color: #fff;
}

.armory-card__add:disabled {
    cursor: not-allowed;
    opacity: 0.52;
}

.armory-card.is-cache-only .armory-card__add {
    border-color: var(--armory-line);
    background: rgba(255, 255, 255, 0.035);
    color: var(--armory-muted);
}

.armory-skeleton {
    min-height: 365px;
    overflow: hidden;
    border: 1px solid var(--armory-line);
    background: #151518;
}

.armory-skeleton::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    min-height: 365px;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.055) 42%, transparent 64%) -200% 0 / 200% 100% no-repeat;
    animation: armory-shimmer 1.4s infinite;
}

@keyframes armory-shimmer {
    to { background-position: 200% 0; }
}

.armory-empty {
    display: grid;
    min-height: 420px;
    place-items: center;
    align-content: center;
    padding: 50px 24px;
    border: 1px dashed var(--armory-line-strong);
    color: var(--armory-muted);
    text-align: center;
}

.armory-empty > span {
    color: var(--armory-violet-soft);
    font-size: 52px;
}

.armory-empty h3 {
    margin: 12px 0 4px;
    color: var(--armory-ink);
    font-size: 24px;
}

.armory-empty p {
    margin: 0 0 20px;
}

.armory-empty button,
.armory-more button {
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid rgba(115, 99, 255, 0.55);
    background: rgba(115, 99, 255, 0.13);
    color: #dedaff;
    font-weight: 800;
}

.armory-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 90px;
    color: var(--armory-muted);
    font-size: 12px;
}

.armory-more button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.loadout-trigger {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 44;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 54px;
    padding: 0 9px 0 19px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(135deg, #24202f, #5e51ea);
    color: #fff;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 12px 30px rgba(95, 82, 234, 0.28);
}

.loadout-trigger > span {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.loadout-trigger i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--armory-green);
    box-shadow: 0 0 13px var(--armory-green);
}

.loadout-trigger strong {
    display: grid;
    min-width: 38px;
    height: 38px;
    place-items: center;
    background: rgba(0, 0, 0, 0.28);
    font-size: 13px;
}

.armory-layer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
}

.armory-layer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 6, 0.78);
    backdrop-filter: blur(9px);
    animation: armory-fade-in 160ms ease both;
}

@keyframes armory-fade-in {
    from { opacity: 0; }
}

.armory-close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--armory-line);
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    font-size: 25px;
    line-height: 1;
}

.item-dialog {
    position: relative;
    z-index: 1;
    align-self: center;
    width: min(calc(100% - 40px), 1080px);
    max-height: min(88vh, 820px);
    margin: auto;
    overflow: auto;
    border: 1px solid var(--armory-line-strong);
    outline: 0;
    background: #141417;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    animation: armory-dialog-in 200ms ease both;
}

@keyframes armory-dialog-in {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
}

.item-dialog > .armory-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
}

.item-dialog__main {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
}

.item-dialog__media {
    position: relative;
    display: grid;
    min-height: 470px;
    place-items: center;
    padding: 55px;
    overflow: hidden;
    border-right: 1px solid var(--armory-line);
    background:
        radial-gradient(circle at 52% 45%, rgba(115, 99, 255, 0.22), transparent 45%),
        linear-gradient(135deg, #1b1b20, #101012);
}

.item-dialog__media::before,
.item-dialog__media::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 50%;
}

.item-dialog__media::before {
    width: 340px;
    height: 340px;
}

.item-dialog__media::after {
    width: 250px;
    height: 250px;
}

.item-dialog__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    filter: drop-shadow(0 30px 25px rgba(0, 0, 0, 0.55));
}

.item-dialog__info {
    padding: 66px 52px 42px;
}

.item-dialog__eyebrow {
    display: inline-flex;
    padding: 6px 9px;
    border: 1px solid rgba(115, 99, 255, 0.35);
    background: rgba(115, 99, 255, 0.1);
    color: var(--armory-violet-soft);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.item-dialog__info h2 {
    margin: 16px 0 9px;
    color: #fff;
    font-size: clamp(28px, 4vw, 45px);
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.item-dialog__quality {
    margin: 0;
    color: var(--armory-muted);
    font-size: 14px;
}

.item-dialog__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 28px 0;
    border: 1px solid var(--armory-line);
    background: var(--armory-line);
}

.item-dialog__specs div {
    min-width: 0;
    padding: 13px 14px;
    background: #151519;
}

.item-dialog__specs span,
.item-dialog__specs strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-dialog__specs span {
    margin-bottom: 4px;
    color: var(--armory-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.item-dialog__specs strong {
    color: #fff;
    font-size: 12px;
}

.item-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid var(--armory-line);
}

.item-dialog__price span,
.item-dialog__price strong {
    display: block;
}

.item-dialog__price span {
    color: var(--armory-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.item-dialog__price strong {
    margin-top: 4px;
    color: #fff;
    font-size: 28px;
}

.item-dialog__actions button {
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    background: var(--armory-violet);
    color: #fff;
    font-weight: 850;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.item-dialog__actions button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.item-dialog__similar {
    padding: 28px 34px 34px;
    border-top: 1px solid var(--armory-line);
}

.item-dialog__similar header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.item-dialog__similar h3 {
    margin: 0;
    color: #fff;
    font-size: 19px;
}

.item-dialog__similar header span {
    color: var(--armory-muted);
    font-size: 11px;
}

.item-dialog__similar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.item-dialog__similar-card {
    display: grid;
    grid-template-columns: 62px 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    min-width: 0;
    min-height: 78px;
    padding: 8px;
    border: 1px solid var(--armory-line);
    background: #18181c;
    color: inherit;
    text-align: left;
}

.item-dialog__similar-card:hover {
    border-color: rgba(115, 99, 255, 0.52);
}

.item-dialog__similar-card img {
    grid-row: 1 / 3;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.item-dialog__similar-card strong,
.item-dialog__similar-card span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-dialog__similar-card strong {
    align-self: end;
    font-size: 10px;
}

.item-dialog__similar-card span {
    align-self: start;
    color: var(--armory-green);
    font-size: 10px;
}

.loadout-drawer,
.request-drawer {
    position: relative;
    z-index: 1;
    justify-self: end;
    width: min(100%, 520px);
    height: 100%;
    overflow-y: auto;
    border-left: 1px solid var(--armory-line-strong);
    outline: 0;
    background: #141417;
    box-shadow: -32px 0 90px rgba(0, 0, 0, 0.48);
    animation: armory-drawer-in 220ms ease both;
}

@keyframes armory-drawer-in {
    from { transform: translateX(100%); }
}

.loadout-drawer > header,
.request-drawer > header {
    min-height: 106px;
    padding: 25px 28px;
    border-bottom: 1px solid var(--armory-line);
    background: #18181c;
}

.loadout-drawer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--armory-line);
    color: var(--armory-muted);
    font-size: 12px;
}

.loadout-drawer__summary b {
    color: #fff;
}

.loadout-drawer__summary strong {
    color: var(--armory-green);
    font-size: 21px;
}

.loadout-drawer__items {
    display: grid;
    align-content: start;
    gap: 9px;
    min-height: calc(100% - 290px);
    padding: 18px 20px;
}

.loadout-empty {
    display: grid;
    min-height: 300px;
    place-items: center;
    align-content: center;
    color: var(--armory-muted);
    text-align: center;
}

.loadout-empty span {
    color: var(--armory-violet-soft);
    font-size: 48px;
}

.loadout-empty strong {
    margin: 10px 0 5px;
    color: #fff;
}

.loadout-line {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 88px;
    padding: 10px;
    border: 1px solid var(--armory-line);
    background: #19191d;
}

.loadout-line img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    background: radial-gradient(circle, rgba(115, 99, 255, 0.12), transparent 65%);
}

.loadout-line__copy {
    min-width: 0;
}

.loadout-line__copy strong,
.loadout-line__copy span,
.loadout-line__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.loadout-line__copy strong {
    color: #fff;
    font-size: 13px;
}

.loadout-line__copy span {
    margin: 4px 0;
    color: var(--armory-muted);
    font-size: 10px;
}

.loadout-line__copy small {
    color: var(--armory-green);
    font-size: 12px;
    font-weight: 800;
}

.loadout-line__side {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.loadout-line__side b {
    color: var(--armory-violet-soft);
    font-size: 11px;
}

.loadout-line__side button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--armory-line);
    background: transparent;
    color: var(--armory-muted);
}

.loadout-line__side button:hover {
    border-color: rgba(255, 109, 130, 0.5);
    color: var(--armory-danger);
}

.loadout-drawer__warning {
    margin: 0 20px 12px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 193, 99, 0.32);
    background: rgba(255, 193, 99, 0.07);
    color: #ffd69b;
    font-size: 11px;
    line-height: 1.5;
}

.loadout-drawer > footer {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 9px;
    padding: 18px 20px;
    border-top: 1px solid var(--armory-line);
    background: rgba(20, 20, 23, 0.96);
    backdrop-filter: blur(14px);
}

.loadout-drawer > footer button {
    min-height: 50px;
    border: 1px solid var(--armory-line);
    font-weight: 850;
}

.loadout-clear {
    background: #1a1a1e;
    color: var(--armory-muted);
}

.loadout-checkout {
    border-color: transparent !important;
    background: var(--armory-violet);
    color: #fff;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.loadout-drawer > footer button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.request-loading,
.request-guest,
.request-form,
.request-success {
    margin: 26px;
}

.request-loading {
    display: grid;
    min-height: 300px;
    place-items: center;
    align-content: center;
    color: var(--armory-muted);
}

.request-loading span {
    width: 44px;
    height: 44px;
    border: 2px solid var(--armory-line);
    border-top-color: var(--armory-violet);
    border-radius: 50%;
    animation: armory-spin 0.8s linear infinite;
}

@keyframes armory-spin { to { transform: rotate(360deg); } }

.request-guest,
.request-success {
    display: grid;
    min-height: 430px;
    place-items: center;
    align-content: center;
    text-align: center;
}

.request-guest__mark,
.request-success > span {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(115, 99, 255, 0.45);
    border-radius: 50%;
    background: rgba(115, 99, 255, 0.13);
    color: #fff;
    font-size: 31px;
    font-weight: 900;
    box-shadow: 0 0 50px rgba(115, 99, 255, 0.2);
}

.request-success > span {
    border-color: rgba(0, 223, 90, 0.4);
    background: rgba(0, 223, 90, 0.1);
    color: var(--armory-green);
}

.request-guest h3,
.request-success h3 {
    margin: 20px 0 8px;
    color: #fff;
    font-size: 25px;
}

.request-guest p,
.request-success p {
    max-width: 360px;
    margin: 0 0 22px;
    color: var(--armory-muted);
    line-height: 1.65;
}

.request-guest a,
.request-success a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    background: var(--armory-violet);
    color: #fff;
    font-weight: 850;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.request-form {
    display: grid;
    gap: 17px;
}

.request-account {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    gap: 0 12px;
    min-height: 70px;
    padding: 10px;
    border: 1px solid var(--armory-line);
    background: #19191d;
}

.request-account img,
.request-account i {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    object-fit: cover;
}

.request-account i {
    display: grid;
    place-items: center;
    background: rgba(115, 99, 255, 0.15);
    color: #fff;
    font-style: normal;
    font-weight: 850;
}

.request-account strong {
    align-self: end;
    color: #fff;
    font-size: 13px;
}

.request-account span {
    align-self: start;
    color: var(--armory-green);
    font-size: 10px;
}

.request-readiness {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.request-readiness span {
    padding: 9px 7px;
    border: 1px solid var(--armory-line);
    background: #17171a;
    color: var(--armory-muted);
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.request-readiness span.is-ready {
    border-color: rgba(0, 223, 90, 0.28);
    background: rgba(0, 223, 90, 0.07);
    color: var(--armory-green);
}

.request-form > label {
    display: grid;
    gap: 7px;
}

.request-form > label > span {
    color: var(--armory-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.request-form > label small {
    color: #676572;
    font-size: 9px;
}

.request-form input,
.request-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--armory-line);
    border-radius: 0;
    outline: 0;
    background: #101012;
    color: #fff;
    resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
    border-color: rgba(115, 99, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(115, 99, 255, 0.1);
}

.request-form__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-block: 1px solid var(--armory-line);
    color: var(--armory-muted);
    font-size: 12px;
}

.request-form__summary strong {
    color: var(--armory-green);
    font-size: 20px;
}

.request-status {
    min-height: 20px;
    margin: 0;
    color: var(--armory-muted);
    font-size: 12px;
    line-height: 1.5;
}

.request-status.is-error {
    color: #ff9baa;
}

.request-form > button {
    min-height: 52px;
    border: 0;
    background: var(--armory-violet);
    color: #fff;
    font-weight: 850;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.request-form > button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.armory-toast {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 150;
    max-width: min(360px, calc(100% - 32px));
    padding: 13px 17px;
    border: 1px solid var(--armory-line-strong);
    background: #202025;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
    animation: armory-toast-in 180ms ease both;
}

@keyframes armory-toast-in {
    from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 1420px) {
    .armory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .item-dialog__similar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1120px) {
    .armory-hero {
        align-items: start;
        flex-direction: column;
    }

    .armory-hero__telemetry {
        width: 100%;
    }

    .armory-layout {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 20px;
    }

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

@media (max-width: 900px) {
    .payment-result {
        width: min(100% - 32px, 1680px);
    }

    .armory-hero {
        width: min(100% - 32px, 1680px);
        padding: 44px 0 30px;
    }

    .armory-hero h1 {
        font-size: clamp(42px, 12vw, 70px);
    }

    .armory-ticker__label {
        display: none;
    }

    .armory-mobile-tools {
        position: sticky;
        top: var(--site-header-height);
        z-index: 34;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 16px;
        border-block: 1px solid var(--armory-line);
        background: rgba(15, 15, 17, 0.94);
        backdrop-filter: blur(14px);
    }

    .armory-mobile-tools__filter,
    .armory-mobile-tools select {
        width: 100%;
        min-height: 44px;
        border: 1px solid var(--armory-line);
        background: #19191d;
        color: #fff;
    }

    .armory-mobile-tools__filter {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .armory-mobile-tools__filter b {
        display: grid;
        min-width: 22px;
        height: 22px;
        place-items: center;
        background: rgba(115, 99, 255, 0.2);
        color: var(--armory-violet-soft);
        font-size: 10px;
    }

    .armory-layout {
        display: block;
        width: min(100% - 32px, 1680px);
        padding-top: 24px;
    }

    .armory-filter-scrim {
        position: fixed;
        inset: 0;
        z-index: 79;
        background: rgba(4, 4, 6, 0.76);
        backdrop-filter: blur(6px);
    }

    .armory-filters {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 80;
        width: min(92vw, 390px);
        max-height: none;
        padding: 24px 22px 104px;
        clip-path: none;
        visibility: hidden;
        transform: translateX(-105%);
        transition: visibility 0s linear 220ms, transform 220ms ease;
    }

    .armory-filters.is-open {
        visibility: visible;
        transform: translateX(0);
        transition-delay: 0s;
    }

    .armory-filters__head > button {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border: 1px solid var(--armory-line);
        background: transparent;
        color: #fff;
        font-size: 24px;
    }

    .armory-filters__apply {
        position: fixed;
        bottom: 18px;
        left: 18px;
        display: block;
        width: min(calc(92vw - 36px), 354px);
        min-height: 52px;
        border: 0;
        background: var(--armory-violet);
        color: #fff;
        font-weight: 850;
    }

    .armory-sort {
        display: none;
    }

    .armory-catalog__head {
        min-height: 58px;
    }

    .armory-catalog__head h2 {
        font-size: 27px;
    }

    .item-dialog {
        width: min(calc(100% - 24px), 1080px);
        max-height: 94vh;
    }

    .item-dialog__main {
        grid-template-columns: 1fr;
    }

    .item-dialog__media {
        min-height: 300px;
        border-right: 0;
        border-bottom: 1px solid var(--armory-line);
    }

    .item-dialog__info {
        padding: 34px 24px 28px;
    }

    .loadout-trigger {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 600px) {
    .payment-result {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
    }

    .payment-result > a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .armory-hero__telemetry {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .armory-hero__telemetry div {
        padding: 16px 10px;
    }

    .armory-hero__telemetry strong {
        font-size: 14px;
    }

    .armory-ticker__item {
        width: 265px;
    }

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

    .armory-card {
        min-height: 340px;
    }

    .armory-card__media {
        min-height: 170px;
    }

    .armory-more {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .armory-more button {
        width: 100%;
    }

    .item-dialog__media {
        min-height: 250px;
        padding: 38px 24px;
    }

    .item-dialog__media img {
        max-height: 210px;
    }

    .item-dialog__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .item-dialog__actions button {
        width: 100%;
    }

    .item-dialog__similar {
        padding: 24px 18px;
    }

    .item-dialog__similar-grid {
        grid-template-columns: 1fr;
    }

    .loadout-drawer,
    .request-drawer {
        width: 100%;
    }

    .loadout-drawer > header,
    .request-drawer > header {
        padding: 20px;
    }

    .request-loading,
    .request-guest,
    .request-form,
    .request-success {
        margin: 20px;
    }

    .request-readiness {
        grid-template-columns: 1fr;
    }
}

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