.game-player-page--valorant {
    max-width: 1120px;
}

.game-player-page--valorant .game-player-page__hero,
.game-player-page--valorant .game-player-page__crosshair,
.game-player-page--valorant .game-player-page__body {
    width: 100%;
}

.game-player-page__crosshair {
    margin-bottom: 22px;
}

.valorant-player-crosshair {
    padding: 20px;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
    background: #fff;
}

.valorant-player-crosshair .prosettings-player-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.valorant-player-crosshair .prosettings-player-block__title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #16191f;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.valorant-player-crosshair .prosettings-player-block__icon {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.valorant-crosshair-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.valorant-crosshair-preview {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    height: 180px;
    overflow: hidden;
    border-radius: 5px;
    background: #44474d;
}

.valorant-crosshair-preview canvas {
    display: block;
    width: 112px;
    height: 112px;
    image-rendering: pixelated;
}

.valorant-crosshair-engagement {
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #e8ebef;
    font-size: 12px;
    font-weight: 700;
    transform: translateX(-50%);
}

.valorant-crosshair-like,
.valorant-crosshair-copy-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.valorant-crosshair-like {
    cursor: pointer;
}

.valorant-crosshair-like svg {
    display: block;
    width: 16px;
    height: 16px;
}

.valorant-crosshair-copy-count .prosettings-ui-icon {
    display: block;
    width: 16px;
    height: 16px;
    opacity: .9;
}

.valorant-crosshair-like .prosettings-ui-icon {
    color: #ef4444;
    transition: color .15s ease;
}

.valorant-crosshair-like:hover .prosettings-ui-icon,
.valorant-crosshair-like:focus-visible .prosettings-ui-icon {
    color: #dc2626;
}

.valorant-crosshair-like:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .6);
    outline-offset: 3px;
}

.valorant-crosshair-media,
.valorant-crosshair-swiper,
.valorant-crosshair-swiper .swiper,
.valorant-crosshair-swiper .swiper-wrapper,
.valorant-crosshair-swiper .swiper-slide,
.valorant-crosshair-map-slide {
    min-width: 0;
    height: 180px;
}

.valorant-crosshair-swiper {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: none;
}

.valorant-crosshair-swiper.is-pointer-locked {
    cursor: default;
}

.valorant-crosshair-map-slide {
    overflow: hidden;
    background: #30343b;
}

.valorant-crosshair-map-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.valorant-crosshair-canvas-map {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    image-rendering: pixelated;
}

.valorant-crosshair-swiper .playerCrosshairSwiper-prev,
.valorant-crosshair-swiper .playerCrosshairSwiper-next {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(17, 24, 39, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease, opacity .16s ease;
}

.valorant-crosshair-swiper .playerCrosshairSwiper-prev {
    left: 8px;
}

.valorant-crosshair-swiper .playerCrosshairSwiper-next {
    right: 8px;
}

.valorant-crosshair-swiper .prosettings-slider-nav-icon {
    width: 16px;
    height: 16px;
}

.valorant-crosshair-swiper .playerCrosshairSwiper-prev:hover,
.valorant-crosshair-swiper .playerCrosshairSwiper-next:hover,
.valorant-crosshair-swiper .playerCrosshairSwiper-prev:focus-visible,
.valorant-crosshair-swiper .playerCrosshairSwiper-next:focus-visible {
    border-color: rgba(242, 118, 34, .58);
    background: #fff8f2;
    color: var(--brand-color);
    box-shadow: 0 7px 20px rgba(15, 23, 42, .2);
    transform: translateY(-50%) scale(1.06);
    outline: none;
}

.valorant-crosshair-swiper .playerCrosshairSwiper-prev:focus-visible,
.valorant-crosshair-swiper .playerCrosshairSwiper-next:focus-visible {
    box-shadow: 0 0 0 3px rgba(242, 118, 34, .24), 0 7px 20px rgba(15, 23, 42, .18);
}

.valorant-crosshair-swiper .playerCrosshairSwiper-prev:active,
.valorant-crosshair-swiper .playerCrosshairSwiper-next:active {
    transform: translateY(-50%) scale(.96);
}

.valorant-crosshair-swiper .playerCrosshairSwiper-prev.swiper-button-disabled,
.valorant-crosshair-swiper .playerCrosshairSwiper-next.swiper-button-disabled {
    opacity: .38;
    pointer-events: none;
}

.valorant-crosshair-swiper .playerCrosshairSwiper-pagination {
    position: absolute;
    right: auto;
    bottom: 9px;
    left: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    width: auto;
    gap: 6px;
    transform: translateX(-50%);
}

.valorant-crosshair-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    background: rgba(255, 255, 255, .6);
    opacity: 1;
}

.valorant-crosshair-swiper .swiper-pagination-bullet-active {
    width: 17px;
    border-radius: 8px;
    background: var(--brand-color);
}

