/* Whitelist Application page */
.wl-page {
    width: min(920px, 100% - 32px);
    margin: 0 auto;
    padding: 140px 0 60px;
    box-sizing: border-box;
}

.wl-hero {
    text-align: center;
    margin-bottom: 28px;
}

.wl-kicker {
    margin: 0 0 8px;
    color: #4fb3ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.wl-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.wl-lead {
    max-width: 620px;
    margin: 0 auto;
    color: #9aa8bd;
    line-height: 1.6;
}

/* ── Cards ── */
.wl-card {
    position: relative;
    background: linear-gradient(180deg, rgba(9, 17, 34, 0.9) 0%, rgba(5, 9, 20, 0.92) 100%);
    border: 1px solid rgba(90, 160, 255, 0.22);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.wl-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #2f8fff 25%, #4fb3ff 50%, #ff6a1f 80%, transparent);
    opacity: 0.8;
}

.wl-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.wl-form[hidden],
.wl-state[hidden] {
    display: none;
}

.wl-required-note {
    margin: 0;
    color: #8d9bb3;
    font-size: 0.82rem;
    text-align: right;
}

.wl-req {
    color: #ff6a1f;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(255, 106, 31, 0.5);
}

.wl-optional {
    margin-left: 4px;
    color: #7f8ea6;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
}

/* ── State cards (loading / guest / status) ── */
.wl-state {
    text-align: center;
    padding: 40px 28px;
}

.wl-state h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.wl-state p {
    max-width: 520px;
    margin: 0 auto 18px;
    color: #9aa8bd;
    line-height: 1.6;
}

.wl-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #4fb3ff;
    background: rgba(47, 143, 255, 0.12);
    border: 1px solid rgba(79, 179, 255, 0.35);
    box-shadow: 0 0 24px rgba(47, 143, 255, 0.25);
}

.wl-state-icon svg {
    width: 30px;
    height: 30px;
}

.wl-status--accepted .wl-state-icon {
    color: #6fe0a0;
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(111, 224, 160, 0.4);
    box-shadow: 0 0 24px rgba(46, 204, 113, 0.25);
}

.wl-status--rejected .wl-state-icon,
.wl-status--error .wl-state-icon {
    color: #ff8a5c;
    background: rgba(255, 106, 31, 0.12);
    border-color: rgba(255, 106, 31, 0.4);
    box-shadow: 0 0 24px rgba(255, 106, 31, 0.22);
}

.wl-status-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 6px 0 18px;
    text-align: left;
}

.wl-status-meta div {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(47, 143, 255, 0.05);
    border: 1px solid rgba(90, 160, 255, 0.14);
    min-width: 0;
}

.wl-status-meta dt {
    color: #8d9bb3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wl-status-meta dd {
    margin: 4px 0 0;
    color: #ffffff;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-transform: capitalize;
}

