.ja-stg,
.ja-stg * {
    box-sizing: border-box;
}

.ja-stg {
    --ja-bg: #061915;
    --ja-bg-2: #0b261f;
    --ja-card: rgba(255,255,255,.082);
    --ja-card-strong: rgba(255,255,255,.14);
    --ja-border: rgba(255,255,255,.16);
    --ja-text: #f7fffb;
    --ja-muted: rgba(247,255,251,.74);
    --ja-soft: rgba(247,255,251,.54);
    --ja-orange: #ff8a1f;
    --ja-gold: #ffd166;
    --ja-green: #27e690;
    --ja-red: #ff4d5e;
    --ja-black: #07100d;
    --ja-radius: 24px;
    --ja-shadow: 0 22px 70px rgba(0,0,0,.36);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 14px 88px;
    color: var(--ja-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(39,230,144,.24), transparent 21rem),
        radial-gradient(circle at 94% 6%, rgba(255,138,31,.24), transparent 20rem),
        linear-gradient(145deg, #061915 0%, #08221d 46%, #130e09 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    box-shadow: var(--ja-shadow);
    font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
}

.ja-stg [hidden],
.ja-stg[hidden] {
    display: none !important;
}

.ja-stg a,
.ja-stg button,
.ja-stg input,
.ja-stg video {
    font: inherit;
}

.ja-stg a {
    color: inherit;
}

.ja-stg h1,
.ja-stg h2,
.ja-stg h3,
.ja-stg p {
    margin-top: 0;
}

.ja-stg p {
    color: var(--ja-muted);
}

.ja-stg__glow {
    position: absolute;
    width: 20rem;
    height: 20rem;
    filter: blur(46px);
    opacity: .38;
    border-radius: 999px;
    z-index: -1;
    pointer-events: none;
}

.ja-stg__glow--one {
    left: -11rem;
    top: 10rem;
    background: #27e690;
}

.ja-stg__glow--two {
    right: -12rem;
    top: -12rem;
    background: #ff7a1a;
}

.ja-stg__hero {
    display: grid;
    gap: 18px;
    align-items: center;
}

.ja-stg__eyebrow,
.ja-stg__world-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 11px;
    padding: 7px 10px;
    color: #e9fff6;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.15;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 900;
}

.ja-stg h1 {
    max-width: 780px;
    margin-bottom: 13px;
    font-size: clamp(34px, 10.5vw, 72px);
    line-height: .92;
    letter-spacing: -.055em;
}

.ja-stg h2 {
    margin-bottom: 9px;
    font-size: clamp(24px, 7vw, 39px);
    line-height: .98;
    letter-spacing: -.04em;
}

.ja-stg__hero-copy p {
    max-width: 760px;
    margin-bottom: 0;
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.52;
}

.ja-stg__hero-actions,
.ja-stg__player-actions,
.ja-stg__modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
}

.ja-stg__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 0;
    border-radius: 17px;
    text-decoration: none !important;
    font-weight: 950;
    line-height: 1.1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.ja-stg__btn:hover,
.ja-stg__level:hover {
    transform: translateY(-2px);
}

.ja-stg__btn:active,
.ja-stg__level:active {
    transform: translateY(0) scale(.99);
}

.ja-stg__btn--primary {
    color: #1c0d00 !important;
    background: linear-gradient(135deg, #ffe38a, var(--ja-orange));
    box-shadow: 0 16px 38px rgba(255,138,31,.32);
}

.ja-stg__btn--ghost {
    color: var(--ja-text) !important;
    background: rgba(255,255,255,.08);
    border: 1px solid var(--ja-border);
}

.ja-stg__btn--gold {
    color: #171100 !important;
    background: linear-gradient(135deg, #fff3b0, #f5b62d);
    box-shadow: 0 16px 34px rgba(245,182,45,.23);
}

.ja-stg__btn--small {
    min-height: 44px;
    padding: 11px 13px;
    font-size: 13px;
}

.ja-stg__quick-rules {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
}

.ja-stg__quick-rules span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    color: rgba(247,255,251,.9);
    font-size: 14px;
    font-weight: 800;
}

.ja-stg__quick-rules b {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    color: #0b1b15;
    border-radius: 999px;
    background: var(--ja-green);
    font-size: 13px;
}

.ja-stg__hero-panel {
    display: none;
}

.ja-stg__phone-demo {
    width: min(100%, 330px);
    min-height: 448px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.035)),
        radial-gradient(circle at 50% 0%, rgba(255,138,31,.22), transparent 16rem);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 70px rgba(0,0,0,.34);
    transform: rotate(2deg);
}

