/* The supplied aka28 layout, adapted to the local app without its PHP, scripts or backend. */
.predict-view{background:linear-gradient(180deg,#f9fcff,#eef8ff 55%,#f7fbff);color:#24445f}
.aka-scroll{height:100%;overflow:auto;padding:0 0 22px}
.aka-card{background:#fff;min-height:100%;overflow:hidden}
.aka-head{position:relative;text-align:center;padding:22px 12px 16px;background:linear-gradient(135deg,#fbfdff,#eef9ff 55%,#e7f6ff);border-bottom:1px solid #d8ecfb}
.aka-head::after{content:"";position:absolute;left:20%;right:20%;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#77c9ef,transparent)}
.aka-head h1{margin:0;color:#0b76b8;font-size:27px;line-height:1.2;font-weight:800}
.aka-head p{margin:8px 0 0;color:#7893a8;font-size:11px}
.aka-button-row{display:flex;gap:6px;padding:9px 10px;background:#fff;border-bottom:1px solid #e6f2fb}
.aka-button-row button{flex:1;min-width:0;min-height:37px;display:grid;place-items:center;border:1px solid #b9dff7;border-radius:10px;padding:6px 3px;color:#1479b7;background:#f7fbff;font-size:12px;font-weight:650;white-space:nowrap}
.aka-button-row button.active{color:#fff;background:linear-gradient(135deg,#18a5e9,#0877ca);border-color:#0a83cf;box-shadow:0 5px 12px #087eca2e}
.aka-button-row button:disabled{opacity:.45;background:#f6f8fa;color:#7b91a0}
.aka-type-tabs button[data-kind=sha].active{background:linear-gradient(135deg,#f1a331,#e7831d);border-color:#e7831d}
.aka-type-tabs button[data-kind=dx].active{background:linear-gradient(135deg,#ef6c64,#d94742);border-color:#d94742}
.aka-type-tabs button[data-kind=ds].active{background:linear-gradient(135deg,#8c6de6,#6649cc);border-color:#6649cc}
.aka-algo-row{padding-top:7px;padding-bottom:7px}
.aka-livebar{display:grid;grid-template-columns:102px minmax(0,1fr);background:linear-gradient(90deg,#fbfeff,#f5faff 45%,#fffaf2);border-bottom:1px solid #dceefa}
.aka-live-launch,.aka-live-result,.aka-live-next{display:flex;align-items:center;justify-content:center;min-width:0;padding:12px 8px}
.aka-live-launch{flex-direction:column;gap:9px}
.aka-live-launch span{color:#53758d;font-size:10px;font-weight:650;white-space:nowrap}
.aka-live-launch strong{color:#0786d7;font-size:12px;font-weight:850}
#pred-scratch-open{width:84px;min-height:42px;border:1px solid #d82d29;border-radius:8px;color:#fff;font-size:16px;font-weight:800;background:linear-gradient(#ef4138,#df2e29);box-shadow:4px 5px 0 #a8211d,0 7px 12px #aa282224}
.aka-live-result{flex-direction:column;gap:7px;border-left:1px solid #deedf7;background:linear-gradient(#f7fcffb8,#f8f7ff99)}
.aka-live-result small,.aka-live-next small{color:#54748a;font-size:11px;font-weight:700;white-space:nowrap}
.aka-formula{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}
.aka-formula strong{width:30px;height:34px;display:grid;place-items:center;border:1px solid #b8ddf5;border-radius:7px;color:#087fd0;background:#f1f9ff;font-size:15px;font-weight:900}
.aka-formula strong:nth-of-type(2){color:#7053d5;border-color:#d7cff6;background:#f7f4ff}
.aka-formula strong:nth-of-type(3){color:#149970;border-color:#c5eadf;background:#f2fbf7}
.aka-formula #pred-sum{color:#fff;border:0;background:linear-gradient(145deg,#f7ad39,#ed861b)}
.aka-formula b{font-size:14px;color:#7390a4}
.aka-formula em{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;color:#fff;font-size:12px;font-style:normal;font-weight:800;background:#df443e}
.aka-formula #pred-ds{background:#6b50d5}
.aka-live-next{grid-column:1/-1;gap:9px;justify-content:space-between;border-top:1px solid #deedf7;background:#fffaf2}
.aka-live-next small strong{color:#0b82cb}
#pred-next-status{padding:7px 9px;border-radius:7px;color:#b66b14;background:#fff0d3;font-size:12px;font-weight:750;white-space:nowrap}
#pred-eta{font-size:10px;color:#91a7b7;text-align:right}
.aka-pick{display:grid;gap:5px;justify-items:center;padding:12px 9px 14px;text-align:center;background:#f8fcff;border-bottom:1px solid #e6f2fb}
.aka-pick>span{color:#668ea7;font-size:11px}.aka-pick>strong{font-size:19px;color:#0b80c7}.aka-pick>small{color:#8aa5b5;font-size:10px}
.aka-data-note{margin:0;padding:8px 10px;color:#7894a4;background:#f4fafd;font-size:11px;line-height:1.5}
.aka-table-wrap{width:100%;overflow:auto}
.aka-table,.aka-wide-table table{width:100%;border-collapse:collapse;text-align:center;background:#fff;font-size:11px}
.aka-table th,.aka-table td,.aka-wide-table th,.aka-wide-table td{padding:9px 3px;border:1px solid #e5f1fa;white-space:nowrap}
.aka-table th,.aka-wide-table th{color:#277fb9;background:#edf8ff;font-weight:800}
.aka-table tbody tr:nth-child(even),.aka-wide-table tbody tr:nth-child(even){background:#fbfdff}
.aka-table tbody tr:first-child{background:#fff5df;box-shadow:inset 4px 0 #efa12d}
.aka-table td:nth-child(5){color:#0878c9;font-weight:700}
.aka-source{margin:0;padding:12px 10px 18px;color:#7893a8;font-size:10px;line-height:1.5}.aka-source a{color:#0877c9}
.aka-intro{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:16px 12px;background:#f8fcff}
.aka-intro h2{margin:0;color:#1379b8;font-size:16px}.aka-intro p{margin:5px 0 0;color:#7893a8;font-size:11px;line-height:1.5}
.aka-refresh,#pred-scratch-refresh{flex:none;padding:8px 10px;border:1px solid #b9dff7;border-radius:8px;background:#fff;color:#0877c9;font-size:11px;font-weight:700}
.aka-wide-table{overflow:auto}.aka-wide-table table{min-width:680px}.aka-wide-table th:first-child,.aka-wide-table td:first-child{position:sticky;left:0;background:#f4fbff}.aka-wide-table th:nth-child(2),.aka-wide-table td:nth-child(2){position:sticky;left:66px;background:#f4fbff}
.aka-hit{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:50%;color:#fff;background:#118acf;font-weight:700}.aka-hit.warm{background:#e9793a}.aka-hit.purple{background:#7758d8}
.aka-stats-section{padding:14px 12px;border-bottom:1px solid #e5f1fa}.aka-stats-section h3{margin:0 0 10px;color:#166fa9;font-size:14px}.aka-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.aka-stat{display:grid;gap:4px;text-align:center;padding:10px 3px;border:1px solid #d8ecfb;border-radius:9px;background:#f8fcff}.aka-stat span{color:#5d8098;font-size:11px}.aka-stat strong{color:#0b80c7;font-size:17px}.aka-stat small{color:#8aa1b2;font-size:10px}.aka-stats-note{margin:0;padding:12px;color:#7893a8;font-size:11px;line-height:1.5}
.aka-scratch-modal{position:absolute;inset:0;z-index:12;display:grid;place-items:center;padding:12px;background:#001a3059;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.aka-scratch-dialog{position:relative;width:min(420px,100%);overflow:hidden;border-radius:19px;background:#fff;box-shadow:0 18px 50px #00182f66}.aka-scratch-dialog>header{text-align:center;padding:20px 12px 16px;color:#fff;background:linear-gradient(135deg,#19a9ee,#087fd3 48%,#6552d2)}.aka-scratch-dialog h2{margin:0;font-size:29px}.aka-scratch-dialog header p{margin:5px 0 0;font-size:12px}.aka-scratch-issue{text-align:center;padding:11px;color:#27678f;background:#e8f6ff;font-size:14px}.aka-scratch-issue strong{color:#0789dc}.aka-scratch-stage{position:relative;margin:14px;min-height:215px;border:1px solid #c9e4f6;border-radius:16px;background:linear-gradient(#f9fdff,#eef8ff)}.aka-scratch-result{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:14px;color:#708fa5;font-size:12px}.aka-scratch-result>div{display:flex;align-items:center;gap:5px}.aka-scratch-result strong{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;color:#0b7dca;border:2px solid #9fd7f8;background:#fff;font-size:18px}.aka-scratch-result strong:last-child{color:#fff;background:#e9821e;border-color:#e9821e}.aka-scratch-stage canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair;border-radius:16px}.aka-scratch-hint{text-align:center;color:#7b98ab;font-size:11px}.aka-scratch-dialog>#pred-scratch-refresh{display:block;margin:0 auto 16px}.aka-scratch-close{position:absolute;right:6px;top:5px;width:38px;height:38px;color:#fff;font-size:27px}
@media(max-width:360px){.aka-formula{gap:2px}.aka-formula strong{width:25px;height:30px;font-size:13px}.aka-formula em{width:24px;height:24px;font-size:11px}.aka-livebar{grid-template-columns:89px minmax(0,1fr)}.aka-live-launch,.aka-live-result{padding:9px 4px}.aka-table{font-size:10px}}
@media(min-width:700px){.aka-scroll{padding:0 0 22px}.aka-card{border:0;border-radius:0;box-shadow:none}}
.aka-result-right{color:#e84c3d;font-weight:700}.aka-result-wrong{color:#1296db;font-weight:700}
.aka-table th{background:linear-gradient(90deg,#e8f6ff,#f0f0ff);font-size:12px}
.aka-table td:nth-child(5){color:inherit;font-weight:normal}
.aka-table td:nth-child(4){white-space:nowrap}
.aka-pred-badge{display:inline-grid;place-items:center;min-width:26px;height:26px;margin:0 2px;padding:0 5px;border-radius:15px;color:#fff;font-size:12px;font-weight:800;box-shadow:0 2px 6px #24445f25}
.aka-pred-badge.is-right{background:linear-gradient(#f9605a,#e42c2c)}
.aka-pred-badge.is-wrong{background:linear-gradient(#279dec,#087bd1)}
.aka-pending-row{background:#fff8e9!important;box-shadow:inset 3px 0 #edaa2e}
.aka-pending-row td:first-child{font-weight:800;color:#0b83c9}
.aka-pending-countdown{display:inline-block;padding:4px 8px;border:1px solid #eed6a2;border-radius:20px;background:#fff;color:#a76d1d;font-weight:700}
#pred-next-status{background:none;color:#728698;font-size:12px}
#pred-next-status b{display:inline-grid;place-items:center;min-width:28px;height:31px;padding:0 4px;border-radius:6px;background:#f0a129;color:#fff;font-size:18px;box-shadow:0 2px 5px #a069281c}
.aka-refund-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.aka-refund-card{display:grid;gap:7px;padding:13px;border:1px solid #cfe7fa;border-radius:10px;background:linear-gradient(135deg,#f8fcff,#eaf7ff)}.aka-refund-card span{color:#517c98;font-size:12px}.aka-refund-card strong{font-size:20px;color:#117cc1}.aka-refund-card small,.aka-refund-section p{color:#7894a4;font-size:11px}.aka-refund-section p{line-height:1.5;margin:9px 0 0}
