.af-page { --navy:#143d68; --blue:#1768df; --muted:#74859a; --line:#e6edf5; --teal:#17a993; width:min(100%,860px); min-width:0; margin:auto; padding:20px 12px 22px; color:#173454; font-family:"Segoe UI","Microsoft YaHei",sans-serif; }
.af-page * { box-sizing:border-box; } .af-page [hidden] { display:none!important; }
.af-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:18px; }
.af-heading>div>span { font:700 10px/1.2 Consolas,monospace; letter-spacing:2.4px; color:#4d78a5; }
.af-heading h1 { margin:5px 0 0; font-size:29px; line-height:1.2; letter-spacing:-1px; }
.af-heading h1 i { display:block; margin-top:6px; font:normal 8px/1.4 Consolas,monospace; letter-spacing:1.3px; color:var(--muted); }
.af-heading>b { max-width:125px; border:1px solid #cddff4; border-radius:20px; background:#e6f0ff; padding:6px 8px; color:#30659b; font-size:10px; text-align:center; }
.af-tabs { display:grid; grid-template-columns:1fr 1fr; border-radius:10px; padding:4px; background:#e3ebf5; gap:3px; margin-bottom:13px; }
.af-tabs button { border:0; min-height:40px; padding:8px 0; background:transparent; color:#6d8099; border-radius:7px; font-size:13px; font-weight:650; }
.af-tabs button.active { color:var(--blue); background:white; box-shadow:0 2px 6px #1734540d; }
.af-search { display:flex; gap:7px; margin:0; min-width:0; }
.af-search label { display:flex; align-items:center; flex:1; min-width:0; border:1px solid #dbe6f2; background:white; border-radius:9px; padding:0 9px; color:#7b94b0; }
.af-search label>span { font-size:24px; } .af-search input { flex:1; width:0; min-width:0; border:0; background:transparent; padding:12px 5px; font-size:11px; outline:0; color:var(--navy); }
.af-search button { border:0; min-height:44px; border-radius:9px; background:var(--blue); color:white; padding:0 15px; font-size:12px; font-weight:600; }
.af-search #afClear { background:transparent; color:#7d8da0; padding:0 5px; font-size:19px; min-width:28px; }
.af-shortcuts { display:flex; gap:7px; flex-wrap:wrap; padding:9px 0 10px; }
.af-shortcuts button,.af-status button { border:1px solid #dce6f3; padding:5px 12px; border-radius:20px; color:#5e7794; background:#fff; font-size:11px; min-height:30px; }
.af-shortcuts button:first-child { color:var(--blue); background:#e7f0ff; border-color:#d5e5ff; }
.af-list-caption { display:flex; justify-content:space-between; align-items:center; font-size:11px; color:var(--muted); }
.af-list-caption button { border:0; background:none; color:var(--blue); padding:6px; font-size:11px; }
.af-notice { font-size:10px; color:#75879b; margin:3px 0 11px; line-height:1.6; }
.af-list { display:grid; gap:12px; min-width:0; }
.af-card { min-width:0; border:1px solid #e3eaf3; border-radius:14px; padding:13px 12px 0; background:#fff; box-shadow:0 4px 14px #1c456506; overflow:hidden; }
.af-card>header { display:flex; align-items:center; justify-content:space-between; gap:5px; min-width:0; font-size:10px; }
.af-card>header>div { display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-width:0; }
.af-number { color:#fff; background:var(--navy); padding:4px 8px; border-radius:5px; font-size:11px; letter-spacing:.3px; white-space:nowrap; }
.af-card header span { color:#496380; } .af-card header small { color:#8997aa; font-size:9px; } .af-card time { color:#8291a4; white-space:nowrap; font:10px Consolas,monospace; }
.af-teams { display:grid; grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr); align-items:center; gap:5px; margin:17px 0 16px; }
.af-teams>div { display:flex; align-items:center; flex-direction:column; gap:5px; min-width:0; text-align:center; }
.af-crest { display:grid; place-items:center; width:39px; height:44px; clip-path:polygon(0 0,100% 0,92% 73%,50% 100%,8% 73%); background:#e8eef7; color:#275d96; font-size:19px; font-weight:800; border-top:3px solid #3068a6; }
.af-crest.away { background:#e9f6f3; color:#299f8e; border-color:#299f8e; }
.af-teams strong { font-size:13px; overflow-wrap:anywhere; } .af-teams small { font-size:9px; color:#9aa7b5; }
.af-vs { text-align:center; font:800 19px/1.1 Consolas,monospace; color:#9db1c6; white-space:nowrap; }
.af-prob-title { display:flex; align-items:center; gap:4px; font-size:10px; font-weight:650; } .af-prob-title>span { color:#8a99aa; font-size:9px; font-weight:400; } .af-prob-title small { margin-left:auto; color:#a0adbb; font-size:8px; font-weight:400; }
.af-bar { display:flex; height:9px; width:100%; border-radius:4px; overflow:hidden; margin:9px 0 7px; gap:1px; background:#fff; } .af-bar span { flex-shrink:1; } .p0 { background:#245fbd; } .p1 { background:#eab14b; } .p2 { background:var(--teal); }
.af-prob-values { display:flex; justify-content:space-between; gap:4px; font-size:9px; color:#72869d; padding-bottom:12px; }
.af-prob-values>span { display:flex; flex-wrap:wrap; align-items:center; gap:3px; } .af-prob-values i { display:inline-block; width:5px; height:5px; border-radius:50%; } .af-prob-values b { font:700 11px Consolas,monospace; color:#365572; }
.af-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px; min-height:43px; border-top:1px solid #edf2f8; font-size:10px; padding:6px 0; }
.af-actions>span>b { display:inline-block; padding:4px 5px; border-radius:4px; color:#3872be; background:#ecf3ff; font-size:9px; font-weight:600; } .af-actions strong { color:#195cb5; font-size:11px; }
.af-actions button { padding:7px 0; border:0; color:#6583a2; background:none; font-size:9px; margin-left:auto; }
.af-drawer { display:grid; grid-template-rows:0fr; transition:grid-template-rows .22s ease; } .af-drawer.open { grid-template-rows:1fr; } .af-drawer>div { overflow:hidden; min-height:0; }
.af-drawer dl { margin:3px 0 10px; padding:10px; background:#f4f8fc; border-radius:8px; } .af-drawer dl>div { margin-bottom:9px; } .af-drawer dl>div:last-child { margin:0; }
.af-drawer dt { font-size:10px; font-weight:700; } .af-drawer dt i { font-style:normal; display:inline-block; width:21px; color:#3b79b9; } .af-drawer dd { margin:4px 0 0 21px; font-size:10px; color:#70839a; line-height:1.7; overflow-wrap:anywhere; }
.af-drawer footer { padding:0 0 10px; color:#94a3b3; font:9px Consolas,monospace; }
.af-month-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px; font-size:11px; margin:4px 0 10px; } .af-month-row>span { margin-left:auto; font-size:9px; color:#8799ac; }
.af-month-row select { width:auto; min-width:120px; border:1px solid #dce6f2; border-radius:7px; background:#fff; padding:7px; font-size:12px; color:var(--navy); }
.af-scoreboard { padding:16px; background:var(--navy); border-radius:14px; color:#fff; } .af-scoreboard>div { display:flex; flex-wrap:wrap; align-items:baseline; gap:9px; } .af-scoreboard>div>span { font-size:12px; color:#bfd5ed; }
.af-scoreboard strong { font:750 34px/1.1 Consolas,monospace; letter-spacing:-1px; } .af-scoreboard small { color:#99b7d8; font-size:9px; }
.af-scoreboard dl { display:grid; grid-template-columns:repeat(3,1fr); margin:17px 0 9px; } .af-scoreboard dl>div { border-right:1px solid #ffffff20; padding-left:12px; } .af-scoreboard dl>div:first-child { padding:0; } .af-scoreboard dl>div:last-child { border:0; } .af-scoreboard dt { font-size:10px; color:#a9c5e3; } .af-scoreboard dd { margin:4px 0 0; font-size:19px; font-weight:700; }
.af-scoreboard p { margin:0; color:#9dbbdb; font-size:9px; }.af-status { display:flex; gap:7px; margin:11px 0; flex-wrap:wrap; } .af-status .active { color:var(--blue); border-color:#b5d0f7; background:#e5effe; }
.af-hit { font-size:10px; white-space:nowrap; padding:4px 7px; border-radius:5px; } .af-hit.yes { background:#e2f5ef; color:#15916f; } .af-hit.no,.af-hit.void { background:#f0f3f6; color:#8492a2; }
.af-empty { padding:30px 20px; text-align:center; background:white; border-radius:14px; color:#6d86a1; font-size:12px; } .af-empty svg { display:block; width:100px; margin:0 auto 15px; fill:#edf4fd; stroke:#95b5dc; stroke-width:3; } .af-empty p { font-size:11px; line-height:1.8; } .af-empty button { border:0; padding:10px 20px; border-radius:8px; color:var(--blue); background:#eaf2ff; }
.af-page button:focus-visible,.af-page select:focus-visible,.af-search:focus-within { outline:2px solid #4588e0; outline-offset:2px; }
@media(min-width:680px) { .af-page { padding:24px; } .af-list { grid-template-columns:repeat(2,minmax(0,1fr)); } .af-heading h1 { font-size:34px; } }
@media(max-width:350px) { .af-actions { font-size:9px; }.af-actions strong { font-size:10px; }.af-actions button { font-size:8px; }.af-card { padding:11px 9px 0; }.af-prob-values { font-size:8px; }.af-search button { padding:0 12px; } }
@media(prefers-reduced-motion:reduce) { .af-drawer { transition:none; } }