.ja-stg__phone-top {
    width: 66px;
    height: 7px;
    margin: 0 auto 23px;
    border-radius: 20px;
    background: rgba(255,255,255,.24);
}

.ja-stg__phone-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 78px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
}

.ja-stg__phone-card span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: rgba(0,0,0,.16);
}

.ja-stg__phone-card strong {
    font-size: 18px;
    line-height: 1;
}

.ja-stg__phone-card small {
    color: rgba(255,255,255,.72);
    font-weight: 750;
}

.ja-stg__phone-card.is-free {
    color: #051a12;
    background: linear-gradient(135deg, #a8ffd5, #22e48b);
}

.ja-stg__phone-card.is-free small,
.ja-stg__phone-card.is-waiting small {
    color: rgba(0,0,0,.64);
}

.ja-stg__phone-card.is-waiting {
    color: #201000;
    background: linear-gradient(135deg, #ffe19a, #ff8a1f);
    animation: jaStgPulse 1.5s ease-in-out infinite;
}

.ja-stg__phone-card.is-locked {
    color: rgba(255,255,255,.62);
    background: rgba(0,0,0,.18);
}

.ja-stg__phone-cta {
    display: block;
    margin-top: 20px;
    padding: 16px;
    color: #160b00 !important;
    background: #fff;
    border-radius: 18px;
    font-weight: 950;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.ja-stg__unlock,
.ja-stg__upsell,
.ja-stg__player,
.ja-stg__world,
.ja-stg__hud,
.ja-stg__howto {
    margin-top: 16px;
    border: 1px solid var(--ja-border);
    background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
    border-radius: var(--ja-radius);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.ja-stg__unlock {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.ja-stg__unlock h2,
.ja-stg__unlock p,
.ja-stg__upsell h2,
.ja-stg__upsell p {
    margin-bottom: 0;
}

.ja-stg__unlock.is-unlocked {
    border-color: rgba(39,230,144,.38);
    background:
        linear-gradient(145deg, rgba(39,230,144,.17), rgba(255,255,255,.05));
}

.ja-stg__form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(247,255,251,.88);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.ja-stg__form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.ja-stg__form input {
    width: 100%;
    min-height: 54px;
    padding: 14px 15px;
    color: #061915;
    border: 2px solid transparent;
    border-radius: 17px;
    background: #fff;
    font-size: 16px;
    outline: none;
}

.ja-stg__form input:focus {
    border-color: var(--ja-gold);
    box-shadow: 0 0 0 4px rgba(255,209,102,.18);
}

.ja-stg__notice {
    min-height: 22px;
    margin: 10px 0 0;
    color: var(--ja-muted);
    font-size: 13px;
    line-height: 1.45;
}

.ja-stg__notice[data-state="ok"] {
    color: #a8ffd5;
    font-weight: 850;
}

.ja-stg__notice[data-state="error"] {
    color: #ffb6bf;
    font-weight: 850;
}

.ja-stg__notice[data-state="loading"] {
    color: #fff0a8;
    font-weight: 850;
}

.ja-stg__form.is-loading .ja-stg__btn {
    opacity: .76;
    pointer-events: none;
}

.ja-stg__app {
    display: block;
}

.ja-stg__hud {
    position: sticky;
    top: 8px;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
    backdrop-filter: blur(14px);
}

.ja-stg__hud .ja-stg__btn {
    grid-column: 1 / -1;
}

.ja-stg__hud-item {
    min-height: 68px;
    padding: 10px 8px;
    border-radius: 18px;
    background: rgba(0,0,0,.18);
    text-align: center;
}

.ja-stg__hud-item span {
    display: block;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    font-weight: 950;
}

.ja-stg__hud-item small {
    display: block;
    margin-top: 5px;
    color: var(--ja-soft);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.ja-stg__howto {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 13px;
    color: rgba(247,255,251,.84);
    font-size: 14px;
}

.ja-stg__howto strong {
    color: #fff;
}

.ja-stg__worlds {
    display: grid;
    gap: 16px;
}

.ja-stg__world {
    overflow: hidden;
}

.ja-stg__world-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 16px;
}

.ja-stg__world-head h2 {
    margin-bottom: 6px;
}

.ja-stg__world-subtitle {
    margin-bottom: 6px;
    color: rgba(247,255,251,.86);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
}

.ja-stg__world-promise {
    margin-bottom: 0;
    color: var(--ja-muted);
    font-size: 14px;
    line-height: 1.45;
}

.ja-stg__world-score {
    min-width: 70px;
    padding: 10px 8px;
    border-radius: 18px;
    background: rgba(0,0,0,.2);
    text-align: center;
}

.ja-stg__world-score strong {
    display: block;
    font-size: 21px;
    line-height: 1;
    font-weight: 950;
}

.ja-stg__world-score span {
    display: block;
    margin-top: 5px;
    color: var(--ja-soft);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ja-stg__levels {
    display: grid;
    gap: 10px;
    padding: 0 12px 14px;
}

.ja-stg__level {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    width: 100%;
    min-height: 132px;
    padding: 9px;
    color: var(--ja-text);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: rgba(0,0,0,.18);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease, filter .18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.ja-stg__level.is-playable {
    background:
        linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.065)),
        radial-gradient(circle at 20% 0%, rgba(255,209,102,.2), transparent 12rem);
    border-color: rgba(255,209,102,.42);
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.ja-stg__level.is-playable:not(.is-completed) {
    animation: jaStgCardGlow 2s ease-in-out infinite;
}

.ja-stg__level.is-free:not(.is-completed) {
    border-color: rgba(39,230,144,.48);
}

.ja-stg__level.is-completed {
    border-color: rgba(39,230,144,.48);
    background: linear-gradient(135deg, rgba(39,230,144,.18), rgba(255,255,255,.06));
}

.ja-stg__level.is-locked {
    opacity: .9;
    filter: saturate(.72);
}

.ja-stg__level-img {
    position: relative;
    display: block;
    width: 96px;
    min-height: 114px;
    border-radius: 17px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}

.ja-stg__level-img img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 114px;
    object-fit: cover;
    transform: scale(1.02);
}

.ja-stg__level.is-locked .ja-stg__level-img img {
    filter: grayscale(.22) brightness(.72);
}

.ja-stg__level-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35));
}

.ja-stg__status-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #0d140f;
    border-radius: 14px;
    background: #fff;
    font-size: 17px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

.ja-stg__level-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 6px 4px 3px 0;
}

.ja-stg__level-top {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
}

.ja-stg__level-no,
.ja-stg__level-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 24px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ja-stg__level-no {
    color: #07100d;
    background: rgba(255,255,255,.92);
}

.ja-stg__level-status {
    color: #fff;
    background: rgba(255,255,255,.12);
}

.ja-stg__level strong {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.ja-stg__level small {
    display: -webkit-box;
    color: rgba(247,255,251,.75);
    font-size: 13px;
    line-height: 1.32;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ja-stg__level-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    margin-top: auto;
    padding: 8px 11px;
    color: #170d00;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffe38a, #ff8a1f);
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
}

.ja-stg__level.is-locked .ja-stg__level-cta {
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.12);
}

.ja-stg__world--emerald .ja-stg__world-badge,
.ja-stg__world--emerald .ja-stg__level.is-completed .ja-stg__level-cta {
    background: rgba(39,230,144,.18);
}

.ja-stg__world--orange .ja-stg__world-badge {
    background: rgba(255,138,31,.18);
}

.ja-stg__world--red .ja-stg__world-badge {
    background: rgba(255,77,94,.18);
}

.ja-stg__player {
    overflow: hidden;
}

.ja-stg__player-head {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 12px;
    align-items: start;
    padding: 16px;
}

.ja-stg__player-head p {
    margin-bottom: 0;
    font-size: 15px;
}

.ja-stg__player-close,
.ja-stg__modal-close {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 15px;
    background: rgba(255,255,255,.1);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.ja-stg__video-wrap {
    position: relative;
    margin: 0 12px;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
}

.ja-stg__video-wrap video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 72vh;
    background: #000;
    object-fit: contain;
}

.ja-stg__timer-card {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background: rgba(5,15,12,.76);
    backdrop-filter: blur(14px);
}

.ja-stg__phase {
    grid-row: span 2;
    min-width: 78px;
    color: #07100d;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--ja-green);
    text-align: center;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
}

.ja-stg__timer {
    color: #fff;
    font-size: clamp(26px, 8vw, 50px);
    line-height: .92;
    font-weight: 950;
    letter-spacing: -.04em;
}

.ja-stg__phase-sub {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
}

.ja-stg__player-actions {
    padding: 14px 12px 0;
}

.ja-stg__progress-line {
    height: 10px;
    margin: 14px 12px 16px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}

.ja-stg__progress-line span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ja-green), var(--ja-gold), var(--ja-orange));
    transition: width .35s linear;
}