.valorant-crosshair-code {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin-top: 14px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 5px;
    background: #f7f8fa;
    color: #22262d;
    text-align: left;
    appearance: none;
    cursor: pointer;
}

.valorant-crosshair-code__value {
    align-self: center;
    min-width: 0;
    padding: 8px 12px;
    overflow-x: auto;
    color: #333842;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.valorant-crosshair-code__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 196px;
    padding: 8px 16px;
    border-left: 1px solid #dd691d;
    background: var(--brand-color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.valorant-crosshair-code:hover .valorant-crosshair-code__copy,
.valorant-crosshair-code:focus-visible .valorant-crosshair-code__copy {
    background: var(--brand-color-hover);
}

.valorant-crosshair-code:focus-visible {
    outline: 2px solid rgba(var(--brand-color-rgb), .35);
    outline-offset: 2px;
}

.valorant-crosshair-code.is-copied {
    border-color: #2f9e58;
}

.valorant-crosshair-code.is-copied .valorant-crosshair-code__copy {
    border-left-color: #27884b;
    background: #2f9e58;
}

.valorant-player-crosshair .prosettings-player-subblock {
    margin-top: 18px;
    padding-top: 0;
}

.valorant-player-crosshair .prosettings-player-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #1e2229;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.valorant-player-crosshair .prosettings-player-crosshair-subheading__icon {
    width: 20px;
    height: 20px;
}

.valorant-crosshair-settings {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 22px;
}

.valorant-crosshair-setting {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid #dfe3e8;
}

.valorant-crosshair-setting .prosettings-player-setting__label {
    color: #656b75;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.valorant-crosshair-setting .prosettings-player-setting__value {
    color: #171a20;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.valorant-crosshair-settings__section {
    grid-column: 1 / -1;
    margin: 18px 0 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #cfd4dc;
    color: #262a31;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.valorant-crosshair-history {
    margin-top: 22px;
}

.valorant-crosshair-history__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 180px));
    gap: 14px;
    justify-content: start;
}

.valorant-crosshair-history__item {
    min-width: 0;
}

.valorant-crosshair-history__preview {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 5px;
    background: #44474d;
}

.valorant-crosshair-history__preview canvas {
    display: block;
    width: 112px;
    height: 112px;
    image-rendering: pixelated;
}

.valorant-crosshair-history__preview .valorant-crosshair-engagement {
    top: 7px;
}

.valorant-crosshair-history__preview time {
    position: absolute;
    right: 8px;
    bottom: 7px;
    left: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.valorant-crosshair-history__copy {
    width: 100%;
    min-height: 38px;
    margin-top: 7px;
    border: 0;
    border-radius: 5px;
    background: var(--brand-color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.valorant-crosshair-history__copy:hover,
.valorant-crosshair-history__copy:focus-visible {
    background: var(--brand-color-hover);
}

.valorant-crosshair-history__copy.is-copied {
    background: #2f9e58;
}

.valorant-crosshair-empty {
    padding: 20px;
    border-radius: 5px;
    background: #f3f4f6;
    color: #656b75;
    text-align: center;
}

.valorant-crosshair-empty p {
    margin: 0;
}

@media (max-width: 820px) {
    .valorant-crosshair-settings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
    }

    .valorant-crosshair-history__grid {
        grid-template-columns: repeat(2, minmax(0, 180px));
    }
}

@media (max-width: 640px) {
    .game-player-page--valorant {
        padding-top: 16px;
    }

    .valorant-player-crosshair {
        padding: 16px;
    }

    .valorant-crosshair-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .valorant-crosshair-preview {
        width: 100%;
        height: 150px;
    }

    .valorant-crosshair-media,
    .valorant-crosshair-swiper,
    .valorant-crosshair-swiper .swiper,
    .valorant-crosshair-swiper .swiper-wrapper,
    .valorant-crosshair-swiper .swiper-slide,
    .valorant-crosshair-map-slide {
        height: 180px;
    }

    .valorant-crosshair-swiper .playerCrosshairSwiper-prev,
    .valorant-crosshair-swiper .playerCrosshairSwiper-next {
        width: 32px;
        height: 32px;
    }

    .valorant-crosshair-swiper .prosettings-slider-nav-icon {
        width: 15px;
        height: 15px;
    }

    .valorant-crosshair-swiper .playerCrosshairSwiper-prev {
        left: 6px;
    }

    .valorant-crosshair-swiper .playerCrosshairSwiper-next {
        right: 6px;
    }

    .valorant-crosshair-code {
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .valorant-crosshair-code__value {
        width: 100%;
        min-height: 40px;
        overflow-x: auto;
        border: 1px solid #dfe3e8;
        border-radius: 5px;
        background: #f7f8fa;
    }

    .valorant-crosshair-code__copy {
        min-width: 0;
        min-height: 42px;
        margin-top: 8px;
        border: 0;
        border-radius: 5px;
    }

    .valorant-crosshair-code.is-copied {
        border: 0;
    }

    .valorant-crosshair-settings {
        text-align: center;
    }
}
