/* ============================================================
   Swyxi — guided walkthrough (desktop-first)
   ============================================================ */

:root {
    --navy: #0d1224;
    --navy-soft: #141b33;
    --card: rgba(255, 255, 255, .055);
    --card-strong: rgba(255, 255, 255, .09);
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .20);
    --text: #f3f5ff;
    --muted: #a5adcf;
    --violet: #7c5cff;
    --violet-light: #a78bfa;
    --cyan: #3ad0e3;
    --pink: #f0559a;
    --green: #34d399;
    --danger: #fb7185;
    --head-h: 68px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: var(--text);
    background: var(--navy);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- backdrop ---------- */

.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(95px); opacity: .5; }
.aurora i:nth-child(1) { width: 560px; height: 560px; top: -200px; left: -120px; background: #6d4aff; animation: drift 24s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 480px; height: 480px; bottom: -180px; right: -120px; background: #1f8fd4; animation: drift 28s ease-in-out infinite reverse; }

@keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50%      { transform: translate3d(50px, 40px, 0) scale(1.12); }
}

/* ---------- header ---------- */

.tut-head {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 18px;
    height: var(--head-h);
    padding: 0 clamp(16px, 4vw, 40px);
    background: rgba(13, 18, 36, .78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; object-fit: contain; }

.tut-progress { display: flex; align-items: center; gap: 14px; margin: 0 auto; }
.tut-progress .step-label { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.dots { display: flex; align-items: center; gap: 7px; }

.dot {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .2);
    transition: width .35s cubic-bezier(.22, 1, .36, 1), background .35s;
}

.dot.active { width: 30px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.dot.done { background: var(--violet-light); }

.head-links { display: flex; align-items: center; gap: 8px; }

.head-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 11px;
    transition: color .2s, background .2s;
}

.head-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.head-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.head-link.accent { color: var(--violet-light); }
.head-link.accent:hover { background: rgba(124, 92, 255, .2); color: #fff; }

/* ---------- step stage ---------- */

.stage { position: fixed; inset: var(--head-h) 0 0 0; z-index: 1; }

.step {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
    will-change: transform, opacity;
}

.active-step { opacity: 1; transform: none; z-index: 10; }
.hidden-step { opacity: 0; transform: translateX(60px); pointer-events: none; }
.step.transitioning-out { opacity: 0; transform: translateX(-60px); }
.hidden-step:not(.active-step):not(.transitioning-out) { display: none !important; }

.step-inner {
    display: grid;
    gap: clamp(22px, 3vw, 44px);
    grid-template-columns: 1fr;
    align-content: center;
    width: min(1180px, 100% - 40px);
    margin: auto;
    padding: clamp(24px, 4vh, 48px) 0;
}

@media (min-width: 980px) {
    .step-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
    .step-inner.welcome { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

/* ---------- shared pieces ---------- */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    color: #e7e3ff;
    font-size: 12.5px;
    font-weight: 600;
    background: rgba(124, 92, 255, .16);
    border: 1px solid rgba(167, 139, 250, .35);
    border-radius: 999px;
}

.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(58, 208, 227, .18); animation: blip 2s ease-in-out infinite; }
.pill.success { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .4); color: #d6fbec; }
.pill.success i { background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }

@keyframes blip { 50% { box-shadow: 0 0 0 9px rgba(58, 208, 227, 0); } }

.step-kicker { display: block; margin-bottom: 12px; color: var(--violet-light); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.step-aside h2, .welcome-copy h1 { margin: 0 0 12px; letter-spacing: -.035em; line-height: 1.08; }
.welcome-copy h1 { font-size: clamp(30px, 4.2vw, 46px); }
.step-aside h2 { font-size: clamp(25px, 3vw, 34px); }
.step-aside > p, .welcome-copy > p.lede { margin: 0 0 22px; max-width: 52ch; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

.aside-visual {
    position: relative;
    max-width: 320px;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .95);
    animation: floaty 8s ease-in-out infinite;
}

.aside-visual img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.aside-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(124, 92, 255, .22), transparent 55%); }

@keyframes floaty { 50% { transform: translateY(-8px); } }

.hint-card {
    display: flex;
    gap: 13px;
    padding: 15px 17px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.hint-card svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hint-card p { margin: 0; color: #cfd5ee; font-size: 13.5px; line-height: 1.55; }
.hint-card b { color: #fff; }

/* ---------- interactive panel ---------- */

.step-panel {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 2.4vw, 28px);
    background: rgba(20, 27, 51, .72);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 34px 70px -40px rgba(0, 0, 0, .95);
    backdrop-filter: blur(10px);
}

.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.panel-head span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.panel-head button {
    padding: 7px 13px;
    color: var(--violet-light);
    font-size: 13px;
    font-weight: 600;
    background: rgba(124, 92, 255, .14);
    border: 1px solid rgba(167, 139, 250, .3);
    border-radius: 10px;
    transition: background .2s, color .2s;
}
.panel-head button:hover { background: rgba(124, 92, 255, .3); color: #fff; }

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    max-height: min(38vh, 300px);
    padding-right: 6px;
    overflow-y: auto;
}

.selectable-item {
    padding: 10px 16px;
    color: #dfe3f7;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .15s, color .2s;
}

.selectable-item:hover { background: rgba(255, 255, 255, .12); border-color: var(--line-strong); color: #fff; }
.selectable-item:active { transform: scale(.97); }

.selectable-item.selected {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(124, 92, 255, .95), rgba(199, 55, 155, .85));
    border-color: transparent;
    box-shadow: 0 10px 24px -14px rgba(124, 92, 255, 1);
}

.field-label { display: block; margin: 20px 0 8px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }

.field {
    width: 100%;
    padding: 14px 16px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    border-radius: 13px;
    outline: none;
    transition: border-color .2s, background .2s;
}

.field::placeholder { color: #7d86ab; }
.field:focus { border-color: rgba(167, 139, 250, .75); background: rgba(255, 255, 255, .09); }
.field[readonly] { cursor: default; }

.field-error { margin: 9px 0 0; color: var(--danger); font-size: 13px; }

.panel-foot { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    padding: 15px 26px;
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #7c5cff 0%, #c7379b 100%);
    border: none;
    border-radius: 14px;
    box-shadow: 0 16px 36px -20px rgba(124, 92, 255, 1);
    overflow: hidden;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s, opacity .2s;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    animation: sweep 3.8s ease-in-out infinite;
}

@keyframes sweep { 0% { left: -60%; } 55%, 100% { left: 130%; } }

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -20px rgba(124, 92, 255, 1); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.is-loading { opacity: .7; cursor: not-allowed; transform: none; }
.btn-primary.is-loading::after { display: none; }
.btn-primary svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: color .2s, background .2s, border-color .2s;
}

.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: var(--line-strong); }

.loading-spinner {
    width: 19px;
    height: 19px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-left-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- welcome step ---------- */

.welcome-copy .pill { margin-bottom: 20px; }

.feature-row { display: grid; gap: 12px; margin-bottom: 26px; }
@media (min-width: 560px) { .feature-row { grid-template-columns: 1fr 1fr; } }

.feature {
    display: block;
    padding: 18px;
    color: inherit;
    text-decoration: none;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), background .28s, border-color .28s;
}

.feature:hover { transform: translateY(-4px); background: var(--card-strong); border-color: rgba(167, 139, 250, .5); }

.feature-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 13px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 92, 255, .9), rgba(199, 55, 155, .85));
}

