.game-tool-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 88px;
}

.game-tool-back {
    display: inline-flex;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 14px;
}

.game-tool-back:hover { color: #fff; }

.game-tool-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(119, 87, 255, 0.18), transparent 38%),
        linear-gradient(145deg, rgba(22, 22, 28, 0.98), rgba(10, 10, 13, 0.98));
}

.game-tool-kicker,
.game-market-label,
.game-market-status span,
.game-market-actions a > span {
    color: rgba(190, 174, 255, 0.86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.game-tool-hero h1 {
    margin: 8px 0 12px;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.02;
}

.game-tool-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

.game-tool-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.game-tool-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.025);
}

.game-tool-tabs a:hover,
.game-tool-tabs a.is-active {
    color: #fff;
    border-color: rgba(176, 151, 255, 0.52);
    background: rgba(126, 92, 255, 0.14);
}

.game-market-status {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 22px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 201, 92, 0.16);
    border-radius: 20px;
    background: rgba(255, 196, 79, 0.055);
}

.game-market-status-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    background: rgba(255, 204, 102, 0.12);
    font-size: 24px;
}

.game-market-status h2,
.game-market-panel h2 {
    margin: 4px 0 7px;
    font-size: 22px;
}

.game-market-status p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
}

.game-market-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 18px;
    margin-top: 22px;
}

.game-market-panel {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.026);
}

.game-market-featured {
    background:
        radial-gradient(circle at 88% 12%, rgba(91, 211, 147, 0.11), transparent 30%),
        rgba(255, 255, 255, 0.026);
}

.game-market-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.game-market-badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.game-market-recommendation {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
}

.game-market-recommendation strong { font-size: 28px; }
.game-market-recommendation span { font-size: 30px; font-weight: 850; }

.game-market-empty {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.56);
    line-height: 1.75;
}

.game-market-list-panel { margin-top: 18px; }

.game-market-filters {
    display: flex;
    gap: 8px;
}

.game-market-filters button {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.42);
    background: transparent;
}

.game-market-filters button.is-active {
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.05);
}

.game-market-list { margin-top: 18px; }

.game-market-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px 110px 140px;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.game-market-row:first-child { border-top: 0; }
.game-market-row small { display: block; color: rgba(255, 255, 255, 0.42); }

.game-market-empty-large {
    display: grid;
    gap: 6px;
    min-height: 190px;
    place-content: center;
    text-align: center;
}

.game-market-empty-large strong {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

.game-market-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.game-market-actions a {
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.025);
}

.game-market-actions a:hover {
    transform: translateY(-1px);
    border-color: rgba(176, 151, 255, 0.34);
}

.game-market-actions strong { font-size: 18px; }
.game-market-actions small { color: rgba(255, 255, 255, 0.55); line-height: 1.5; }

@media (max-width: 820px) {
    .game-tool-shell {
        width: min(100% - 24px, 720px);
        padding: 18px 0 92px;
    }

    .game-tool-hero {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        border-radius: 22px;
    }

    .game-tool-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }

    .game-tool-tabs a { flex: 0 0 auto; }

    .game-market-grid,
    .game-market-actions {
        grid-template-columns: 1fr;
    }

    .game-market-panel { padding: 20px; }
    .game-market-panel-head { align-items: center; }
    .game-market-filters { display: none; }

    .game-market-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .game-market-row > :nth-child(3),
    .game-market-row > :nth-child(4) { display: none; }
}
