.launcher-help-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(100, 181, 246, 0.28);
    background: rgba(100, 181, 246, 0.08);
    color: var(--accent-hover);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.launcher-help-trigger:hover {
    background: var(--accent-soft);
    border-color: rgba(100, 181, 246, 0.45);
    color: var(--text);
}

.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(4, 8, 14, 0.78);
    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%, 700px);
    max-height: min(88vh, 720px);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background: linear-gradient(
        165deg,
        rgba(20, 28, 42, 0.99) 0%,
        rgba(12, 18, 28, 0.98) 100%
    );
    box-shadow: var(--shadow), 0 0 0 1px rgba(100, 181, 246, 0.06);
    overflow: hidden;
}

.launcher-help-modal__panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--ok));
}

.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: var(--text);
}

.launcher-help-modal__subtitle {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--muted);
    font-weight: 400;
}

.launcher-help-modal__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.launcher-help-modal__close:hover {
    color: var(--text);
    border-color: var(--border-strong);
    background: var(--bg-elevated);
}

.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: var(--radius-sm);
    border: 1px solid rgba(100, 181, 246, 0.18);
    background: var(--accent-soft);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.launcher-help-codes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.launcher-help-code-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(8, 12, 18, 0.75);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.launcher-help-code-card:hover {
    border-color: rgba(100, 181, 246, 0.35);
    background: rgba(100, 181, 246, 0.06);
}

.launcher-help-code-card.is-active {
    border-color: rgba(100, 181, 246, 0.5);
    background: rgba(100, 181, 246, 0.12);
    box-shadow: 0 0 0 1px rgba(100, 181, 246, 0.12);
}

.launcher-help-code-card__num {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent-hover);
}

.launcher-help-code-card__desc {
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--muted);
}

.launcher-help-section {
    display: none;
}

.launcher-help-section.is-active {
    display: block;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.16);
}

.launcher-help-section__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.launcher-help-section__when {
    margin: 0 0 12px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--muted);
}

.launcher-help-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: help-step;
}

.launcher-help-steps > li {
    position: relative;
    margin: 0 0 10px;
    padding: 12px 14px 12px 42px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(100, 181, 246, 0.12);
    background: rgba(8, 12, 18, 0.85);
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-secondary);
    counter-increment: help-step;
}

.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: 6px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
}

.launcher-help-steps strong {
    color: var(--text);
    font-weight: 600;
}

.launcher-help-steps ul {
    margin: 8px 0 0;
    padding-left: 1.1rem;
}

.launcher-help-steps li li {
    margin-bottom: 4px;
}

.launcher-help-details {
    margin: 14px 0 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.1);
    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: var(--text-secondary);
    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: var(--muted);
    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: var(--text-secondary);
}

.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 rgba(255, 193, 7, 0.28);
    background: rgba(255, 193, 7, 0.08);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #ffe082;
}

.launcher-help-note--info {
    border-color: rgba(100, 181, 246, 0.25);
    background: rgba(100, 181, 246, 0.08);
    color: #c5e4ff;
}

.launcher-help-cmd {
    display: block;
    margin: 8px 0;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--accent-hover);
    word-break: break-all;
}

.launcher-help-cmd--inline {
    display: inline;
    margin: 0 2px;
    padding: 2px 6px;
}

.launcher-help-inline-link {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.launcher-help-inline-link:hover {
    color: var(--text);
}

.launcher-help-result-link {
    margin-top: 12px;
    text-align: center;
}
