html,
body {
    min-height: 100%;
}

body.homepage {
    margin: 0;
    background: #180d0a;
    color: #2f2016;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

.pv-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(31, 12, 7, 0.9);
    border-bottom: 1px solid rgba(247, 195, 96, 0.35);
    box-shadow: 0 10px 25px rgba(31, 12, 7, 0.28);
}

.pv-header__inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.pv-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.pv-brand img {
    width: auto;
    height: 66px;
    max-width: 182px;
    object-fit: contain;
    object-position: left center;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 218, 130, 0.24);
}

.pv-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
}

.pv-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    color: #ffe9b8;
    font-size: 16px;
    font-weight: 800;
    border-radius: 4px;
}

.pv-nav a:hover,
.pv-nav a:focus {
    color: #ffffff;
    background: rgba(218, 45, 29, 0.35);
}

.pv-menu-toggle {
    display: none;
}

.pv-download,
.pv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    color: #3b1308;
    font-weight: 800;
    background: linear-gradient(180deg, #fff1a5 0%, #e8a936 58%, #b85a17 100%);
    border: 1px solid #ffe08a;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(101, 29, 8, 0.3);
}

.pv-download:hover,
.pv-download:focus,
.pv-btn:hover,
.pv-btn:focus {
    color: #2b0b04;
    filter: brightness(1.08);
}

.pv-header-account {
    display: flex;
    flex-direction: column;
    flex: 0 1 180px;
    min-width: 0;
    gap: 3px;
    color: #ffe9b8;
    text-align: right;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.pv-header-account:hover,
.pv-header-account:focus {
    color: #fff;
}

.pv-header-account__toggle {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 3px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: right;
    overflow-wrap: anywhere;
}

.pv-header-account__toggle:focus-visible {
    outline: 2px solid #ffe9b8;
    outline-offset: 3px;
}

.pv-account-menu {
    min-width: 200px;
    max-width: calc(100vw - 24px);
    text-align: left;
    border-radius: 4px;
}

.pv-account-menu > li > a {
    padding: 10px 16px;
    color: #222;
    white-space: normal;
}

.pv-header-account__name {
    font-weight: 700;
}

.pv-header-account__balance {
    font-size: 13px;
}

@media (max-width: 560px) {
    .pv-header-account {
        order: 1;
        margin-left: auto;
        flex: 0 1 140px;
        max-width: calc(100% - 120px);
    }
}

.pv-page {
    min-height: 100vh;
}

.pv-btn--ghost {
    color: #fff5d7;
    background: rgba(53, 17, 9, 0.72);
    border-color: rgba(255, 217, 129, 0.75);
}

.pv-btn--ghost:hover,
.pv-btn--ghost:focus {
    color: #ffffff;
}

.pv-content {
    padding: 46px 0 62px;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 212, 119, 0.18), transparent 32%),
        linear-gradient(180deg, #25100a 0%, #110806 100%);
}

.pv-content--subpage {
    padding-top: 120px;
    min-height: 520px;
}

.pv-content__inner {
    width: min(1180px, calc(100% - 32px));
    min-height: 260px;
    margin: 0 auto;
    padding: 24px;
    background: #fff8ea;
    border: 1px solid rgba(176, 99, 32, 0.28);
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(17, 7, 4, 0.35);
}

.pv-content__inner--app {
    overflow: hidden;
}

.pv-home-placeholder {
    padding: 28px;
    text-align: center;
    border: 1px dashed rgba(146, 75, 27, 0.45);
    background: rgba(255, 248, 234, 0.7);
}

.pv-home-placeholder h2 {
    margin: 0 0 10px;
    color: #7a2114;
    font-size: 28px;
    font-weight: 800;
}

.pv-home-placeholder p {
    margin: 0;
    color: #614333;
    font-size: 16px;
    line-height: 1.6;
}