.ja-stg__upsell {
    padding: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255,209,102,.16), transparent 16rem),
        linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
}

.ja-stg__upsell .ja-stg__btn {
    margin-top: 14px;
}

.ja-stg__sticky {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 9999;
    display: grid;
    grid-template-columns: .8fr 1.1fr 1.1fr;
    gap: 6px;
    max-width: 520px;
    margin: 0 auto;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    background: rgba(5,15,12,.84);
    box-shadow: 0 18px 45px rgba(0,0,0,.42);
    backdrop-filter: blur(16px);
}

.ja-stg__sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 8px;
    border-radius: 15px;
    text-decoration: none !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 950;
    text-align: center;
}

.ja-stg__sticky-play {
    color: #08110d !important;
    background: var(--ja-green);
}

.ja-stg__sticky-unlock {
    color: #1b0d00 !important;
    background: linear-gradient(135deg, #ffe38a, #ff8a1f);
}

.ja-stg__sticky-full {
    color: #161000 !important;
    background: linear-gradient(135deg, #fff1a8, #f5b62d);
}

.ja-stg__sticky.is-unlocked .ja-stg__sticky-unlock {
    color: #061915 !important;
    background: #a8ffd5;
}

.ja-stg__modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: end center;
    padding: 14px;
    background: rgba(0,0,0,.66);
    backdrop-filter: blur(12px);
}

.ja-stg__modal-card {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 22px 18px 18px;
    color: var(--ja-text);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    background:
        radial-gradient(circle at 20% 0%, rgba(39,230,144,.2), transparent 18rem),
        linear-gradient(145deg, #08231d, #130e09);
    box-shadow: 0 30px 90px rgba(0,0,0,.48);
}

.ja-stg__modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
}

.ja-stg__modal-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    font-size: 31px;
}