.wl-type-legal { color: #4fb3ff !important; }
.wl-type-illegal { color: #ff8a5c !important; }

.wl-status-note {
    margin: 0 0 18px;
    padding: 14px 16px;
    text-align: left;
    border-radius: 12px;
    background: rgba(255, 106, 31, 0.06);
    border: 1px solid rgba(255, 106, 31, 0.25);
}

.wl-status--accepted .wl-status-note {
    background: rgba(46, 204, 113, 0.06);
    border-color: rgba(111, 224, 160, 0.25);
}

.wl-status-note span {
    color: #ff9a6e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wl-status-note p {
    margin: 6px 0 0;
    max-width: none;
    color: #e6ecf5;
}

.wl-spinner {
    width: 38px;
    height: 38px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid rgba(79, 179, 255, 0.18);
    border-top-color: #4fb3ff;
    animation: wlSpin 0.8s linear infinite;
}

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

/* ── Steps ── */
.wl-step-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(90, 160, 255, 0.12);
}

.wl-step-head > div {
    flex: 1 1 auto;
    min-width: 0;
}

.wl-step-head h2 {
    margin: 2px 0 4px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wl-step-head p {
    margin: 0;
    color: #8d9bb3;
    font-size: 0.85rem;
}

.wl-step-num {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(180deg, #1f7bff, #1159d6);
    box-shadow: 0 6px 18px rgba(20, 100, 255, 0.35);
    font-weight: 800;
}

/* ── Fields ── */
.wl-field + .wl-field {
    margin-top: 20px;
}

.wl-label {
    display: block;
    margin-bottom: 10px;
    color: #b9c6da;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wl-help {
    margin: -4px 0 10px;
    color: #8d9bb3;
    font-size: 0.84rem;
    line-height: 1.5;
}

.wl-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(90, 160, 255, 0.2);
    background: rgba(6, 14, 30, 0.75);
    color: #e6ecf5;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wl-input::placeholder {
    color: #5f6e86;
}

.wl-input:hover {
    border-color: rgba(90, 160, 255, 0.38);
}

.wl-input:focus {
    border-color: #2f8fff;
    background: rgba(8, 18, 38, 0.9);
    box-shadow: 0 0 0 3px rgba(47, 143, 255, 0.18);
}

.wl-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.wl-counter {
    margin-top: 6px;
    text-align: right;
    color: #7d8aa3;
    font-size: 0.76rem;
    font-weight: 600;
}

.wl-counter.is-ok {
    color: #6fe0a0;
}

.wl-error {
    display: none;
    margin: 8px 0 0;
    color: #ff8a5c;
    font-size: 0.8rem;
    font-weight: 600;
}

.wl-error::before {
    content: "! ";
    font-weight: 800;
}

.wl-field.is-invalid .wl-error {
    display: block;
}

.wl-field.is-invalid .wl-input {
    border-color: rgba(255, 106, 31, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 106, 31, 0.16);
}

.wl-field.is-invalid .wl-choice-body {
    border-color: rgba(255, 106, 31, 0.55);
}

/* ── Identity ── */
.wl-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(47, 143, 255, 0.05);
    border: 1px solid rgba(90, 160, 255, 0.14);
}

.wl-identity-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #4fb3ff 0%, #2f8fff 45%, #ff6a1f 100%);
    box-shadow: 0 0 16px rgba(47, 143, 255, 0.4);
    object-fit: cover;
}