.feature.defense .feature-icon { background: linear-gradient(135deg, rgba(58, 208, 227, .9), rgba(109, 74, 255, .9)); }
.feature-icon svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.step-actions .btn-primary { flex: 0 1 auto; }

.welcome-visual { position: relative; }

.showcase {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1);
    animation: floaty 9s ease-in-out infinite;
}

.showcase img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9, 12, 26, .7)); }

.showcase-chip {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: rgba(14, 18, 38, .78);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 1);
}

.showcase-chip svg { width: 15px; height: 15px; fill: none; stroke: var(--cyan); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.showcase-chip.one { left: -10px; top: 26px; animation: floaty 6s ease-in-out infinite; }
.showcase-chip.two { right: -6px; bottom: 34px; animation: floaty 7.5s ease-in-out infinite reverse; }

/* ---------- style picker ---------- */

.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 12px;
    max-height: min(34vh, 280px);
    padding-right: 6px;
    overflow-y: auto;
}

.style-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    text-align: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}

.style-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(167, 139, 250, .6); transform: translateY(-3px); }
.style-item.selected { background: rgba(124, 92, 255, .26); border-color: var(--violet-light); box-shadow: 0 14px 30px -20px rgba(124, 92, 255, 1); }
.style-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 12px; }
.style-item span { color: #dde1f6; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.style-item.selected span { color: #fff; }

.load-error { grid-column: 1 / -1; margin: 0; color: var(--danger); font-size: 13.5px; }

/* ---------- finish step ---------- */

.finish-copy h2 { margin: 18px 0 12px; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.035em; }
.finish-copy > p { margin: 0 0 26px; max-width: 48ch; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

.spotlight {
    position: relative;
    padding: 28px;
    background: linear-gradient(150deg, rgba(58, 208, 227, .14), rgba(124, 92, 255, .16));
    border: 1px solid var(--line-strong);
    border-radius: 24px;
    overflow: hidden;
}

.spotlight::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -25%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 208, 227, .3), transparent 65%);
}

