
.nl-mak-app {
    --nl-mak-teal: #1a7a7a;
    --nl-mak-teal-dark: #115f5f;
    --nl-mak-gold: #c8962e;
    --nl-mak-ink: #343431;
    --nl-mak-muted: #75746e;
    --nl-mak-cream: #fbf8f1;
    --nl-mak-card-ratio: 1.56;
    color: var(--nl-mak-ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.55;
}

.nl-mak-app *,
.nl-mak-app *::before,
.nl-mak-app *::after {
    box-sizing: border-box;
}

.nl-mak-app button,
.nl-mak-app textarea {
    font: inherit;
}

.nl-mak-shell {
    width: min(1680px, calc(100vw - 32px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: clamp(18px, 3vw, 42px);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(200, 150, 46, .13), transparent 32%),
        radial-gradient(circle at bottom left, rgba(26, 122, 122, .12), transparent 35%),
        var(--nl-mak-cream);
    box-shadow: 0 22px 70px rgba(64, 55, 32, .12);
}

.nl-mak-header {
    max-width: 780px;
    margin: 0 auto 32px;
    text-align: center;
}

.nl-mak-eyebrow {
    margin: 0 0 8px;
    color: var(--nl-mak-gold);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nl-mak-header h2 {
    margin: 0 0 14px;
    color: var(--nl-mak-teal);
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.12;
}

.nl-mak-header p:last-child {
    margin: 0;
    font-size: clamp(17px, 2.3vw, 21px);
}

.nl-mak-setup {
    display: grid;
    gap: 28px;
}

.nl-mak-spread-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.nl-mak-spread-button {
    display: grid;
    gap: 5px;
    min-height: 102px;
    padding: 18px;
    border: 1px solid rgba(26, 122, 122, .23);
    border-radius: 18px;
    background: rgba(255, 255, 255, .74);
    color: var(--nl-mak-ink);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nl-mak-spread-button:hover,
.nl-mak-spread-button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--nl-mak-teal);
    box-shadow: 0 12px 28px rgba(26, 122, 122, .12);
}

.nl-mak-spread-button.is-active {
    border: 2px solid var(--nl-mak-gold);
    box-shadow: 0 12px 30px rgba(200, 150, 46, .18);
}

.nl-mak-spread-button strong {
    color: var(--nl-mak-teal);
    font-size: 21px;
}

.nl-mak-spread-button span {
    color: var(--nl-mak-muted);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.nl-mak-question-form {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(200, 150, 46, .25);
    border-radius: 20px;
    background: rgba(255, 255, 255, .84);
}

.nl-mak-question-form label {
    display: grid;
    gap: 9px;
}

.nl-mak-question-form label > span {
    color: var(--nl-mak-teal-dark);
    font-size: 19px;
    font-weight: 700;
}

.nl-mak-question-form textarea {
    width: 100%;
    min-height: 118px;
    resize: vertical;
    padding: 15px 17px;
    border: 1px solid #d4d0c5;
    border-radius: 14px;
    background: #fff;
    color: var(--nl-mak-ink);
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.5;
}

.nl-mak-question-form textarea:focus {
    outline: 3px solid rgba(26, 122, 122, .15);
    border-color: var(--nl-mak-teal);
}

.nl-mak-primary-button,
.nl-mak-toolbar button,
.nl-mak-footer-actions button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.nl-mak-primary-button {
    display: block;
    margin: 18px auto 0;
    padding: 14px 26px;
    background: var(--nl-mak-teal);
    color: #fff;
    font-family: Arial, sans-serif;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(26, 122, 122, .22);
}

.nl-mak-primary-button:hover,
.nl-mak-toolbar button:hover,
.nl-mak-footer-actions button:hover {
    transform: translateY(-1px);
}

.nl-mak-practice {
    display: grid;
    gap: 24px;
}

.nl-mak-current-question {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-left: 4px solid var(--nl-mak-gold);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 255, 255, .8);
}

.nl-mak-current-question span {
    color: var(--nl-mak-muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.nl-mak-current-question strong {
    color: var(--nl-mak-teal-dark);
    font-size: clamp(18px, 2.5vw, 23px);
}

.nl-mak-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nl-mak-toolbar button,
.nl-mak-footer-actions button {
    padding: 12px 18px;
    background: #fff;
    color: var(--nl-mak-teal-dark);
    border: 1px solid rgba(26, 122, 122, .28);
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.nl-mak-toolbar .nl-mak-flip-button {
    background: var(--nl-mak-gold);
    color: #fff;
    border-color: var(--nl-mak-gold);
}

.nl-mak-toolbar button:disabled {
    cursor: not-allowed;
    opacity: .42;
    transform: none;
}

.nl-mak-status {
    min-height: 26px;
    margin: 0;
    text-align: center;
    color: var(--nl-mak-muted);
    font-family: Arial, sans-serif;
}

.nl-mak-status.is-success {
    color: var(--nl-mak-teal-dark);
    font-weight: 700;
}

.nl-mak-status.is-warning {
    color: #9b5b20;
}


.nl-mak-workspace {
    display: grid;
    grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
    gap: clamp(46px, 5vw, 86px);
    align-items: start;
}

.nl-mak-stage-column {
    min-width: 0;
    padding: 4px 0 16px 28px;
}

.nl-mak-spread-stage {
    width: 100%;
    margin: 0 auto;
}

.nl-mak-stage-one {
    display: grid;
    place-items: center;
}

.nl-mak-stage-one .nl-mak-position {
    display: grid;
    grid-template-columns: minmax(150px, 180px) minmax(220px, 360px);
    grid-template-areas:
        "label label"
        "slot details";
    align-items: center;
    column-gap: 22px;
    max-width: 590px;
}

.nl-mak-stage-one .nl-mak-position-label {
    grid-area: label;
}

.nl-mak-stage-one .nl-mak-slot {
    grid-area: slot;
    width: 100%;
    max-width: 180px;
}

.nl-mak-stage-one .nl-mak-card-details {
    grid-area: details;
    align-self: center;
    text-align: left;
}

.nl-mak-stage-one .nl-mak-card-details h4 {
    margin-top: 0;
}

.nl-mak-stage-diamond {
    display: grid;
    grid-template-columns: repeat(3, minmax(275px, 340px));
    grid-template-areas:
        ". top ."
        "left center right"
        ". bottom .";
    justify-content: center;
    align-items: start;
    gap: 22px 28px;
    transform: translateX(24px);
}

.nl-mak-stage-diamond .nl-mak-position {
    display: grid;
    grid-template-columns: minmax(122px, 145px) minmax(120px, 1fr);
    grid-template-areas:
        "label label"
        "slot details";
    align-items: center;
    column-gap: 14px;
}

.nl-mak-stage-diamond .nl-mak-position-label {
    grid-area: label;
    min-height: 54px;
    margin-bottom: 8px;
}

.nl-mak-stage-diamond .nl-mak-slot {
    grid-area: slot;
    width: 100%;
    max-width: 145px;
}

.nl-mak-stage-diamond .nl-mak-card-details {
    grid-area: details;
    align-self: center;
    text-align: left;
    padding-left: 2px;
}

.nl-mak-stage-diamond .nl-mak-card-details h4 {
    margin: 0 0 7px;
    font-size: 17px;
}

.nl-mak-stage-diamond .nl-mak-card-details p {
    font-size: 13px;
    line-height: 1.48;
}

.nl-mak-diamond-top {
    grid-area: top;
}

.nl-mak-diamond-left {
    grid-area: left;
}

.nl-mak-diamond-center {
    grid-area: center;
}

.nl-mak-diamond-right {
    grid-area: right;
}

.nl-mak-diamond-bottom {
    grid-area: bottom;
}

.nl-mak-stage-chakra {
    display: grid;
    gap: 18px;
    max-width: 720px;
}

.nl-mak-stage-chakra .nl-mak-position {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) 135px minmax(220px, 1fr);
    align-items: center;
    gap: 18px;
}

.nl-mak-stage-chakra .nl-mak-position-label {
    text-align: right;
}

.nl-mak-position {
    min-width: 0;
    text-align: center;
}

.nl-mak-position-label {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 50px;
    margin-bottom: 8px;
    color: var(--nl-mak-teal-dark);
}

.nl-mak-position-label strong {
    font-size: 16px;
    line-height: 1.3;
}

.nl-mak-position-label span {
    width: 100%;
    color: var(--nl-mak-muted);
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.nl-mak-chakra-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .72);
}

.nl-mak-slot {
    position: relative;
    width: min(100%, 170px);
    aspect-ratio: 1 / var(--nl-mak-card-ratio);
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    border: 2px dashed rgba(26, 122, 122, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    perspective: 1100px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nl-mak-slot.is-empty:hover,
.nl-mak-slot.is-active,
.nl-mak-slot.is-drag-over {
    border-color: var(--nl-mak-gold);
    transform: translateY(-2px);
    box-shadow: 0 0 0 5px rgba(200, 150, 46, .12);
}

.nl-mak-empty-mark {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: rgba(26, 122, 122, .45);
    font-family: Arial, sans-serif;
    font-size: 42px;
}

.nl-mak-flip-card,
.nl-mak-flip-inner,
.nl-mak-card-front,
.nl-mak-card-back,
.nl-mak-card-face {
    width: 100%;
    height: 100%;
}

.nl-mak-flip-card {
    perspective: 1100px;
}

.nl-mak-flip-inner {
    position: relative;
    transform-style: preserve-3d;
    transition: transform .72s cubic-bezier(.2, .72, .2, 1);
}

.nl-mak-flip-card.is-flipped .nl-mak-flip-inner {
    transform: rotateY(180deg);
}

.nl-mak-card-back,
.nl-mak-card-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 12px;
    backface-visibility: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(45, 39, 25, .18);
}

.nl-mak-card-face {
    transform: rotateY(180deg);
}

.nl-mak-card-back img,
.nl-mak-card-face img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.nl-mak-card-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: max-height .45s ease, opacity .45s ease, transform .45s ease;
}

.nl-mak-position.is-revealed .nl-mak-card-details {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.nl-mak-card-details h4 {
    margin: 13px 0 6px;
    color: var(--nl-mak-teal-dark);
    font-size: 18px;
}

.nl-mak-card-details p {
    margin: 0;
    color: var(--nl-mak-ink);
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.nl-mak-stage-chakra .nl-mak-card-details {
    text-align: left;
}

.nl-mak-stage-chakra .nl-mak-card-details h4 {
    margin-top: 0;
}

.nl-mak-deck-section {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 18px;
    border: 1px solid rgba(26, 122, 122, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
}

.nl-mak-deck-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.nl-mak-deck-heading h3 {
    margin: 0 0 4px;
    color: var(--nl-mak-teal);
    font-size: 27px;
}

.nl-mak-deck-heading p {
    margin: 0;
    color: var(--nl-mak-muted);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.nl-mak-deck-heading > span {
    flex: 0 0 auto;
    color: var(--nl-mak-gold);
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.nl-mak-deck {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    transition: opacity .2s ease;
}

.nl-mak-deck.is-disabled {
    opacity: .55;
    pointer-events: none;
}

.nl-mak-deck-card {
    width: 100%;
    aspect-ratio: 1 / var(--nl-mak-card-ratio);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 5px 12px rgba(45, 39, 25, .16);
    cursor: grab;
    transform: rotate(var(--card-tilt));
    transition: transform .16s ease, box-shadow .16s ease;
    touch-action: pan-y;
}

.nl-mak-deck-card:hover,
.nl-mak-deck-card:focus-visible {
    z-index: 2;
    transform: rotate(0) translateY(-5px) scale(1.03);
    box-shadow: 0 10px 20px rgba(45, 39, 25, .22);
}

.nl-mak-deck-card.is-dragging {
    opacity: .35;
}

.nl-mak-deck-card .nl-mak-card-back {
    position: static;
    display: block;
    box-shadow: none;
    border-radius: 8px;
}

.nl-mak-touch-ghost {
    position: fixed;
    z-index: 999999;
    width: 78px;
    height: calc(78px * var(--nl-mak-card-ratio));
    margin-left: -39px;
    margin-top: -58px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 9px;
    pointer-events: none;
    opacity: .9;
    transform: rotate(2deg);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .28);
}

.nl-mak-touch-ghost .nl-mak-card-back,
.nl-mak-touch-ghost img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.nl-mak-footer-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}

.nl-mak-modal[hidden] {
    display: none;
}

.nl-mak-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(17, 24, 23, .86);
    backdrop-filter: blur(5px);
}

.nl-mak-modal-content {
    width: min(92vw, 560px);
    max-height: 90vh;
    overflow: auto;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
}

.nl-mak-modal-content img {
    width: min(100%, 390px);
    max-height: 62vh;
    object-fit: contain;
    border-radius: 14px;
}

.nl-mak-modal-content h3 {
    margin: 18px 0 8px;
    color: var(--nl-mak-teal);
    font-size: 26px;
}

.nl-mak-modal-content p {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 17px;
}

.nl-mak-modal-close {
    position: fixed;
    top: 16px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--nl-mak-ink);
    font: 34px/1 Arial, sans-serif;
    cursor: pointer;
}

body.nl-mak-modal-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .nl-mak-shell {
        width: min(100%, calc(100vw - 20px));
    }

    .nl-mak-workspace {
        grid-template-columns: 1fr;
    }

    .nl-mak-stage-column {
        order: 1;
        padding-left: 0;
    }

    .nl-mak-stage-diamond {
        transform: none;
    }

    .nl-mak-deck-section {
        position: static;
        order: 2;
        max-height: none;
        overflow: visible;
    }

    .nl-mak-deck {
        grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
    }
}

@media (max-width: 820px) {
    .nl-mak-stage-diamond {
        grid-template-columns: repeat(3, minmax(86px, 145px));
        gap: 16px 10px;
    }

    .nl-mak-stage-diamond .nl-mak-position {
        display: block;
    }

    .nl-mak-stage-diamond .nl-mak-position-label {
        min-height: 50px;
    }

    .nl-mak-stage-diamond .nl-mak-slot {
        width: min(100%, 145px);
        max-width: none;
    }

    .nl-mak-stage-diamond .nl-mak-card-details {
        text-align: center;
        padding-left: 0;
    }

    .nl-mak-stage-diamond .nl-mak-card-details h4 {
        margin: 13px 0 6px;
    }

    .nl-mak-stage-one .nl-mak-position {
        grid-template-columns: minmax(135px, 160px) minmax(180px, 1fr);
        column-gap: 16px;
        max-width: 500px;
    }

    .nl-mak-position-label strong {
        font-size: 14px;
    }

    .nl-mak-stage-chakra .nl-mak-position {
        grid-template-columns: minmax(135px, 1fr) 112px minmax(170px, 1fr);
        gap: 12px;
    }

    .nl-mak-stage-chakra .nl-mak-card-details p {
        font-size: 13px;
    }
}

@media (max-width: 620px) {
    .nl-mak-shell {
        width: 100%;
        margin-left: 0;
        transform: none;
        padding: 20px 12px 26px;
        border-radius: 18px;
    }

    .nl-mak-stage-one .nl-mak-position {
        display: block;
        max-width: 100%;
    }

    .nl-mak-stage-one .nl-mak-slot {
        width: min(100%, 170px);
        margin: 0 auto;
    }

    .nl-mak-stage-one .nl-mak-card-details {
        text-align: center;
    }

    .nl-mak-stage-one .nl-mak-card-details h4 {
        margin-top: 13px;
    }

    .nl-mak-spread-picker {
        grid-template-columns: 1fr;
    }

    .nl-mak-spread-button {
        min-height: auto;
        padding: 14px 16px;
    }

    .nl-mak-question-form {
        padding: 18px 14px;
    }

    .nl-mak-toolbar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .nl-mak-toolbar button {
        min-height: 48px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .nl-mak-toolbar .nl-mak-flip-button {
        grid-column: 1 / -1;
    }

    .nl-mak-stage-diamond {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 6px;
    }

    .nl-mak-stage-diamond .nl-mak-position-label {
        min-height: 75px;
        align-content: end;
    }

    .nl-mak-stage-diamond .nl-mak-position-label strong {
        font-size: 11px;
        line-height: 1.25;
    }

    .nl-mak-stage-diamond .nl-mak-slot {
        width: 100%;
        max-width: 108px;
    }

    .nl-mak-stage-diamond .nl-mak-card-details h4 {
        font-size: 13px;
    }

    .nl-mak-stage-diamond .nl-mak-card-details p {
        font-size: 11px;
        line-height: 1.4;
    }

    .nl-mak-stage-chakra {
        gap: 24px;
    }

    .nl-mak-stage-chakra .nl-mak-position {
        grid-template-columns: 1fr 118px;
        align-items: start;
    }

    .nl-mak-stage-chakra .nl-mak-position-label {
        grid-column: 1;
        text-align: right;
        justify-content: flex-end;
        align-content: start;
        padding-top: 8px;
    }

    .nl-mak-stage-chakra .nl-mak-slot {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .nl-mak-stage-chakra .nl-mak-card-details {
        grid-column: 1;
        grid-row: 2;
        text-align: right;
    }

    .nl-mak-stage-chakra .nl-mak-card-details h4 {
        font-size: 15px;
    }

    .nl-mak-stage-chakra .nl-mak-card-details p {
        font-size: 12px;
    }

    .nl-mak-deck-heading {
        align-items: start;
    }

    .nl-mak-deck {
        grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
        gap: 7px;
    }

    .nl-mak-deck-section {
        padding: 14px 10px;
    }

    .nl-mak-deck-heading p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nl-mak-app *,
    .nl-mak-app *::before,
    .nl-mak-app *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* Первый интерактивный тур */
.nl-mak-tour-replay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 9px 16px;
    border: 1px solid rgba(26, 122, 122, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: var(--nl-mak-teal-dark);
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nl-mak-tour-replay:hover,
.nl-mak-tour-replay:focus-visible {
    transform: translateY(-1px);
    border-color: var(--nl-mak-gold);
    box-shadow: 0 8px 20px rgba(200, 150, 46, .16);
}

.nl-mak-tour {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    pointer-events: none;
}

.nl-mak-tour[hidden] {
    display: none;
}

.nl-mak-tour-shade {
    position: fixed;
    z-index: 1;
    background: rgba(9, 24, 23, .62);
    backdrop-filter: blur(5px) saturate(.75);
    -webkit-backdrop-filter: blur(5px) saturate(.75);
    pointer-events: auto;
}

.nl-mak-tour-tooltip {
    position: fixed;
    z-index: 4;
    width: min(370px, calc(100vw - 28px));
    padding: 22px;
    border: 2px solid #f2c84b;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(242, 200, 75, .2), transparent 42%),
        #ffffff;
    color: #233f3d;
    box-shadow:
        0 0 0 5px rgba(242, 200, 75, .18),
        0 18px 55px rgba(0, 0, 0, .34);
    pointer-events: auto;
}

.nl-mak-tour-progress {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff4c8;
    color: #8a6516;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.nl-mak-tour-title {
    margin: 0 0 9px;
    color: #0f6664;
    font-size: 23px;
    line-height: 1.2;
}

.nl-mak-tour-text {
    margin: 0;
    color: #374c4a;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.nl-mak-tour-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.nl-mak-tour-actions button {
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 999px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.nl-mak-tour-skip {
    border: 1px solid #c7d7d5;
    background: #fff;
    color: #546866;
}

.nl-mak-tour-next {
    border: 1px solid #d39d22;
    background: #d39d22;
    color: #fff;
    box-shadow: 0 8px 20px rgba(211, 157, 34, .25);
}

.nl-mak-tour-highlight {
    position: relative !important;
    z-index: 2147483002 !important;
    border-radius: 18px;
    box-shadow:
        0 0 0 5px #ffd74f,
        0 0 0 11px rgba(255, 215, 79, .28),
        0 0 46px 18px rgba(255, 215, 79, .9) !important;
    animation: nlMakTourPulse 1.45s ease-in-out infinite;
}

@keyframes nlMakTourPulse {
    0%,
    100% {
        box-shadow:
            0 0 0 5px #ffd74f,
            0 0 0 11px rgba(255, 215, 79, .28),
            0 0 40px 14px rgba(255, 215, 79, .68);
    }

    50% {
        box-shadow:
            0 0 0 7px #ffe781,
            0 0 0 14px rgba(255, 215, 79, .34),
            0 0 58px 22px rgba(255, 215, 79, .98);
    }
}

body.nl-mak-tour-open .nl-mak-tour-replay {
    pointer-events: none;
}

@media (max-width: 620px) {
    .nl-mak-tour-tooltip {
        padding: 18px;
        border-radius: 17px;
    }

    .nl-mak-tour-title {
        font-size: 20px;
    }

    .nl-mak-tour-text {
        font-size: 15px;
    }

    .nl-mak-tour-actions {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nl-mak-tour-highlight {
        animation: none;
    }
}


/* Последовательность: вопрос -> выбор расклада -> старт */
.nl-mak-question-form {
    max-width: 920px;
}

.nl-mak-question-step {
    max-width: 760px;
    margin: 0 auto;
}

.nl-mak-spread-choice-step {
    display: grid;
    gap: 16px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(26, 122, 122, .15);
}

.nl-mak-choice-heading {
    display: grid;
    gap: 4px;
    text-align: center;
}

.nl-mak-choice-heading strong {
    color: var(--nl-mak-teal-dark);
    font-size: 21px;
}

.nl-mak-choice-heading span {
    color: var(--nl-mak-muted);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.nl-mak-primary-button:disabled {
    cursor: not-allowed;
    opacity: .42;
    transform: none;
    box-shadow: none;
}

@media (max-width: 620px) {
    .nl-mak-spread-choice-step {
        margin-top: 20px;
        padding-top: 20px;
    }
}


/* Подсказка по правильному порядку открытия */
.nl-mak-toolbar .nl-mak-reading-guide-button {
    border-color: rgba(200, 150, 46, .55);
    background: #fffaf0;
    color: #8c661c;
}

.nl-mak-position.is-reveal-next .nl-mak-slot {
    border-color: #f0b82e;
    box-shadow:
        0 0 0 5px rgba(240, 184, 46, .22),
        0 0 34px 12px rgba(240, 184, 46, .55);
    animation: nlMakRevealNext 1s ease-in-out 2;
}

@keyframes nlMakRevealNext {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.035);
    }
}

@media (max-width: 620px) {
    .nl-mak-toolbar .nl-mak-reading-guide-button {
        grid-column: 1 / -1;
    }
}
