/* SuperFan Meet Review ("Super Intelligence") - 2026-11. One violet accent, sans-serif, dark + light themes. */
.mr-root { --bg:#0f1117; --card:#171a23; --line:#262b38; --text:#eef0f6; --muted:#9aa3b5; --accent:#8b5cf6; --accent-soft:rgba(139,92,246,.16);
    --ok:#16a34a; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background:var(--bg); color:var(--text);
    padding:16px; border-radius:14px; max-width:1100px; margin:0 auto 24px; }
.mr-root[data-theme="light"] { --bg:#f6f5fb; --card:#ffffff; --line:#e4e1f0; --text:#1b1530; --muted:#6a6585; --accent:#6d28d9; --accent-soft:rgba(109,40,217,.10); }
.mr-root * { box-sizing:border-box; }
.mr-root h1, .mr-root h2, .mr-root h3 { font-family:inherit; margin:0; color:var(--text); }
/* "Back to team" (only when opened from the Teams roster) */
.mr-back, .mr-back:visited { display:inline-flex; align-items:center; gap:6px; margin:0 0 12px; padding:6px 12px 6px 8px; border:1px solid var(--line); border-radius:999px;
    background:var(--card); color:var(--text) !important; font-size:14px; font-weight:600; text-decoration:none !important; }
.mr-back:hover, .mr-back:focus-visible { border-color:var(--accent); color:var(--accent) !important; }
.mr-back svg { width:16px; height:16px; }

/* Signed-out invite (points to the header's Sign in button) */
.mr-signin { display:flex; align-items:center; gap:24px; padding:28px 28px; }
.mr-signin-art { flex:0 0 auto; width:150px; height:auto; }
.mr-signin-body { flex:1 1 auto; min-width:0; }
.mr-signin h2 { display:block; font-size:24px; font-weight:800; margin:8px 0 8px; line-height:1.2; }
.mr-signin p { color:var(--muted); font-size:15px; line-height:1.55; margin:0 0 14px; max-width:560px; }
.mr-signin-list { list-style:none; padding:0; margin:0 0 20px; display:grid; gap:8px; }
.mr-signin-list li { display:flex; align-items:center; gap:10px; font-size:15px; color:var(--text); }
.mr-signin-list svg { width:18px; height:18px; color:var(--accent); flex:0 0 auto; }
.mr-signin p.mr-signin-hint { display:flex; align-items:flex-start; gap:10px; margin:0; padding:12px 14px; border-radius:12px;
    background:var(--accent-soft); color:var(--text); font-size:15px; line-height:1.45; max-width:560px; text-align:left; }
.mr-signin-hint svg { width:18px; height:18px; color:var(--accent); flex:0 0 auto; margin-top:1px; }
@media (max-width:600px) {
    .mr-signin { flex-direction:column; text-align:center; padding:22px 16px; gap:12px; }
    .mr-signin-art { width:110px; }
    .mr-signin-list { justify-items:center; }
}

.mr-hero { position:relative; overflow:hidden; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:18px 18px 22px; margin-bottom:14px; }
.mr-hero h1 { font-size:28px; font-weight:800; margin-top:10px; }
.mr-hero-top { display:flex; align-items:center; gap:12px; }
.mr-brand { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); }
.mr-brand svg { width:16px; height:16px; }
.mr-sf-logo { height:20px; margin-left:auto; }
.mr-theme { background:transparent; border:1px solid var(--line); color:var(--text); border-radius:8px; padding:5px 7px; cursor:pointer; line-height:0; }
.mr-theme svg { width:18px; height:18px; }
.mr-hero-sub { color:var(--muted); margin:4px 0 0; }
.mr-hero-pb { display:inline-flex; align-items:center; gap:6px; margin:12px 0 0; font-weight:700; color:var(--accent); background:var(--accent-soft); padding:6px 12px; border-radius:999px; }
.mr-hero-pb svg { width:18px; height:18px; }
.mr-hero-pb.mr-soft { color:var(--muted); background:transparent; padding-left:0; font-weight:500; }
.mr-fw { position:absolute; left:0; right:0; bottom:0; width:100%; height:100%; object-fit:cover; object-position:bottom; pointer-events:none; opacity:.9; transition:opacity 1s; }

