.tutorial-open-btn {
    position: absolute;
    left: clamp(18px, 4vw, 48px);
    top: calc(50% - 64px);
    z-index: 4;
    padding: 16px 26px;
    color: #fff4c7;
    border: 1px solid rgba(255, 233, 151, 0.54);
    border-radius: 8px;
    background: rgba(9, 46, 45, 0.66);
    box-shadow: 0 12px 26px rgba(2, 19, 25, 0.34);
    backdrop-filter: blur(5px);
    cursor: pointer;
    font-size: 1.18rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.tutorial-open-btn:hover {
    background: rgba(18, 73, 61, 0.82);
    transform: translateY(calc(-50% - 2px));
}

.tutorial-guide {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
}

.tutorial-list {
    position: fixed;
    inset: 0;
    z-index: 72;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 48px);
    background: rgba(4, 18, 24, 0.58);
    backdrop-filter: blur(4px);
}

.tutorial-list.hidden {
    display: none;
}

.tutorial-list-panel {
    width: min(760px, 94vw);
    max-height: min(760px, 92vh);
    overflow: hidden;
    color: #fff8dc;
    border: 1px solid rgba(255, 232, 149, 0.58);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(20, 78, 68, 0.92), rgba(7, 31, 41, 0.94)),
        rgba(5, 25, 31, 0.86);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.tutorial-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid rgba(255, 232, 149, 0.24);
}

.tutorial-list-kicker {
    margin: 0 0 6px;
    color: rgba(255, 222, 128, 0.86);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tutorial-list-header h2 {
    margin: 0;
    color: #fff0a8;
    font-size: 1.9rem;
    line-height: 1.15;
}

.tutorial-list-close {
    width: 46px;
    height: 46px;
    color: #fff8dc;
    border: 1px solid rgba(255, 233, 151, 0.46);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    cursor: pointer;
    font-size: 1.55rem;
    font-weight: 900;
}

.tutorial-list-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.tutorial-list-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 24px 28px 28px;
}

.tutorial-list-item {
    min-height: 136px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 9px;
    color: #fff8dc;
    text-align: left;
    border: 1px solid rgba(255, 232, 149, 0.42);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
        rgba(6, 34, 40, 0.50);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tutorial-list-item-wide {
    grid-column: 1 / -1;
    min-height: 112px;
}

.tutorial-list-item:hover {
    border-color: rgba(255, 232, 149, 0.72);
    background:
        linear-gradient(180deg, rgba(255, 232, 149, 0.20), rgba(255, 255, 255, 0.07)),
        rgba(12, 55, 49, 0.62);
    transform: translateY(-1px);
}

.tutorial-list-item strong {
    color: #fff0a8;
    font-size: 1.28rem;
    line-height: 1.2;
}

.tutorial-list-item span {
    color: rgba(255, 250, 225, 0.86);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.48;
}

.tutorial-list-item.is-disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.tutorial-list-item.is-disabled:hover {
    border-color: rgba(255, 232, 149, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
        rgba(6, 34, 40, 0.50);
    transform: none;
}

.tutorial-guide.hidden {
    display: none;
}

.tutorial-guide-panel {
    position: absolute;
    top: clamp(18px, 4vh, 46px);
    right: clamp(18px, 4vw, 52px);
    width: min(520px, calc(100vw - 32px));
    padding: 30px 30px 28px;
    color: #fff8dc;
    border: 1px solid rgba(255, 232, 149, 0.58);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(19, 75, 69, 0.88), rgba(8, 35, 43, 0.90)),
        rgba(5, 25, 31, 0.78);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px) saturate(1.08);
    pointer-events: auto;
}

.tutorial-guide-kicker {
    margin-bottom: 9px;
    color: rgba(255, 222, 128, 0.86);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tutorial-guide-panel h2 {
    margin: 0 0 14px;
    color: #fff0a8;
    font-size: 1.85rem;
    line-height: 1.2;
}

.tutorial-guide-panel p {
    margin: 0;
    color: rgba(255, 250, 225, 0.94);
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.68;
}

.tutorial-guide-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.tutorial-guide-actions button {
    min-width: 112px;
    padding: 13px 20px;
    border: 1px solid rgba(255, 233, 151, 0.50);
    border-radius: 8px;
    color: #fff8dc;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 800;
}

.tutorial-guide-actions button:hover {
    background: rgba(255, 255, 255, 0.20);
}

.tutorial-guide-actions .tutorial-guide-next {
    color: #251803;
    border-color: rgba(255, 247, 188, 0.78);
    background: linear-gradient(180deg, #fff0a8, #dca53a);
}

.tutorial-guide-actions .tutorial-guide-next:hover {
    background: linear-gradient(180deg, #fff6c5, #e4b64d);
}

.tutorial-guide-actions .hidden {
    display: none;
}

.tutorial-highlight {
    position: relative;
    z-index: 65;
    outline: 3px solid rgba(255, 231, 111, 0.92);
    outline-offset: 5px;
    box-shadow:
        0 0 0 8px rgba(255, 204, 54, 0.18),
        0 0 24px rgba(255, 231, 111, 0.48);
}

.tutorial-disabled-card {
    filter: grayscale(1) brightness(0.62);
    opacity: 0.38;
    cursor: not-allowed !important;
    transform: none !important;
}

.tutorial-disabled-card:hover {
    transform: none !important;
}

.tutorial-action-highlight {
    position: relative;
    z-index: 66;
    outline: 4px solid rgba(255, 226, 74, 0.98) !important;
    outline-offset: 4px;
    box-shadow:
        0 0 0 8px rgba(255, 199, 43, 0.22),
        0 0 24px rgba(255, 226, 74, 0.62) !important;
}

@media (max-width: 720px) {
    .tutorial-open-btn {
        top: calc(50% - 58px);
        padding: 13px 18px;
        font-size: 1.04rem;
    }

    .tutorial-guide-panel {
        top: 10px;
        right: 10px;
        padding: 22px;
    }

    .tutorial-list-items {
        grid-template-columns: 1fr;
    }

    .tutorial-list-header {
        padding: 20px 22px 16px;
    }

    .tutorial-list-items {
        padding: 20px 22px 24px;
    }
}