.wl-identity-fields {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.wl-readonly {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wl-readonly-label {
    color: #8d9bb3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wl-readonly-value {
    color: #ffffff;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.wl-mono {
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    color: #4fb3ff;
    font-size: 0.9rem;
}

.wl-verified {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(111, 224, 160, 0.35);
    color: #6fe0a0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-verified svg {
    width: 14px;
    height: 14px;
}

/* ── Radio choice cards ── */
.wl-choice-grid {
    display: grid;
    gap: 12px;
}

.wl-choice-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wl-choice-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.wl-choice {
    position: relative;
    cursor: pointer;
}

.wl-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wl-choice-body {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(90, 160, 255, 0.18);
    background: rgba(6, 14, 30, 0.6);
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wl-choice-body--row {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.wl-choice:hover .wl-choice-body {
    border-color: rgba(79, 179, 255, 0.5);
    transform: translateY(-2px);
}

.wl-choice input:focus-visible + .wl-choice-body {
    box-shadow: 0 0 0 3px rgba(47, 143, 255, 0.3);
}

.wl-choice input:checked + .wl-choice-body {
    border-color: #4fb3ff;
    background: linear-gradient(180deg, rgba(47, 143, 255, 0.2), rgba(6, 14, 30, 0.7));
    box-shadow: 0 0 22px rgba(47, 143, 255, 0.25);
}

.wl-choice--illegal input:checked + .wl-choice-body {
    border-color: #ff6a1f;
    background: linear-gradient(180deg, rgba(255, 106, 31, 0.18), rgba(6, 14, 30, 0.7));
    box-shadow: 0 0 22px rgba(255, 106, 31, 0.25);
}

.wl-choice--illegal:hover .wl-choice-body {
    border-color: rgba(255, 106, 31, 0.5);
}

.wl-choice-big {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
}

.wl-choice-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-choice-sub {
    display: block;
    margin-top: 2px;
    color: #8d9bb3;
    font-size: 0.8rem;
    line-height: 1.4;
}

.wl-choice-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #4fb3ff;
    background: rgba(47, 143, 255, 0.12);
    border: 1px solid rgba(79, 179, 255, 0.3);
}

.wl-choice--illegal .wl-choice-icon {
    color: #ff8a5c;
    background: rgba(255, 106, 31, 0.12);
    border-color: rgba(255, 106, 31, 0.35);
}

.wl-choice-icon svg {
    width: 24px;
    height: 24px;
}

/* ── Objectives hint ── */
.wl-hint {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(90, 160, 255, 0.06);
    border: 1px dashed rgba(90, 160, 255, 0.3);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.wl-hint p {
    margin: 0;
    color: #c8d3e3;
    font-size: 0.86rem;
    line-height: 1.55;
}

.wl-hint-icon {
    flex: 0 0 auto;
    color: #4fb3ff;
    margin-top: 1px;
}

.wl-hint-icon svg {
    width: 18px;
    height: 18px;
}

.wl-hint[data-type="legal"] {
    background: rgba(47, 143, 255, 0.1);
    border-style: solid;
    border-color: rgba(79, 179, 255, 0.45);
}

.wl-hint[data-type="illegal"] {
    background: rgba(255, 106, 31, 0.08);
    border-style: solid;
    border-color: rgba(255, 106, 31, 0.45);
}

.wl-hint[data-type="illegal"] .wl-hint-icon {
    color: #ff8a5c;
}

/* ── Quiz cards ── */
.wl-quiz-score {
    flex: 0 0 auto;
    align-self: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 143, 255, 0.12);
    border: 1px solid rgba(79, 179, 255, 0.3);
    color: #4fb3ff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.wl-quiz-score.is-done {
    background: rgba(255, 106, 31, 0.12);
    border-color: rgba(255, 106, 31, 0.4);
    color: #ff9a6e;
}

.wl-quiz {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.wl-qcard {
    perspective: 1200px;
    animation: wlDeal 0.45s ease both;
}

.wl-qcard:nth-child(2) { animation-delay: 0.06s; }
.wl-qcard:nth-child(3) { animation-delay: 0.12s; }
.wl-qcard:nth-child(4) { animation-delay: 0.18s; }
.wl-qcard:nth-child(5) { animation-delay: 0.24s; }

@keyframes wlDeal {
    from { opacity: 0; transform: translateY(14px) rotate(-2deg); }
    to { opacity: 1; transform: none; }
}

.wl-qcard-inner {
    display: grid;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wl-qcard.is-flipped .wl-qcard-inner {
    transform: rotateY(180deg);
}

.wl-qcard-face {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 16px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
}

.wl-qcard-front {
    background:
        radial-gradient(circle at 100% 0%, rgba(47, 143, 255, 0.16), transparent 50%),
        linear-gradient(180deg, rgba(12, 22, 44, 0.95), rgba(6, 11, 24, 0.95));
    border: 1px solid rgba(90, 160, 255, 0.28);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.wl-qcard-back {
    transform: rotateY(180deg);
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(12, 22, 44, 0.97), rgba(6, 11, 24, 0.97));
    border: 1px solid rgba(90, 160, 255, 0.28);
}

.wl-qcard.is-correct .wl-qcard-back {
    border-color: rgba(111, 224, 160, 0.55);
    background:
        radial-gradient(circle at 50% 0%, rgba(46, 204, 113, 0.2), transparent 60%),
        linear-gradient(180deg, rgba(10, 26, 30, 0.97), rgba(6, 12, 20, 0.97));
    box-shadow: 0 0 26px rgba(46, 204, 113, 0.2);
}

.wl-qcard.is-wrong .wl-qcard-back {
    border-color: rgba(255, 106, 31, 0.55);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 106, 31, 0.2), transparent 60%),
        linear-gradient(180deg, rgba(28, 14, 12, 0.97), rgba(12, 8, 12, 0.97));
    box-shadow: 0 0 26px rgba(255, 106, 31, 0.2);
}

.wl-qcard-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wl-qcard-num {
    color: #8d9bb3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wl-qcard-suit {
    font-size: 1.2rem;
    line-height: 1;
    color: #4fb3ff;
}

.wl-qcard:nth-child(even) .wl-qcard-suit {
    color: #ff6a1f;
}

.wl-qcard-q {
    margin: 0;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

.wl-qcard--scenario {
    grid-column: 1 / -1;
}

.wl-qcard-story {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: wl-story;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wl-qcard-story li {
    counter-increment: wl-story;
    position: relative;
    padding: 8px 12px 8px 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #dbe3f0;
    font-size: 0.86rem;
    line-height: 1.5;
}

.wl-qcard-story li::before {
    content: counter(wl-story);
    position: absolute;
    left: 10px;
    top: 8px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 106, 31, 0.18);
    color: #ffab80;
    font-size: 0.72rem;
    font-weight: 800;
}

.wl-qcard--scenario .wl-qcard-q {
    padding-top: 4px;
    font-size: 1.04rem;
}

.wl-qcard-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.wl-qopt {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(90, 160, 255, 0.2);
    background: rgba(6, 14, 30, 0.7);
    color: #dbe7f7;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.35;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.wl-qopt:hover:not(:disabled) {
    border-color: #4fb3ff;
    background: rgba(47, 143, 255, 0.14);
    transform: translateX(3px);
}

.wl-qopt-key {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(47, 143, 255, 0.16);
    color: #4fb3ff;
    font-size: 0.74rem;
    font-weight: 800;
}

.wl-qcard-verdict {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-qcard.is-correct .wl-qcard-verdict {
    color: #6fe0a0;
    text-shadow: 0 0 16px rgba(46, 204, 113, 0.5);
}

.wl-qcard.is-wrong .wl-qcard-verdict {
    color: #ff8a5c;
    text-shadow: 0 0 16px rgba(255, 106, 31, 0.5);
}

.wl-qcard-reaction {
    margin: 0;
    color: #e6ecf5;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wl-qcard-answer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    color: #8d9bb3;
    font-size: 0.78rem;
    line-height: 1.4;
}

.wl-qcard-answer strong {
    color: #ffffff;
}

.wl-field.is-invalid .wl-qcard:not(.is-flipped) .wl-qcard-front {
    border-color: rgba(255, 106, 31, 0.6);
}

/* ── Buttons / submit ── */
.wl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wl-btn-primary {
    background: linear-gradient(180deg, #1f7bff 0%, #1159d6 100%);
    border-color: rgba(120, 180, 255, 0.35);
    box-shadow: 0 6px 22px rgba(20, 100, 255, 0.4);
}

.wl-btn-primary:hover:not(:disabled) {
    filter: brightness(1.12);
    box-shadow: 0 10px 28px rgba(20, 100, 255, 0.55);
    transform: translateY(-1px);
}

.wl-btn-ghost {
    background: rgba(8, 16, 32, 0.7);
    border-color: rgba(90, 160, 255, 0.28);
    color: #dbe7f7;
}

.wl-btn-ghost:hover {
    border-color: rgba(79, 179, 255, 0.6);
    background: rgba(47, 143, 255, 0.12);
}

.wl-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.wl-btn-lg {
    min-height: 52px;
    padding: 14px 34px;
    font-size: 0.88rem;
}

.wl-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(6, 12, 26, 0.75);
    border: 1px solid rgba(90, 160, 255, 0.18);
}

.wl-submit-bar p {
    margin: 0;
    color: #8d9bb3;
    font-size: 0.85rem;
}

.wl-submit-bar a {
    color: #4fb3ff;
}

/* ── Path picker ── */
.wl-path {
    animation: wlFadeUp 0.45s ease both;
}

@keyframes wlFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.wl-stepper {
    --step-accent: #2f8fff;
    --step-glow: rgba(47, 143, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.wl-stepper[hidden] {
    display: none;
}

.wl-stepper[data-path="illegal"] {
    --step-accent: #ff6a1f;
    --step-glow: rgba(255, 106, 31, 0.55);
}

.wl-stepper-line {
    position: relative;
    width: 56px;
    height: 2px;
    border-radius: 2px;
    background: rgba(90, 160, 255, 0.18);
    overflow: hidden;
}

.wl-stepper-line span {
    position: absolute;
    inset: 0;
    width: 30%;
    border-radius: inherit;
    background: var(--step-accent);
    box-shadow: 0 0 8px var(--step-glow);
    transition: width 0.5s ease;
}

.wl-stepper[data-step="2"] .wl-stepper-line span {
    width: 100%;
}

.wl-stepper-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    color: #6f7f98;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.wl-stepper-item b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(90, 160, 255, 0.3);
    background: rgba(8, 16, 32, 0.8);
    color: #8d9bb3;
    font-size: 0.72rem;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.wl-stepper-check {
    display: none;
    width: 14px;
    height: 14px;
}

.wl-stepper[data-step="1"] #wl-stepper-1,
.wl-stepper[data-step="2"] #wl-stepper-2 {
    color: #dbe7f7;
}

.wl-stepper[data-step="1"] #wl-stepper-1 b,
.wl-stepper[data-step="2"] #wl-stepper-2 b {
    border-color: transparent;
    background: var(--step-accent);
    color: #ffffff;
    box-shadow: 0 0 14px var(--step-glow);
}

.wl-stepper[data-step="2"] #wl-stepper-1 {
    color: #b9c6da;
    cursor: pointer;
}

.wl-stepper[data-step="2"] #wl-stepper-1 b {
    border-color: var(--step-accent);
    color: var(--step-accent);
}

.wl-stepper[data-step="2"] #wl-stepper-1 .wl-stepper-num {
    display: none;
}

.wl-stepper[data-step="2"] #wl-stepper-1 .wl-stepper-check {
    display: block;
}

.wl-stepper[data-step="2"] #wl-stepper-1:hover {
    color: #ffffff;
}