.mr-card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px 18px; margin-bottom:14px; }
.mr-card h2 { font-size:16px; font-weight:700; display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.mr-card h2 svg { width:18px; height:18px; color:var(--accent); }
.mr-notice { text-align:center; padding:28px 18px; }
.mr-tally { display:flex; gap:28px; }
.mr-tally strong { display:block; font-size:38px; font-weight:800; line-height:1; color:var(--accent); }
.mr-tally span { color:var(--muted); font-size:13px; }
.mr-progress { height:8px; background:var(--line); border-radius:999px; overflow:hidden; margin:14px 0 6px; }
.mr-progress i { display:block; height:100%; background:var(--accent); border-radius:999px; }
.mr-muted { color:var(--muted); font-size:13px; margin:6px 0 0; }
.mr-milestone { display:flex; align-items:center; gap:6px; color:var(--accent); font-weight:700; margin:8px 0 0; }
.mr-milestone svg { width:18px; height:18px; }
.mr-split { margin:12px 0 0; display:flex; align-items:center; flex-wrap:wrap; gap:4px; font-weight:700; }

.mr-flag { display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:600; padding:2px 8px; border-radius:999px; white-space:nowrap; }
.mr-flag svg { width:13px; height:13px; }
.mr-flag-verified { color:var(--ok); background:rgba(22,163,74,.12); }
.mr-flag-verified .ap-verified { margin:0; }
.mr-flag-manual { color:var(--muted); background:rgba(154,163,181,.15); }

.mr-picker { display:flex; gap:8px; overflow-x:auto; padding-bottom:6px; margin-bottom:12px; }
.mr-chip { flex:0 0 auto; display:inline-flex; align-items:center; gap:5px; padding:7px 12px; border:1px solid var(--line); border-radius:999px; background:var(--card); color:var(--text); font-size:13px; text-decoration:none; }
.mr-chip.on { border-color:var(--accent); background:var(--accent-soft); }
.mr-chip svg { width:14px; height:14px; color:var(--accent); }

.mr-lens { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.mr-lens-tab { display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:10px; border:1px solid var(--line); background:var(--card); color:var(--text); font-weight:600; font-size:14px; text-decoration:none; }
.mr-lens-tab.on { background:var(--accent); border-color:var(--accent); color:#fff; }
.mr-lens-tab svg { width:16px; height:16px; }
.mr-good { display:flex; align-items:center; gap:6px; color:var(--ok); font-weight:600; font-size:13px; margin:6px 0 0; }
.mr-good svg { width:16px; height:16px; }
/* wide screens: use the right half (hero tiles, PB bars, all-around + trend side by side) */
.mr-hero-body { display:block; }
.mr-stats { display:grid; grid-template-columns:repeat(auto-fit, minmax(120px, 1fr)); gap:10px; margin-top:16px; }
.mr-stat { background:var(--accent-soft); border-radius:12px; padding:12px 14px; display:flex; flex-direction:column; gap:2px; }
.mr-stat svg { width:18px; height:18px; color:var(--accent); margin-bottom:4px; }
.mr-stat strong { font-size:26px; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums; }
.mr-stat span { color:var(--muted); font-size:12px; }
.mr-bars h3 { font-size:14px; font-weight:700; margin-bottom:10px; color:var(--muted); }
.mr-bar { display:grid; grid-template-columns:90px 1fr 34px; align-items:center; gap:10px; margin:7px 0; font-size:14px; }
.mr-bar > div { height:10px; background:var(--line); border-radius:999px; overflow:hidden; }
.mr-bar i { display:block; height:100%; background:var(--accent); border-radius:999px; }
.mr-bar b { text-align:right; font-variant-numeric:tabular-nums; }
@media (min-width:860px) {
    .mr-hero-body { display:grid; grid-template-columns:minmax(260px, 1fr) minmax(320px, 1.15fr); gap:28px; align-items:center; }
    .mr-stats { margin-top:0; grid-template-columns:repeat(auto-fit, minmax(135px, 1fr)); }
    .mr-tallycard { display:grid; grid-template-columns:minmax(240px, 1fr) minmax(280px, 1.3fr); gap:36px; align-items:start; }
    .mr-event.is-aa { display:grid; grid-template-columns:minmax(220px, 1fr) minmax(300px, 1.6fr); column-gap:28px; align-items:center; }
    .mr-event.is-aa header, .mr-event.is-aa .mr-score, .mr-event.is-aa .mr-pb, .mr-event.is-aa .mr-note { grid-column:1; }
    .mr-event.is-aa .mr-spark { grid-column:2; grid-row:1 / span 4; height:120px; margin-top:0; }
}
.mr-notecard blockquote { margin:0; padding:2px 0 2px 14px; border-left:3px solid var(--accent); font-size:16px; line-height:1.5; }
.mr-noteedit { margin-top:12px; }
.mr-noteedit textarea { width:100%; margin-top:6px; padding:10px; border-radius:10px; border:1px solid var(--line); background:var(--bg); color:var(--text); font:inherit; resize:vertical; }
.mr-noteactions { display:flex; gap:8px; align-items:center; margin-top:8px; flex-wrap:wrap; }
.mr-btn { border:0; border-radius:10px; padding:8px 14px; background:var(--accent); color:#fff; font-weight:700; cursor:pointer; }
.mr-btn-quiet { background:transparent; color:var(--muted); border:1px solid var(--line); }
.mr-wall { list-style:none; margin:0; padding:0; }
.mr-wall li { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; padding:9px 0; border-top:1px solid var(--line); }
.mr-wall li:first-child { border-top:0; }
.mr-wall li.me { background:var(--accent-soft); margin:0 -10px; padding-left:10px; padding-right:10px; border-radius:8px; }
.mr-wall a { color:var(--text); font-weight:700; text-decoration:none; }
.mr-wall a:hover { color:var(--accent); }
.mr-pbchip { display:inline-block; margin-left:6px; padding:2px 9px; border-radius:999px; background:var(--accent-soft); color:var(--accent); font-size:13px; font-weight:700; }
.mr-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:12px; margin-bottom:14px; }
.mr-event { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px 16px; }
.mr-event.is-pb { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent) inset; }
.mr-event.is-aa { grid-column:1 / -1; }
.mr-event header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.mr-event h3 { font-size:15px; font-weight:700; }
.mr-score { font-size:40px; font-weight:800; line-height:1.15; margin:8px 0 2px; font-variant-numeric:tabular-nums; }
.is-pb .mr-score { color:var(--accent); }
.mr-pb { display:flex; align-items:center; gap:6px; color:var(--accent); font-weight:700; margin:0; }
.mr-pb svg { width:18px; height:18px; }
.mr-note { color:var(--muted); font-size:13px; margin:6px 0 0; }
.mr-spark { width:100%; height:48px; margin-top:8px; }
.mr-spark path { fill:none; stroke:var(--muted); stroke-width:1.5; }
.mr-spark circle { fill:var(--muted); }
.mr-spark circle.pb { fill:var(--accent); }
.mr-spark circle.now { stroke:var(--text); stroke-width:1.5; }
.mr-next { margin:0; padding-left:18px; } .mr-next li { margin:4px 0; }
.mr-legend { display:flex; gap:8px; align-items:flex-start; color:var(--muted); font-size:12px; }
.mr-legend svg { width:14px; height:14px; flex:0 0 auto; margin-top:2px; }
.mr-upgrade { text-align:center; } .mr-upgrade > svg { width:28px; height:28px; color:var(--accent); }
.mr-upgrade p { color:var(--muted); }

@media (max-width:600px) { .mr-hero h1 { font-size:22px; } .mr-score { font-size:34px; } .mr-root { padding:10px; border-radius:0; } }
@media (prefers-reduced-motion: reduce) { .mr-fw { display:none; } }
