:root{font-family:system-ui,sans-serif;color:#172f44;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}header{background:#103959;color:white;display:flex;align-items:center;gap:14px;padding:12px 4%;flex-wrap:wrap}header a{color:white;text-decoration:none;font-size:13px}header>a:last-child{margin-left:auto}.brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:700}.brand img{width:42px;height:42px;border-radius:7px}header span{font-size:11px;background:#ffffff20;padding:4px 9px;border-radius:12px}main{max-width:1250px;margin:auto;padding:20px}h1{font-size:25px;margin:0}.intro{color:#657e91;font-size:13px}h2{font-size:18px;margin:22px 0 10px}h3{font-size:14px;margin:0 0 6px}p{line-height:1.5}button,.action{border:0;background:#e7f0f8;border-radius:8px;padding:9px 12px;color:#164e75;cursor:pointer;font:inherit;font-size:12px}button:focus-visible,a:focus-visible{outline:2px solid #2687cc;outline-offset:2px}nav{display:flex;gap:6px;overflow-x:auto;margin:12px 0}nav button{flex-shrink:0;border-radius:18px}nav button.selected{background:#145681;color:white}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:9px}.card{border:1px solid #dce6ef;background:white;padding:12px;border-radius:10px;min-width:0;overflow-wrap:anywhere}.card p{font-size:12px;margin:5px 0}.muted{font-size:11px;color:#688093}.score{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin:6px 0}.live{color:#008467}.thumb{width:100%;height:140px;object-fit:contain;background:#edf3f8;border-radius:6px}.card>button{display:block;width:100%;text-align:left;background:transparent;padding:0;color:inherit}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}td,th{padding:7px;border-bottom:1px solid #e6edf3;text-align:left;white-space:nowrap}dialog{border:0;border-radius:12px;width:min(800px,94vw);max-height:90dvh;padding:14px;overflow:auto}dialog::backdrop{background:#10283d99}#guestClose{float:right;margin-bottom:10px}#guestViewerBody{clear:both}#guestViewerBody img{width:100%;max-height:65dvh;object-fit:contain}#guestViewerBody iframe,#guestViewerBody video{width:100%;height:55dvh;border:0}.story{white-space:pre-wrap;font-size:14px}.photo-controls{display:flex;justify-content:space-between;align-items:center}.empty{color:#688093;font-size:13px}#guestStatus{font-size:13px;color:#637f94}@media(max-width:550px){main{padding:13px}.cards.media{grid-template-columns:repeat(2,minmax(0,1fr))}.thumb{height:105px}.card{padding:9px}header{gap:8px;padding:10px}.brand{font-size:16px}h1{font-size:22px}}
/* Guest sports centre */
main{max-width:1360px;padding:24px 28px}#guestStatus{margin-bottom:10px}#guestSports{margin-bottom:20px;padding-bottom:4px}.guest-welcome{background:linear-gradient(115deg,#0d304e,#125780);border-radius:20px;color:white;padding:30px 34px;display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px;box-shadow:0 8px 25px #12385412}.eyebrow{font-size:10px;letter-spacing:2px;color:#9fd9e9;font-weight:700}.guest-welcome h1{font-size:32px;margin:10px 0}.guest-welcome p{font-size:14px;color:#d1e5f0;margin:0}.welcome-stats{display:flex;gap:22px;flex-wrap:wrap;margin-top:24px;font-size:12px;color:#c9dce9}.welcome-stats b{color:white;font-size:20px;margin-right:4px}.welcome-links{display:grid;gap:9px;min-width:180px}.welcome-links a{color:white;text-decoration:none;border:1px solid #ffffff38;background:#ffffff0c;padding:11px 15px;border-radius:9px;font-size:13px}.live-pill{color:#8df0c6!important}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-heading h2{margin:0;font-size:21px}.section-heading p{margin:4px 0 0;font-size:12px;color:#708396}.rail-controls{display:flex;gap:5px}.rail-controls button{font-size:22px;padding:1px 12px;background:white;border:1px solid #dbe5ee}#guestContent>section{margin:24px 0;min-width:0;scroll-margin-top:15px}.guest-rail{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 0 10px;scrollbar-width:thin;scrollbar-color:#b8cbd9 transparent;max-width:100%;min-width:0}.guest-rail>.card{flex:0 0 292px;scroll-snap-align:start;box-shadow:0 2px 5px #1b405005;border-radius:13px}.match-modes{display:flex;gap:6px;margin-bottom:12px}.match-modes button{border-radius:20px;padding:7px 16px}.match-modes .selected{background:#12577e;color:white}.card-kicker{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#758999;margin-bottom:10px}.card-kicker span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-card h3{font-size:11px;font-weight:500;color:#6b7e8e;margin-bottom:14px}.score{margin:9px 0;font-size:14px}.score b{color:#11567b;white-space:nowrap}.match-result{color:#187451;font-weight:600;padding-top:9px;border-top:1px solid #edf1f5}.video-card,.album-card{padding:0!important;overflow:hidden}.video-art{height:156px;position:relative;background:linear-gradient(125deg,#173c5d,#368ba3);display:grid;place-items:center}.video-art img{width:100%;height:100%;object-fit:cover}.sport-art{font-size:55px}.play-dot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#ffffffed;color:#143d60;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;box-shadow:0 2px 10px #0003}.video-tag{position:absolute;bottom:9px;left:10px;background:#0d2d4ae6;color:white;padding:4px 7px;border-radius:4px;font-size:9px}.media-copy{padding:13px}.media-copy h3{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}.media-copy .muted{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-copy span{float:right;color:#12577e}.album-art{display:block;width:100%;height:175px;object-fit:cover}.event-card{display:flex;align-items:center;gap:12px}.event-icon{flex-shrink:0;width:45px;height:45px;background:#edf5fa;border-radius:12px;display:grid;place-items:center;font-size:24px}.event-card h3{line-height:1.4}.event-card small{font-size:10px;color:#24745a}.past-events{margin-top:8px}.past-events summary,.standings-card summary{cursor:pointer;font-size:13px;padding:13px 0}.past-events summary span{color:#6a8193;margin-left:8px}.standings-card{border-bottom:1px solid #dce5ed}.standings-card summary span{float:right;color:#12577e;font-size:11px}.news-card small{color:#6b8295;font-size:10px}.news-card h3{margin-top:10px}.news-card p{color:#65798b;line-height:1.6}.news-card>button{color:#12577e;padding-top:12px;font-weight:600}.empty{padding:18px;border:1px dashed #cbdce8;border-radius:10px;width:100%;margin:0;background:#edf4f9}button:hover,.welcome-links a:hover{filter:brightness(.96)}button:disabled{opacity:.4;cursor:default}@media(max-width:600px){main{padding:14px 12px}.guest-welcome{padding:22px 20px;border-radius:15px;display:block;margin-bottom:20px}.guest-welcome h1{font-size:25px}.guest-welcome p{font-size:12px}.welcome-stats{margin-top:16px;gap:15px}.welcome-links{display:flex;flex-wrap:wrap;min-width:0;margin-top:18px;gap:6px}.welcome-links a{font-size:10px;padding:7px 9px}.section-heading h2{font-size:18px}.guest-rail>.card{flex-basis: min(285px,85vw)}#guestContent>section{margin:20px 0}.brand{font-size:16px}header>a:last-child{font-size:11px}.video-art{height:150px}}

.card>.scorecard-link{color:#12577e;font-weight:600;margin-top:12px}#guestViewerBody .table-wrap{margin:12px 0 24px}#guestViewerBody h3{margin-top:20px}

.guest-match-sports{margin:0 0 12px;padding-bottom:4px;max-width:100%;overscroll-behavior-x:contain}.guest-match-sports button{font-size:12px;padding:7px 12px}#guestContent>section:first-child{margin-top:16px}

/* Compact tournament tiles; the entire card remains an accessible control. */
.guest-rail>.event-card{flex-basis:260px;align-self:flex-start;align-items:flex-start;gap:10px;padding:12px;cursor:pointer}
.event-card>div{min-width:0;flex:1}.event-card .card-kicker{margin:0 0 4px;font-size:10px}.event-card h3{font-size:13px;line-height:1.35;margin:0 0 5px}.event-card p{font-size:11px;margin:0 0 5px;color:#6a8193}.event-card .event-icon{width:34px;height:34px;font-size:20px;border-radius:9px}.event-icon:has(.sports-logo){font-size:0}.event-icon>.sports-logo{width:28px;height:28px;margin:0}.event-card .event-open{display:inline-block;background:transparent;padding:3px 0;margin-left:0;font-size:11px;color:#557b94}.event-card small+.event-open{margin-left:10px}.event-card:focus-visible{outline:2px solid #2687cc;outline-offset:2px}.past-events>.rail-controls{justify-content:flex-end;margin:-4px 0 6px}.past-events>.rail-controls button{font-size:18px;padding:0 9px}
@media(max-width:600px){.guest-rail>.event-card{flex-basis:min(260px,82vw)}}

.guest-sections{display:flex;gap:8px;flex-wrap:wrap}.guest-sections a,.guest-watch{background:#0e4c80!important;color:white!important;border-radius:8px;padding:8px 12px!important;text-decoration:none;font-size:12px;margin-top:8px}.guest-comment{display:flex;gap:20px;padding:14px 8px;border-bottom:1px solid #dbe5ee}.guest-comment b{min-width:32px}#guestViewerBody iframe[data-match-stream]{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0}

/* Match the officer Sports Centre's compact spectator layout. */
#guestStatus,#guestSports{display:none}.guest-sections{margin:0 0 16px;flex-wrap:nowrap;overflow:auto;gap:6px}.guest-sections a{background:transparent!important;color:#164e75!important;white-space:nowrap;margin:0;padding:6px 10px!important;border-radius:6px;font-weight:400}
#matches h1{font-size:24px;margin:0 0 18px}.match-modes{display:flex;gap:4px;margin:0 0 18px}.match-modes button{flex:1;border-radius:0;background:white;color:#164e75;font-size:14px;font-weight:600;padding:12px;border-bottom:2px solid transparent}.match-modes button.selected{background:white;color:#164e75;border-bottom-color:#0b4b85}
.section-heading{margin-bottom:8px}.section-heading h2{font-size:16px}.section-heading p{font-size:11px}.rail-controls button{background:#edf3fa;border:0;font-size:20px;padding:2px 9px}.guest-match-sports{margin:0 0 4px;gap:5px}.guest-match-sports button{font-size:12px;padding:7px 10px;border:1px solid #dce4ea;border-radius:7px;font-weight:400}.guest-match-sports button.selected{background:#0e4c80;color:white}
.guest-rail{gap:10px;padding-bottom:5px;align-items:stretch}.guest-rail>.match-card{flex:0 0 270px;display:flex;flex-direction:column;gap:5px;padding:10px;border-radius:9px;box-shadow:none}.match-card .card-kicker{display:block;font-size:11px;line-height:1.3;color:#64788b;margin:0;font-weight:400;padding-right:22px}.match-card h3{font-size:14px;line-height:1.35;color:#172f44;margin:0;font-weight:500}.small-match-status{font-size:11px;color:#126d55}.match-card .score{font-size:13px;line-height:1.4;margin:0}.match-card .score b{font-size:14px}.match-card .match-result{font-size:12px;line-height:1.4;font-weight:400;color:#172f44;border:0;padding:0;margin:0}.match-card .muted{font-size:11px;line-height:1.3;margin:0}.match-card>.scorecard-link{font-size:12px;min-height:28px;padding:3px 0;margin-top:auto;font-weight:400}.match-card>.guest-watch{background:#edf3fa!important;color:#0e4c80!important;text-align:center;font-size:13px;font-weight:600;border-radius:9px;margin:0;padding:9px!important}
#recent-results,#news{background:#edf3fa;padding:10px;border-radius:12px}#guestContent>section{margin:16px 0}.card-kicker b{white-space:nowrap}.guest-rail>.card{align-self:stretch}header{background:#0d3558}
@media(max-width:600px){main{padding:12px 12px 68px}#matches h1{font-size:22px}.guest-rail>.match-card{flex-basis:250px}.section-heading h2{font-size:15px}.guest-sections{position:fixed;bottom:0;left:0;right:0;z-index:5;background:white;border-top:1px solid #dce4ea;margin:0;justify-content:space-around;padding:10px 4px;gap:0}.guest-sections a{font-size:10px;padding:8px 5px!important}.brand{font-size:17px}.brand img{width:42px;height:42px}}

.match-card .match-result{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.match-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}body{font-weight:400}