.pv-milestone-page {
    background:
        linear-gradient(90deg, rgba(143, 32, 24, 0.14) 1px, transparent 1px),
        linear-gradient(180deg, rgba(143, 32, 24, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 18% 8%, rgba(239, 184, 77, 0.22), transparent 30%),
        linear-gradient(180deg, #f8ecd2 0%, #dbc096 100%);
    background-size: 34px 34px, 34px 34px, auto, auto;
}

.pv-milestone-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.pv-milestone-heading {
    margin: 0 0 24px;
    color: #4f2115;
}

.pv-milestone-heading p {
    margin: 0 0 8px;
    color: #9f2f22;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.pv-milestone-heading h1 {
    margin: 0 0 8px;
    color: #41170e;
    font-size: 34px;
    font-weight: 900;
}

.pv-milestone-heading span {
    color: #70513f;
    font-size: 16px;
}

.pv-milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    align-items: start;
}

.pv-milestone-shell--weekly {
    width: min(1440px, calc(100% - 32px));
}

.pv-milestone-scroll-actions {
    margin: -8px 0 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.pv-milestone-scroll-btn {
    width: 42px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: #fff6dc;
    background: #8d2f23;
    border: 1px solid #d99b3d;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(80, 24, 10, 0.18);
}

.pv-milestone-scroll-btn:hover,
.pv-milestone-scroll-btn:focus {
    color: #ffffff;
    background: #a43a2c;
    outline: none;
}

.pv-milestone-grid--weekly {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 2px 4px 18px;
}

.pv-milestone-grid--weekly .pv-milestone-card {
    flex: 0 0 360px;
    scroll-snap-align: start;
}

.pv-milestone-card {
    position: relative;
    min-width: 0;
    padding: 18px 18px 18px 82px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.62), rgba(255, 248, 229, 0.9)),
        #fff4d9;
    border: 1px solid rgba(139, 63, 30, 0.28);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(82, 34, 16, 0.16);
}

.pv-milestone-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 56px;
    width: 1px;
    height: 100%;
    background: rgba(158, 62, 34, 0.26);
}

.pv-milestone-card__index {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #fff6dc;
    background: #8d2f23;
    border: 2px solid #d99b3d;
    border-radius: 50%;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(80, 24, 10, 0.22);
}

.pv-milestone-card__top {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
}

.pv-milestone-card__top span {
    color: #9f2f22;
    font-size: 22px;
    font-weight: 900;
}

.pv-milestone-card__top h2 {
    margin: 0;
    color: #4f2115;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}

.pv-milestone-card p {
    margin: 0 0 13px;
    color: #76503b;
    line-height: 1.55;
}

.pv-reward-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    list-style: none;
    border-top: 1px solid rgba(139, 63, 30, 0.16);
}

.pv-reward-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 9px 0;
    color: #4f2115;
    border-bottom: 1px solid rgba(139, 63, 30, 0.16);
}

