body.help-page-body {
    background: #202028 linear-gradient(-45deg, #202028 0%, #000008 100%);
    color: #C0FFFF;
    margin: 0;
    padding: 32px 18px;
    overflow: auto;
    min-height: 100vh;
    font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif;
}

.help-page {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(40, 48, 56, 0.92);
    border: 1px solid #585858;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    padding: 24px 28px 30px;
}

.help-page h1 {
    margin: 0 0 12px;
    color: #C0FFFF;
    font-size: clamp(2rem, 3vw, 2.7rem);
}

.help-page h2 {
    margin: 22px 0 12px;
    color: #D9F7FF;
    font-size: 1.2rem;
}

.help-page p,
.help-page li {
    color: #D6E5F0;
    line-height: 1.6;
    font-size: 1rem;
}

.help-page ul {
    padding-left: 20px;
    margin: 0;
}

.help-page strong {
    color: #FFFFFF;
}

.help-language {
    display: inline-block;
    margin: 8px 0 14px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #585858;
    background: #202028;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A0C0C0;
}

.help-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 16px;
    border: 1px solid #585858;
    border-radius: 6px;
    background-color: #202028;
    color: #C0FFFF;
    text-decoration: none;
    font-weight: 600;
}

.help-button:hover {
    border-color: #C0FFFF;
    background-color: #405050;
}

.help-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(192,255,255,0.25), rgba(192,255,255,0.04));
    margin: 22px 0;
}

.help-dialog {
    box-sizing: border-box;
    width: min(980px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100% - 32px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #585858;
    border-radius: 12px;
    background: #283038;
    color: #C0FFFF;
    box-shadow: 0 16px 48px #00000099;
}

.help-dialog::backdrop {
    background: #00000099;
}

.help-dialog-panel {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 34px);
}

.help-dialog-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #585858;
    background: rgba(59, 67, 74, 0.78);
}

.help-dialog-title {
    margin: 0;
    color: #C0FFFF;
    font-size: 16px;
    font-weight: 600;
}

.help-dialog-close {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid #585858;
    border-radius: 6px;
    background: #202028;
    color: #C0FFFF;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.help-dialog-close:hover {
    border-color: #C0FFFF;
    background: #405050;
}

.help-dialog-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.help-dialog-content .help-page {
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 600px) {
    .help-dialog-content .help-page {
        padding: 18px;
    }
}
