:root{color-scheme:dark;--navy:#071829;--panel:#0d283f;--blue:#14334e;--red:#ae1e37;--gold:#f0cd8e;--text:#f6f9ff;--muted:#bed1e1;--line:#45637d}
*{box-sizing:border-box}
html,body{margin:0;min-width:0;padding:0;background:#06101e;color:var(--text);font:13px/1.42 Arial,"Arial Narrow",sans-serif}
button,a{font:inherit}a{color:#e1efff;text-underline-offset:2px}a:hover{color:#fff}
a:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
[hidden]{display:none!important}
.game-centre{max-width:850px;width:100%;margin:0 auto;border:1px solid #8f1830;border-top:4px solid #c12b46;background:#071829;overflow:hidden}
.masthead{display:flex;align-items:center;gap:10px;padding:12px 13px;background:linear-gradient(105deg,#0d2e49,#071a2e);border-bottom:3px solid #bd2641}
.crest{display:block;flex:0 0 44px;height:44px;width:44px;object-fit:contain}.masthead-text{min-width:0}.masthead h1{font-size:20px;line-height:1.06;margin:3px 0 4px;letter-spacing:.005em}.masthead p{margin:0;color:var(--muted);font-size:11px}
.kicker{font-size:10px;line-height:1.2;color:var(--gold);letter-spacing:.1em;font-weight:900}
.block{margin:9px 11px 10px;background:#092035;border:1px solid #36546e;border-top:3px solid #c52945}
.bar{display:flex;justify-content:space-between;gap:8px;align-items:baseline;background:#061a2a;border-bottom:1px solid #385976;padding:8px 10px}
.bar h2{font-size:14px;line-height:1.15;text-transform:uppercase;letter-spacing:.03em;margin:0;color:#fff}
.bar a,.source-tag{font-size:10px;font-weight:800;color:#bcd4e8;text-align:right}.source-tag{color:var(--gold)}
.countdown{display:block;width:100%;height:205px;background:#07172a;border:0;overflow:hidden}
.tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px 9px 2px}
.tabs button{min-height:34px;cursor:pointer;background:#13314b;border:1px solid #52738e;color:#f5f9ff;border-radius:4px;padding:7px 9px;font-size:12px;font-weight:850;line-height:1.2}
.tabs button[aria-selected=true]{background:#af203c;border-color:#ec7e91}
.tab-panel{padding:7px 10px 10px}
.meta{font-size:11px;color:var(--muted);line-height:1.3;margin:2px 0 7px}
.table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;table-layout:fixed}
.table th{background:#102d46;color:#d3e1ee;text-align:left;font-size:10px;letter-spacing:.045em;padding:7px 7px;font-weight:850}
.table td{border-bottom:1px solid #31516a;padding:8px 7px;line-height:1.23;color:#f0f6fd;font-size:12px;vertical-align:middle;overflow-wrap:break-word}
.table tbody tr:last-child td{border-bottom:0}
.table tbody tr:nth-child(even){background:#102b42}
.table .date{display:block;color:var(--gold);font-weight:800;font-size:11px}
.table .opp{display:block;color:#fff;font-weight:700;font-size:12px;margin-top:3px}
.table .tiny{display:block;font-size:10px;color:var(--muted);margin-top:2px}
.table .pending{color:#ffd6a9;font-weight:750}
.goalie-table th:nth-child(1),.goalie-table td:nth-child(1){width:47%}
.goalie-table th:nth-child(2),.goalie-table td:nth-child(2){width:18%}
.goalie-table th:nth-child(3),.goalie-table td:nth-child(3){width:35%}
.standings-table th:nth-child(1),.standings-table td:nth-child(1){width:52%}
.standings-table th:nth-child(2),.standings-table td:nth-child(2){width:11%;text-align:center}
.standings-table th:nth-child(3),.standings-table td:nth-child(3){width:24%;text-align:center}
.standings-table th:nth-child(4),.standings-table td:nth-child(4){width:13%;text-align:center;font-weight:850}
.standings-table .brave{background:#59283c!important}
.standings-table .brave td:first-child{border-left:3px solid #f36c8d;font-weight:850}
.action-row{display:flex;align-items:center;justify-content:flex-start;gap:14px;flex-wrap:wrap;margin-top:8px;font-size:11px;font-weight:800}
.action-row a{color:#e8e0cb}
.notice{border-left:3px solid #e5bd7b;background:#352b2c;color:#fcebcf;padding:11px 12px;font-size:12px;line-height:1.4}
.opponent-card{border:1px solid #45647c;background:#102b43;padding:10px}
.opponent-card h3{font-size:15px;margin:1px 0 8px;color:#fff}
.opponent-card .stamp{color:var(--gold);font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.opponent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}
.opponent-grid div{background:#071c2d;border:1px solid #2d536e;padding:8px 5px;text-align:center}
.opponent-grid strong{display:block;font-weight:900;font-size:18px;line-height:1.2}
.opponent-grid span{display:block;color:var(--muted);font-size:10px}
.opponent-card p{color:#d3e3ef;font-size:11.5px;line-height:1.38;margin:7px 0}
.opponent-card .history{border-top:1px solid #476179;margin-top:9px;padding-top:8px}
.source-note{color:var(--muted);font-size:10px;margin:8px 0 0}
.footer{padding:8px 13px 11px;color:#adc4d7;font-size:10px;border-top:1px solid #2d4d68}
@media(max-width:480px){
.masthead{gap:8px;padding:9px 10px}.crest{width:36px;height:36px;flex-basis:36px}.masthead h1{font-size:18px}.masthead p{font-size:10px}
.block{margin:7px 7px 8px}.bar{padding:7px 8px}.bar h2{font-size:13px}
.countdown{height:194px}.tabs{padding:7px 7px 0}.tabs button{font-size:11.5px;min-height:35px}
.tab-panel{padding:6px 7px 9px}.table th{padding:6px 4px;font-size:9px}.table td{padding:6px 4px;font-size:11px}
.table .date{font-size:10px}.table .opp{font-size:11px}.table .tiny{font-size:9.5px}
.action-row{gap:10px;font-size:10px}.footer{padding:7px 9px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* One compact tab strip replaces simultaneous long game-night and division panels. */
.tabs-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.tabs-four button{padding:7px 3px;font-size:11px}
@media(max-width:480px){.tabs-four{gap:3px}.tabs-four button{font-size:10px;padding:6px 1px;min-height:33px}}

/* ENG63 follow-up: Bio-inspired presentation, full Sunday division evidence.
 * Compact HTO iframe: no nested scrollbars or hidden standings rows. */
.masthead{padding:10px 12px;gap:10px}
.masthead .league-crest{width:52px;height:52px;object-fit:contain;display:block}
.masthead>a{flex:none}
.compact-count{margin-bottom:8px}
.body-block{border-top:3px solid #d13b53}
.tabs-six{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.tabs-six button{font-size:11px;min-height:33px;padding:6px 3px}
.section-title{padding:5px 2px 9px}
.section-title h3{font-size:18px;color:#fff;font-weight:900;margin:4px 0}
.section-title p{color:#c8dceb;font-size:11px;line-height:1.45;margin:4px 0}
.eyebrow{color:#f0cd8e;font-size:10px;letter-spacing:.07em;font-weight:900}
.selectrow{display:grid;gap:4px;margin:8px 0}
.selectrow label{font-size:11px;color:#d3e5f2;font-weight:800}
.selectrow select{width:100%;max-width:100%;min-height:35px;border:1px solid #61849e;border-radius:5px;color:#f7fbff;background:#15364f;padding:7px;font:12px Arial,sans-serif}
.division-identity{display:flex;gap:9px;align-items:center;background:linear-gradient(120deg,#14334b,#0b2439);border:1px solid #50718b;border-left:3px solid #cb3e58;border-radius:7px;padding:8px 10px}
.division-patch{width:55px;height:55px;object-fit:contain;flex:none}
.division-title h3{margin:1px 0;font-size:18px;color:#fff;font-weight:900}
.division-title p{margin:2px 0;color:#c5d9e6;font-size:10px}
.division-identity.no-patch .division-patch{display:none}
.standings-table th,.standings-table td{width:auto!important;text-align:center!important;padding:7px 3px!important;overflow-wrap:normal}
.standings-table th:first-child,.standings-table td:first-child{text-align:left!important;width:29%!important}
.standings-table th:nth-child(2){width:7%!important}
.standings-table th:nth-child(3){width:17%!important}
.standings-table th:nth-child(4){width:9%!important}
.standings-table th:nth-child(5){width:10%!important}
.standings-table th:nth-child(6),.standings-table th:nth-child(7){width:8%!important}
.standings-table th:nth-child(8){width:14%!important}
.standings-table td{font-size:11px}
.standings-table td:first-child{font-weight:800}
.standings-table .brave td:first-child{border-left:3px solid #f36c8d}
.streak-win{color:#a1e8c9!important;font-weight:850}.streak-loss{color:#ffb9b9!important;font-weight:850}.streak-tie{color:#f6dfab!important;font-weight:850}
.source-note{margin-top:8px;font-size:10px;color:#c7d5e2;line-height:1.4}
.opponent-card{padding:11px;border:1px solid #54758d;border-radius:8px;background:linear-gradient(145deg,#173b55,#0d2539 85%)}
.opponent-card .opp-title{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.opponent-card h3{font-size:19px;line-height:1.15;margin:3px 0}
.opponent-card .badge-rank{background:#3b302a;color:#f4d7a2;border:1px solid #8a795e;padding:5px 7px;border-radius:5px;font-size:10px;font-weight:800;white-space:nowrap}
.bio-style-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:9px 0}
.bio-style-metrics .tile{border:1px solid #54728b;border-radius:7px;background:#0d283e;padding:9px 3px;text-align:center;min-width:0}
.bio-style-metrics .tile strong{display:block;color:#fff2d2;font-size:19px;line-height:1.1;font-weight:900}
.bio-style-metrics .tile span{display:block;color:#c7dbea;font-size:9px;margin-top:3px}
.opp-read{background:#17374e;border-left:3px solid #d2b47e;padding:9px 10px;color:#edf6fc;font-size:12px;line-height:1.43;margin:8px 0}
.mini-head{color:#f2cf9d;font-weight:900;font-size:10px;letter-spacing:.045em;margin:10px 0 5px}
.mini-list{margin:0;padding-left:17px;font-size:11px;color:#e7f2f9;line-height:1.5}
.mini-list li{margin:3px 0}
.opponent-card .history{background:#0b283e;border-top:0;border-left:3px solid #668da5;padding:8px;margin:8px 0 0}
.opponent-card .history p{margin:3px 0;font-size:11px}
.lineup-status{padding:8px 10px;background:#253540;border:1px solid #8b7957;color:#ffebc7;border-radius:5px;font-size:11px}
.lineup-card{border:1px solid #54728b;padding:8px;margin-top:9px;background:linear-gradient(145deg,#132e48,#091d31);border-radius:8px}
.lineup-section{margin:0 0 8px}
.lineup-section .section-label{color:#f3cd97;font-size:10px;font-weight:900;letter-spacing:.06em;border-bottom:1px solid #34506a;padding-bottom:4px;margin:4px 0 5px}
.lineup-unit{display:grid;gap:5px;grid-template-columns:repeat(3,minmax(0,1fr));margin:5px 0}
.lineup-unit.defence{grid-template-columns:repeat(2,minmax(0,1fr))}
.lineup-slot{border:1px dashed #58768c;background:#102941;min-height:43px;border-radius:5px;padding:6px 5px}
.lineup-slot span{display:block;color:#b3cde1;font-size:9px;font-weight:800}
.lineup-slot strong{display:block;margin-top:3px;font-size:12px;color:#ecf5fa;font-weight:850;overflow-wrap:anywhere}
.lineup-unit.goalie{grid-template-columns:1fr}
.lineup-unit.goalie .lineup-slot{min-height:38px}
.ranking-table th:nth-child(1),.ranking-table td:nth-child(1){width:12%;text-align:center}
.ranking-table th:nth-child(2),.ranking-table td:nth-child(2){width:40%}
.ranking-table th:nth-child(3),.ranking-table td:nth-child(3){width:33%}
.ranking-table th:nth-child(4),.ranking-table td:nth-child(4){width:15%;text-align:right;font-weight:850}
.ranking-table td{padding:8px 5px;font-size:11px}
.ranking-table .brave{background:#502536}
.rank-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:10px 0}
.rank-pagination button{border:1px solid #627d94;background:#163c57;color:#fff;border-radius:5px;padding:7px 10px;font:11px Arial,sans-serif;font-weight:800;cursor:pointer}
.rank-pagination button:disabled{opacity:.35;cursor:default}
.rank-pagination span{color:#e0d0b7;font-size:11px}
.research-card{background:#102e46;border:1px solid #4c6d87;padding:10px;border-radius:7px;margin:8px 0;font-size:11px;color:#dce9f4}
.research-card h4{font-size:15px;color:white;margin:0 0 7px}
.research-card p{margin:5px 0}
.research-card .muted{color:#bfd5e5}
.research-card .movement-row{padding:6px 0;border-bottom:1px solid #365772}
.research-card .movement-row:last-child{border-bottom:0}
.coach-card{background:#13334d;border:1px solid #4e728b;border-radius:8px;padding:11px;margin:8px 0}
.coach-title{display:flex;justify-content:space-between;gap:9px;color:#f0d29f;font-weight:800;align-items:baseline}
.coach-title strong{color:#fff;font-size:26px}
.coach-lead{font-size:14px;color:#f2f8ff;line-height:1.45;margin:10px 0}
.coaching-roles{display:grid;gap:7px}
.coaching-roles div{background:#0c2439;border-left:3px solid #dc4b63;padding:9px 10px}
.coaching-roles b{display:block;color:#f4d4a4;font-size:12px}
.coaching-roles span{display:block;color:#d2e3ed;font-size:11px;line-height:1.45;margin-top:3px}
.coach-card.secondary{border-left:3px solid #d4ab76}
.coach-card.secondary p{color:#d9e7ef;font-size:11px}
@media(max-width:580px){
.masthead .league-crest{width:43px;height:43px}
.division-identity{padding:7px}.division-patch{width:45px;height:45px}.division-title h3{font-size:16px}
.standings-table{display:block;border-collapse:separate}
.standings-table thead{display:none}
.standings-table tbody{display:block}
.standings-table tr{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #375770;background:#0d2a43;margin:4px 0;border-radius:5px;overflow:hidden;padding:2px 0}
.standings-table td,.standings-table td:first-child{display:flex;flex-direction:column;justify-content:center;text-align:center!important;border:0!important;width:auto!important;min-height:36px;padding:4px 2px!important;font-size:11px;white-space:normal;overflow-wrap:anywhere}
.standings-table td:first-child{grid-column:1/-1;text-align:left!important;min-height:25px;padding:5px 7px!important;color:#fff;font-size:12px;border-bottom:1px solid #365772!important}
.standings-table td:not(:first-child)::before{content:attr(data-label);color:#9dc0d9;font-size:9px;line-height:1.2;margin-bottom:2px;display:block}
.standings-table td:nth-child(5){font-weight:800}
.standings-table tr.brave{box-shadow:inset 3px 0 #fb7187}
.standings-table td:nth-child(8){font-size:10px}
.ranking-table td{font-size:10px}
.ranking-table td:nth-child(3){font-size:9px}
.ranking-table th{font-size:9px}
.bio-style-metrics .tile strong{font-size:16px}
}
@media(max-width:350px){
.tabs-six button{font-size:9.5px}
.division-title h3{font-size:15px}
.bio-style-metrics .tile span{font-size:8px}
}

/* ENG CHAT 63 R3.1: authentic PDF, readable sortable rates and original black Cristillo patch. */
.division-patch{background:#f6f6f6;border-radius:6px;object-fit:contain;padding:2px}
.pdf-lineup{margin:9px 0;border:1px solid #577890;background:#061726;padding:7px;border-radius:7px}
.pdf-lineup iframe{width:100%;height:min(77vw,550px);min-height:255px;display:block;border:0;background:#fff}
.pdf-fallback{font-size:11px;line-height:1.45;color:#d5e5f0;margin:7px 2px 2px}
.lineup-actions{align-items:center}
.lineup-actions .print-link{border:1px solid #bd7b8c;border-radius:5px;background:#b32642;color:#fff;padding:8px 12px;text-decoration:none;line-height:1.2}
.lineup-actions .print-link:hover{background:#cf3452}
.lineup-actions a[aria-disabled="true"]{pointer-events:none;color:#93aab9;background:#233448;border-color:#5c6b7b}
.calibration-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}
.calibration-strip span{min-height:30px;border:1px solid #486781;background:#102c44;border-radius:6px;padding:8px 4px;text-align:center;color:#d8e5ef;font-size:11px}
.calibration-strip b{color:#f6d49e;font-size:14px}
.ranking-sort-mobile{display:none}
.ranking-table{table-layout:auto;min-width:800px}
.ranking-table th,.ranking-table td{width:auto!important;text-align:right!important;padding:6px 4px!important;overflow-wrap:normal}
.ranking-table th:first-child,.ranking-table td:first-child{width:5%!important;text-align:center!important}
.ranking-table th:nth-child(2),.ranking-table td:nth-child(2){text-align:left!important;min-width:118px}
.ranking-table th:nth-child(3),.ranking-table td:nth-child(3){text-align:left!important;min-width:104px}
.ranking-table th:nth-child(4),.ranking-table td:nth-child(4){width:9%!important}
.ranking-table th button{width:100%;padding:4px 1px;text-align:inherit;border:0;background:transparent;color:#d7e8f6;cursor:pointer;font-size:10px;font-weight:850;line-height:1.2}
.ranking-table th button:hover,.ranking-table th button:focus-visible{color:#fff2cd;text-decoration:underline}
.ranking-table th[aria-sort="ascending"] button::after{content:" ↑";color:#f8d693}
.ranking-table th[aria-sort="descending"] button::after{content:" ↓";color:#f8d693}
.ranking-mobile-list{display:none}
.ranking-card{background:#0e2a42;border:1px solid #486780;border-radius:7px;padding:9px;margin:7px 0}
.ranking-card.brave{border-color:#e17b8e;background:#44283c}
.ranking-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:7px}
.ranking-card-head strong{font-size:13px;font-weight:850;line-height:1.2;color:#fff;display:block}
.ranking-card-head span{display:block;font-size:10px;color:#bed6e5;margin-top:3px}
.ranking-card-score{flex:none;text-align:center;background:#162d43;border:1px solid #5c778b;padding:5px;border-radius:5px;min-width:57px}
.ranking-card-score b{display:block;font-size:19px;color:#f5d79b;line-height:1}
.ranking-card-score span{font-size:8px;font-weight:750;color:#d0e0ed}
.ranking-rate-grid,.research-rate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:8px 0}
.ranking-rate{border:1px solid #3f647e;border-radius:4px;background:#102b41;text-align:center;padding:6px 2px;min-width:0}
.ranking-rate strong{display:block;font-size:13px;white-space:nowrap;color:#f5f7ff}
.ranking-rate small{display:block;font-size:9px;color:#bad2e5;margin-top:2px}
.ranking-card-foot{display:flex;gap:10px;justify-content:space-between;padding-top:6px;border-top:1px solid #3d5c73;color:#d6e4ef;font-size:10px;font-weight:750}
.ranking-card-foot span:last-child{font-weight:900}
.research-rate-grid{margin:10px 0}
@media(max-width:900px){
 .ranking-table{display:none!important}
 .ranking-mobile-list{display:block}
 .ranking-sort-mobile{display:grid}
 .ranking-rate strong{font-size:13px}
}
@media(max-width:360px){
 .pdf-lineup{padding:4px}
 .pdf-lineup iframe{height:260px}
 .ranking-rate strong{font-size:12px}
 .calibration-strip span{font-size:9px}
 .calibration-strip b{font-size:13px}
}

/* The verified card is immediately visible at every viewport size. Native PDF is fallback only. */
.pdf-lineup-preview{display:block;width:100%;max-width:100%;height:auto;box-sizing:border-box;background:#fff;border:1px solid #d2d9df}
.pdf-lineup-preview[hidden],.pdf-lineup iframe[hidden]{display:none!important}
@media(max-width:700px){
 .pdf-fallback{font-size:10px}
}