.ja-stg__modal-card h2 {
    padding-right: 46px;
}

.ja-stg__modal-card p {
    margin-bottom: 0;
    font-size: 16px;
}

.ja-stg__form--modal {
    margin-top: 16px;
}

.ja-stg__burst {
    position: fixed;
    inset: 0;
    z-index: 10001;
    pointer-events: none;
    overflow: hidden;
}

.ja-stg__burst span {
    position: absolute;
    bottom: 12%;
    font-size: 24px;
    animation: jaStgBurst 1.45s cubic-bezier(.18,.8,.2,1) forwards;
}

@keyframes jaStgPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(255,138,31,0); }
    50% { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,138,31,.24); }
}

@keyframes jaStgCardGlow {
    0%, 100% { box-shadow: 0 12px 28px rgba(0,0,0,.2), 0 0 0 rgba(255,209,102,0); }
    50% { box-shadow: 0 14px 34px rgba(0,0,0,.24), 0 0 0 4px rgba(255,209,102,.1); }
}

@keyframes jaStgBurst {
    0% { transform: translate(0,0) scale(.7); opacity: 0; }
    12% { opacity: 1; }
    100% { transform: translate(var(--x), calc(-1 * var(--y))) rotate(22deg) scale(1.15); opacity: 0; }
}

