.final-store-page .dashboard-main {
    min-width: 0;
}

.store-command-core {
    position: relative;
    min-height: 680px;
    padding: 26px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0, 8, 16, 0.98), rgba(0, 2, 8, 0.98));
    box-shadow: 0 0 34px rgba(35, 151, 255, 0.12), inset 0 0 32px rgba(29, 230, 255, 0.04);
}

.store-command-core::before {
    position: absolute;
    inset: -1px;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--cyan), transparent 18%) top left / 100% 1px no-repeat,
        linear-gradient(180deg, var(--cyan), transparent 38%) top left / 1px 100% no-repeat,
        linear-gradient(270deg, rgba(245, 202, 85, 0.55), transparent 16%) bottom right / 100% 1px no-repeat;
    opacity: 0.62;
}

.store-space-backdrop {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(0, 3, 8, 0.98) 0 20%, rgba(0, 3, 8, 0.72) 52%, rgba(0, 3, 8, 0.86)),
        url("/assets/images/backgrounds/profiles/venus-profile-bg.png") center right / cover;
    opacity: 0.32;
    transform: scale(1.03);
}

.store-command-core::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(29, 230, 255, 0.11) 42.1% 42.32%, transparent 42.44%),
        linear-gradient(90deg, rgba(29, 230, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(29, 230, 255, 0.04) 1px, transparent 1px);
    background-size: auto, 52px 52px, 52px 52px;
    mask-image: radial-gradient(circle at 46% 50%, #000 0 22rem, transparent 52rem);
}

.store-page-heading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(74, 170, 255, 0.32);
}

.store-page-heading > div:first-child > span,
.store-market-header span,
.store-heading-state,
.store-status-kicker {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.store-page-heading h1 {
    margin: 7px 0 5px;
    color: var(--white);
    font-size: clamp(38px, 4vw, 70px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.store-page-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.store-heading-state {
    flex: 0 0 auto;
    padding: 12px 14px;
    border: 1px solid rgba(245, 202, 85, 0.46);
    color: var(--gold);
    background: rgba(28, 20, 2, 0.52);
    white-space: nowrap;
}

.store-market-panel {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    border: 1px solid rgba(74, 170, 255, 0.34);
    background: rgba(0, 3, 8, 0.82);
    backdrop-filter: blur(8px);
}

.store-market-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(74, 170, 255, 0.22);
}

.store-market-header strong {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.store-market-body {
    padding: 18px;
}

.store-intro {
    max-width: 760px;
    margin: 0;
    color: #c2d6ee;
    line-height: 1.5;
}

.final-store-page .armoury-grid,
.final-store-page .alley-grid,
.final-store-page .shipyard-grid {
    position: relative;
    z-index: 2;
}

.final-store-page .armoury-item-card,
.final-store-page .backalley-item-card,
.final-store-page .shipyard-item-card {
    border-color: rgba(74, 170, 255, 0.34);
    background: rgba(0, 5, 12, 0.92);
    box-shadow: inset 0 0 0 1px rgba(29, 230, 255, 0.025), 0 0 18px rgba(13, 90, 160, 0.09);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.final-store-page .armoury-item-card:hover,
.final-store-page .backalley-item-card:hover,
.final-store-page .shipyard-item-card:hover {
    transform: translateY(-3px);
    border-color: rgba(29, 230, 255, 0.75);
    box-shadow: 0 0 22px rgba(29, 230, 255, 0.16), inset 0 0 0 1px rgba(29, 230, 255, 0.08);
}

.final-store-page .armoury-item-art,
.final-store-page .backalley-item-art,
.final-store-page .shipyard-item-art {
    border-bottom-color: rgba(74, 170, 255, 0.3);
    background: #00030a;
}

.final-store-page .armoury-item-art img,
.final-store-page .backalley-item-art img,
.final-store-page .shipyard-item-art img {
    filter: saturate(1.08) contrast(1.05);
    transition: transform 280ms ease, filter 280ms ease;
}

.final-store-page .armoury-item-card:hover img,
.final-store-page .backalley-item-card:hover img,
.final-store-page .shipyard-item-card:hover img {
    filter: saturate(1.18) contrast(1.08);
    transform: scale(1.035);
}

.final-store-page .item-name {
    color: var(--white);
    font-weight: 900;
}

.final-store-page .item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.final-store-page .buy-row {
    display: grid;
    gap: 10px;
    align-items: center;
}

.final-store-page .buy-row input {
    min-width: 0;
    min-height: 40px;
    width: 100%;
    padding: 0 11px;
    border: 1px solid rgba(74, 170, 255, 0.42);
    background: #000;
    color: var(--white);
    font: inherit;
    font-weight: 800;
}

.final-store-page .buy-row input::placeholder {
    color: rgba(145, 168, 194, 0.76);
}

.final-store-page .buy-row input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px rgba(29, 230, 255, 0.12);
}

.final-store-page .buy-row button {
    min-height: 40px;
    border: 1px solid rgba(29, 230, 255, 0.62);
    background: rgba(7, 59, 102, 0.92);
    color: #fff;
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.final-store-page .buy-row button:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    background: rgba(12, 88, 143, 0.96);
}

.final-store-page .buy-row button.btn-secondary {
    border-color: rgba(74, 170, 255, 0.4);
    background: rgba(3, 18, 35, 0.92);
    color: #cfe3fb;
}

.final-store-page .armoury-item-content,
.final-store-page .backalley-item-content,
.final-store-page .shipyard-item-content {
    background: linear-gradient(180deg, rgba(0, 8, 16, 0.5), rgba(0, 2, 7, 0.9));
}

.final-store-page .armoury-item-stats,
.final-store-page .backalley-item-stats,
.final-store-page .shipyard-item-stats {
    border-color: rgba(74, 170, 255, 0.2);
}

.final-store-page .status-box {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    border-color: rgba(29, 230, 255, 0.3);
    background: rgba(0, 8, 15, 0.72);
}

.final-store-page .store-top-ten {
    align-self: start;
    min-height: 240px;
}

.final-store-page .top10-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.final-store-page .top10-item {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(74, 170, 255, 0.2);
    background: rgba(0, 4, 10, 0.72);
    color: var(--blue);
    text-decoration: none;
}

.final-store-page .top10-left,
.final-store-page .top10-right {
    min-width: 0;
}

.final-store-page .top10-left {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.final-store-page .top10-rank {
    color: var(--white);
    font-weight: 900;
}

.final-store-page .top10-player {
    color: var(--blue);
    font-weight: 900;
}

.final-store-page .top10-worth {
    flex: 0 0 auto;
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .store-command-core {
        min-height: auto;
        padding: 18px;
    }

    .store-page-heading,
    .store-market-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .store-heading-state {
        width: 100%;
    }
}
