/* =========================================================
   ГЛАВНАЯ СТРАНИЦА АРЕНЫ
   Apple-подача + фирменный стиль проекта
   ========================================================= */

:root {
    --home-bg: #f5f5f7;
    --home-white: #ffffff;
    --home-black: #1d1d1f;
    --home-muted: #6e6e73;
    --home-light-muted: #86868b;
    --home-border: rgba(0, 0, 0, 0.08);
    --home-border-strong: rgba(0, 0, 0, 0.13);
    --home-red: #d91f26;
    --home-red-dark: #b5171d;
    --home-red-soft: #fff1f1;
    --home-green: #18864b;
    --home-radius: 28px;
    --home-radius-small: 18px;
    --home-transition:
        260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Эта таблица стилей загружается только на главной */

body {
    background: var(--home-bg);
    color: var(--home-black);
}

.topbar {
    border-bottom: 1px solid var(--home-border) !important;
    background: rgba(245, 245, 247, 0.82) !important;
    box-shadow: none !important;

    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.topbar .brand-name,
.topbar .nav-links a {
    color: var(--home-black) !important;
}

.topbar .nav-links > a:not(.button):hover {
    color: var(--home-muted) !important;
}

.topbar .button {
    border-color: var(--home-black) !important;
    background: var(--home-black) !important;
    color: #fff !important;
}

.main {
    padding-top: 0;
    background: var(--home-bg);
}

.main > .container {
    width: min(1240px, calc(100% - 48px));
}

.home-hero {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 27%,
            rgba(217, 31, 38, 0.055),
            transparent 31rem
        ),
        var(--home-bg);
}

.home-hero-inner {
    padding-top: clamp(80px, 10vw, 144px);
    padding-bottom: 42px;
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.home-label,
.home-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--home-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.home-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-red);
}

.home-hero h1 {
    max-width: 1000px;
    margin: 25px auto 25px;

    color: var(--home-black);
    font-size: clamp(55px, 8vw, 104px);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.065em;
}

.home-hero h1 span {
    display: block;
    color: var(--home-red);
}

.home-hero-copy > p {
    max-width: 680px;
    margin: 0 auto;

    color: var(--home-muted);
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.025em;
}

.home-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.home-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;
    border: 1px solid var(--home-border-strong);
    border-radius: 999px;

    color: var(--home-black);
    background: transparent;

    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;

    transition:
        transform var(--home-transition),
        color var(--home-transition),
        background-color var(--home-transition),
        border-color var(--home-transition);
}

.home-button:hover {
    transform: translateY(-1px);
}

.home-button-primary {
    border-color: var(--home-black);
    background: var(--home-black);
    color: #fff !important;
}

.home-button-primary:hover {
    border-color: #000;
    background: #000;
    color: #fff !important;
}

.home-button-secondary {
    background: rgba(255, 255, 255, 0.62);
}

.home-button-secondary:hover {
    border-color: rgba(0, 0, 0, 0.22);
    background: #fff;
    color: var(--home-black);
}

/* Демонстрация продукта — живой фрагмент настоящего кабинета */

.home-product-wrap {
    position: relative;
    width: min(1180px, 100%);
    margin: clamp(66px, 8vw, 116px) auto 0;
    padding: 0 18px 22px;
    isolation: isolate;
}

.home-product-glow {
    position: absolute;
    z-index: -2;
    top: 9%;
    right: 5%;
    bottom: -4%;
    left: 5%;
    border-radius: 46%;
    background:
        radial-gradient(circle at 73% 35%, rgba(217, 31, 38, .13), transparent 31%),
        radial-gradient(circle at 31% 78%, rgba(217, 31, 38, .08), transparent 34%);
    filter: blur(44px);
    pointer-events: none;
}

.home-product-shadow {
    position: absolute;
    z-index: -1;
    right: 10%;
    bottom: 2px;
    left: 10%;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .16);
    filter: blur(30px);
    opacity: .58;
    pointer-events: none;
}

.home-product {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 25px;
    background: #fff;
    box-shadow:
        0 42px 105px rgba(0, 0, 0, .13),
        0 12px 34px rgba(0, 0, 0, .07),
        inset 0 1px rgba(255, 255, 255, .9);
    transform-origin: 50% 100%;
}

.home-product::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(116deg, rgba(255,255,255,.22), transparent 27%, transparent 70%, rgba(255,255,255,.08));
    pointer-events: none;
}

.home-product-topbar {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-bottom: 1px solid rgba(0, 0, 0, .075);
    background: rgba(255, 255, 255, .96);
}

.home-product-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 720;
    letter-spacing: -.015em;
}

.home-product-brand img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.home-product-subject {
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, .075);
    border-radius: 999px;
    color: #77777c;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.025);
    font-size: 11px;
    font-weight: 560;
}

.home-product-layout {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr);
    min-height: 580px;
}

.home-product-sidebar {
    padding: 24px 15px;
    border-right: 1px solid rgba(0, 0, 0, .075);
    background: #fbfbfc;
}

.home-sidebar-logo {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin: 0 8px 32px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e02a30, #bf171d);
    color: #fff;
    box-shadow: 0 8px 18px rgba(181, 23, 29, .18);
    font-size: 17px;
    font-weight: 760;
}

.home-sidebar-item {
    display: flex;
    min-height: 43px;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    padding: 0 12px;
    border-radius: 11px;
    color: #7b7b80;
    font-size: 12px;
    font-weight: 560;
}

.home-sidebar-item span {
    width: 8px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.home-sidebar-item.active {
    background: #fff1f1;
    color: #c82027;
    box-shadow: inset 0 0 0 1px rgba(217,31,38,.025);
}

.home-product-main {
    min-width: 0;
    padding: clamp(30px, 4vw, 50px);
    background: #fff;
}

.home-product-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.home-product-caption,
.home-result-label,
.home-mini-label {
    color: #8a8a8f;
    font-size: 11px;
    font-weight: 540;
}

.home-product-heading h2 {
    margin: 7px 0 0;
    color: #171719;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -.048em;
}

.home-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #18864b;
    background: #edf9f2;
    box-shadow: inset 0 0 0 1px rgba(24, 134, 75, .04);
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}

.home-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.home-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(230px, .85fr);
    gap: 16px;
    margin-top: 31px;
}

.home-result-card {
    overflow: hidden;
    min-height: 322px;
    padding: 22px;
    border: 1px solid rgba(0, 0, 0, .075);
    border-radius: 18px;
    background: #fbfbfd;
    box-shadow: inset 0 1px rgba(255,255,255,.8);
}

.home-result-primary {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,.74), rgba(251,251,253,.96)),
        #fbfbfd;
}

.home-score {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: 16px;
    color: #111113;
    font-size: clamp(58px, 7vw, 88px);
    font-weight: 670;
    line-height: .88;
    letter-spacing: -.07em;
}

.home-score-value {
    min-width: 1.42em;
    color: inherit;
    font: inherit;
    font-variant-numeric: tabular-nums;
    letter-spacing: inherit;
}

.home-score span {
    padding-bottom: 5px;
    color: #77777c;
    font-size: 12px;
    font-weight: 450;
    letter-spacing: -.01em;
}

.home-score-change {
    margin-top: 13px;
    color: #18864b;
    font-size: 11px;
    font-weight: 650;
}

.home-chart {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    height: 152px;
}

.home-chart svg {
    display: block;
    width: 100%;
    height: 128px;
    overflow: visible;
}

.home-chart-grid-line {
    stroke: rgba(0, 0, 0, .05);
    stroke-width: 1;
    stroke-dasharray: 3 8;
}

.home-chart-area {
    fill: url("#areaGradient");
}

