.pcgh-home-top{
    margin-bottom: 20px;
}

.pcgh-home-top,
.pcgh-home-top * {
    box-sizing: border-box;
}

.pcgh-home-top {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.pcgh-home-hero {
    position: relative;
    width: 100%;
    min-width: 0;
    height: var(--pcgh-home-hero-signin-height, 280px);
    overflow: hidden;
    border-radius: 8px;
    background: #0b1019;
    color: #fff;
}

.pcgh-home-hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.pcgh-home-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

.pcgh-home-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.pcgh-home-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pcgh-home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 12, 18, 0.42) 0%, rgba(8, 12, 18, 0.04) 74%),
        linear-gradient(180deg, rgba(8, 12, 18, 0.04) 0%, rgba(8, 12, 18, 0.16) 44%, rgba(8, 12, 18, 0.92) 100%);
}

.pcgh-home-hero__content {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    min-width: 0;
    padding: 28px 34px;
}

.pcgh-home-hero__title {
    margin: 0 0 5px;
    overflow: hidden;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-overflow: ellipsis;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    white-space: nowrap;
}

.pcgh-home-hero__sub {
    display: -webkit-box;
    margin: 0 0 13px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pcgh-home-hero__tags {
    display: flex;
    gap: 7px;
    min-width: 0;
    margin-bottom: 15px;
    overflow: hidden;
}

.pcgh-home-hero__tags .pcgh-tag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-width: 0;
    padding: 4px 10px;
    border: 1px solid rgba(146, 110, 255, 0.52);
    border-radius: 5px;
    background: rgba(91, 55, 182, 0.3);
    color: #ddd2ff;
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
}

.pcgh-home-hero__btns {
    display: flex;
    gap: 10px;
}

.pcgh-home-top .pcgh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 16px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: filter 0.18s ease, background 0.18s ease;
}

.pcgh-home-top .pcgh-btn--primary {
    background: #4d7ee8;
    color: #fff;
}

.pcgh-home-top .pcgh-btn--primary:hover {
    color: #fff;
    filter: brightness(1.08);
}

.pcgh-home-top .pcgh-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.pcgh-home-top .pcgh-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pcgh-download-icon {
    position: relative;
    display: inline-block;
    width: 13px;
    height: 14px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 3px 3px;
}

.pcgh-download-icon::before {
    position: absolute;
    top: -7px;
    left: 4px;
    width: 2px;
    height: 9px;
    background: currentColor;
    content: "";
}

.pcgh-download-icon::after {
    position: absolute;
    top: -1px;
    left: 1px;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
}

.pcgh-home-hero__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    cursor: pointer;
    font-size: 33px;
    font-weight: 300;
    line-height: 1;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.18s ease, background 0.18s ease;
}

.pcgh-home-hero:hover .pcgh-home-hero__nav {
    opacity: 1;
}

.pcgh-home-hero__nav:hover {
    background: rgba(0, 0, 0, 0.68);
}

.pcgh-home-hero__nav--prev {
    left: 12px;
}

.pcgh-home-hero__nav--next {
    right: 12px;
}

.pcgh-home-hero__dots {
    position: absolute;
    right: 18px;
    bottom: 15px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.pcgh-home-hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.48);
    cursor: pointer;
    transition: width 0.18s ease, background 0.18s ease;
}

.pcgh-home-hero__dot.is-active {
    width: 22px;
    border-radius: 6px;
    background: #fff;
}

.pcgh-home-signin {
    display: flex;
    min-width: 0;
    height: var(--pcgh-home-hero-signin-height, 280px);
    padding: 18px 20px;
    border: 1px solid #d9e1ee;
    border-radius: 8px;
    background: #fff;
    color: #17243a;
}

