.prediction-home{margin-top:20px;padding:24px;border:1px solid #7d64e3;border-radius:20px;background:linear-gradient(130deg,#22203d,#142c36);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#fff}.prediction-home h2{margin:4px 0}.prediction-home p{color:#c9d1e8}.prediction-dialog{width:min(940px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:0;border-radius:20px;background:var(--paper,#f5f7fa);padding:24px}.prediction-dialog header{display:flex;justify-content:space-between;gap:15px}.prediction-rules{padding:14px;background:#e9e8fa;border-radius:12px}.prediction-rules summary{cursor:pointer;font-weight:700}.prediction-matches{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.prediction-matches article{background:#fff;border:1px solid #dce2eb;border-radius:16px;padding:16px}.prediction-clubs{display:flex;gap:10px;align-items:center}.prediction-clubs img{width:40px;height:40px;object-fit:contain}.prediction-sides{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin:14px 0}.prediction-sides button{white-space:normal;display:flex;flex-direction:column;min-height:75px;font-size:12px}.prediction-sides button[aria-pressed=true]{background:#7051ce;color:#fff;border-color:#7051ce}.prediction-stake label{display:block;margin-bottom:10px}.prediction-stake .visual-card-grid{max-width:140px}.prediction-copy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.prediction-copy{border:0;background:transparent;padding:0;cursor:pointer;text-align:left}.prediction-copy .collectible-card{width:100%}.prediction-error{color:#b91c1c}.prediction-dialog footer{position:sticky;bottom:-24px;padding:16px;background:#f5f7fa}.prediction-recap{margin:24px 0;padding:20px;border:1px solid #c4b5fd;border-radius:18px}.prediction-recap article{margin:18px 0}.prediction-crowds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.prediction-crowd{border-radius:12px;background:#eff1f6;padding:12px;text-align:center}.prediction-crowd.is-winner{background:#d2f7df;box-shadow:0 0 0 2px #22a86c}.prediction-icons{display:flex;flex-wrap:wrap;justify-content:center;font-size:13px}.prediction-icons span{animation:prediction-arrive .6s both;animation-delay:calc(var(--i)*.025s)}.prediction-confetti{font-size:26px;animation:prediction-arrive .7s}.fantasy-calendar-table{width:100%;font-size:13px}.fantasy-calendar-table input{min-width:110px}.fantasy-import-item{margin:10px 0;padding:14px;border:1px solid #ccd4df;border-radius:12px}.fantasy-import-item .warning{color:#9f321e}.fantasy-plan-summary{padding:16px;background:#eeedf9;border-radius:12px;margin:16px 0}@keyframes prediction-arrive{from{opacity:0;transform:translateY(14px) scale(.7)}to{opacity:1;transform:none}}@media(max-width:650px){.prediction-home{display:block}.prediction-home .btn{margin-top:10px;width:100%;white-space:normal}.prediction-matches{grid-template-columns:1fr}.prediction-dialog{padding:16px}.prediction-crowds{gap:4px}.prediction-crowd{padding:8px;font-size:12px}.prediction-crowds img{width:30px;height:30px}}@media(prefers-reduced-motion:reduce){.prediction-icons span,.prediction-confetti{animation:none}}

.prediction-matches{grid-template-columns:repeat(2,minmax(0,1fr))}.prediction-matches article,.prediction-clubs strong{min-width:0}.prediction-clubs{position:relative;padding-right:0;flex-wrap:nowrap}.prediction-clubs .club-logo{position:static;flex:0 0 34px;width:34px;height:34px}.prediction-clubs strong{flex:1;overflow-wrap:anywhere}.prediction-sides{grid-template-columns:repeat(3,minmax(0,1fr))}.prediction-sides button{min-width:0;padding:12px 6px;overflow-wrap:anywhere}.prediction-dialog header>div{min-width:0}.prediction-dialog header .text-button{align-self:flex-start;flex-shrink:0;background:transparent;border:0;padding:8px}.prediction-dialog .text-button{color:#46516b}.prediction-dialog footer{bottom:-16px}@media(max-width:650px){.prediction-matches{grid-template-columns:minmax(0,1fr)}}

.recap-body .prediction-crowd,.recap-body .prediction-crowd strong,.recap-body .prediction-crowd small{color:#14243b}.prediction-crowd small{display:block;margin-top:6px}

.prediction-help{width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#7051ce;color:white;font-weight:800}.prediction-rules table{width:100%;border-collapse:collapse}.prediction-rules td,.prediction-rules th{padding:10px;border-bottom:1px solid #cbc6e4;text-align:left;vertical-align:top}.prediction-discard-name{display:block;padding:8px 0}

.prediction-scoreboard{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;text-align:center;margin:24px 0;min-height:100px}.prediction-scoreboard .club-logo,.prediction-crowd .club-logo{position:static;width:70px;height:70px;object-fit:contain;margin:auto}.prediction-scoreboard strong{font-size:52px;color:inherit}.prediction-crowd .club-logo{width:48px;height:48px}.prediction-icons span{animation-duration:1.8s;animation-delay:calc(var(--i)*.06s)}.prediction-crowds.is-settled .prediction-icons span{animation:none}.prediction-deck{display:inline-grid;place-items:center;border:3px solid #7051ce;background:#fff;color:#14243b;width:46px;height:60px;border-radius:7px;font-size:23px;font-weight:800;box-shadow:5px -5px 0 #c7b5f1,10px -10px 0 #e2d8f5;margin:22px 10px 12px}.prediction-preview-pack .pack-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:16px}.prediction-preview-pack .card-back{width:100%;height:230px;background:#14243b;color:#fff;border:3px solid #ff823b;border-radius:12px}@media(max-width:650px){.prediction-scoreboard strong{font-size:36px}.prediction-scoreboard .club-logo{width:50px;height:50px}}

.prediction-outcome{margin:20px 0}.prediction-recap>button{margin:8px 8px 0 0}.stats-extra-table{margin:16px 0;padding:14px;border:1px solid #dce2eb;border-radius:12px;overflow:auto}.stats-extra-table summary{font-weight:700;cursor:pointer}.stats-extra-table table{width:100%;margin-top:12px}

.prediction-dialog header{position:relative;padding-right:80px}.prediction-dialog header>[data-predict=help]{position:absolute;right:42px;top:0}.prediction-dialog header>[data-predict=close]{position:absolute;right:0;top:0}.prediction-chosen{font-size:12px;font-weight:800;text-transform:uppercase;margin-bottom:8px;min-height:18px;color:#7051ce}.prediction-icons{gap:2px;max-height:180px;overflow:auto;align-content:start}.prediction-icons span{font-size:clamp(7px,calc(18px - var(--count)*.035px),14px);animation-delay:calc(var(--i)*min(.06s,calc(1.2s / max(1,var(--count)))))}.unopened-packs{position:fixed;right:20px;bottom:90px;z-index:4;box-shadow:0 4px 14px #101c3233}.unopened-packs{padding:10px 14px;min-width:64px}.unopened-packs span{display:none}
