/* =============================================
   OnlineUstaz IELTS — page frame shared by the showcase,
   the test page and the result page (frontpage layout).
   The theme's empty block regions above the content carry
   margins that would push everything down by ~80px, and its
   content wrapper is capped; each IELTS sheet sets its own
   width, so the frame is neutralised here, once.
   ============================================= */
body.ou-ielts-page #page.container-fluid { padding-left: 0 !important; padding-right: 0 !important; }
body.ou-ielts-page #fpmaincontent.wrapper-xl { max-width: none; }
body.ou-ielts-page #fpblocktop .block-region,
body.ou-ielts-page #fpblockbottom .block-region { margin: 0; }
body.ou-ielts-page #fpmaincontent.rui-fp-margin-bottom { margin-bottom: 0; }

/* ---------- "A run is still open" bar: showcase and test page ---------- */
.ou-ielts-live {
    display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px;
    border: 1px solid #f0d39a; border-radius: 10px; background: #fdf1dc; color: #92400e;
    font-family: Inter, ui-sans-serif, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 13px; line-height: 18px;
}
.ou-ielts-live p { flex: 1; min-width: 0; margin: 0; }
.ou-ielts-live strong { font-weight: 600; }
.ou-ielts-live time { font-variant-numeric: tabular-nums; font-weight: 600; }
.ou-ielts-live__more { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ou-ielts-live__dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: #d97706; box-shadow: 0 0 0 3px #d9770633; }
.ou-ielts-live__go {
    display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; height: 32px; padding: 0 12px; white-space: nowrap;
    border-radius: 7px; background: #2563eb; color: #fff !important; font-weight: 600; text-decoration: none;
}
.ou-ielts-live__go:hover { background: #1d4ed8; }
.ou-ielts-live__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.theme-dark .ou-ielts-live { border-color: #5a4a2a; background: #3a2d1f; color: #f3c98b; }
.ou-sc .ou-ielts-live { margin: 0 0 16px; }
.ou-detail__timer-note--live { margin-top: 8px; }
.ou-detail__timer-note--live a { display: inline-block; margin-top: 4px; font-weight: 600; }
@media (max-width: 600px) {
    .ou-ielts-live { flex-wrap: wrap; font-size: 12px; }
    .ou-ielts-live__go { margin-left: 18px; }
}