.wl-stepper[data-step="1"] #wl-stepper-1 {
    cursor: default;
}

.wl-path-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    font-weight: 800;
}

.wl-path-lead {
    margin: 0 auto 26px;
    max-width: 520px;
    text-align: center;
    color: #9aa8bd;
    line-height: 1.6;
}

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

.wl-path-card {
    --accent: #2f8fff;
    --accent-soft: rgba(47, 143, 255, 0.16);
    --accent-glow: rgba(47, 143, 255, 0.45);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 360px;
    padding: 30px 28px 26px;
    overflow: hidden;
    text-align: left;
    font-family: inherit;
    color: #ffffff;
    cursor: pointer;
    border-radius: 22px;
    border: 1px solid rgba(90, 160, 255, 0.22);
    background:
        radial-gradient(circle at 85% -10%, var(--accent-soft), transparent 55%),
        linear-gradient(180deg, rgba(10, 18, 36, 0.94), rgba(5, 9, 20, 0.96));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.35s ease;
    animation: wlFadeUp 0.5s ease both;
}

.wl-path-card--illegal {
    --accent: #ff6a1f;
    --accent-soft: rgba(255, 106, 31, 0.18);
    --accent-glow: rgba(255, 106, 31, 0.45);
    border-color: rgba(255, 106, 31, 0.24);
    animation-delay: 0.08s;
}