.pv-reward-list span {
    min-width: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.pv-reward-list strong {
    min-width: 54px;
    padding: 3px 8px;
    color: #7b281d;
    background: rgba(157, 82, 34, 0.1);
    border-radius: 4px;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
}

.pv-reward-extra {
    display: none !important;
}

.pv-milestone-card.is-expanded .pv-reward-extra {
    display: grid !important;
}

.pv-reward-toggle {
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #8d2f23;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 800;
}

.pv-reward-toggle:hover,
.pv-reward-toggle:focus {
    color: #5b1b13;
    background: rgba(157, 82, 34, 0.08);
    border-color: rgba(139, 63, 30, 0.22);
    outline: none;
}

.pv-reward-toggle [data-toggle-close],
.pv-milestone-card.is-expanded .pv-reward-toggle [data-toggle-open] {
    display: none;
}

.pv-milestone-card.is-expanded .pv-reward-toggle [data-toggle-close] {
    display: inline;
}

.pv-milestone-card.is-expanded .pv-reward-toggle i {
    transform: rotate(180deg);
}

.pv-milestone-empty {
    padding: 34px 20px;
    color: #4f2115;
    background: rgba(255, 248, 229, 0.82);
    border: 1px solid rgba(139, 63, 30, 0.24);
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

.home-body-html {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.home-body-html img,
.pv-content__inner img {
    max-width: 100% !important;
    height: auto !important;
}

.pv-social-strip {
    padding: 24px 0;
    background:
        radial-gradient(circle at 50% 0, rgba(35, 111, 220, 0.18), transparent 42%),
        #150806;
    border-top: 1px solid rgba(247, 195, 96, 0.22);
}

.pv-social-strip__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pv-social-link {
    min-height: 82px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 10px 14px 10px 10px;
    color: #ffe4a8;
    background: rgba(255, 226, 154, 0.07);
    border: 1px solid rgba(255, 219, 141, 0.2);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(7, 3, 2, 0.18);
}

.pv-social-link img {
    width: 70px;
    height: 70px;
    display: block;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.pv-social-link span {
    min-width: 0;
    color: #ffe4a8;
    font-weight: 800;
    line-height: 1.3;
}

.pv-social-link:hover,
.pv-social-link:focus {
    color: #ffffff;
    background: rgba(23, 92, 186, 0.24);
    border-color: rgba(115, 186, 255, 0.62);
    transform: translateY(-1px);
}

.pv-social-link:hover span,
.pv-social-link:focus span {
    color: #ffffff;
}

.pv-footer {
    background: #100705;
    border-top: 1px solid rgba(247, 195, 96, 0.32);
    color: #ead7ba;
}

.pv-footer__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0 28px;
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1fr;
    gap: 28px;
}

.pv-footer__brand img {
    width: 150px;
    max-width: 100%;
    display: block;
    margin-bottom: 12px;
}

.pv-footer__brand p,
.pv-footer__contact a {
    margin: 0;
    color: #c9ad85;
    line-height: 1.6;
}

.pv-footer__contact a:hover,
.pv-footer__contact a:focus {
    color: #ffffff;
}

.pv-footer__links,
.pv-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pv-footer__links a {
    color: #ffe4a8;
    font-weight: 700;
}

.pv-footer__links a:hover,
.pv-footer__links a:focus {
    color: #ffffff;
}

.pv-footer__contact strong {
    color: #fff0c5;
    font-size: 18px;
}

.pv-footer__copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 219, 141, 0.18);
    color: #9d8465;
    font-size: 13px;
}

@media (max-width: 900px) {
.pv-header__inner {
        min-height: 66px;
        gap: 12px;
    }

.pv-brand img {
        height: 58px;
        max-width: 136px;
    }

.pv-nav {
        justify-content: flex-start;
        overflow-x: auto;
        gap: 2px;
    }

.pv-nav a {
        min-width: max-content;
        min-height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

.pv-download {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

.pv-footer__inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

.pv-social-strip__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

.pv-social-link {
        min-height: 0;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 10px 8px;
    }

.pv-social-link img {
        width: 64px;
        height: 64px;
    }

}

@media (max-width: 560px) {
.pv-header {
        position: sticky;
    }

.pv-header__inner {
        width: calc(100% - 20px);
        min-height: 0;
        padding: 8px 0;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }

.pv-brand img {
        height: 48px;
        max-width: 132px;
    }

.pv-download {
        order: 1;
        margin-left: auto;
        min-height: 34px;
        padding: 0 11px;
        font-size: 12px;
    }

.pv-menu-toggle {
        width: 38px;
        height: 34px;
        padding: 0;
        display: inline-flex;
        order: 2;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        flex: 0 0 auto;
        background: rgba(58, 20, 10, 0.92);
        border: 1px solid rgba(255, 218, 130, 0.62);
        border-radius: 4px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
    }

.pv-menu-toggle span {
        width: 18px;
        height: 2px;
        display: block;
        background: #ffe9b8;
        border-radius: 2px;
        transition: transform 0.16s ease, opacity 0.16s ease;
    }

.pv-header.is-menu-open .pv-menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

.pv-header.is-menu-open .pv-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

.pv-header.is-menu-open .pv-menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.pv-nav {
        order: 3;
        flex-basis: 100%;
        display: none;
        padding: 8px;
        overflow: visible;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: rgba(24, 8, 4, 0.96);
        border: 1px solid rgba(247, 195, 96, 0.28);
        border-radius: 6px;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
    }

.pv-header.is-menu-open .pv-nav {
        display: flex;
    }

.pv-nav a {
        min-width: 0;
        min-height: 38px;
        justify-content: flex-start;
        padding: 0 12px;
        font-size: 14px;
    }

.pv-btn {
        min-height: 42px;
        padding: 0 16px;
        font-size: 13px;
    }

.pv-content {
        padding-top: 30px;
    }

.pv-content--subpage {
        padding-top: 26px;
    }

.pv-content--subpage {
        min-height: 360px;
    }

.pv-content__inner {
        width: calc(100% - 20px);
        padding: 14px;
    }

.pv-social-strip__inner {
        grid-template-columns: 1fr;
    }

.pv-social-link {
        grid-template-columns: 54px minmax(0, 1fr);
        justify-items: stretch;
        text-align: left;
    }

.pv-social-link img {
        width: 54px;
        height: 54px;
    }

}

