/* XM-COMPETITION-REPORT-1.0 — standalone, print-friendly competition report */
.xm-report-page{--xrr-surface:var(--xm-surface,#142238);--xrr-border:var(--xm-border,rgba(148,163,184,.18));--xrr-text:var(--xm-text,#eaf1fc);--xrr-muted:var(--xm-muted,#a4b0c3);--xrr-blue:var(--xm-blue,#55a3ff);color:var(--xrr-text);background:var(--xm-bg,#0d1728);min-height:100vh;font-family:var(--xm-font,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif)}
.xm-report-page *{box-sizing:border-box}
.xm-report-page a{color:inherit;text-decoration:none}
.xm-report-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:76px;padding:14px max(26px,calc((100vw - 1360px)/2));background:var(--xm-surface,#101d30);border-bottom:1px solid var(--xrr-border)}
.xm-report-brand{display:flex;align-items:center;max-width:192px}
.xm-report-brand img{display:block;max-width:100%;max-height:44px;object-fit:contain}
.xm-report-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.xm-report-controls a,.xm-report-controls button,.xm-report-state button{font-size:13px;font-weight:700;line-height:1.25;font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border:1px solid var(--xrr-border);border-radius:12px;color:var(--xrr-text);background:var(--xrr-surface);cursor:pointer;transition:background .15s,border-color .15s}
.xm-report-controls a:hover,.xm-report-controls button:hover{background:var(--xm-surface-2,#1a304b);border-color:var(--xrr-blue)}
.xm-report-controls button.is-primary{background:var(--xrr-blue);color:white;border-color:var(--xrr-blue)}
.xm-report-controls button:disabled{opacity:.45;cursor:default}
.xm-report-body{width:min(1340px,100%);padding:36px 26px 70px;margin:0 auto;display:flex;flex-direction:column;gap:22px}
.xm-report-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(110deg,#172b4c 0%,#163a5c 61%,#0e5a6b 100%);color:#f6faff;padding:36px 42px;border-radius:26px;min-height:190px;box-shadow:0 15px 45px rgba(0,0,0,.12)}
.xm-report-hero:after{position:absolute;content:"";right:12%;top:-80px;width:280px;height:280px;background:radial-gradient(circle,rgba(84,200,255,.18),transparent 66%);pointer-events:none}
.xm-report-hero-copy{min-width:0;position:relative;z-index:1}
.xm-report-overline{font-size:12px;letter-spacing:.16em;font-weight:850;color:#8ee9f4}
.xm-report-hero h1{font-size:clamp(25px,3.2vw,43px);font-weight:850;line-height:1.17;max-width:850px;margin:12px 0 13px;letter-spacing:-.025em}
.xm-report-hero-details{font-weight:580;color:#d8e9fa;font-size:14px;margin:0}
.xm-report-hero-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;font-size:13px;color:#e2f0ff}
.xm-report-hero-side{z-index:1;display:flex;min-width:136px;flex-direction:column;text-align:right;gap:4px}
.xm-report-hero-side span{font-size:10px;font-weight:900;letter-spacing:.14em;white-space:nowrap;color:#b1def6}
.xm-report-hero-side strong{font-weight:900;font-size:56px;line-height:1.1;font-variant-numeric:tabular-nums}
.xm-report-hero-side small{color:#d2eaff;font-size:12px}
.xm-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.xm-report-kpi{padding:24px 26px;display:flex;flex-direction:column;gap:8px;background:var(--xrr-surface);border:1px solid var(--xrr-border);border-radius:19px;min-height:158px}
.xm-report-kpi>span{font-size:11px;font-weight:850;letter-spacing:.08em;color:var(--xrr-muted)}
.xm-report-kpi>strong{font-size:clamp(29px,3.2vw,44px);line-height:1.13;font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--xrr-text)}
.xm-report-kpi>small{font-size:12px;color:var(--xrr-muted)}
.xm-report-two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}
.xm-report-panel{padding:27px;background:var(--xrr-surface);border:1px solid var(--xrr-border);border-radius:21px;min-width:0}
.xm-report-wide{width:100%}
.xm-report-panel-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px;color:var(--xrr-muted)}
.xm-report-panel-title span{display:block;color:var(--xrr-blue);font-size:11px;font-weight:850;letter-spacing:.12em;margin-bottom:6px}
.xm-report-panel-title h2{font-size:clamp(19px,2vw,25px);letter-spacing:-.025em;line-height:1.25;margin:0;color:var(--xrr-text);font-weight:850}
.xm-report-panel-empty{padding:35px 12px;text-align:center;border:1px dashed var(--xrr-border);border-radius:13px;color:var(--xrr-muted);font-size:14px}
.xm-report-podium{display:grid;gap:10px}
.xm-report-podium-item{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:15px;align-items:center;border:1px solid var(--xrr-border);background:var(--xm-surface-2,rgba(255,255,255,.025));padding:15px;border-radius:15px;transition:border-color .2s,transform .2s}
.xm-report-podium-item:hover{border-color:var(--xrr-blue);transform:translateY(-1px)}
.xm-report-place{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(100,116,139,.17);color:var(--xrr-text);font-weight:900;font-size:19px}
.xm-report-podium-item.is-place-1 .xm-report-place{background:linear-gradient(140deg,#f8de88,#e4a928);color:#4c3503}
.xm-report-podium-item.is-place-2 .xm-report-place{background:linear-gradient(140deg,#f1f5f9,#a5b4c6);color:#354252}
.xm-report-podium-item.is-place-3 .xm-report-place{background:linear-gradient(140deg,#e8aa7c,#b6774c);color:#4c2512}
.xm-report-podium-item div{display:flex;min-width:0;flex-direction:column;gap:4px}
.xm-report-podium-item strong{font-size:14px;font-weight:850;overflow-wrap:anywhere}
.xm-report-podium-item small{font-size:11px;color:var(--xrr-muted)}
.xm-report-podium-item b{font-size:15px;white-space:nowrap}
.xm-report-podium-item em{display:block;font-style:normal;font-size:10px;color:var(--xrr-muted);font-weight:500;text-align:right}
.xm-report-text-link{display:inline-flex;align-items:center;gap:7px;margin-top:17px;font-weight:750;font-size:13px;color:var(--xrr-blue)!important}
.xm-report-species-list{display:grid;gap:17px}
.xm-report-species-row{display:grid;gap:8px}
.xm-report-species-title{display:flex;gap:14px;justify-content:space-between;align-items:baseline}
.xm-report-species-title strong{font-size:13px}
.xm-report-species-title span{font-weight:850;font-size:14px;white-space:nowrap}
.xm-report-species-title span small{color:var(--xrr-muted);font-weight:550}
.xm-report-species-row>small{font-size:11px;color:var(--xrr-muted)}
.xm-report-bar{overflow:hidden;position:relative;height:11px;border-radius:8px;background:var(--xm-surface-3,rgba(148,163,184,.14))}
.xm-report-bar span{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#2e90ed,#2ccbb6)}
.xm-report-bigfish-list{display:grid;gap:12px}
.xm-report-fish-record{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;border-bottom:1px solid var(--xrr-border);padding:0 0 12px}
.xm-report-fish-record:last-child{border:0;padding-bottom:0}
.xm-report-fish-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:var(--xm-surface-2,rgba(98,150,245,.11));color:var(--xrr-blue)}
.xm-report-fish-icon img{width:41px;height:41px;object-fit:contain}
.xm-report-fish-record>div:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}
.xm-report-fish-record strong{font-size:14px}
.xm-report-fish-record small{font-size:11px;color:var(--xrr-muted)}
.xm-report-fish-record>b{font-size:23px;white-space:nowrap;font-variant-numeric:tabular-nums}
.xm-report-fish-record>b small{font-size:12px}
.xm-report-stage-list{display:grid;gap:10px}
.xm-report-stage{display:grid;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid var(--xrr-border);border-radius:14px}
.xm-report-stage>b{width:35px;height:35px;display:grid;place-items:center;background:var(--xm-surface-3,rgba(148,163,184,.12));border-radius:10px}
.xm-report-stage div{display:flex;min-width:0;flex-direction:column;gap:5px}
.xm-report-stage strong{font-size:13px}
.xm-report-stage small{color:var(--xrr-muted);font-size:11px}
.xm-report-stage>span{border-radius:8px;background:var(--xm-surface-3,rgba(148,163,184,.12));padding:7px 9px;font-size:11px;white-space:nowrap}
.xm-report-clubs{display:grid;gap:0}
.xm-report-club-row{display:grid;grid-template-columns:30px minmax(0,1fr) 120px 170px;gap:16px;align-items:center;border-bottom:1px solid var(--xrr-border);padding:14px 7px}
.xm-report-club-row:last-child{border-bottom:0}
.xm-report-club-row>span{font-size:17px;font-weight:850}
.xm-report-club-row strong{font-size:14px}
.xm-report-club-row small{font-size:12px;color:var(--xrr-muted)}
.xm-report-club-row b{font-size:13px;text-align:right}
.xm-report-table-wrap{overflow-x:auto;width:100%;border:1px solid var(--xrr-border);border-radius:15px}
.xm-report-table{width:100%;border-collapse:collapse;font-size:13px}
.xm-report-table th{font-weight:850;text-transform:uppercase;letter-spacing:.055em;font-size:10px;text-align:left;padding:16px 14px;background:var(--xm-surface-2,rgba(100,116,139,.13));color:var(--xrr-muted);white-space:nowrap}
.xm-report-table td{padding:15px 14px;border-top:1px solid var(--xrr-border);vertical-align:middle}
.xm-report-table td:nth-child(1){font-size:16px}
.xm-report-table td:nth-child(4),.xm-report-table td:nth-child(5),.xm-report-table td:nth-child(6){font-variant-numeric:tabular-nums;white-space:nowrap}
.xm-report-table td:nth-child(3) strong{display:block;font-weight:800}
.xm-report-table td:nth-child(3) small{display:block;color:var(--xrr-muted);font-size:11px;margin-top:4px}
.xm-report-table tbody tr:hover{background:var(--xm-surface-2,rgba(148,163,184,.08))}
.xm-report-pdf-link{border:1px solid var(--xrr-border);border-radius:10px;padding:9px 12px;font-size:12px;font-weight:750;color:var(--xrr-blue)!important}
.xm-report-finish{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--xrr-muted);font-size:11px;padding:12px 6px}
.xm-report-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;min-height:50vh;padding:35px 14px}
.xm-report-state h2{margin:0;font-size:22px}
.xm-report-state p{margin:0;color:var(--xrr-muted)}
.xm-report-loader{display:block;width:38px;height:38px;border:3px solid var(--xrr-border);border-top-color:var(--xrr-blue);border-radius:50%;animation:xrr-spin .8s linear infinite}
@keyframes xrr-spin{to{transform:rotate(360deg)}}
@media(max-width:1000px){.xm-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.xm-report-two-col{grid-template-columns:1fr}}
@media(max-width:720px){.xm-report-topbar{align-items:flex-start;gap:15px;flex-direction:column;padding:15px}.xm-report-brand{max-width:146px}.xm-report-controls{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px}.xm-report-controls a{grid-column:1/-1}.xm-report-controls a,.xm-report-controls button{font-size:11px;padding:9px 7px}.xm-report-body{padding:18px 12px 50px;gap:14px}.xm-report-hero{padding:25px 19px;border-radius:18px;align-items:flex-start}.xm-report-hero-side{min-width:65px}.xm-report-hero-side strong{font-size:37px}.xm-report-hero-side span{font-size:8px;white-space:normal}.xm-report-overline{font-size:9px;letter-spacing:.09em}.xm-report-hero h1{font-size:24px}.xm-report-hero-details{font-size:12px}.xm-report-kpis{gap:9px}.xm-report-kpi{min-height:128px;padding:17px 14px;border-radius:14px}.xm-report-kpi>span{font-size:9px}.xm-report-kpi>strong{font-size:29px}.xm-report-kpi>small{font-size:10px}.xm-report-panel{padding:19px 14px;border-radius:17px}.xm-report-panel-title{margin-bottom:18px}.xm-report-club-row{grid-template-columns:28px minmax(0,1fr) auto;gap:9px}.xm-report-club-row small{display:none}.xm-report-stage{grid-template-columns:30px minmax(0,1fr)}.xm-report-stage>span{grid-column:2;justify-self:start}.xm-report-stage>b{width:30px;height:30px}.xm-report-podium-item{gap:9px;padding:12px;grid-template-columns:34px minmax(0,1fr) auto}.xm-report-podium-item b{font-size:12px}.xm-report-place{width:32px;height:32px;font-size:15px}}
@media print{@page{size:A4 portrait;margin:12mm}.xm-report-page{background:#fff!important;color:#101827!important;min-height:0;font-size:11px;--xrr-surface:#fff;--xrr-border:#d9dee6;--xrr-text:#101827;--xrr-muted:#566277;--xrr-blue:#2666a8}.xm-report-no-print{display:none!important}.xm-report-body{width:100%;max-width:100%;padding:0;gap:12px}.xm-report-hero{background:#153d5c!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;color:white!important;box-shadow:none;border-radius:12px;min-height:125px;padding:20px}.xm-report-hero h1{font-size:25px}.xm-report-kpis{grid-template-columns:repeat(4,1fr);gap:8px}.xm-report-kpi{min-height:88px;padding:12px;border-radius:9px}.xm-report-kpi>strong{font-size:25px}.xm-report-kpi>span{font-size:8px}.xm-report-kpi>small{font-size:9px}.xm-report-two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.xm-report-panel{padding:15px;border-radius:10px;break-inside:avoid}.xm-report-panel-title{margin-bottom:13px}.xm-report-panel-title h2{font-size:17px}.xm-report-panel-title span{font-size:9px}.xm-report-fish-icon{width:33px;height:33px}.xm-report-fish-icon img{max-width:28px;max-height:28px}.xm-report-fish-record{grid-template-columns:33px minmax(0,1fr) auto}.xm-report-table-wrap{overflow:visible}.xm-report-table{font-size:10px}.xm-report-table th,.xm-report-table td{padding:7px 8px}.xm-report-table tbody tr{break-inside:avoid}.xm-report-finish{font-size:9px}}
