/* Six quick wins. Scoped to existing components; no changes to global layout. */
.odq-outcome-label{display:inline-flex;align-items:center;font-size:.9rem;font-weight:800;color:#187647;margin:4px 0 8px}
.next-question-info .odq-next-mysteries{display:block;margin-top:3px;font-size:.76rem;opacity:.85}
.odq-habit-encouragement{margin:10px 0 5px;color:#6b258b;font-weight:700;font-size:.82rem}
body.odq-vibrant .odq-desktop-sidebar .share-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:stretch}
body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn{min-width:0;min-height:35px;padding:7px 5px;font-size:.76rem;line-height:1.2;text-align:center;white-space:normal}
body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn svg{width:15px;height:15px;flex:0 0 15px}
.mr-daily-summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:9px 12px;margin:-6px 0 12px;background:#f5edff;border:1px solid #e5d3f6;border-radius:10px;color:#531680;font-size:.86rem;font-weight:700}
#mr-daily-score{color:#6b1a9d;font-variant-numeric:tabular-nums}
.mr-tab-solved::after{content:' ✓';color:#209b5a}
.mr-tab-solved[aria-selected=true]::after{color:#b8ffcf}
#mr-replay .mr-points-highlight{display:inline-block;background:#fff5d7;color:#57280c;border:1px solid #f3d48b;border-radius:10px;padding:10px 14px;font-size:1.22rem;font-weight:900;margin:8px 0 15px}
@media(max-width:760px){body.odq-vibrant .odq-desktop-sidebar .share-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.mr-daily-summary{font-size:.78rem}}

/* Two small refinements: actual solved states and balanced share rows. */
.mr-solved-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:-6px 0 12px}
.mr-solved-steps span{height:7px;border-radius:99px;background:#e7d8f2;border:1px solid #d9c5e9;transition:background-color .2s ease}
.mr-solved-steps span.is-solved{background:#8e19c7;border-color:#8e19c7}
body.odq-vibrant .odq-desktop-sidebar .share-buttons{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn{grid-column:span 2;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:37px;gap:5px;padding:7px 3px;font-size:.73rem;white-space:nowrap}
body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn:nth-child(4),body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn:nth-child(5){grid-column:span 3}
body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn[hidden]{display:none!important}
/* When native sharing is unavailable, centre the remaining fourth button. */
body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn:nth-child(5):nth-last-child(1){justify-self:stretch}
@media(max-width:760px){body.odq-vibrant .odq-desktop-sidebar .share-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn,body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn:nth-child(4),body.odq-vibrant .odq-desktop-sidebar .share-buttons .share-btn:nth-child(5){grid-column:auto}}


/* Beta V1 mobile contrast fix: Mystery Reveal light surfaces only.
   Desktop styling, dimensions, timers and interactions are unchanged. */
@media (max-width:1099px) {
  body.odq-vibrant .odq-mystery-desktop #mr-panel,
  body.odq-vibrant .odq-mystery-desktop #mr-guesses,
  body.odq-vibrant .odq-mystery-desktop #mr-history,
  body.odq-vibrant .odq-mystery-desktop #mr-history li,
  body.odq-vibrant .odq-mystery-desktop #mr-feedback,
  body.odq-vibrant .odq-mystery-desktop #mr-form label,
  body.odq-vibrant .odq-mystery-desktop #mr-status,
  body.odq-vibrant .odq-mystery-desktop #mr-progress,
  body.odq-vibrant .odq-mystery-desktop #mr-stage-label,
  body.odq-vibrant .odq-mystery-desktop #mr-percent {
    color: #35134d !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  body.odq-vibrant .odq-mystery-desktop #mr-community,
  body.odq-vibrant .odq-mystery-desktop #mr-community h3,
  body.odq-vibrant .odq-mystery-desktop #mr-community strong,
  body.odq-vibrant .odq-mystery-desktop #mr-community p,
  body.odq-vibrant .odq-mystery-desktop #mr-community ul,
  body.odq-vibrant .odq-mystery-desktop #mr-community li {
    color: #35134d !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  body.odq-vibrant .odq-mystery-desktop #mr-community .mr-community-note {
    color: #644b78 !important;
  }
  body.odq-vibrant .odq-mystery-desktop #mr-replay,
  body.odq-vibrant .odq-mystery-desktop #mr-replay p,
  body.odq-vibrant .odq-mystery-desktop #mr-replay label {
    color: #35134d !important;
  }
  body.odq-vibrant .odq-mystery-desktop a[href*="yesterday"],
  body.odq-vibrant .odq-mystery-desktop a[href*="mystery-stats"] {
    color: #68169b !important;
  }
}