.wl-path-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.7;
}

.wl-path-glow {
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    opacity: 0.25;
    transition: opacity 0.35s ease, transform 0.5s ease;
    pointer-events: none;
}

.wl-path-card:hover,
.wl-path-card:focus-visible {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 36px var(--accent-soft);
    outline: none;
}

.wl-path-card:hover .wl-path-glow,
.wl-path-card:focus-visible .wl-path-glow {
    opacity: 0.6;
    transform: scale(1.15);
}

.wl-path-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
    border-radius: 18px;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    box-shadow: 0 0 24px var(--accent-soft);
}

.wl-path-icon svg {
    width: 34px;
    height: 34px;
}

.wl-path-kicker {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.wl-path-name {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wl-path-desc {
    color: #b9c6da;
    font-size: 0.95rem;
    line-height: 1.55;
}

.wl-path-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.wl-path-tags em {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #dbe7f7;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.wl-path-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 8px 22px var(--accent-soft);
    transition: gap 0.25s ease, box-shadow 0.25s ease;
}

.wl-path-cta svg {
    width: 16px;
    height: 16px;
}

.wl-path-card:hover .wl-path-cta {
    gap: 16px;
    box-shadow: 0 10px 28px var(--accent-glow);
}

/* ── Path banner + themed form ── */
.wl-path-banner {
    --accent: #2f8fff;
    --accent-soft: rgba(47, 143, 255, 0.14);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--accent);
    background:
        radial-gradient(circle at 0% 50%, var(--accent-soft), transparent 60%),
        rgba(6, 12, 26, 0.85);
    box-shadow: 0 0 26px var(--accent-soft);
}

.wl-path-banner[data-path="illegal"] {
    --accent: #ff6a1f;
    --accent-soft: rgba(255, 106, 31, 0.16);
}

.wl-path-banner-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent);
}