.home-chart-line {
    fill: none;
    stroke: #d91f26;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.home-chart-history circle {
    fill: #fff;
    stroke: #d91f26;
    stroke-width: 2;
    opacity: .82;
    vector-effect: non-scaling-stroke;
}

.home-chart-focus-point {
    fill: #d91f26;
    stroke: #fff;
    stroke-width: 4;
    filter: drop-shadow(0 2px 5px rgba(217, 31, 38, .28));
    vector-effect: non-scaling-stroke;
}

.home-chart-tooltip {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    display: flex;
    min-width: 66px;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border: 1px solid rgba(0,0,0,.075);
    border-radius: 10px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    color: #1d1d1f;
    transform: translate(-50%, -112%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    pointer-events: none;
    will-change: left, top, opacity, transform;
}

.home-chart-tooltip b {
    font-size: 11px;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
}

.home-chart-tooltip span {
    color: #7b7b80;
    font-size: 9px;
}

.home-chart-dates {
    display: flex;
    justify-content: space-between;
    margin: 4px 5px 0;
    color: #a0a0a5;
    font-size: 8px;
    letter-spacing: .01em;
}

.home-expert-card {
    background: #faf9f8;
}

.home-expert-card > .home-result-label {
    color: #5d5553;
    font-weight: 650;
}

.home-paper {
    position: relative;
    min-height: 188px;
    margin-top: 16px;
    padding: 20px;
    border: 1px solid rgba(63, 40, 35, .13);
    border-radius: 13px;
    background:
        repeating-linear-gradient(
            to bottom,
            #fffdfa 0,
            #fffdfa 25px,
            #e9e2de 26px
        );
    box-shadow:
        0 10px 26px rgba(59, 33, 27, .08),
        inset 0 1px rgba(255, 255, 255, .8);
}

.home-paper-line {
    width: 83%;
    height: 6px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #cbc3bf;
}

.home-paper-line.short { width: 41%; }
.home-paper-line.medium { width: 62%; }

.home-paper-formula {
    margin: 20px 0 17px;
    color: #211817;
    font-family: "Times New Roman", Georgia, serif;
    font-size: 19px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: .01em;
}

.home-paper-mark {
    position: absolute;
    right: 23px;
    bottom: 31px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid #d91f26;
    border-radius: 50%;
    color: #d91f26;
    background: rgba(255, 253, 250, .78);
    box-shadow: 0 4px 12px rgba(217, 31, 38, .10);
    transform: rotate(-8deg);
    font-size: 13px;
    font-weight: 800;
}

.home-paper-note {
    position: absolute;
    right: 14px;
    bottom: 13px;
    color: #d91f26;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .01em;
    transform: rotate(-3deg);
}

.home-expert-footer {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 15px;
}

.home-expert-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(217, 31, 38, .24);
    border-radius: 50%;
    background: linear-gradient(145deg, #ef413f, #b5171d);
    color: #fff;
    box-shadow: 0 6px 14px rgba(181, 23, 29, .18);
    font-size: 10px;
    font-weight: 800;
}

.home-expert-footer div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-expert-footer b {
    color: #1d1d1f;
    font-size: 11px;
    font-weight: 650;
}

.home-expert-footer div span {
    color: #8a8a8f;
    font-size: 9px;
}

.home-product-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 16px;
    border: 1px solid rgba(0, 0, 0, .075);
    border-radius: 15px;
    background: #fff;
}

.home-product-footer > div {
    display: flex;
    min-height: 74px;
    flex-direction: column;
    justify-content: center;
    padding: 15px 20px;
    border-right: 1px solid rgba(0, 0, 0, .075);
}

.home-product-footer > div:last-child { border-right: 0; }

.home-product-footer b {
    margin-top: 5px;
    color: #1d1d1f;
    font-size: 13px;
    font-weight: 620;
}