@media (min-width: 520px) {
    .ja-stg {
        padding: 24px 22px 96px;
    }

    .ja-stg__hero-actions,
    .ja-stg__player-actions,
    .ja-stg__modal-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .ja-stg__btn {
        width: auto;
        min-width: 180px;
    }

    .ja-stg__quick-rules {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ja-stg__form-row {
        grid-template-columns: 1fr auto;
    }

    .ja-stg__form-row .ja-stg__btn {
        min-width: 150px;
    }

    .ja-stg__levels {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ja-stg__level {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 10px;
    }

    .ja-stg__level-img {
        width: 100%;
        min-height: 190px;
        aspect-ratio: 4 / 5;
    }

    .ja-stg__level-img img {
        min-height: 190px;
    }

    .ja-stg__level-body {
        min-height: 172px;
        padding: 4px 4px 2px;
    }

    .ja-stg__status-icon {
        top: 18px;
        left: 18px;
    }

    .ja-stg__modal {
        place-items: center;
        padding: 24px;
    }
}

@media (min-width: 760px) {
    .ja-stg {
        padding: clamp(28px, 4vw, 44px) clamp(24px, 3.6vw, 44px) 110px;
    }

    .ja-stg__hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
        gap: clamp(24px, 5vw, 58px);
        min-height: 430px;
    }

    .ja-stg__hero-panel {
        display: flex;
        justify-content: center;
    }

    .ja-stg__unlock {
        grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
        gap: 22px;
        align-items: center;
        padding: 22px;
    }

    .ja-stg__hud {
        grid-template-columns: repeat(3, 118px) 1fr;
        align-items: center;
        padding: 12px;
    }

    .ja-stg__hud .ja-stg__btn {
        grid-column: auto;
        justify-self: end;
    }

    .ja-stg__howto {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
        padding: 15px 18px;
    }

    .ja-stg__world-head {
        padding: 22px;
    }

    .ja-stg__levels {
        padding: 0 18px 20px;
        gap: 14px;
    }

    .ja-stg__player-head,
    .ja-stg__player-actions {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ja-stg__video-wrap,
    .ja-stg__progress-line {
        margin-left: 20px;
        margin-right: 20px;
    }

    .ja-stg__timer-card {
        left: 18px;
        right: auto;
        bottom: 18px;
        min-width: 280px;
    }

    .ja-stg__upsell {
        padding: 26px;
    }
}

@media (min-width: 1020px) {
    .ja-stg__sticky {
        display: none;
    }

    .ja-stg {
        padding-bottom: 44px;
    }

    .ja-stg__level-img {
        min-height: 230px;
    }

    .ja-stg__level-img img {
        min-height: 230px;
    }
}

@media (max-width: 380px) {
    .ja-stg {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ja-stg__level {
        grid-template-columns: 84px 1fr;
        gap: 10px;
    }

    .ja-stg__level-img {
        width: 84px;
        min-height: 108px;
    }

    .ja-stg__level-img img {
        min-height: 108px;
    }

    .ja-stg__level strong {
        font-size: 18px;
    }

    .ja-stg__timer-card {
        grid-template-columns: 1fr;
    }

    .ja-stg__phase {
        grid-row: auto;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ja-stg *,
    .ja-stg *::before,
    .ja-stg *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
