:root{
    --v5-bg:#f7f7fb;
    --v5-card:#fff;
    --v5-text:#19171c;
    --v5-muted:#716d76;
    --v5-purple:#65558f;
    --v5-purple-soft:#ece4f7;
    --v5-gold:#efb646;
    --v5-clay:#b95f43;
    --v5-green:#55785c;
    --v5-line:rgba(30,25,35,.07);
}

.v5-shell{
    max-width:1450px;
    margin:auto;
    padding:32px 34px 130px;
}

.v5-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:35px;
}

.v5-brand{
    display:flex;
    align-items:center;
    gap:12px;
}

.v5-brand-mark{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:18px;
    color:white;
    font-size:20px;
    font-weight:900;
    background:
        linear-gradient(
            145deg,
            #65558f,
            #8c73b8
        );
}

.v5-brand strong{
    display:block;
}

.v5-brand span{
    color:var(--v5-muted);
    font-size:12px;
}

.v5-nav{
    margin-left:auto;
    display:flex;
    gap:6px;
}

.v5-nav a{
    padding:11px 15px;
    border-radius:15px;
    color:#5f5a65;
    font-size:14px;
}

.v5-nav a:hover,
.v5-nav a.active{
    background:var(--v5-purple-soft);
    color:#382c4d;
}

.v5-hero{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:25px;
    margin-bottom:30px;
}

.v5-eyebrow{
    color:var(--v5-purple);
    font-size:11px;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.v5-hero h1{
    max-width:820px;
    font-size:clamp(39px,6vw,68px);
    line-height:.96;
    letter-spacing:-.06em;
    margin:10px 0 11px;
}

.v5-hero p{
    max-width:650px;
    color:var(--v5-muted);
    line-height:1.55;
}

.v5-grid{
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:15px;
}

.v5-card{
    grid-column:span 4;
    border:1px solid var(--v5-line);
    border-radius:27px;
    background:rgba(255,255,255,.88);
    padding:23px;
    box-shadow:
        0 10px 40px
        rgba(30,24,40,.045);
}

.v5-card.wide{
    grid-column:span 8;
}

.v5-card.full{
    grid-column:1/-1;
}

.v5-card.dark{
    color:white;
    border:0;
    background:
        radial-gradient(
            circle at 80% 0,
            rgba(239,182,70,.16),
            transparent 15rem
        ),
        linear-gradient(
            140deg,
            #201c24,
            #352b3b
        );
}

.v5-card h2,
.v5-card h3{
    margin:4px 0 9px;
    letter-spacing:-.035em;
}

.v5-card h2{
    font-size:28px;
}

.v5-card p{
    color:var(--v5-muted);
    line-height:1.5;
    font-size:14px;
}

.v5-card.dark p{
    color:rgba(255,255,255,.6);
}

.v5-stat{
    font-size:38px;
    font-weight:850;
    letter-spacing:-.05em;
    margin-top:20px;
}

.v5-label{
    font-size:11px;
    color:var(--v5-muted);
    text-transform:uppercase;
    letter-spacing:.1em;
    font-weight:850;
}

.v5-status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:31px;
    padding:0 11px;
    border-radius:999px;
    background:#edf4ed;
    color:#386342;
    font-size:11px;
    font-weight:850;
}

.v5-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#4b985d;
}

.v5-actions{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:20px;
}

.v5-btn{
    min-height:46px;
    border:0;
    border-radius:17px;
    padding:0 18px;
    cursor:pointer;
    font-weight:800;
    background:#eeeaf2;
    color:#392f43;
}

.v5-btn.primary{
    background:var(--v5-purple);
    color:white;
}

.v5-btn.live{
    background:var(--v5-clay);
    color:white;
}

.v5-btn:disabled{
    opacity:.5;
    cursor:not-allowed;
}

.v5-engine{
    display:grid;
    gap:13px;
    margin-top:20px;
}

.v5-engine-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 0;
    border-bottom:1px solid var(--v5-line);
}

.dark .v5-engine-row{
    border-color:rgba(255,255,255,.08);
}

.v5-engine-row:last-child{
    border:0;
}

.v5-setting{
    display:grid;
    grid-template-columns:minmax(180px,1fr) 2fr;
    gap:25px;
    padding:22px 0;
    border-bottom:1px solid var(--v5-line);
}

.v5-setting:last-child{
    border:0;
}

.v5-setting-title strong{
    display:block;
}

.v5-setting-title span{
    display:block;
    color:var(--v5-muted);
    font-size:12px;
    margin-top:5px;
}

.v5-control{
    width:100%;
    min-height:48px;
    padding:0 15px;
    border:1px solid var(--v5-line);
    border-radius:16px;
    background:#f8f7fa;
    outline:0;
}

.v5-toggle{
    display:flex;
    align-items:center;
    gap:10px;
}

.v5-toggle input{
    width:21px;
    height:21px;
}

.v5-user-preview{
    min-height:310px;
    border-radius:30px;
    padding:28px;
    color:white;
    background:
        radial-gradient(
            circle at 90% 0,
            rgba(239,182,70,.32),
            transparent 18rem
        ),
        linear-gradient(
            135deg,
            #30263b,
            #775041
        );
}

.v5-user-preview h2{
    font-size:36px;
    max-width:500px;
}

.v5-user-preview p{
    color:rgba(255,255,255,.68);
}

.v5-note{
    padding:16px 18px;
    border-radius:18px;
    background:#fff5dc;
    color:#715322;
    font-size:13px;
    line-height:1.5;
}

@media(max-width:950px){
    .v5-card,
    .v5-card.wide{
        grid-column:span 6;
    }
}

@media(max-width:680px){
    .v5-shell{
        padding:20px 15px 120px;
    }

    .v5-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .v5-nav{
        width:100%;
        margin:0;
        overflow-x:auto;
    }

    .v5-hero{
        align-items:flex-start;
        flex-direction:column;
    }

    .v5-card,
    .v5-card.wide{
        grid-column:1/-1;
    }

    .v5-setting{
        grid-template-columns:1fr;
        gap:12px;
    }
}
