/* Persistent predictions and result history — shared, scoped, RTL-safe. */
.korarab-history-stats{--hs-line:#293747;--hs-text:#f5f5f0;--hs-muted:#aebac9;margin:20px 0 24px;padding:22px 24px;background:linear-gradient(125deg,#182432,#0d151f 72%);border:1px solid var(--hs-line);border-radius:18px;color:var(--hs-text)}
.korarab-history-stats header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.korarab-history-stats header span{font-size:10px;letter-spacing:.1em;font-weight:800;color:#debe75}.korarab-history-stats h2{margin:5px 0 0;font-size:clamp(18px,2vw,24px);line-height:1.25;color:var(--hs-text)}
.korarab-history-stats__grid{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 16px}.korarab-history-stats__grid>div{flex:1 1 0;padding:14px 16px;background:#101a26;border:1px solid var(--hs-line);border-radius:12px;min-width:0}.korarab-history-stats__grid dt{font-size:12px;font-weight:500;color:var(--hs-muted);line-height:1.4}.korarab-history-stats__grid dd{margin:8px 0 0;font-size:clamp(26px,3vw,34px);font-weight:800;font-variant-numeric:tabular-nums;text-align:start;line-height:1.1}.korarab-history-stats__grid .is-rate{border-color:#746342;background:linear-gradient(130deg,#2b2b26,#171d24)}.korarab-history-stats__grid .is-rate dd{color:#f4d384}.korarab-history-stats__grid .is-won dd{color:#71d6a5}.korarab-history-stats__grid .is-lost dd{color:#ff9b9f}.korarab-history-stats p,.korarab-history-stats small{font-size:12px;line-height:1.65;color:var(--hs-muted);margin:8px 0}.korarab-history-stats .korarab-history-stats__scope{font-size:11px;margin-bottom:0;max-width:110ch}
.korarab-featured-actual{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin:14px 0;border:1px solid #40556b;background:#142131;border-radius:12px}.korarab-featured-actual span{font-size:12px;color:#c1cfdf}.korarab-featured-actual strong{font-size:25px;color:#fff;font-variant-numeric:tabular-nums}.korarab-featured-prediction .korarab-prediction-result{padding:12px 16px;border:1px solid #435062;border-radius:12px;background:#142131;margin:12px 0;font-size:14px}.korarab-featured-prediction .korarab-prediction-result strong,.korarab-featured-prediction .korarab-prediction-result small{display:block}.korarab-featured-prediction .korarab-prediction-result small{font-size:11px;margin-top:5px;color:#c1cfdf}.korarab-featured-prediction .korarab-prediction-result.is-won{border-color:#338565;color:#8ae6b6}.korarab-featured-prediction .korarab-prediction-result.is-lost{border-color:#995361;color:#ffb0ba}.korarab-prediction-badges .korarab-prediction-state.is-live{color:#ff9faf;border-color:#984358}.korarab-prediction-badges .korarab-prediction-state.is-finished{color:#92d4ba;border-color:#397059}.korarab-featured-prediction .korarab-prediction-actions{flex-wrap:wrap}
.kora-history-admin{max-width:1440px;padding:12px 16px 35px;color:#172330}.kora-history-admin h1 small{font-size:13px;color:#58677a;margin-inline-start:10px}.kora-history-admin>p{font-size:13px;line-height:1.7;max-width:120ch}.kora-history-table-scroll{overflow-x:auto;margin-top:16px}.kora-history-admin table{min-width:780px}.kora-history-admin th{font-weight:700}.kora-history-admin th,.kora-history-admin td{padding:15px;vertical-align:top}.kora-history-admin td small{display:block;margin-top:7px;font-size:11px;color:#526376}.kora-history-admin td>strong{display:block;max-width:320px}.kora-history-current{display:inline-block;border-radius:20px;padding:3px 9px;background:#def2e5;color:#205d39;font-size:11px;margin-top:8px}.kora-history-languages,.kora-history-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.kora-history-languages span{font-size:12px}.kora-history-languages .is-pending{color:#6d7785}.kora-history-action{margin:0}.kora-history-action[aria-busy=true]{opacity:.55;pointer-events:none}.kora-history-result{display:block;margin-top:7px}.kora-history-result.is-won{color:#1a6a41}.kora-history-result.is-lost{color:#a42f41}.kora-history-pagination{margin-top:16px;display:flex;align-items:center;gap:8px}.kora-history-admin .nav-tab-wrapper{display:flex;gap:4px}.kora-history-admin .nav-tab{margin:0}
@media(max-width:760px){.korarab-history-stats{padding:18px 16px;border-radius:14px}.korarab-history-stats__grid{gap:8px}.korarab-history-stats__grid>div{flex:1 1 35%;padding:12px}.korarab-history-stats__grid .is-rate{flex-basis:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}.korarab-history-stats__grid .is-rate dd{margin:0}.kora-history-admin{padding:8px 0 25px}}

.korarab-featured-prediction .korarab-primary-button{background-color:var(--prediction-primary,#e1bf6a)}
.korarab-featured-prediction .korarab-prediction-actions>a:last-child:nth-child(3){grid-column:1/-1;min-height:36px}

.korarab-featured-prediction>.korarab-shell{margin-left:auto;margin-right:auto}
.korarab-featured-prediction .korarab-prediction-stage__head>div:first-child{min-width:0;max-width:100%}

@media(max-width:640px){.korarab-featured-prediction>.korarab-shell{width:auto;max-width:none;margin:0 12px}.korarab-featured-prediction .korarab-prediction-stage{width:100%;box-sizing:border-box}}
/* 8.3.15 — make settled outcomes unmistakable on multilingual history cards. */
.korarab-prediction-hub-page .korarab-prediction-result{padding:11px 13px;border-radius:12px;background:#ffffff04}
.korarab-prediction-hub-page .korarab-prediction-result.is-won{border:1px solid #4cae7a66;border-inline-start:4px solid #61cf91;background:linear-gradient(135deg,#18342a,#11221d);color:#baf0cf}
.korarab-prediction-hub-page .korarab-prediction-result.is-won strong{color:#a9ecc5;font-size:14px}
.korarab-prediction-hub-page .korarab-prediction-result.is-won strong::before{content:"✓";display:inline-block;margin-inline-end:7px;color:#7be0a6;font-weight:900}
.korarab-prediction-hub-page .korarab-prediction-result.is-lost{border:1px solid #b85d6a55;border-inline-start:4px solid #c86d79;background:#2a171b}


/* 8.4.0 — public proof that the published forecast existed before kickoff. */
.korarab-prediction-trust-proof{display:flex;align-items:center;gap:10px;margin:14px 0;padding:11px 13px;border:1px solid #476d5c;border-radius:12px;background:linear-gradient(135deg,#152b24,#101e1a);color:#d7f5e5;line-height:1.35}
.korarab-prediction-trust-proof__check{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#2e7858;color:#fff;font-size:13px;font-weight:900}.korarab-prediction-trust-proof__copy{display:flex;flex-direction:column;gap:3px;min-width:0}.korarab-prediction-trust-proof__copy strong{font-size:12px;color:#c7f1d9}.korarab-prediction-trust-proof__copy small{font-size:10px;color:#9ebcab}.korarab-prediction-trust-proof code{margin-inline-start:auto;padding:4px 7px;border:1px solid #426454;border-radius:7px;background:#0d1814;color:#91cbaa;font-size:10px;direction:ltr;unicode-bidi:isolate}
.korarab-prediction-trust-proof.is-compact{margin:7px 0 12px;padding:8px 10px;border-radius:10px}.korarab-prediction-trust-proof.is-compact .korarab-prediction-trust-proof__check{width:19px;height:19px;flex-basis:19px;font-size:10px}.korarab-prediction-trust-proof.is-compact .korarab-prediction-trust-proof__copy strong{font-size:10px}.korarab-prediction-trust-proof.is-compact .korarab-prediction-trust-proof__copy small{font-size:9px}
.korarab-prediction-trustline.is-verified span:last-child{color:#9dd9b8}
@media(max-width:640px){.korarab-prediction-trust-proof{align-items:flex-start;flex-wrap:wrap}.korarab-prediction-trust-proof code{width:max-content;margin-inline-start:34px}}
.kora-history-trust{font-weight:700}.kora-history-trust.is-verified{color:#1d7048!important}.kora-history-trust.is-warning{color:#946919!important}