.pcgh-home-signin__inner {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.pcgh-home-signin__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.pcgh-home-signin__head h3 {
    margin: 0;
    overflow: hidden;
    color: #17243a;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcgh-home-signin__more {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: #8490a2;
    font-size: 12px;
    text-decoration: none;
}

.pcgh-home-signin__more span {
    font-size: 25px;
    line-height: 12px;
}

.pcgh-home-signin__more:hover {
    color: #4d7ee8;
}

.pcgh-home-signin-rewards {
    padding: 15px 14px;
    border: 1px solid #dce4f0;
    border-radius: 22px;
}

.pcgh-uc-signin-rewards__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pcgh-uc-signin-rewards__head strong {
    display: block;
    margin-bottom: 3px;
    color: #17243a;
    font-size: 13px;
    font-weight: 800;
}

.pcgh-uc-signin-rewards__head small {
    display: block;
    color: #657287;
    font-size: 11px;
    line-height: 1.35;
}

.pcgh-uc-signin-rewards__head small b,
.pcgh-home-signin-points b {
    color: #4d7ee8;
}

.pcgh-home-signin-points {
    flex: 0 0 auto;
    color: #657287;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.pcgh-uc-signin-rewards__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.pcgh-uc-signin-reward {
    display: flex;
    min-width: 0;
    min-height: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 6px 2px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    color: #17243a;
}

.pcgh-uc-signin-reward small {
    color: #45536a;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.pcgh-uc-signin-reward b {
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.pcgh-signin-reward-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    border: 2px solid #9baac0;
    border-radius: 50%;
    background: #eef3fb;
}

.pcgh-signin-reward-icon::after {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9baac0;
    content: "";
}

.pcgh-uc-signin-reward.is-active {
    border-color: #81a8ff;
    background: #fbfdff;
}

.pcgh-uc-signin-reward.is-active .pcgh-signin-reward-icon {
    border-color: #4d7ee8;
    background: #e7efff;
}

.pcgh-uc-signin-reward.is-active .pcgh-signin-reward-icon::after {
    background: #4d7ee8;
}

.pcgh-uc-signin-reward.is-active b {
    color: #17243a;
}

.pcgh-uc-signin-reward.is-big small,
.pcgh-uc-signin-reward.is-big b {
    color: #ef794e;
}

.pcgh-uc-signin-reward.is-big .pcgh-signin-reward-icon {
    border: 0;
    border-radius: 8px;
    background: #ef704e;
}

.pcgh-uc-signin-reward.is-big .pcgh-signin-reward-icon::before {
    position: absolute;
    top: 8px;
    left: 5px;
    width: 14px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 2px;
    content: "";
}

.pcgh-uc-signin-reward.is-big .pcgh-signin-reward-icon::after {
    top: 5px;
    left: 11px;
    width: 2px;
    height: 17px;
    border-radius: 0;
    background: #fff;
}

.pcgh-home-signin-action {
    margin-top: auto;
    padding-top: 4px;
}

.pcgh-home-signin .pcgh-btn--full {
    display: flex;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
}

.pcgh-home-signin .is-disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.pcgh-home-hero-empty {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    text-align: center;
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-signin {
    border-color: rgba(148, 163, 184, 0.2);
    background: #161d2b;
    color: #edf2fb;
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-signin__head h3,
html[data-pcgh-theme-resolved="dark"] .pcgh-uc-signin-rewards__head strong,
html[data-pcgh-theme-resolved="dark"] .pcgh-uc-signin-reward,
html[data-pcgh-theme-resolved="dark"] .pcgh-uc-signin-reward.is-active b {
    color: #edf2fb;
}

html[data-pcgh-theme-resolved="dark"] .pcgh-home-signin-rewards,
html[data-pcgh-theme-resolved="dark"] .pcgh-uc-signin-reward {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.025);
}

html[data-pcgh-theme-resolved="dark"] .pcgh-uc-signin-reward.is-active {
    border-color: #5e88e9;
    background: rgba(77, 126, 232, 0.14);
}

@media (max-width: 900px) {
    .pcgh-home-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .pcgh-home-signin {
        height: auto;
        min-height: 275px;
    }
}

@media (max-width: 640px) {
    .pcgh-mobile-hidden {
        display: none !important;
    }

    .pcgh-home-hero {
        height: 270px;
    }

    .pcgh-home-hero__content {
        padding: 20px 18px;
    }

    .pcgh-home-hero__title {
        font-size: 23px;
    }

    .pcgh-home-hero__sub {
        -webkit-line-clamp: 1;
    }

    .pcgh-home-hero__nav {
        display: none;
    }
}