/* T-2841. Homepage preview uses the Watch deck and its existing player and swipe actions. */
.evs--home {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) minmax(0, 2.1fr);
    align-items: center;
    gap: clamp(18px, 3.3vw, 48px);
    margin: 18px 0 22px;
    padding: clamp(16px, 3vw, 38px);
    border: 1px solid #406452;
    border-radius: 22px;
    background: radial-gradient(ellipse at 74% 24%, #1a392b 0%, transparent 58%),
        radial-gradient(ellipse at 5% 94%, #2c1a24 0%, transparent 48%), #121a19;
    overflow: hidden;
}
.evs--home .evs-home-ribbon {
    display: inline-block;
    margin: 0 0 16px;
    padding: 8px 29px 8px 13px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 11px) 50%, 100% 100%, 0 100%);
    background: linear-gradient(105deg, #ffe987, #ffbb4e);
    color: #281703;
    font: 900 clamp(11px, 1.1vw, 14px)/1.2 var(--evs-mono);
    letter-spacing: .13em;
    text-transform: uppercase;
}
.evs--home .evs-title {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 5.7vw, 85px);
    text-transform: uppercase;
}
.evs--home .evs-title span { color: #a4f9c4; }
.evs-home-instructions { margin: 12px 0 16px; color: #d0ded5; font-size: 15px; }
.evs--home .evs-home-cta {
    min-height: 46px;
    padding: 0 15px;
    border-color: #bcffd3;
    background: #a4f9c4;
    color: #092517;
    font-weight: 800;
}
.evs--home .evs-home-cta:hover { background: #c4ffda; color: #092517; }
.evs-home-trial { margin: 8px 0 0; color: #ccd9d1; font-size: 12px; }
.evs--home .evs-stage { display: block; min-width: 0; }
.evs--home .evs-stage--empty .evs-deckwrap { display: none; }
.evs--home .evs-deck {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 1.22fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(7px, 1.15vw, 16px);
    width: 100%;
    height: clamp(265px, 31vw, 383px);
}
.evs--home .evs-card {
    position: relative;
    inset: auto;
    grid-row: 1;
    align-self: center;
    height: 83%;
    min-width: 0;
    border-radius: 15px;
    box-shadow: 0 12px 24px #06130caa;
}
.evs--home .evs-card--later { grid-column: 1; }
.evs--home .evs-card--active {
    grid-column: 2;
    width: min(100%, 270px);
    height: 100%;
    margin: auto;
    border-color: #a5f8c1;
    box-shadow: 0 0 0 3px #a5f8c127, 0 12px 28px #06130cbb;
}
.evs--home .evs-card--next { grid-column: 3; transform: none; }
.evs--home :is(.evs-card--next, .evs-card--later) { opacity: .8; filter: saturate(.86); pointer-events: none; }
.evs--home .evs-home-static { display: block; pointer-events: auto; }
.evs--home .evs-card--active.evs-card--pass { border-color: #ff8f9c; }
.evs--home .evs-card--active.evs-card--save { border-color: #a5f8c1; }
.evs--home .evs-card__play { width: 52px; height: 52px; font-size: 19px; }
.evs--home .evs-card__grip { height: 22px; opacity: 0; }
.evs--home .evs-card--playing .evs-card__grip { opacity: 1; }
.evs--home .evs-card--playing .evs-card__media { top: 38px; bottom: 28px; }
.evs--home .evs-card--playing :is(.evs-home-card-label, .evs-home-duration),
.evs--home .evs-card--failed .evs-home-card-label { display: none; }
.evs-home-duration {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    padding: 3px 5px;
    border-radius: 5px;
    background: #07100dd9;
    color: #fff;
    font: 11px var(--evs-mono);
}
.evs-home-card-label {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 32px 12px 12px;
    background: linear-gradient(0deg, #080e0bea 20%, #080e0ba3 62%, transparent);
    color: #fff;
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: 720;
    line-height: 1.18;
}
.evs-home-card-label a { color: #fff; text-decoration: none; }
.evs-home-card-label a:hover { text-decoration: underline; }
.evs-home-card-label small { color: #d6e4da; font-size: 11px; font-weight: 500; }
.evs--home .evs-home-actions { display: none; justify-content: center; flex-wrap: wrap; gap: 8px; }
.evs--home.evs--ready .evs-home-actions { display: flex; }
.evs--home .evs-home-actions .evs-btn { padding: 0 13px; min-height: 44px; min-width: 0; font-size: 14px; }
.evs--home .evs-gate { margin: 0 auto; }
.evs--home .evs-toast { position: relative; inset: auto; transform: none; grid-column: 1 / -1; justify-self: center; }
@media (max-width: 760px) {
    .evs--home { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .evs-home-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 5px;
    }
    .evs--home .evs-home-ribbon { grid-column: 1 / -1; justify-self: start; margin-bottom: 4px; padding-block: 6px; }
    .evs--home .evs-title { font-size: clamp(32px, 9vw, 49px); }
    .evs--home .evs-home-cta { grid-column: 2; grid-row: 2; padding: 0 9px; min-height: 44px; font-size: 13px; }
    .evs-home-instructions, .evs-home-trial { grid-column: 1 / -1; margin: 0; font-size: 12px; }
    .evs--home .evs-deck { grid-template-columns: minmax(0, 1fr) minmax(200px, 3fr) minmax(0, 1fr); height: clamp(275px, 76vw, 355px); gap: 6px; }
    .evs--home .evs-card { border-radius: 11px; }
    .evs--home :is(.evs-card--next, .evs-card--later) :is(.evs-home-card-label, .evs-home-duration) { display: none; }
    .evs--home .evs-card__fallback { left: 7px; right: 7px; bottom: 36px; padding: 10px; }
}
@media (max-width: 350px) {
    .evs--home { padding-inline: 9px; }
    .evs--home .evs-home-cta { font-size: 12px; }
}
