/* TBS Members 1.0.6 – opt-in prediction history UI only. All selectors are rooted. */
#tbs-member-floating-root .tbs-mf-panel.tbs-mf-history-open{display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain}
#tbs-member-floating-root .tbs-mf-history-open .tbs-mf-panel-heading{flex:0 0 auto}
#tbs-member-floating-root .tbs-mf-history-open .tbs-mf-menu.tbs-mf-history-view{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow:hidden;padding-top:0}
#tbs-member-floating-root .tbs-mf-history-toolbar{flex:0 0 auto;border-bottom:1px solid #edf1ee;padding:14px 0 12px}
#tbs-member-floating-root .tbs-mf-history-toolbar .tbs-mf-back{margin:0 0 8px;min-height:38px;display:inline-flex;align-items:center}
#tbs-member-floating-root .tbs-mf-history-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
#tbs-member-floating-root .tbs-mf-history-heading-copy{flex:1;min-width:0}
#tbs-member-floating-root .tbs-mf-history-toolbar .tbs-mf-history-title{font-size:18px;line-height:1.25;font-weight:800;letter-spacing:-.022em;margin:0;color:#18342b}
#tbs-member-floating-root .tbs-mf-history-subtitle{font-size:11px;line-height:1.45;color:#677b70;margin:4px 0 0!important}
#tbs-member-floating-root .tbs-mf-history-refresh{appearance:none;background:#f0f5f1!important;border:1px solid #dfebe3!important;color:#2c5b43!important;display:grid;place-items:center;border-radius:12px;width:44px;height:44px;min-width:44px;padding:10px!important;flex:none;transition:background .18s ease}
#tbs-member-floating-root .tbs-mf-history-refresh:hover:not(:disabled){background:#e2eee5!important}
#tbs-member-floating-root .tbs-mf-history-refresh svg{width:18px;height:18px}
#tbs-member-floating-root .tbs-mf-history-refresh:disabled{opacity:.55;cursor:progress}
#tbs-member-floating-root .tbs-mf-history-announcement{font-size:11px;color:#607568;line-height:1.4;min-height:0;margin-top:6px}
#tbs-member-floating-root .tbs-mf-history-announcement:empty{display:none}
#tbs-member-floating-root .tbs-mf-history-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c4d5ca transparent;min-width:0;padding:13px 2px 20px;margin:0 -2px}
#tbs-member-floating-root .tbs-mf-history-list{display:grid;gap:10px;min-width:0;align-content:start}
#tbs-member-floating-root .tbs-mf-history-section-title{font-size:12px;line-height:1.4;color:#4e6a59;font-weight:800;margin:16px 2px 10px}
#tbs-member-floating-root .tbs-mf-prediction-card{display:block;min-width:0;background:#fff;border:1px solid #dfe9e3;border-radius:13px;padding:13px 14px 9px;color:#1a2f26;box-shadow:0 1px 2px rgba(15,38,26,.025);overflow:hidden}
#tbs-member-floating-root .tbs-mf-prediction-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#tbs-member-floating-root .tbs-mf-prediction-date{color:#708276;font-size:11px;font-weight:650;line-height:1.4}
#tbs-member-floating-root .tbs-mf-prediction-status{display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;color:#78847e;font-size:10px;font-weight:750;line-height:1.4;white-space:nowrap;min-width:0}
#tbs-member-floating-root .tbs-mf-prediction-status.tbs-mf-prediction-final{color:#276341}
#tbs-member-floating-root .tbs-mf-status-icon{display:inline-flex;align-items:center;justify-content:center}
#tbs-member-floating-root .tbs-mf-status-icon svg{width:13px;height:13px;stroke-width:2.6}
#tbs-member-floating-root .tbs-mf-prediction-match{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:11px 0 12px;min-width:0}
#tbs-member-floating-root .tbs-mf-prediction-teams{display:grid;grid-template-rows:auto auto;gap:7px;min-width:0;flex:1}
#tbs-member-floating-root .tbs-mf-prediction-team{font-size:13px;line-height:1.25;font-weight:750;color:#20372d;overflow-wrap:anywhere}
#tbs-member-floating-root .tbs-mf-prediction-scores{flex:0 0 auto;display:grid;grid-template-rows:auto auto;gap:4px;min-width:34px;text-align:right;font-variant-numeric:tabular-nums}
#tbs-member-floating-root .tbs-mf-prediction-scores strong{display:block;color:#1f3129;font-size:22px;line-height:1;font-weight:850;letter-spacing:-.02em}
#tbs-member-floating-root .tbs-mf-prediction-footer{border-top:1px solid #f0f3f0;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:11px 0 3px}
#tbs-member-floating-root .tbs-mf-prediction-tip{min-width:0;display:grid;gap:3px;flex:1}
#tbs-member-floating-root .tbs-mf-prediction-label{font-size:10px;line-height:1.25;color:#839087}
#tbs-member-floating-root .tbs-mf-prediction-tip strong{font-size:12px;line-height:1.3;color:#243d30;font-weight:800;overflow-wrap:anywhere}
#tbs-member-floating-root .tbs-mf-prediction-opinion{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #dfe8e1;padding:6px 9px;border-radius:999px;color:#466153;background:#f6f9f7;font-size:10px;font-weight:800;line-height:1.1;flex:none}
#tbs-member-floating-root .tbs-mf-opinion-disagree{color:#655e53;background:#faf9f6;border-color:#e8e5db}
#tbs-member-floating-root .tbs-mf-opinion-icon{display:inline-flex;align-items:center;justify-content:center}
#tbs-member-floating-root .tbs-mf-opinion-icon svg{width:12px;height:12px;stroke-width:1.8}
#tbs-member-floating-root .tbs-mf-prediction-details-toggle{appearance:none;display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px;background:none!important;border:0!important;box-shadow:none!important;color:#496658!important;font-size:11px;font-weight:800;text-align:left;padding:8px 1px!important;margin:3px 0 -7px;line-height:1.3}
#tbs-member-floating-root .tbs-mf-prediction-details-toggle:hover{color:#174e32!important}
#tbs-member-floating-root .tbs-mf-detail-chevron{display:inline-flex;justify-content:center;align-items:center;transition:transform .19s ease}
#tbs-member-floating-root .tbs-mf-detail-chevron svg{width:15px;height:15px}
#tbs-member-floating-root .tbs-mf-prediction-details-toggle[aria-expanded=true] .tbs-mf-detail-chevron{transform:rotate(180deg)}
#tbs-member-floating-root .tbs-mf-prediction-details{border-top:1px solid #edf2ed;background:#f6f9f7;margin:5px -8px 0;padding:10px 10px 8px;border-radius:9px;display:grid;gap:9px;animation:tbs-mf-history-expand .19s ease-out}
#tbs-member-floating-root .tbs-mf-prediction-details[hidden],#tbs-member-floating-root .tbs-mf-import-confirm[hidden],#tbs-member-floating-root .tbs-mf-member-import .tbs-mf-register[hidden]{display:none!important}
#tbs-member-floating-root .tbs-mf-history-detail-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0;font-size:11px;line-height:1.45}
#tbs-member-floating-root .tbs-mf-history-detail-line span{color:#62766b}
#tbs-member-floating-root .tbs-mf-history-detail-line strong{color:#254634;font-weight:800;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
#tbs-member-floating-root .tbs-mf-prediction-source-link{font-size:11px;color:#165a36!important;font-weight:750;line-height:1.3;text-decoration:underline!important;text-underline-offset:2px}
#tbs-member-floating-root .tbs-mf-history-skeleton{display:grid;gap:10px}
#tbs-member-floating-root .tbs-mf-skeleton-card{padding:17px 14px;border:1px solid #e9efeb;border-radius:13px;background:#fff;display:grid;gap:12px}
#tbs-member-floating-root .tbs-mf-skeleton-line{display:block;width:100%;height:10px;border-radius:99px;background:linear-gradient(100deg,#eff3ef 15%,#e4ece5 35%,#eff3ef 55%);background-size:200% 100%;animation:tbs-mf-history-shimmer 1.4s ease-in-out infinite}
#tbs-member-floating-root .tbs-mf-skeleton-short{width:38%}
#tbs-member-floating-root .tbs-mf-skeleton-middle{width:65%}
#tbs-member-floating-root .tbs-mf-history-empty,#tbs-member-floating-root .tbs-mf-history-error-box{border:1px dashed #d6e5da;background:#fafcfb;text-align:center;border-radius:13px;padding:25px 18px;display:grid;gap:8px;justify-items:center}
#tbs-member-floating-root .tbs-mf-history-empty strong,#tbs-member-floating-root .tbs-mf-history-error-box strong{font-size:14px;line-height:1.3;color:#264834;font-weight:800}
#tbs-member-floating-root .tbs-mf-history-empty p,#tbs-member-floating-root .tbs-mf-history-error-box p{font-size:12px;color:#708376;line-height:1.5;margin:0;max-width:260px}
#tbs-member-floating-root .tbs-mf-history-end,#tbs-member-floating-root .tbs-mf-history-limit{font-size:11px;color:#718274;text-align:center;margin:6px 0 0;line-height:1.45}
#tbs-member-floating-root .tbs-mf-history-more-error{font-size:11px;color:#a13e34;margin:0;text-align:center}
#tbs-member-floating-root .tbs-mf-history-success{border:1px solid #cfe5d3;color:#25583b;background:#f3faf4;border-radius:10px;padding:12px;font-size:12px;line-height:1.4;margin:0 0 12px}
#tbs-member-floating-root .tbs-mf-guest-stats-v2{display:flex;align-items:center;gap:8px;padding:9px 12px;margin:1px 0 0;border:1px solid #e2ebe5;border-radius:10px;background:#f6f9f7;color:#4d6557;min-width:0}
#tbs-member-floating-root .tbs-mf-guest-stats-v2 strong{font-size:16px;line-height:1.2;font-weight:850;color:#254a35;font-variant-numeric:tabular-nums}
#tbs-member-floating-root .tbs-mf-guest-stats-v2 span{font-size:11px;line-height:1.4;font-weight:650}
#tbs-member-floating-root .tbs-mf-guest-invite-history{margin:11px 0 3px;padding:12px 13px;gap:7px}
#tbs-member-floating-root .tbs-mf-member-import{margin:0 0 15px;padding:12px 13px;gap:8px}
#tbs-member-floating-root .tbs-mf-import-confirm{display:grid;gap:9px}
#tbs-member-floating-root .tbs-mf-import-feedback:empty{display:none}
#tbs-member-floating-root .tbs-mf-claim-actions{display:grid;gap:8px}
#tbs-member-floating-root .tbs-mf-history-list .tbs-mf-load-more{display:block;width:100%;min-height:44px;padding:11px 14px!important;margin-top:4px;border-radius:10px}
#tbs-member-floating-root .tbs-mf-history-error-box .tbs-mf-retry{min-height:44px;min-width:110px;margin-top:4px}
#tbs-member-floating-root .tbs-mf-history-refresh:focus-visible,#tbs-member-floating-root .tbs-mf-prediction-details-toggle:focus-visible,#tbs-member-floating-root .tbs-mf-load-more:focus-visible,#tbs-member-floating-root .tbs-mf-claim-cancel:focus-visible,#tbs-member-floating-root .tbs-mf-prediction-source-link:focus-visible{outline:3px solid #27814a;outline-offset:2px}
#tbs-member-floating-root .tbs-mf-desktop.tbs-mf-history-open{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
#tbs-member-floating-root .tbs-mf-desktop.tbs-mf-history-open .tbs-mf-history-scroll{max-height:min(65vh,610px);max-height:min(65dvh,610px)}
@media(max-width:700px){
 #tbs-member-floating-root .tbs-mf-sheet.tbs-mf-history-open{height:min(84vh,calc(100vh - var(--tbs-member-dock-height,56px) - 8px));height:min(84dvh,calc(100dvh - var(--tbs-member-dock-height,56px) - 8px));padding:8px 15px calc(10px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - var(--tbs-member-dock-height,56px) - 8px)}
 #tbs-member-floating-root .tbs-mf-history-open .tbs-mf-handle{margin-bottom:13px;flex:0 0 auto}
 #tbs-member-floating-root .tbs-mf-history-open .tbs-mf-panel-heading{padding-bottom:12px}
 #tbs-member-floating-root .tbs-mf-history-open .tbs-mf-history-scroll{padding-bottom:16px}
 #tbs-member-floating-root .tbs-mf-history-toolbar{padding-top:10px;padding-bottom:11px}
}
@media(max-width:359px){
 #tbs-member-floating-root .tbs-mf-prediction-card{padding:12px 11px 8px}
 #tbs-member-floating-root .tbs-mf-prediction-match{gap:9px}
 #tbs-member-floating-root .tbs-mf-prediction-team{font-size:12px}
 #tbs-member-floating-root .tbs-mf-prediction-scores strong{font-size:20px}
 #tbs-member-floating-root .tbs-mf-prediction-footer{gap:7px}
}
@keyframes tbs-mf-history-shimmer{to{background-position-x:-200%}}
@keyframes tbs-mf-history-expand{from{opacity:.6;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
 #tbs-member-floating-root .tbs-mf-skeleton-line{animation:none}
 #tbs-member-floating-root .tbs-mf-prediction-details{animation:none}
 #tbs-member-floating-root .tbs-mf-detail-chevron,#tbs-member-floating-root .tbs-mf-history-refresh{transition:none}
}

/* v1.0.8 – guest-only, backend-scored prediction assessment and hit-rate summary. */
#tbs-member-floating-root .tbs-mf-accuracy{
  background:#f7faf7;border:1px solid #dceae0;border-radius:12px;
  padding:12px 13px;margin:9px 0 2px;display:grid;gap:8px;min-width:0;
}
#tbs-member-floating-root .tbs-mf-accuracy-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;color:#254635}
#tbs-member-floating-root .tbs-mf-accuracy-heading strong{font-size:12px;font-weight:850;letter-spacing:-.01em}
#tbs-member-floating-root .tbs-mf-accuracy-icon{color:#317e50;display:grid;place-items:center}
#tbs-member-floating-root .tbs-mf-accuracy-icon svg{width:17px;height:17px}
#tbs-member-floating-root .tbs-mf-accuracy-body{display:grid;gap:9px;min-width:0}
#tbs-member-floating-root .tbs-mf-accuracy-overview{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
#tbs-member-floating-root .tbs-mf-accuracy-percentage{display:flex;gap:4px;flex-direction:column;min-width:0}
#tbs-member-floating-root .tbs-mf-accuracy-percentage strong{font-size:30px;font-weight:850;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#184f31}
#tbs-member-floating-root .tbs-mf-accuracy-percentage span{font-size:10px;color:#61766b;font-weight:700}
#tbs-member-floating-root .tbs-mf-accuracy-tally{display:grid;gap:4px;text-align:right;min-width:0;overflow-wrap:anywhere}
#tbs-member-floating-root .tbs-mf-accuracy-tally strong{font-size:12px;line-height:1.3;font-weight:800;color:#243e2e}
#tbs-member-floating-root .tbs-mf-accuracy-tally span{font-size:11px;line-height:1.35;color:#6b7e71}
#tbs-member-floating-root .tbs-mf-accuracy-meter{height:6px;background:#e0eae2;border-radius:999px;overflow:hidden;min-width:0}
#tbs-member-floating-root .tbs-mf-accuracy-meter-fill{height:100%;display:block;width:0;background:#2c9c5c;border-radius:inherit;transition:width .25s ease-out}
#tbs-member-floating-root .tbs-mf-accuracy-muted{font-size:12px;line-height:1.5;color:#536b5a;margin:0}
#tbs-member-floating-root .tbs-mf-accuracy-support{font-size:10px;color:#6b7e71;margin:0;line-height:1.4}
#tbs-member-floating-root .tbs-mf-accuracy-help{border-top:1px solid #e6eee7;padding-top:7px;font-size:10px;line-height:1.5;color:#66796d}
#tbs-member-floating-root .tbs-mf-accuracy-help summary{display:list-item;cursor:pointer;list-style-position:inside;color:#5e7965;font-size:10px;font-weight:700}
#tbs-member-floating-root .tbs-mf-accuracy-help summary:focus-visible{outline:2px solid #27814a;outline-offset:3px;border-radius:3px}
#tbs-member-floating-root .tbs-mf-accuracy-help p{font-size:10px;line-height:1.5;color:#66796d;margin:7px 0 0}
/* Final is neutral: only a correctly judged model tip earns positive green UI. */
#tbs-member-floating-root .tbs-mf-guest-history-card .tbs-mf-prediction-final{color:#62746a}
#tbs-member-floating-root .tbs-mf-prediction-status-row{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;min-width:0}
#tbs-member-floating-root .tbs-mf-call-badge{display:inline-flex;align-items:center;gap:3px;border-radius:999px;padding:3px 6px;font-size:10px;line-height:1.2;font-weight:800;white-space:nowrap}
#tbs-member-floating-root .tbs-mf-call-badge-icon{display:inline-grid;place-items:center}
#tbs-member-floating-root .tbs-mf-call-badge-icon svg{width:12px;height:12px;stroke-width:2.2}
#tbs-member-floating-root .tbs-mf-call-badge-correct{background:#e9f8ef;color:#16653c}
#tbs-member-floating-root .tbs-mf-call-badge-incorrect{background:#fcf3e8;color:#8b622d}
#tbs-member-floating-root .tbs-mf-call-badge-unsupported{background:#f0f3f1;color:#65756c}
#tbs-member-floating-root .tbs-mf-guest-history-card.tbs-mf-call-correct{border-left:3px solid #39a66b;padding-left:12px;background:linear-gradient(100deg,#fcfefc 0%,#fff 30%)}
#tbs-member-floating-root .tbs-mf-guest-history-card.tbs-mf-call-incorrect{border-left:3px solid #d0a16a;padding-left:12px;background:linear-gradient(100deg,#fffdfa 0%,#fff 30%)}
@media(max-width:359px){
 #tbs-member-floating-root .tbs-mf-accuracy{padding:10px 11px}
 #tbs-member-floating-root .tbs-mf-accuracy-percentage strong{font-size:27px}
 #tbs-member-floating-root .tbs-mf-accuracy-overview{gap:8px}
 #tbs-member-floating-root .tbs-mf-accuracy-tally strong{font-size:11px}
 #tbs-member-floating-root .tbs-mf-call-badge{font-size:9px;padding:3px 5px}
 #tbs-member-floating-root .tbs-mf-guest-history-card.tbs-mf-call-correct,
 #tbs-member-floating-root .tbs-mf-guest-history-card.tbs-mf-call-incorrect{padding-left:9px}
}
@media(prefers-reduced-motion:reduce){#tbs-member-floating-root .tbs-mf-accuracy-meter-fill{transition:none}}
