.oplc-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Keep the existing floating help control clear of score and progress. */
body:has(> .oplc-howto-btn) .game-header {
    padding-right: max(76px, calc(env(safe-area-inset-right) + 64px));
    flex-wrap: wrap;
    gap: 8px;
}

body:has(> .oplc-howto-btn) .game-header .header-right {
    margin-left: auto;
    flex-shrink: 0;
}
.history-offline-link {
    box-sizing: border-box;
    margin: 0 auto 8px;
    max-width: 48rem;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.78);
    color: #e2e8f0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.45;
}

.history-offline-link a {
    font-weight: 700;
    color: #f8fafc;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.history-offline-link a:visited {
    color: #e0e7ff;
}

.history-offline-link a:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 3px;
    border-radius: 2px;
}