.spotlight .kicker { display: block; margin-bottom: 10px; color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.spotlight h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
.spotlight > p { margin: 0 0 18px; color: #cdd4ef; font-size: 14.5px; line-height: 1.6; }

.check-list { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: #dde2f5; font-size: 14px; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: rgba(58, 208, 227, .18); box-shadow: inset 0 0 0 1px rgba(58, 208, 227, .55); }
.check-list li::after { content: ""; position: absolute; left: 5px; top: 7.5px; width: 6px; height: 3px; border-left: 1.7px solid var(--cyan); border-bottom: 1.7px solid var(--cyan); transform: rotate(-45deg); }

.note { margin: 0; color: #8e97ba; font-size: 12.5px; line-height: 1.55; }

/* ---------- style modal ---------- */

.style-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: clamp(18px, 4vh, 40px);
    background: rgba(8, 11, 24, .9);
    backdrop-filter: blur(10px);
}

.style-modal.is-open { display: flex; }
.style-modal h2 { margin: 0 0 22px; font-size: 24px; letter-spacing: -.03em; }

.style-modal .style-grid {
    width: min(1000px, 100%);
    max-height: none;
    flex: 1;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    align-content: start;
    padding: 4px;
}

.style-modal .btn-primary { flex: 0 0 auto; width: min(420px, 100%); margin-top: 22px; }

/* ---------- result modal ---------- */

.result-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(8, 11, 24, .88);
    backdrop-filter: blur(8px);
}

.result-dialog {
    display: flex;
    flex-direction: column;
    width: min(520px, 100%);
    max-height: 92vh;
    padding: 22px;
    background: #151c33;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 1);
}

.result-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.result-dialog header h3 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; color: var(--muted); font-size: 22px; line-height: 1; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 11px; transition: color .2s, background .2s; }
.icon-button:hover { color: #fff; background: rgba(255, 255, 255, .13); }

.result-body { overflow-y: auto; }
.result-body img { width: 100%; max-height: 46vh; object-fit: contain; margin-bottom: 18px; background: rgba(255, 255, 255, .05); border-radius: 16px; }
.result-body .meta-label { margin: 0 0 6px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.result-body .meta-value { margin: 0 0 16px; padding: 12px 14px; font-size: 14px; line-height: 1.5; word-break: break-word; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 13px; }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.result-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 140px;
    padding: 13px 16px;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    transition: background .2s, transform .2s, border-color .2s;
}

.result-actions button:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.result-actions button.accent { background: linear-gradient(135deg, #7c5cff, #c7379b); border-color: transparent; }
.result-actions button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- toast ---------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 100;
    min-width: 240px;
    padding: 14px 22px;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    background: #1f2947;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 1);
    transform: translate(-50%, 26px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}

.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast.toast--success { background: linear-gradient(135deg, #16a97a, #0f8a78); border-color: transparent; }
.toast.toast--error { background: linear-gradient(135deg, #d9455f, #b3324f); border-color: transparent; }

/* ---------- scrollbars ---------- */

.chip-grid::-webkit-scrollbar,
.style-grid::-webkit-scrollbar,
.result-body::-webkit-scrollbar,
.step::-webkit-scrollbar { width: 8px; height: 8px; }

.chip-grid::-webkit-scrollbar-track,
.style-grid::-webkit-scrollbar-track,
.result-body::-webkit-scrollbar-track,
.step::-webkit-scrollbar-track { background: rgba(255, 255, 255, .05); border-radius: 10px; }

.chip-grid::-webkit-scrollbar-thumb,
.style-grid::-webkit-scrollbar-thumb,
.result-body::-webkit-scrollbar-thumb,
.step::-webkit-scrollbar-thumb { background: rgba(167, 139, 250, .5); border-radius: 10px; }

.chip-grid::-webkit-scrollbar-thumb:hover,
.style-grid::-webkit-scrollbar-thumb:hover,
.result-body::-webkit-scrollbar-thumb:hover,
.step::-webkit-scrollbar-thumb:hover { background: rgba(167, 139, 250, .8); }

/* ---------- responsive ---------- */

@media (max-width: 979px) {
    .aside-visual { display: none; }
    .step-aside > p { margin-bottom: 16px; }
    .showcase-chip { display: none; }
}

@media (max-width: 720px) {
    :root { --head-h: 60px; }
    .tut-progress .step-label { display: none; }
    .head-link span { display: none; }
    .head-link { padding: 9px 11px; }
    .step-inner { width: calc(100% - 28px); }
    .panel-foot { flex-direction: column-reverse; }
    .panel-foot .btn-primary, .panel-foot .btn-ghost { width: 100%; }
    .step-actions { flex-direction: column; align-items: stretch; }
    .step-actions .btn-primary, .step-actions .btn-ghost { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
