/* ─────────────────────────────────────────────────────
   Contextual Help System & Operations Briefing Styles
   ───────────────────────────────────────────────────── */

/* ── ? Help Icon Button ─────────────────────────────── */
.help-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #00FF88;
    background: transparent;
    color: #00FF88;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 8px;
    padding: 0;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.help-icon-btn:hover {
    background: #00FF88;
    color: #000;
    box-shadow: 0 0 6px #00FF88;
}

/* ── Help Modal ─────────────────────────────────────── */
.help-modal-content {
    max-width: 680px !important;
    min-width: 380px;
    width: 60vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.help-modal-header {
    background: #00FF88 !important;
    color: #000 !important;
    padding: 10px 16px !important;
}
.help-modal-title {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
}
.help-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}
.help-modal-close:hover {
    color: #333;
}
.help-modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 20px 24px;
    font-family: 'Courier New', monospace;
    color: #00FF88;
    font-size: 13px;
    line-height: 1.7;
    background: #000;
}

/* ── Help Block Content ─────────────────────────────── */
.help-block {
    margin-bottom: 16px;
}
.help-block p {
    margin: 6px 0;
}
.help-block strong {
    color: #FFD700;
}
.help-block code {
    background: #0a1a10;
    border: 1px solid #00FF8844;
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 12px;
}
.help-h2 {
    color: #FFD700;
    font-size: 16px;
    margin: 18px 0 8px 0;
    letter-spacing: 1px;
    border-bottom: 1px solid #00FF8833;
    padding-bottom: 4px;
}
.help-h3 {
    color: #aaffcc;
    font-size: 14px;
    margin: 14px 0 6px 0;
}
.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 12px;
}
.help-table th {
    text-align: left;
    padding: 5px 8px;
    color: #FFD700;
    border-bottom: 1px solid #00FF88;
    white-space: nowrap;
}
.help-table td {
    padding: 4px 8px;
    border-bottom: 1px solid #0a1a10;
}
.help-list {
    margin: 6px 0 6px 20px;
    padding: 0;
}
.help-list li {
    margin: 3px 0;
}
.help-quote {
    background: #0a1a10;
    border-left: 3px solid #FFD700;
    padding: 8px 12px;
    margin: 10px 0;
    color: #FFD700;
    font-style: italic;
}
.help-hr {
    border: none;
    border-top: 1px solid #00FF8833;
    margin: 14px 0;
}

/* ── Tips Section (inside help modal) ───────────────── */
.help-tips-section {
    margin-top: 18px;
    border-top: 1px solid #00FF8844;
    padding-top: 12px;
}
.help-tips-header {
    color: #FFD700;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.help-tip-item {
    color: #aaffcc;
    background: #0a1a10;
    border-left: 3px solid #FFD700;
    padding: 6px 12px;
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.5;
}

/* ── Operations Briefing (Main Menu) ────────────────── */
.ops-briefing {
    background: linear-gradient(180deg, #0a1520 0%, #060d14 100%);
    border: 1px solid #1a3a4a;
    border-radius: 2px;
    padding: 0;
    margin-top: 12px;
    font-family: 'Courier New', monospace;
}
.ops-briefing-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: linear-gradient(90deg, transparent, #1a3a4a44, transparent);
    border-bottom: 1px solid #1a3a4a;
    color: #4a7a6a;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.ops-briefing-icon {
    font-size: 8px;
    color: #2a5a4a;
}
.ops-briefing-body {
    padding: 14px 18px;
}
.ops-briefing-tip {
    color: #7a9a8a;
    font-size: 12px;
    line-height: 1.6;
    min-height: 36px;
    white-space: pre-wrap;
}
.ops-briefing-tip::after {
    content: '\2588';
    color: #4a8a6a;
    animation: teletype-blink 0.6s step-end infinite;
    margin-left: 1px;
}
.ops-briefing-tip.typing-done::after {
    animation: teletype-blink 1.2s step-end infinite;
    color: #2a5a4a;
}
@keyframes teletype-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.ops-briefing-feed {
    color: #2a4a4a;
    font-size: 9px;
    letter-spacing: 1px;
    padding: 0 18px 4px;
    text-transform: uppercase;
}
.ops-briefing-meta {
    color: #3a5a5a;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 8px;
}
.ops-briefing-next {
    display: block;
    width: 100%;
    padding: 6px;
    background: transparent;
    border: none;
    border-top: 1px solid #1a3a4a44;
    color: #3a6a5a;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.ops-briefing-next:hover {
    background: #1a3a4a22;
    color: #5a9a7a;
}
