.launcher-help-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #b0b0b7;
    background: #fff;
    color: #2f2f31;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.launcher-help-trigger:hover {
    background: #f4f4f6;
    border-color: #8f8f97;
    color: #2f2f31;
}

.launcher-help-trigger__icon {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.9;
}

.launcher-help-modal {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
}

.launcher-help-modal.hidden {
    display: none;
}

body.launcher-help-open {
    overflow: hidden;
}

.launcher-help-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 12, 0.62);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.launcher-help-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 760px);
    max-height: min(92vh, 860px);
    border-radius: 14px;
    border: 1px solid #eaeaee;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    color: #2f2f31;
}

.launcher-help-modal__panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    right: 0;
    height: 3px;
    background: #fcaf17;
}

.launcher-help-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 12px;
    flex-shrink: 0;
}

.launcher-help-modal__header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #2f2f31;
}

.launcher-help-modal__subtitle {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #6b6b70;
    font-weight: 400;
}

.launcher-help-modal__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #cfcfd4;
    border-radius: 8px;
    background: #fff;
    color: #6b6b70;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.launcher-help-modal__close:hover {
    color: #2f2f31;
    border-color: #8a8a90;
    background: #f6f6f8;
}

.launcher-help-modal__body {
    padding: 0 22px 22px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.launcher-help-intro {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ffe4b3;
    background: #fff5e6;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #9a6b00;
}

.launcher-help-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.launcher-help-code-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 12px;
    border-radius: 6px;
    border: 1px solid #cfcfd4;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.launcher-help-code-card:hover {
    border-color: #8a8a90;
    background: #f6f6f8;
}

.launcher-help-code-card.is-active {
    border-color: #fcaf17;
    background: #fff8e8;
    box-shadow: 0 0 0 1px rgba(252, 175, 23, 0.28);
}

.launcher-help-code-card__num {
    font-family: var(--font-mono, ui-monospace, Consolas, monospace);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #2f2f31;
}

.launcher-help-code-card.is-active .launcher-help-code-card__num {
    color: #9a6b00;
}

.launcher-help-code-card__desc {
    font-size: 0.75rem;
    line-height: 1.35;
    color: #6b6b70;
}

.launcher-help-section {
    display: none;
}

.launcher-help-section.is-active {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.launcher-help-section__title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f2f31;
}

.launcher-help-section__when {
    margin: 0 0 14px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #6b6b70;
}

.launcher-help-tier {
    margin: 0 0 12px;
    padding: 14px 14px 6px;
    border-radius: 10px;
    border: 1px solid #eaeaee;
}

.launcher-help-tier--quick {
    background: #eefaf0;
    border-color: #bfe6cd;
}

.launcher-help-tier--deep {
    background: #fff6e6;
    border-color: #ffdca6;
}

.launcher-help-tier__title {
    margin: 0 0 10px;
    font-size: 0.875rem;
    font-weight: 700;
}

.launcher-help-tier--quick .launcher-help-tier__title {
    color: #1f7a3d;
}

.launcher-help-tier--deep .launcher-help-tier__title {
    color: #9a6b00;
}

.launcher-help-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: help-step;
}

.launcher-help-steps[start="3"] { counter-reset: help-step 2; }
.launcher-help-steps[start="4"] { counter-reset: help-step 3; }
.launcher-help-steps[start="5"] { counter-reset: help-step 4; }

.launcher-help-steps > li {
    position: relative;
    margin: 0 0 8px;
    padding: 11px 12px 11px 42px;
    border-radius: 8px;
    border: 1px solid rgba(47, 47, 49, 0.08);
    background: #fff;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #45454a;
    counter-increment: help-step;
}

.launcher-help-steps > li:last-child {
    margin-bottom: 8px;
}

.launcher-help-steps > li::before {
    content: counter(help-step);
    position: absolute;
    left: 12px;
    top: 12px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fcaf17;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.launcher-help-tier--quick .launcher-help-steps > li::before {
    background: #37b24d;
}

.launcher-help-steps strong {
    color: #2f2f31;
    font-weight: 650;
}

.launcher-help-steps ul {
    margin: 8px 0 0;
    padding-left: 1.1rem;
}

.launcher-help-steps li li {
    margin-bottom: 4px;
}

.launcher-help-substeps {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: help-sub;
}

.launcher-help-substeps > li {
    position: relative;
    margin: 0 0 8px;
    padding: 0 0 0 28px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #45454a;
    counter-increment: help-sub;
}

.launcher-help-substeps > li:last-child {
    margin-bottom: 0;
}

.launcher-help-substeps > li::before {
    content: counter(help-sub);
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c9950f;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
}

.launcher-help-more {
    margin-top: 8px;
}

.launcher-help-more summary {
    cursor: pointer;
    color: #9a6b00;
    font-weight: 700;
    font-size: 0.8125rem;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.launcher-help-more summary::-webkit-details-marker {
    display: none;
}

.launcher-help-more summary::before {
    content: "▸";
    font-size: 0.7rem;
    transition: transform 0.15s ease;
}

.launcher-help-more[open] summary::before {
    transform: rotate(90deg);
}

.launcher-help-more__body {
    margin: 8px 0 2px;
    padding: 10px 12px;
    background: #f6f6f8;
    border-left: 3px solid #fcaf17;
    border-radius: 0 8px 8px 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #45454a;
}

.launcher-help-extra {
    margin-top: 4px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #eaeaee;
    background: #f6f6f8;
}

.launcher-help-extra__title {
    margin: 0 0 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2f2f31;
}

.launcher-help-extra ul {
    margin: 0;
    padding-left: 1.15rem;
}

.launcher-help-extra li {
    margin: 0 0 6px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #45454a;
}

.launcher-help-extra li:last-child {
    margin-bottom: 0;
}

.launcher-help-details {
    margin: 14px 0 0;
    border-radius: 6px;
    border: 1px solid #eaeaee;
    background: #fff;
    overflow: hidden;
}

.launcher-help-details + .launcher-help-details {
    margin-top: 10px;
}

.launcher-help-details summary {
    padding: 12px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2f2f31;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.launcher-help-details summary::-webkit-details-marker {
    display: none;
}

.launcher-help-details summary::after {
    content: "+";
    float: right;
    color: #6b6b70;
    font-weight: 400;
}

.launcher-help-details[open] summary::after {
    content: "−";
}

.launcher-help-details__body {
    padding: 0 14px 14px;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #6b6b70;
}

.launcher-help-details__body .launcher-help-steps > li {
    margin-bottom: 10px;
}

.launcher-help-details__body .launcher-help-steps > li:last-child {
    margin-bottom: 0;
}

.launcher-help-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ffe4b3;
    background: #fff5e6;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #9a6b00;
}

.launcher-help-note--info {
    border-color: #eaeaee;
    background: #f6f6f8;
    color: #6b6b70;
}

.launcher-help-cmd {
    display: block;
    margin: 8px 0;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #eaeaee;
    background: #fff;
    font-family: var(--font-mono, ui-monospace, Consolas, monospace);
    font-size: 0.8125rem;
    color: #2f2f31;
    word-break: break-all;
}

.launcher-help-cmd--inline {
    display: inline;
    margin: 0 2px;
    padding: 2px 6px;
}

.launcher-help-inline-link {
    color: #9a6b00;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.launcher-help-inline-link:hover {
    color: #2f2f31;
}

.launcher-help-result-link {
    margin-top: 12px;
    text-align: center;
}

@media (max-width: 560px) {
    .launcher-help-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .launcher-help-modal__panel {
        width: 100%;
        max-height: min(94vh, 860px);
        border-radius: 12px;
    }
}
