.apfl-pb {color:#14233e;background:#fff;padding:clamp(12px,3vw,28px);border:1px solid #d9e1ef;border-radius:12px}
.apfl-pb header {border-top:5px solid #e1253b;padding:16px;background:#14233e;color:#fff;margin-bottom:20px}
.apfl-pb header h2,.apfl-pb header p {color:#fff;margin:0}
.apfl-pb [hidden] {display:none!important}
.apfl-pb fieldset {min-width:0;margin:0 0 18px;padding:10px 0;border:0}
.apfl-pb legend {font-size:1.3rem;font-weight:700}
.apfl-pb details {margin:10px 0;padding:12px;border:1px solid #d9e1ef;border-radius:6px}
.apfl-pb summary {cursor:pointer;color:#1744bb;font-weight:700}
.apfl-pb .apfl-pb-picks {display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.apfl-pb select,.apfl-pb input[type=text],.apfl-pb input[type=password] {display:block;max-width:100%;padding:8px;background:#fff;color:#14233e;border:1px solid #64748b;border-radius:4px}
.apfl-pb .apfl-pb-table {overflow:auto}
.apfl-pb table {width:100%;white-space:nowrap;margin:0}
.apfl-pb table th,.apfl-pb table td {padding:5px 8px}
.apfl-pb thead th {background:#14233e;color:#fff}
.apfl-pb tbody tr:nth-child(even) {background:#eef3ff}
.apfl-pb button {border:0;border-radius:5px;background:#1744bb;color:#fff;padding:11px 18px;cursor:pointer;font-weight:700}
.apfl-pb .apfl-pb-message {padding:12px;border-left:4px solid #1744bb;background:#eef3ff}
.apfl-pb .apfl-pb-message[role=alert] {border-color:#e1253b}
.apfl-pb .apfl-pb-circle {appearance:none;-webkit-appearance:none;display:inline-block;width:19px;height:19px;margin:0;vertical-align:middle;border:2px solid #64748b;border-radius:50%;background:#fff;cursor:pointer}
.apfl-pb .apfl-pb-circle:checked {background:#1744bb;border-color:#1744bb}
.apfl-pb .apfl-pb-circle.apfl-pb-own:checked {background:#13803c;border-color:#13803c}
.apfl-pb .apfl-pb-circle:disabled {opacity:.42;cursor:not-allowed}
.apfl-pb .apfl-pb-circle:focus-visible {outline:2px solid #14233e;outline-offset:3px}
.apfl-pb button:disabled {opacity:.5;cursor:not-allowed}
.apfl-pb .apfl-pb-leader {font-weight:800}
.apfl-pb .apfl-pb-hero {position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(180px,28vw,360px);padding:clamp(18px,4vw,48px);overflow:hidden}
.apfl-pb .apfl-pb-hero img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;z-index:-2}
.apfl-pb .apfl-pb-hero::before {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#101c34 0%,rgba(16,28,52,.87) 35%,rgba(16,28,52,.18) 100%);z-index:-1}
.apfl-pb .apfl-pb-hero h2 {font-size:clamp(1.65rem,4vw,3rem);line-height:1.1;max-width:13ch;font-weight:800}
.apfl-pb .apfl-pb-hero p {margin-top:.55em}
.apfl-pb .apfl-pb-breakdown {margin:0;padding:0;border:0}
.apfl-pb .apfl-pb-breakdown summary {text-decoration:underline dotted;text-underline-offset:3px}
.apfl-pb .apfl-pb-breakdown ul {white-space:normal;width: min(24rem, 68vw);margin:6px 0;padding:9px 12px 9px 28px;background:#eef3ff;color:#14233e;font-weight:400;text-align:left}
.apfl-pb .apfl-pb-breakdown li + li {margin-top:4px}

.apfl-pb .apfl-pb-rankings-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%, 320px),1fr));gap:12px;align-items:start}
.apfl-pb .apfl-pb-rankings-grid > details {min-width:0;margin:0 0 12px;padding:8px}
.apfl-pb .apfl-pb-rankings-grid th,.apfl-pb .apfl-pb-rankings-grid td {padding:4px 6px;font-size:.875rem}
.apfl-pb .apfl-pb-rankings-grid td {text-align:center}

.apfl-pb button.apfl-pb-sort {background:transparent;color:inherit;border-radius:0;padding:0;text-align:left;white-space:nowrap}
.apfl-pb button.apfl-pb-sort:hover {text-decoration:underline}
.apfl-pb button.apfl-pb-sort:focus-visible {outline:2px solid #fff;outline-offset:2px}