.wl-path-banner-icon svg {
    width: 26px;
    height: 26px;
}

.wl-path-banner-text {
    flex: 1 1 auto;
    min-width: 0;
}

.wl-path-banner-text span {
    display: block;
    color: #8d9bb3;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wl-path-banner-text strong {
    display: block;
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wl-path-change {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 0.72rem;
}

.wl-path-change svg {
    width: 15px;
    height: 15px;
}

.wl-form[data-path="illegal"] .wl-step-num {
    background: linear-gradient(180deg, #ff7a2f, #d9480f);
    box-shadow: 0 6px 18px rgba(255, 106, 31, 0.35);
}

.wl-form[data-path="illegal"] .wl-card::before {
    background: linear-gradient(90deg, transparent, #ff6a1f 30%, #ff9a5c 60%, transparent);
}

.wl-form[data-path="illegal"] .wl-qcard-front {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 106, 31, 0.16), transparent 50%),
        linear-gradient(180deg, rgba(20, 14, 18, 0.95), rgba(8, 8, 16, 0.95));
    border-color: rgba(255, 106, 31, 0.3);
}

.wl-form[data-path="illegal"] .wl-btn-primary {
    background: linear-gradient(180deg, #ff7a2f 0%, #d9480f 100%);
    border-color: rgba(255, 160, 110, 0.35);
    box-shadow: 0 6px 22px rgba(255, 106, 31, 0.4);
}

.wl-form[data-path="illegal"] .wl-btn-primary:hover:not(:disabled) {
    box-shadow: 0 10px 28px rgba(255, 106, 31, 0.55);
}

.wl-qcard-tag {
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1px solid rgba(90, 160, 255, 0.3);
    background: rgba(47, 143, 255, 0.1);
    color: #8fc8ff;
}

.wl-qcard-tag--illegal {
    border-color: rgba(255, 106, 31, 0.4);
    background: rgba(255, 106, 31, 0.12);
    color: #ffab80;
}

.wl-qcard-tag--general {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #b9c6da;
}

/* ── Responsive ── */
@media (max-width: 760px) {
    .wl-page {
        padding-top: 110px;
    }

    .wl-path-grid {
        grid-template-columns: 1fr;
    }

    .wl-path-card {
        min-height: 0;
        padding: 24px 20px 20px;
    }

    .wl-stepper-line {
        width: 24px;
    }

    .wl-stepper-item {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
    }

    .wl-path-banner {
        flex-wrap: wrap;
    }

    .wl-path-change {
        width: 100%;
    }

    .wl-card {
        padding: 20px 16px;
    }

    .wl-choice-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .wl-choice-grid--2,
    .wl-identity-fields,
    .wl-status-meta {
        grid-template-columns: 1fr;
    }

    .wl-choice-big {
        font-size: 1.35rem;
    }

    .wl-choice-grid--3 .wl-choice-sub {
        font-size: 0.7rem;
    }

    .wl-identity {
        flex-wrap: wrap;
    }

    .wl-step-head {
        flex-wrap: wrap;
    }

    .wl-submit-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wl-qcard,
    .wl-qcard-inner {
        animation: none;
        transition: none;
    }
}