.home-product-footer .home-positive { color: #18864b; }

/* Вход сцены. После него график продолжает жить очень тихо через JS. */
.home-product-wrap.is-motion-ready .home-product {
    opacity: 0;
    transform: perspective(1600px) rotateX(2.1deg) translateY(28px) scale(.985);
    transition:
        opacity 760ms ease,
        transform 1450ms cubic-bezier(.16, .82, .2, 1),
        box-shadow 1450ms ease;
}

.home-product-wrap.is-motion-ready.is-live .home-product,
.home-product-wrap.is-motion-ready.is-settled .home-product {
    opacity: 1;
    transform: perspective(1600px) rotateX(1.1deg) translateY(0) scale(1);
    box-shadow:
        0 52px 125px rgba(0, 0, 0, .15),
        0 12px 34px rgba(0, 0, 0, .07),
        inset 0 1px rgba(255,255,255,.9);
}

.home-product-wrap.is-motion-ready .home-product-glow,
.home-product-wrap.is-motion-ready .home-product-shadow {
    opacity: 0;
    transform: scale(.82);
    transition: opacity 1200ms ease, transform 1500ms cubic-bezier(.16, .82, .2, 1);
}

.home-product-wrap.is-motion-ready.is-live .home-product-glow,
.home-product-wrap.is-motion-ready.is-live .home-product-shadow,
.home-product-wrap.is-motion-ready.is-settled .home-product-glow,
.home-product-wrap.is-motion-ready.is-settled .home-product-shadow {
    opacity: 1;
    transform: scale(1);
}

.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-chart-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.home-product-wrap.is-live .home-chart-line {
    animation: home-chart-draw 2350ms cubic-bezier(.2, .72, .18, 1) 420ms both;
}

.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-chart-area {
    opacity: 0;
    clip-path: inset(100% 100% 0 0);
}

.home-product-wrap.is-live .home-chart-area {
    animation: home-chart-area-rise 2050ms cubic-bezier(.2, .72, .18, 1) 760ms both;
}

.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-chart-history circle,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-chart-focus-point,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-chart-tooltip,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-paper-mark,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-paper-note,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-status {
    opacity: 0;
}

.home-product-wrap.is-live .home-chart-history circle {
    animation: home-chart-dot-in 430ms ease both;
}
.home-product-wrap.is-live .home-chart-history circle:nth-child(1) { animation-delay: 760ms; }
.home-product-wrap.is-live .home-chart-history circle:nth-child(2) { animation-delay: 980ms; }
.home-product-wrap.is-live .home-chart-history circle:nth-child(3) { animation-delay: 1200ms; }
.home-product-wrap.is-live .home-chart-history circle:nth-child(4) { animation-delay: 1420ms; }
.home-product-wrap.is-live .home-chart-history circle:nth-child(5) { animation-delay: 1640ms; }
.home-product-wrap.is-live .home-chart-history circle:nth-child(6) { animation-delay: 1860ms; }
.home-product-wrap.is-live .home-chart-history circle:nth-child(7) { animation-delay: 2080ms; }

.home-product-wrap.is-live .home-chart-focus-point,
.home-product-wrap.is-live .home-chart-tooltip {
    animation: home-chart-focus-in 520ms ease 1180ms both;
}

.home-product-wrap.is-live .home-paper-mark {
    animation: home-review-mark 680ms cubic-bezier(.2, 1.25, .3, 1) 1450ms both;
}

.home-product-wrap.is-live .home-paper-note {
    animation: home-copy-in 560ms ease 1780ms both;
}

.home-product-wrap.is-live .home-status {
    animation: home-status-in 520ms ease 2080ms both;
}

.home-product-wrap.is-live .home-status span {
    animation: home-status-on 740ms ease 2400ms both;
}

.home-product-wrap.is-ambient .home-product {
    transition: box-shadow 900ms ease;
}

.home-product-wrap.is-ambient .home-chart-focus-point {
    filter: drop-shadow(0 2px 7px rgba(217, 31, 38, .36));
}

@keyframes home-chart-draw {
    from { stroke-dasharray: 1; stroke-dashoffset: 1; }
    to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@keyframes home-chart-area-rise {
    from { opacity: 0; clip-path: inset(100% 100% 0 0); }
    to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes home-chart-dot-in {
    from { opacity: 0; transform: scale(.25); transform-origin: center; }
    to { opacity: .82; transform: scale(1); transform-origin: center; }
}

@keyframes home-chart-focus-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes home-status-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes home-status-on {
    0% { box-shadow: 0 0 0 0 rgba(35, 165, 102, .42); }
    60% { box-shadow: 0 0 0 8px rgba(35, 165, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(35, 165, 102, 0); }
}

@keyframes home-review-mark {
    from { opacity: 0; transform: rotate(-11deg) scale(.62); }
    to { opacity: 1; transform: rotate(-8deg) scale(1); }
}

@keyframes home-copy-in {
    from { opacity: 0; transform: translateY(5px) rotate(-5deg); }
    to { opacity: 1; transform: translateY(0) rotate(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
    .home-product-wrap.is-motion-ready .home-product,
    .home-product-wrap.is-motion-ready .home-product-glow,
    .home-product-wrap.is-motion-ready .home-product-shadow,
    .home-product-wrap.is-live .home-chart-line,
    .home-product-wrap.is-live .home-chart-area,
    .home-product-wrap.is-live .home-chart-history circle,
    .home-product-wrap.is-live .home-chart-focus-point,
    .home-product-wrap.is-live .home-chart-tooltip,
    .home-product-wrap.is-live .home-status,
    .home-product-wrap.is-live .home-status span,
    .home-product-wrap.is-live .home-paper-mark,
    .home-product-wrap.is-live .home-paper-note {
        opacity: 1;
        animation: none;
        transition: none;
        transform: none;
        clip-path: none;
        stroke-dashoffset: 0;
    }
}

.home-trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;

    margin: 48px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--home-border);
}

.home-trust-row > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: var(--home-muted);
    font-size: 14px;
    font-weight: 500;
}

.home-trust-icon {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;

    border: 1px solid var(--home-border-strong);
    border-radius: 50%;

    color: var(--home-black);
    font-size: 12px;
}

/* Контент */

.home-content {
    padding-top: clamp(90px, 11vw, 150px);
    padding-bottom: 38px;
}

.home-section,
.home-feature-grid,
.home-final {
    margin-bottom: clamp(90px, 11vw, 150px);
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.home-section-heading h2 {
    margin: 10px 0 0;
    color: var(--home-black);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 650;
    letter-spacing: -0.055em;
}

.home-text-link,
.home-feature-copy a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--home-black);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
}

.home-text-link span,
.home-feature-copy a span {
    transition: transform var(--home-transition);
}

.home-text-link:hover span,
.home-feature-copy a:hover span {
    transform: translateX(4px);
}

/* Список пробников */

.home-exam-list {
    overflow: hidden;
    border-top: 1px solid var(--home-border-strong);
}

.home-exam-row {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto 30px;
    align-items: center;
    gap: 22px;

    min-height: 145px;
    padding: 24px 8px;

    border-bottom: 1px solid var(--home-border);

    color: var(--home-black);
    text-decoration: none !important;

    transition:
        padding var(--home-transition),
        background-color var(--home-transition);
}

.home-exam-row:hover {
    padding-right: 18px;
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.62);
}

.home-exam-type {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 15px;

    background: #fff;
    color: var(--home-red);

    font-size: 14px;
    font-weight: 850;
    letter-spacing: .04em;
}

.home-exam-info h3 {
    margin: 8px 0 6px;
    color: var(--home-black);
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 600;
    letter-spacing: -0.035em;
}

.home-exam-info p {
    max-width: 700px;
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
}

.home-exam-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;

    color: var(--home-light-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.home-exam-details {
    display: flex;
    min-width: 130px;
    flex-direction: column;
    gap: 7px;

    color: var(--home-muted);
    font-size: 13px;
    text-align: right;
}

.home-exam-arrow {
    color: var(--home-black);
    font-size: 22px;
    transition: transform var(--home-transition);
}

.home-exam-row:hover .home-exam-arrow {
    transform: translateX(4px);
}

.home-empty {
    padding: 64px 0;
    border-bottom: 1px solid var(--home-border);
}

.home-empty span {
    color: var(--home-red);
    font-size: 13px;
    font-weight: 600;
}

.home-empty h3 {
    max-width: 600px;
    margin: 10px 0 0;
}

/* Два крупных блока вместо сетки мелких карточек */

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.home-feature {
    position: relative;
    display: flex;
    min-height: 690px;
    flex-direction: column;
    overflow: hidden;

    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--home-radius);

    isolation: isolate;
}

.home-feature-light {
    border: 1px solid var(--home-border);
    background: #fff;
}

.home-feature-dark {
    border: 1px solid #1d1d1f;
    background: #1d1d1f;
    color: #fff;
}

.home-feature-number {
    color: var(--home-light-muted);
    font-size: 13px;
    font-weight: 600;
}

.home-feature-dark .home-feature-number {
    color: rgba(255, 255, 255, 0.45);
}

.home-feature-copy {
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.home-feature-copy h2 {
    max-width: 510px;
    margin: 0;
    color: var(--home-black);
    font-size: clamp(38px, 5vw, 63px);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.home-feature-copy p {
    max-width: 520px;
    margin: 25px 0 30px;

    color: var(--home-muted);
    font-size: 17px;
    line-height: 1.5;
}

.home-feature-dark .home-feature-copy h2 {
    color: #fff;
}

.home-feature-dark .home-feature-copy p {
    color: rgba(255, 255, 255, 0.62);
}

.home-feature-dark .home-feature-copy a {
    color: #fff;
}

.home-review-visual,
.home-progress-visual {
    position: absolute;
    right: 35px;
    bottom: -26px;
    left: 35px;
    height: 315px;
}

.home-review-sheet {
    position: absolute;
    width: min(420px, 82%);
    height: 290px;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;

    background: #fff;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.09);
}

.home-review-sheet.sheet-back {
    right: 4%;
    bottom: 0;
    transform: rotate(7deg);
}

.home-review-sheet.sheet-front {
    bottom: 8px;
    left: 4%;
    padding: 34px;
    transform: rotate(-3deg);
}

.home-sheet-caption {
    color: var(--home-light-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-sheet-line {
    width: 75%;
    height: 6px;
    margin-top: 19px;
    border-radius: 10px;
    background: #e4e4e8;
}

.home-sheet-line.wide {
    width: 92%;
}

.home-sheet-line.medium {
    width: 65%;
}

.home-sheet-line.short {
    width: 41%;
}

.home-sheet-equation {
    margin-top: 27px;
    color: #28282b;
    font-family: Georgia, serif;
    font-size: 21px;
    font-style: italic;
}

.home-review-circle {
    position: absolute;
    right: 38px;
    bottom: 54px;

    display: grid;
    width: 65px;
    height: 45px;
    place-items: center;

    border: 2px solid var(--home-red);
    border-radius: 50%;

    color: var(--home-red);
    font-size: 17px;
    font-weight: 650;
    transform: rotate(-8deg);
}

.home-review-comment {
    position: absolute;
    right: 25px;
    bottom: 27px;

    color: var(--home-red);
    font-size: 12px;
    font-weight: 600;
    transform: rotate(-4deg);
}

.home-progress-visual {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 21px 21px 0 0;

    background: #29292c;
}

.home-progress-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
}

.home-progress-top b {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.home-progress-score {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 28px;
}

.home-progress-score span {
    color: rgba(255, 255, 255, 0.52);
    font-size: 13px;
}

.home-progress-score strong {
    color: #fff;
    font-size: 54px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.06em;
}

.home-progress-bars {
    display: flex;
    height: 120px;
    align-items: flex-end;
    gap: 13px;
    margin-top: 26px;
}

.home-progress-bars span {
    width: 100%;
    border-radius: 8px 8px 3px 3px;
    background: rgba(255, 255, 255, 0.15);
}

.home-progress-bars span:last-child {
    background: var(--home-red);
}

.home-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;

    color: rgba(255, 255, 255, 0.38);
    font-size: 10px;
}

/* Финальный блок */

.home-final {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    align-items: end;
    gap: 70px;

    padding: clamp(42px, 7vw, 82px);
    border-radius: var(--home-radius);

    background: #fff;
}

.home-final h2 {
    margin: 17px 0 0;
    color: var(--home-black);
    font-size: clamp(42px, 6vw, 74px);
    font-weight: 650;
    line-height: 0.97;
    letter-spacing: -0.06em;
}

.home-final-action p {
    margin: 0 0 26px;
    color: var(--home-muted);
    font-size: 16px;
}

.footer {
    border-top: 1px solid var(--home-border);
    background: var(--home-bg) !important;
}

/* Анимации */

.home-hero-copy,
.home-product-wrap {
    animation:
        home-enter 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-product-wrap {
    animation-delay: 110ms;
}

.home-reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes home-enter {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптив */

@media (max-width: 950px) {
    .home-product-layout {
        grid-template-columns: 1fr;
    }

    .home-product-sidebar {
        display: none;
    }

    .home-result-grid {
        grid-template-columns: 1fr;
    }

    .home-expert-card {
        display: none;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature {
        min-height: 650px;
    }

    .home-final {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 720px) {
    .main > .container {
        width: min(100% - 28px, 1240px);
    }

    .home-hero-inner {
        padding-top: 66px;
    }

    .home-hero h1 {
        font-size: clamp(46px, 14vw, 68px);
        line-height: 0.98;
    }

    .home-hero-copy > p {
        font-size: 18px;
    }

    .home-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-button {
        width: 100%;
    }

    .home-product-wrap {
        width: calc(100% + 14px);
        margin-left: -7px;
        padding: 0;
    }

    .home-product {
        border-radius: 20px;
        transform: none;
    }

    .home-product-topbar {
        min-height: 50px;
        padding: 0 14px;
    }

    .home-product-brand {
        font-size: 11px;
    }

    .home-product-subject {
        font-size: 10px;
    }

    .home-product-main {
        padding: 22px 16px;
    }

    .home-product-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .home-product-heading h2 {
        font-size: 27px;
    }

    .home-result-card {
        min-height: 300px;
        padding: 18px;
    }

    .home-score {
        font-size: 70px;
    }

    .home-product-footer {
        grid-template-columns: 1fr;
    }

    .home-product-footer > div {
        min-height: 62px;
        border-right: 0;
        border-bottom: 1px solid var(--home-border);
    }

    .home-product-footer > div:last-child {
        border-bottom: 0;
    }

    .home-trust-row {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .home-trust-row > div {
        justify-content: flex-start;
    }

    .home-content {
        padding-top: 95px;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-section-heading h2 {
        font-size: 46px;
    }

    .home-exam-row {
        grid-template-columns: 48px minmax(0, 1fr) 25px;
        gap: 14px;
        padding: 22px 0;
    }

    .home-exam-type {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .home-exam-details {
        display: none;
    }

    .home-exam-info p {
        display: none;
    }

    .home-feature {
        min-height: 620px;
        padding: 28px 24px;
        border-radius: 22px;
    }

    .home-feature-copy {
        margin-top: 0;
    }

    .home-feature-copy h2 {
        font-size: 43px;
    }

    .home-review-visual,
    .home-progress-visual {
        right: 18px;
        left: 18px;
    }

    .home-review-sheet.sheet-front {
        padding: 27px 22px;
    }

    .home-final {
        padding: 40px 25px;
        border-radius: 22px;
    }

    .home-final h2 {
        font-size: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-copy,
    .home-product-wrap {
        animation: none;
    }

    .home-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* v8.2 — homepage preview mirrors the real cabinet instead of a fake result UI */
.home-product-wrap {
    width: min(1180px, 100%);
    margin: clamp(70px, 8vw, 118px) auto 0;
    padding: 0 18px 32px;
}

.home-cabinet-shell {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 30px;
    background: #f3f3f5;
    box-shadow:
        0 48px 118px rgba(0, 0, 0, .15),
        0 14px 38px rgba(0, 0, 0, .075),
        inset 0 1px rgba(255, 255, 255, .96);
    transform-origin: 50% 100%;
}

.home-cabinet-browserbar {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 7px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    background: rgba(255, 255, 255, .9);
    color: #77777c;
}

.home-cabinet-browserbar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dedee1;
}

.home-cabinet-browserbar > span:first-child { background: #d9513f; }
.home-cabinet-browserbar > span:nth-child(2) { background: #e7b449; }
.home-cabinet-browserbar > span:nth-child(3) { background: #62ad73; }

.home-cabinet-browserbar b {
    margin-left: 9px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: -.01em;
}

.home-cabinet-viewport {
    position: relative;
    height: 930px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(248, 248, 249, .98), #f1f1f3),
        #f4f4f6;
}

.home-cabinet-viewport::after {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    height: 30px;
    background: linear-gradient(180deg, rgba(243, 243, 245, 0), #f3f3f5 96%);
    content: "";
    pointer-events: none;
}

.home-cabinet-canvas {
    width: min(930px, calc(100% - 70px));
    margin: 0 auto;
    padding: 30px 0 128px;
    color: #1d1d1f;
    text-align: left;
}

.home-cabinet-profile,
.home-cabinet-rating,
.home-cabinet-results,
.home-cabinet-summary > div,
.home-cabinet-mini-card {
    border: 1px solid rgba(0, 0, 0, .09);
    background: #fff;
}

.home-cabinet-profile {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 182px;
    padding: 28px 34px;
    overflow: hidden;
    border-color: rgba(178, 32, 0, .14);
    border-radius: 24px;
    background:
        radial-gradient(circle at 3% 18%, rgba(178, 32, 0, .12), transparent 28%),
        linear-gradient(135deg, #fff 55%, #fff9f7);
    box-shadow: 0 18px 52px rgba(65, 22, 12, .06);
}

.home-cabinet-profile::after {
    position: absolute;
    top: -120px;
    right: -68px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(178, 32, 0, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(178, 32, 0, .025), 0 0 0 84px rgba(178, 32, 0, .012);
    content: "";
}

.home-cabinet-avatar {
    position: relative;
    z-index: 2;
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    border-radius: 50%;
    filter: drop-shadow(0 15px 20px rgba(80, 18, 8, .16));
}

.home-cabinet-avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(from 18deg, #b22000 0 24%, transparent 24% 38%, #df5b3f 38% 70%, transparent 70% 82%, #b22000 82% 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
}

.home-cabinet-avatar-core {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, #d65d45, #861c05 68%, #4f0e00);
    color: #fff;
    font-size: 38px;
    font-weight: 900;
}

.home-cabinet-avatar > i {
    position: absolute;
    right: 2px;
    bottom: 5px;
    width: 25px;
    height: 25px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #b22000;
}

.home-cabinet-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b22000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
}

.home-cabinet-kicker i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.home-cabinet-kicker b {
    padding: 4px 8px;
    border: 1px solid rgba(178, 32, 0, .18);
    border-radius: 999px;
    background: rgba(178, 32, 0, .06);
    font-size: 8px;
}

.home-cabinet-profile-copy h2 {
    margin: 8px 0 5px;
    color: #121214;
    font-size: 46px;
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.065em;
}

.home-cabinet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;
    color: #7d7d83;
    font-size: 9px;
}

.home-cabinet-meta b { color: #333338; }

.home-cabinet-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: 210px;
}

.home-cabinet-actions > div,
.home-cabinet-actions > strong {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 999px;
    background: #fff;
    font-size: 9px;
    font-weight: 700;
}

.home-cabinet-actions > strong {
    grid-column: 1 / -1;
    justify-self: end;
    width: 128px;
}

.home-cabinet-rating {
    margin-top: 0;
    padding: 24px 26px 22px;
    border-color: rgba(178, 32, 0, .24);
    border-radius: 22px;
    box-shadow: 0 16px 48px rgba(65, 22, 12, .05);
}

.home-cabinet-rating-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.home-cabinet-rating-top > div:first-child > span,
.home-cabinet-results-head > div:first-child > span {
    display: block;
    color: #b22000;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.home-cabinet-rating-top > div:first-child > strong {
    display: block;
    margin-top: 5px;
    font-size: 49px;
    font-weight: 950;
    line-height: .93;
    letter-spacing: -.07em;
}

.home-cabinet-rating-top > div:first-child > b {
    display: block;
    margin-top: 7px;
    font-size: 10px;
}

.home-cabinet-place {
    text-align: right;
}

.home-cabinet-place span {
    display: block;
    color: #99999e;
    font-size: 8px;
}

.home-cabinet-place strong {
    display: block;
    margin-top: 4px;
    font-size: 24px;
    letter-spacing: -.04em;
}

.home-cabinet-elite {
    display: flex;
    min-height: 104px;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 17px 20px;
    border: 1px solid rgba(218, 161, 33, .45);
    border-radius: 18px;
    background: linear-gradient(112deg, #fffdf6, #fff 48%, #fff9ea);
}

.home-cabinet-crown-stage {
    --crown-main: #D8A51E;
    --crown-highlight: #FFF1A7;
    --crown-deep: #805000;
    --crown-glow: rgba(216, 165, 30, .38);
    position: relative;
    display: grid;
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
    place-items: center;
    isolation: isolate;
}

.home-cabinet-crown-orbit {
    position: absolute;
    border-radius: 50%;
    background:
        conic-gradient(
            from 215deg,
            transparent 0 27deg,
            var(--crown-deep) 31deg,
            var(--crown-main) 82deg,
            var(--crown-highlight) 112deg,
            var(--crown-main) 158deg,
            transparent 164deg 205deg,
            var(--crown-main) 211deg,
            var(--crown-highlight) 251deg,
            var(--crown-deep) 316deg,
            transparent 323deg 360deg
        );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    filter: drop-shadow(0 0 4px var(--crown-glow));
}

.home-cabinet-crown-orbit--outer {
    width: 80px;
    height: 80px;
    animation: homeCabinetCrownOuter 20s linear infinite;
}

.home-cabinet-crown-orbit--inner {
    width: 63px;
    height: 63px;
    opacity: .66;
    background:
        conic-gradient(
            from 38deg,
            transparent 0 46deg,
            var(--crown-main) 50deg,
            var(--crown-highlight) 94deg,
            transparent 100deg 211deg,
            var(--crown-main) 217deg,
            var(--crown-deep) 284deg,
            transparent 292deg 360deg
        );
    animation: homeCabinetCrownInner 14s linear infinite;
}

.home-cabinet-crown-core {
    position: relative;
    z-index: 5;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 34% 28%, #d84a31, #8b1807 58%, #641000);
    box-shadow:
        inset 0 0 0 3px rgba(255, 255, 255, .14),
        0 7px 18px rgba(92, 54, 0, .20),
        0 0 17px var(--crown-glow);
    font-size: 18px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.home-cabinet-crown-core::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
}

.home-cabinet-crown-sigil {
    position: absolute;
    z-index: 7;
    left: 50%;
    top: -2px;
    width: 38px;
    height: 23px;
    transform: translateX(-50%);
    filter: drop-shadow(0 3px 6px var(--crown-glow));
}

.home-cabinet-crown-sigil i {
    position: absolute;
    bottom: 1px;
    width: 15px;
    height: 19px;
    background: linear-gradient(120deg, var(--crown-deep), var(--crown-highlight) 48%, var(--crown-main));
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.home-cabinet-crown-sigil i:nth-child(1) {
    left: 0;
    transform: rotate(-14deg);
    opacity: .76;
}

.home-cabinet-crown-sigil i:nth-child(2) {
    left: 12px;
    height: 23px;
}

.home-cabinet-crown-sigil i:nth-child(3) {
    right: 0;
    transform: rotate(14deg);
    opacity: .76;
}

.home-cabinet-crown-position {
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: -1px;
    min-width: 34px;
    padding: 4px 7px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--crown-deep), var(--crown-main));
    box-shadow: 0 4px 12px var(--crown-glow);
    color: #fff;
    text-align: center;
    font-size: 8px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .04em;
}

.home-cabinet-elite > div:last-child > span {
    display: block;
    color: #a77909;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .13em;
}

.home-cabinet-elite > div:last-child > strong {
    display: block;
    margin-top: 5px;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.045em;
}

.home-cabinet-elite small {
    display: block;
    margin-top: 5px;
    color: #8c8c91;
    font-size: 8px;
}

.home-cabinet-rating-progress {
    height: 5px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6e3e2;
}

.home-cabinet-rating-progress span {
    display: block;
    width: 76%;
    height: 100%;
    border-radius: inherit;
    background: #b22000;
    transform-origin: left;
}

.home-cabinet-rating-meta {
    display: flex;
    gap: 18px;
    margin-top: 9px;
    color: #79797e;
    font-size: 8px;
}

.home-cabinet-rating-link {
    margin-top: 13px;
    color: #b22000;
    font-size: 9px;
    font-weight: 800;
}

.home-cabinet-results {
    margin-top: 28px;
    padding: 30px 32px 26px;
    border-radius: 22px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .045);
}

.home-cabinet-results-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.home-cabinet-results-head h2 {
    margin: 8px 0 4px;
    color: #202024;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -.055em;
}

.home-cabinet-results-head p {
    margin: 0;
    color: #85858a;
    font-size: 9px;
}

.home-cabinet-current {
    text-align: right;
}

.home-cabinet-current span,
.home-cabinet-current small {
    display: block;
    color: #8f8f94;
    font-size: 8px;
}

.home-cabinet-current strong {
    display: block;
    margin: 4px 0 2px;
    color: #171719;
    font-size: 54px;
    font-weight: 950;
    line-height: .92;
    letter-spacing: -.07em;
}

.home-cabinet-score-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .085);
    border-radius: 16px;
}

.home-cabinet-score-summary > div {
    min-height: 72px;
    padding: 16px 18px;
    border-right: 1px solid rgba(0, 0, 0, .075);
}

.home-cabinet-score-summary > div:last-child { border-right: 0; }

.home-cabinet-score-summary span {
    display: block;
    color: #97979c;
    font-size: 8px;
}

.home-cabinet-score-summary b {
    display: block;
    margin-top: 7px;
    color: #333337;
    font-size: 11px;
}

.home-cabinet-score-summary > div:last-child b { color: #18864b; }

.home-cabinet-chart {
    position: relative;
    height: 328px;
    margin-top: 18px;
    padding: 0 8px 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .075);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #fffdfd);
}

.home-cabinet-chart svg {
    position: absolute;
    inset: 6px 12px 26px 31px;
    width: calc(100% - 43px);
    height: calc(100% - 32px);
    overflow: visible;
}

.home-cabinet-grid line {
    stroke: rgba(0, 0, 0, .065);
    stroke-width: 1;
}

.home-cabinet-chart-area {
    fill: url(#homeCabinetAreaGradient);
}

.home-cabinet-chart-line {
    fill: none;
    stroke: #c52b12;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
}

.home-cabinet-chart-points circle,
.home-cabinet-chart-focus {
    fill: #c52b12;
    stroke: #fff;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.home-cabinet-chart-points circle { r: 4px; }

.home-cabinet-yaxis {
    position: absolute;
    z-index: 3;
    top: 35px;
    bottom: 42px;
    left: 11px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #9c9ca1;
    font-size: 7px;
}

.home-cabinet-xaxis {
    position: absolute;
    right: 24px;
    bottom: 10px;
    left: 44px;
    display: flex;
    justify-content: space-between;
    color: #a0a0a5;
    font-size: 7px;
}

.home-cabinet-chart-tooltip {
    position: absolute;
    z-index: 5;
    display: flex;
    min-width: 54px;
    align-items: baseline;
    gap: 4px;
    padding: 6px 8px;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 9px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 7px 18px rgba(0,0,0,.08);
    color: #313136;
    font-size: 7px;
    pointer-events: none;
    transform: translate(-50%, -130%);
    transition: opacity .2s ease;
}

.home-cabinet-chart-tooltip b { font-size: 9px; }

.home-cabinet-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.home-cabinet-summary > div {
    min-height: 106px;
    padding: 18px 20px;
    border-radius: 18px;
}

.home-cabinet-summary span,
.home-cabinet-summary small {
    display: block;
    color: #929297;
    font-size: 8px;
}

.home-cabinet-summary strong {
    display: block;
    margin: 9px 0 3px;
    color: #202024;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
}

.home-cabinet-lower {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 25px;
}

.home-cabinet-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px 9px;
}

.home-cabinet-section-title strong {
    font-size: 21px;
    letter-spacing: -.04em;
}

.home-cabinet-section-title span {
    color: #77777c;
    font-size: 8px;
}

.home-cabinet-mini-card {
    min-height: 120px;
    padding: 16px 18px;
    border-radius: 16px;
}

.home-cabinet-mini-card > div:first-child {
    display: flex;
    gap: 6px;
}

.home-cabinet-mini-card > div:first-child > span {
    padding: 4px 6px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 999px;
    color: #77777c;
    font-size: 6px;
}

.home-cabinet-mini-card > strong {
    display: block;
    margin-top: 10px;
    font-size: 12px;
}

.home-cabinet-mini-card > small {
    display: block;
    margin: 17px 0 8px;
    color: #8e8e93;
    font-size: 7px;
}

.home-cabinet-mini-card > b {
    display: inline-flex;
    padding: 6px 10px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
    font-size: 7px;
}

.home-cabinet-history > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 7px;
}

.home-cabinet-history > div:last-child { border-bottom: 0; }

.home-product-wrap.is-motion-ready .home-cabinet-shell {
    opacity: 0;
    transform: translateY(22px) scale(.985);
}

.home-product-wrap.is-live .home-cabinet-shell,
.home-product-wrap.is-settled .home-cabinet-shell {
    opacity: 1;
    transform: none;
    transition: opacity .8s cubic-bezier(.2,.74,.2,1), transform 1s cubic-bezier(.2,.74,.2,1);
}

.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-cabinet-chart-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.home-product-wrap.is-live .home-cabinet-chart-line {
    animation: home-real-chart-draw 2.5s cubic-bezier(.2,.72,.18,1) .45s both;
}

.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-cabinet-chart-area,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-cabinet-chart-points,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-cabinet-chart-focus,
.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-cabinet-chart-tooltip {
    opacity: 0;
}

.home-product-wrap.is-live .home-cabinet-chart-area {
    animation: home-real-chart-area 1.9s ease 1s both;
}

.home-product-wrap.is-live .home-cabinet-chart-points,
.home-product-wrap.is-live .home-cabinet-chart-focus,
.home-product-wrap.is-live .home-cabinet-chart-tooltip {
    animation: home-real-points-in .45s ease 1.55s both;
}

.home-product-wrap.is-motion-ready:not(.is-live):not(.is-settled) .home-cabinet-rating-progress span {
    transform: scaleX(.12);
}

.home-product-wrap.is-live .home-cabinet-rating-progress span {
    animation: home-rating-fill 1.4s cubic-bezier(.2,.75,.2,1) .7s both;
}

.home-product-wrap.is-ambient .home-cabinet-shell {
    animation: home-real-cabinet-float 8s ease-in-out infinite;
}

@keyframes home-real-chart-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes home-real-chart-area {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes home-real-points-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes home-rating-fill {
    from { transform: scaleX(.12); }
    to { transform: scaleX(1); }
}

@keyframes homeCabinetCrownOuter {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes homeCabinetCrownInner {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes home-real-cabinet-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@media (max-width: 950px) {
    .home-cabinet-viewport { height: 760px; }
    .home-cabinet-canvas { width: min(760px, calc(100% - 42px)); padding-top: 30px; }
    .home-cabinet-profile { grid-template-columns: auto minmax(0,1fr); }
    .home-cabinet-actions { display: none; }
    .home-cabinet-profile-copy h2 { font-size: 39px; }
    .home-cabinet-results { padding: 24px; }
    .home-cabinet-chart { height: 270px; }
    .home-cabinet-lower { display: none; }
}

@media (max-width: 720px) {
    .home-product-wrap {
        width: calc(100% + 14px);
        margin-left: -7px;
        padding: 0 0 20px;
    }
    .home-cabinet-shell { border-radius: 20px; }
    .home-cabinet-browserbar { min-height: 38px; padding: 0 12px; }
    .home-cabinet-browserbar b { font-size: 9px; }
    .home-cabinet-viewport { height: 600px; }
    .home-cabinet-canvas { width: calc(100% - 24px); padding-top: 16px; }
    .home-cabinet-profile { gap: 15px; min-height: 122px; padding: 18px; border-radius: 17px; }
    .home-cabinet-avatar { width: 68px; height: 68px; }
    .home-cabinet-avatar-core { width: 57px; height: 57px; font-size: 25px; }
    .home-cabinet-avatar > i { width: 18px; height: 18px; border-width: 3px; }
    .home-cabinet-profile-copy h2 { margin-top: 5px; font-size: 28px; }
    .home-cabinet-kicker { font-size: 7px; }
    .home-cabinet-meta { font-size: 7px; }
    .home-cabinet-meta span:nth-child(n+2) { display: none; }
    .home-cabinet-rating { margin-top: 14px; padding: 17px; border-radius: 17px; }
    .home-cabinet-rating-top > div:first-child > strong { font-size: 34px; }
    .home-cabinet-elite { min-height: 78px; gap: 12px; margin-top: 12px; padding: 11px 12px; }
    .home-cabinet-crown-stage { width: 58px; height: 58px; flex-basis: 58px; transform: scale(.92); }
    .home-cabinet-crown-orbit--outer { width: 55px; height: 55px; }
    .home-cabinet-crown-orbit--inner { width: 43px; height: 43px; }
    .home-cabinet-crown-core { width: 32px; height: 32px; font-size: 13px; }
    .home-cabinet-crown-sigil { top: -1px; width: 27px; height: 17px; }
    .home-cabinet-crown-sigil i { width: 11px; height: 14px; }
    .home-cabinet-crown-sigil i:nth-child(2) { left: 8px; height: 17px; }
    .home-cabinet-crown-position { min-width: 25px; padding: 3px 5px; font-size: 6px; }
    .home-cabinet-elite > div:last-child > strong { font-size: 16px; }
    .home-cabinet-rating-meta { gap: 8px; font-size: 6px; }
    .home-cabinet-results { margin-top: 14px; padding: 18px 16px; border-radius: 17px; }
    .home-cabinet-results-head h2 { font-size: 26px; }
    .home-cabinet-current strong { font-size: 38px; }
    .home-cabinet-score-summary { margin-top: 15px; }
    .home-cabinet-score-summary > div { min-height: 58px; padding: 11px 10px; }
    .home-cabinet-score-summary span { font-size: 6px; }
    .home-cabinet-score-summary b { font-size: 8px; }
    .home-cabinet-chart { height: 210px; margin-top: 12px; }
    .home-cabinet-summary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .home-product-wrap.is-motion-ready .home-cabinet-shell,
    .home-product-wrap.is-motion-ready .home-cabinet-rating-progress span,
    .home-product-wrap.is-motion-ready .home-cabinet-chart-line,
    .home-product-wrap.is-motion-ready .home-cabinet-chart-area,
    .home-product-wrap.is-motion-ready .home-cabinet-chart-points,
    .home-product-wrap.is-motion-ready .home-cabinet-chart-focus,
    .home-product-wrap.is-motion-ready .home-cabinet-chart-tooltip,
    .home-product-wrap.is-ambient .home-cabinet-shell,
    .home-cabinet-crown-orbit {
        animation: none !important;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* v8.2.1 — the homepage cabinet preview follows the real dashboard dark theme. */
/* v8.2.8 — product preview starts with rating; profile chrome is intentionally omitted. */
.home-cabinet-canvas > .home-cabinet-rating {
    margin-top: 0;
}

html[data-theme="dark"] .home-cabinet-shell {
    border-color: rgba(255, 105, 72, .16);
    background: #0d0a09;
    box-shadow:
        0 52px 126px rgba(0, 0, 0, .42),
        0 18px 44px rgba(0, 0, 0, .25),
        inset 0 1px rgba(255, 255, 255, .035);
}

html[data-theme="dark"] .home-cabinet-browserbar {
    border-bottom-color: rgba(255, 255, 255, .07);
    background: rgba(13, 10, 9, .96);
    color: #8f8581;
}

html[data-theme="dark"] .home-cabinet-browserbar b {
    color: #b7ada9;
}

html[data-theme="dark"] .home-cabinet-viewport {
    background:
        radial-gradient(circle at 50% 0%, rgba(125, 34, 13, .10), transparent 32%),
        linear-gradient(180deg, #0b0908, #0b0908 58%, #090807);
}

html[data-theme="dark"] .home-cabinet-viewport::after {
    background: linear-gradient(180deg, rgba(9, 8, 7, 0), #090807 88%);
}

html[data-theme="dark"] .home-cabinet-canvas {
    color: #f4efec;
}

html[data-theme="dark"] .home-cabinet-profile,
html[data-theme="dark"] .home-cabinet-rating,
html[data-theme="dark"] .home-cabinet-results,
html[data-theme="dark"] .home-cabinet-summary > div,
html[data-theme="dark"] .home-cabinet-mini-card {
    border-color: rgba(255, 118, 84, .14);
    background: #171211;
}

html[data-theme="dark"] .home-cabinet-profile {
    border-color: rgba(255, 103, 67, .20);
    background:
        radial-gradient(circle at 4% 18%, rgba(207, 52, 18, .18), transparent 29%),
        linear-gradient(135deg, #171211 56%, #1b1210);
    box-shadow: 0 20px 56px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .home-cabinet-profile::after {
    border-color: rgba(255, 88, 50, .12);
    box-shadow:
        0 0 0 42px rgba(213, 52, 18, .035),
        0 0 0 84px rgba(213, 52, 18, .018);
}

html[data-theme="dark"] .home-cabinet-avatar-core {
    border-color: #171211;
    background: radial-gradient(circle at 34% 28%, #d85b42, #851d07 68%, #4a0d02);
}

html[data-theme="dark"] .home-cabinet-avatar > i {
    border-color: #171211;
    background: #e43a16;
}

html[data-theme="dark"] .home-cabinet-kicker,
html[data-theme="dark"] .home-cabinet-rating-top > div:first-child > span,
html[data-theme="dark"] .home-cabinet-results-head > div:first-child > span,
html[data-theme="dark"] .home-cabinet-rating-link {
    color: #ff5733;
}

html[data-theme="dark"] .home-cabinet-kicker b {
    border-color: rgba(255, 91, 54, .24);
    background: rgba(213, 52, 18, .10);
}

html[data-theme="dark"] .home-cabinet-profile-copy h2,
html[data-theme="dark"] .home-cabinet-rating-top > div:first-child > strong,
html[data-theme="dark"] .home-cabinet-rating-top > div:first-child > b,
html[data-theme="dark"] .home-cabinet-place strong,
html[data-theme="dark"] .home-cabinet-results-head h2,
html[data-theme="dark"] .home-cabinet-current strong,
html[data-theme="dark"] .home-cabinet-summary strong,
html[data-theme="dark"] .home-cabinet-section-title strong,
html[data-theme="dark"] .home-cabinet-mini-card > strong,
html[data-theme="dark"] .home-cabinet-mini-card > b,
html[data-theme="dark"] .home-cabinet-history > div strong {
    color: #f6f0ed;
}

html[data-theme="dark"] .home-cabinet-meta,
html[data-theme="dark"] .home-cabinet-place span,
html[data-theme="dark"] .home-cabinet-results-head p,
html[data-theme="dark"] .home-cabinet-current span,
html[data-theme="dark"] .home-cabinet-current small,
html[data-theme="dark"] .home-cabinet-score-summary span,
html[data-theme="dark"] .home-cabinet-rating-meta,
html[data-theme="dark"] .home-cabinet-summary span,
html[data-theme="dark"] .home-cabinet-summary small,
html[data-theme="dark"] .home-cabinet-section-title span,
html[data-theme="dark"] .home-cabinet-mini-card > small,
html[data-theme="dark"] .home-cabinet-mini-card > div:first-child > span {
    color: #998e89;
}

html[data-theme="dark"] .home-cabinet-meta b,
html[data-theme="dark"] .home-cabinet-score-summary b {
    color: #ddd4d0;
}

html[data-theme="dark"] .home-cabinet-actions > div,
html[data-theme="dark"] .home-cabinet-actions > strong {
    border-color: rgba(255, 255, 255, .10);
    background: #1b1514;
    color: #eee8e5;
}

html[data-theme="dark"] .home-cabinet-actions > strong {
    border-color: #e23916;
    background: #df3412;
    color: #fff;
}

html[data-theme="dark"] .home-cabinet-rating {
    border-color: rgba(218, 57, 24, .30);
    background:
        radial-gradient(circle at 95% 12%, rgba(119, 26, 10, .10), transparent 30%),
        #171211;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .home-cabinet-elite {
    border-color: rgba(222, 173, 55, .42);
    background:
        radial-gradient(circle at 10% 42%, rgba(221, 169, 38, .15), transparent 24%),
        linear-gradient(112deg, #20180d, #14110e 48%, #12100e);
    box-shadow: inset 0 1px rgba(255, 224, 134, .035);
}

html[data-theme="dark"] .home-cabinet-crown-core {
    border-color: rgba(255, 234, 177, .16);
    background: radial-gradient(circle at 34% 28%, #c6442c, #781808 58%, #3a0b03);
    box-shadow:
        inset 0 0 0 3px rgba(255, 224, 134, .06),
        0 7px 18px rgba(0, 0, 0, .30),
        0 0 17px var(--crown-glow);
}

html[data-theme="dark"] .home-cabinet-elite > div:last-child > span {
    color: #d2aa3d;
}

html[data-theme="dark"] .home-cabinet-elite > div:last-child > strong {
    color: #f4efec;
}

html[data-theme="dark"] .home-cabinet-elite small {
    color: #8f8580;
}

html[data-theme="dark"] .home-cabinet-rating-progress {
    background: #2b2321;
}

html[data-theme="dark"] .home-cabinet-rating-progress span {
    background: #df3412;
}

html[data-theme="dark"] .home-cabinet-results {
    border-color: rgba(255, 255, 255, .10);
    background: #171312;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .home-cabinet-score-summary {
    border-color: rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .012);
}

html[data-theme="dark"] .home-cabinet-score-summary > div {
    border-right-color: rgba(255, 255, 255, .075);
}

html[data-theme="dark"] .home-cabinet-score-summary > div:last-child b {
    color: #55bd76;
}

html[data-theme="dark"] .home-cabinet-chart {
    border-color: rgba(255, 255, 255, .09);
    background:
        linear-gradient(180deg, rgba(30, 22, 20, .74), rgba(14, 11, 10, .96)),
        #0e0b0a;
}

html[data-theme="dark"] .home-cabinet-grid line {
    stroke: rgba(255, 255, 255, .075);
}

html[data-theme="dark"] .home-cabinet-chart-points circle,
html[data-theme="dark"] .home-cabinet-chart-focus {
    fill: #df3a16;
    stroke: #171312;
}

html[data-theme="dark"] .home-cabinet-chart-line {
    stroke: #df3a16;
}

html[data-theme="dark"] .home-cabinet-yaxis,
html[data-theme="dark"] .home-cabinet-xaxis {
    color: #786e6a;
}

html[data-theme="dark"] .home-cabinet-chart-tooltip {
    border-color: rgba(255, 255, 255, .10);
    background: rgba(28, 21, 19, .96);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
    color: #f2ece9;
}

html[data-theme="dark"] .home-cabinet-summary > div,
html[data-theme="dark"] .home-cabinet-mini-card {
    border-color: rgba(255, 255, 255, .085);
    background: #171312;
}

html[data-theme="dark"] .home-cabinet-mini-card > div:first-child > span,
html[data-theme="dark"] .home-cabinet-mini-card > b {
    border-color: rgba(255, 255, 255, .10);
}

html[data-theme="dark"] .home-cabinet-history > div {
    border-bottom-color: rgba(255, 255, 255, .07);
}


/* home-progress-v2 */

.home-feature-progress-v2 {
  overflow: hidden;
}

.home-progress-v2 {
  position: absolute;
  right: 28px;
  bottom: 0;
  left: 28px;
  min-height: 292px;
  padding: 25px 26px 21px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(circle at 84% 20%, rgba(210,35,5,.12), transparent 30%),
    #202023;
}

.home-progress-v2-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.home-progress-v2-kicker {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.home-progress-v2-head strong {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: #fff;
  font-size: 43px;
  line-height: .95;
  letter-spacing: -.055em;
}

.home-progress-v2-head strong small {
  color: rgba(255,255,255,.45);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.home-progress-v2-delta {
  min-width: 88px;
  padding: 10px 12px 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  text-align: right;
}

.home-progress-v2-delta b {
  display: block;
  color: #fff;
  font-size: 18px;
}

.home-progress-v2-delta span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.42);
  font-size: 8px;
}

.home-progress-v2-chart {
  position: relative;
  height: 124px;
  margin: 17px 0 0 22px;
  color: var(--home-red);
}

.home-progress-v2-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.home-progress-v2-grid line {
  stroke: rgba(255,255,255,.07);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.home-progress-v2-area {
  fill: url(#homeProgressArea);
}

.home-progress-v2-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.home-progress-v2-points circle {
  fill: #202023;
  stroke: currentColor;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.home-progress-v2-points .is-record-halo {
  fill: currentColor;
  opacity: .16;
  stroke: none;
}

.home-progress-v2-points .is-record {
  fill: currentColor;
  stroke: #202023;
  stroke-width: 3;
}

.home-progress-v2-scale {
  position: absolute;
  top: -4px;
  bottom: 12px;
  left: -25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255,255,255,.24);
  font-size: 7px;
}

.home-progress-v2-record {
  position: absolute;
  top: -8px;
  right: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: 1px solid rgba(210,35,5,.25);
  border-radius: 8px;
  background: rgba(20,17,17,.92);
  transform: translateY(-100%);
}

.home-progress-v2-record span {
  color: rgba(255,255,255,.45);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .08em;
}

.home-progress-v2-record b {
  color: #fff;
  font-size: 10px;
}

.home-progress-v2-chart-labels {
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.27);
  font-size: 7px;
}

.home-progress-v2-chart-labels span:last-child {
  color: rgba(255,255,255,.75);
  font-weight: 700;
}

.home-progress-v2-facts {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.home-progress-v2-facts div {
  padding: 11px 12px 0;
  border-right: 1px solid rgba(255,255,255,.07);
}

.home-progress-v2-facts div:first-child {
  padding-left: 0;
}

.home-progress-v2-facts div:last-child {
  border-right: 0;
}

.home-progress-v2-facts span,
.home-progress-v2-facts b {
  display: block;
}

.home-progress-v2-facts span {
  margin-bottom: 3px;
  color: rgba(255,255,255,.32);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-progress-v2-facts b {
  color: rgba(255,255,255,.82);
  font-size: 9px;
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .home-progress-v2-points .is-record-halo {
    transform-origin: 602px 38px;
    animation: home-progress-record-pulse 2.8s ease-out infinite;
  }

  @keyframes home-progress-record-pulse {
    0%,45% {
      opacity: .16;
      transform: scale(.7);
    }
    75%,100% {
      opacity: 0;
      transform: scale(1.55);
    }
  }
}

@media (max-width:760px) {
  .home-feature-progress-v2 {
    min-height: 660px;
  }

  .home-progress-v2 {
    right: 18px;
    left: 18px;
    padding: 22px 18px 18px;
  }

  .home-progress-v2-head strong {
    font-size: 38px;
  }

  .home-progress-v2-chart {
    height: 116px;
  }

  .home-progress-v2-facts b {
    font-size: 8px;
  }
}


/* home-progress-simple-v1 */

.home-feature-progress-simple {
    overflow: hidden;
}

.home-progress-simple {
    position: absolute;
    right: 28px;
    bottom: 0;
    left: 28px;
    padding: 30px 30px 26px;
    border: 1px solid rgba(255,255,255,.11);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: #242426;
}

.home-progress-simple-label {
    color: rgba(255,255,255,.38);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.home-progress-simple-score {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 12px;
}

.home-progress-simple-score strong {
    color: #fff;
    font-size: 72px;
    line-height: .9;
    letter-spacing: -.07em;
}

.home-progress-simple-score span {
    color: rgba(255,255,255,.42);
    font-size: 11px;
}

.home-progress-simple-change {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 17px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.42);
}

.home-progress-simple-change span,
.home-progress-simple-change b {
    font-size: 19px;
}

.home-progress-simple-change b {
    color: #fff;
}

.home-progress-simple-change i {
    font-style: normal;
    opacity: .35;
}

.home-progress-simple-change em {
    margin-left: auto;
    color: var(--home-red);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.home-progress-simple-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.home-progress-simple-total span {
    color: rgba(255,255,255,.42);
    font-size: 11px;
}

.home-progress-simple-total b {
    color: #fff;
    font-size: 17px;
}

@media (max-width:760px) {
    .home-feature-progress-simple {
        min-height: 620px;
    }

    .home-progress-simple {
        right: 18px;
        left: 18px;
        padding: 25px 22px 22px;
    }

    .home-progress-simple-score strong {
        font-size: 62px;
    }
}
