.help-center-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(3, 8, 15, 0.84);
    backdrop-filter: blur(8px);
}

.help-center-modal.active { display: grid; }

.help-center-dialog {
    width: min(920px, 96vw);
    max-height: min(760px, 92vh);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #268fe8;
    border-radius: 16px;
    background: linear-gradient(145deg, #172131, #0d141e);
    box-shadow: 0 28px 90px rgba(0,0,0,.72), 0 0 28px rgba(33,150,243,.15);
    color: #edf5ff;
}

.help-center-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px 14px;
}

.help-center-kicker { color: #42a5f5; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.help-center-header h2 { margin: 3px 0; font-size: 23px; }
.help-center-header p { margin: 0; color: #91a0b5; font-size: 13px; }
.help-center-close { width: 34px; height: 34px; border: 1px solid #344257; border-radius: 8px; background: #111925; color: #e9f4ff; cursor: pointer; font-size: 20px; }
.help-center-close:hover { border-color: #42a5f5; color: #42a5f5; }

.help-center-search-wrap { padding: 0 22px 16px; }
.help-center-search { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid #344257; border-radius: 9px; background: #0b111a; color: #fff; outline: none; }
.help-center-search:focus { border-color: #2196f3; box-shadow: 0 0 0 3px rgba(33,150,243,.12); }

.help-center-body { overflow: auto; padding: 0 22px 22px; }
.help-center-section-title { margin: 4px 0 10px; color: #42a5f5; font-size: 13px; font-weight: 800; }
.help-center-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.help-topic { min-height: 105px; padding: 14px; border: 1px solid #2b384b; border-radius: 10px; background: #151e2b; color: #edf5ff; cursor: pointer; text-align: left; }
.help-topic:hover, .help-topic:focus-visible { border-color: #2196f3; background: #182638; transform: translateY(-1px); }
.help-topic strong { display: block; margin-bottom: 5px; color: #60b7ff; font-size: 13px; }
.help-topic span { color: #9aa9bc; font-size: 12px; line-height: 1.4; }
.help-topic[hidden] { display: none; }

.help-topic-detail { display: none; margin-top: 12px; padding: 14px; border-left: 3px solid #2196f3; border-radius: 8px; background: #101824; color: #b8c7d9; font-size: 13px; line-height: 1.55; white-space: pre-line; }
.help-topic-detail.active { display: block; }

.help-center-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.help-center-action { padding: 13px; border: 1px solid #2c8fdc; border-radius: 9px; background: #142238; color: #67bbff; font-weight: 750; cursor: pointer; }
.help-center-action:hover { background: #19304b; }

.help-support-status { margin: 0; padding: 12px 14px; border: 1px solid #314157; border-radius: 9px; background: #101722; color: #aebdd0; font-size: 12px; line-height: 1.45; }

@media (max-width: 720px) {
    .help-center-grid, .help-center-actions { grid-template-columns: 1fr; }
}
