:root{font:100%/1.5 "Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#123342;background:#f4f7f9;--ink:#123342;--line:#d3dfe4;--secondary:#45616e;--red:#b4273e}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:.2em}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #0081ae;outline-offset:3px}.wrap{width:min(1140px,calc(100% - 64px));margin:auto}header{background:var(--ink);color:white;border-bottom:4px solid #a52b43}.mast,.brand,.titleline,.switch,.sectionhead,.search,footer,.cardrow,.fixture,.herohead,.herobottom,.clubrow{display:flex;align-items:center}.mast,.titleline,.sectionhead,footer,.fixture,.herohead,.herobottom,.clubrow{justify-content:space-between}.mast{min-height:64px}.brand{gap:11px;font-size:1.25rem;text-decoration:none;font-weight:450;letter-spacing:-.04em}.brand b{font-weight:800}.ball{height:28px;width:28px;border-radius:100%;border:2px solid #fff;display:block;position:relative;overflow:hidden;transform:rotate(-30deg)}.ball:before,.ball:after{content:"";position:absolute;border:2px solid #fff;border-radius:40%;width:21px;height:24px;left:-13px;top:-3px}.ball:after{left:13px;top:5px}.preview{font-size:.8125rem;letter-spacing:.04em;color:#ebf3f7;border:1px solid #758e99;border-radius:5px;padding:.17rem .6rem}.path{margin:26px 0 5px;color:var(--secondary);font-size:.875rem}.path a{text-decoration:none}.path span{padding:0 10px;color:#78919d}.titleline{gap:16px;margin:0 0 25px;flex-wrap:wrap}h1,h2,h3,p{margin:0}h1,h2,.team,.score{line-height:1.06;letter-spacing:-.052em}h1{font-size:clamp(2.4rem,5.3vw,4.2rem);font-weight:790}.switch{padding:4px;border:1px solid #c6d5dc;border-radius:10px;background:#e6eef2}.switch button{border:0;background:transparent;color:#345360;font-weight:700;padding:.57rem 1.1rem;border-radius:7px}.switch button[aria-pressed=true]{background:#153a4d;color:white;box-shadow:0 2px 4px #17344222}.topgrid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr);gap:18px}.hero,.panel,.roster{border-radius:15px}.hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#102e40,#174d65);color:white;padding:24px 30px;min-height:264px;display:flex;flex-direction:column;justify-content:space-between;gap:20px}.court{position:absolute;z-index:-1;width:360px;height:610px;border:2px solid #ffffff20;right:-184px;top:-165px;transform:rotate(36deg);background:linear-gradient(90deg,transparent 49.7%,#ffffff18 49.7% 50.3%,transparent 50.3%)}.court:after,.court:before{position:absolute;content:"";border:2px solid #ffffff24;width:78%;height:22%;left:11%;border-radius:0 0 120px 120px;top:-2px}.court:after{border-radius:120px 120px 0 0;top:auto;bottom:-2px}.eyebrow,.micro{font-weight:750;font-size:.775rem;letter-spacing:.12em;text-transform:uppercase}.herohead{gap:12px;flex-wrap:wrap}.herohead .eyebrow{display:flex;align-items:center;gap:9px}.herohead .eyebrow:before{content:"";display:block;width:22px;height:3px;background:#fa8c8d}.pill{font-size:.8125rem;padding:.15rem .55rem;border-radius:4px;background:#fff2;color:#fff}.team{display:flex;align-items:center;gap:14px;font-size:clamp(1.65rem,3.8vw,2.9rem);font-weight:780;margin:7px 0}.flag{display:inline-block;width:39px;text-align:center;font-size:1.65rem;line-height:1;letter-spacing:0}.herobottom{border-top:1px solid #ffffff40;padding-top:.7rem;gap:4px 14px;flex-wrap:wrap;font-size:.94rem}.panel,.roster{background:white;border:1px solid var(--line)}.panel{padding:24px;display:flex;flex-direction:column}.panel h2,.roster h2{font-size:1.7rem}.panel .eyebrow,.roster .eyebrow,dialog .eyebrow{color:#4c6470;margin-bottom:7px}.fixture{gap:10px;padding:15px 0;border-bottom:1px solid #e0e8ed}.fixture small,.cardrow small,.sub{color:var(--secondary);font-size:.875rem}.fixture .day{font-weight:700;display:block}.fixture .time{font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.source{font-size:.875rem;font-weight:650;color:#315c70;margin-top:auto;padding-top:13px}.roster{margin-top:22px;padding:24px}.sectionhead{gap:15px;flex-wrap:wrap;margin-bottom:20px}.search{gap:8px;border:1px solid #c4d2d9;border-radius:7px;padding:6px 10px;background:#f9fbfc;color:#476171}.search span{font-size:1.65rem;line-height:1}.search input{border:0;background:transparent;padding:4px;color:var(--ink);min-width:0;width:15em}.search[hidden]{display:none}.playersgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.cardrow{border:1px solid #d6e1e7;border-radius:8px;background:white;padding:12px;gap:11px;text-align:left;color:var(--ink);min-height:78px}.cardrow:hover{background:#eff5f8;border-color:#93acb8}.avatar{display:grid;place-items:center;width:38px;height:42px;border-radius:6px;background:#e6eef1;color:#2b5264;font-weight:750;flex:none}.keeper .avatar{background:#f4e8e9;color:#89344a}.cardrow strong,.cardrow small{display:block}.cardrow strong{line-height:1.25}.group{font-size:.9rem;color:var(--secondary);margin:19px 0 7px}.source a{font-weight:650}.archive{display:grid;gap:8px}.clubrow{gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding:13px 0}.result{display:inline-flex;align-items:center;gap:7px;font-weight:650}.loss{width:9px;height:9px;border-radius:100%;background:#b52c41}.empty{padding:15px;border-left:3px solid #b6cbd4;background:#f5f8fa}.score{font-size:2.45rem;font-weight:800}.sideinfo{margin-top:15px;font-size:1rem}.source a:hover,.path a:hover{text-decoration:underline}.roster .source{margin-top:15px}footer{padding:23px 0 32px;color:var(--secondary);font-size:.875rem}.search:focus-within{border-color:#0081ae}dialog{color:var(--ink);border:1px solid var(--line);border-radius:13px;width:min(430px,calc(100% - 36px));padding:27px;box-shadow:0 12px 60px #102c4240}dialog::backdrop{background:#0e263ab5}dialog h2{font-size:2rem;margin:12px 0 18px}dialog button{float:right;border:0;border-radius:6px;background:#ecf2f5;font-size:1.5rem;width:44px;height:44px;color:var(--ink)}dialog .clubrow{padding:9px 0}.detailname{max-width:90%}@media(max-width:850px){.playersgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.topgrid{grid-template-columns:1.25fr 1fr}.hero{padding:23px}.wrap{width:calc(100% - 36px)}}@media(max-width:650px){.wrap{width:calc(100% - 28px)}.mast{min-height:56px}.path{margin-top:17px}.titleline{margin-bottom:15px;gap:13px}.topgrid,.playersgrid{grid-template-columns:1fr}.topgrid{gap:12px}.switch{width:100%}.switch button{flex:1}.hero{min-height:235px;padding:20px}.team{font-size:2rem}.panel,.roster{padding:18px}.roster{margin-top:13px}.search,.search input{width:100%}.sectionhead{gap:12px}.cardrow{min-height:64px}.herohead{align-items:flex-start}.source{margin-top:5px}}

header{background:white;color:#123342;border-bottom:1px solid #c8d7df}.brand-logo{width:135px;height:auto;display:block}.handball-link{font-weight:700;text-underline-offset:4px;padding:9px 0}.path{display:flex;align-items:center;flex-wrap:wrap;gap:3px}.path a:hover{text-decoration:underline}

.saved-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.saved-controls button,.ystar{font:inherit;cursor:pointer;border:1px solid #c5d3d9;background:#fff;color:#123342;border-radius:6px;padding:.5rem .75rem}.saved-controls button[aria-pressed=true]{background:#123342;color:white}.ycard{position:relative;min-width:0}.ycard .cardrow{width:100%;height:100%;padding-right:48px}.ystar{position:absolute;right:5px;top:6px;width:40px;height:40px;font-size:1.55rem;padding:0;line-height:1}.ystar[aria-pressed=true]{color:#9c243e}.calendar-links{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0}.calendar-links a{display:inline-block;padding:6px 9px;background:#eaf1f5;border-radius:5px;color:#194563;font-size:.85rem;font-weight:700;text-decoration:none}.panel .fixture{border-bottom:0;padding-bottom:1px}.archive{margin:18px 0}.cardrow .avatar{font-size:.875rem}

.ycard .cardrow {
  border: 2px solid #9db5c4;
  border-radius: 10px;
  color: #f6faff;
  background: linear-gradient(120deg, #274d62, #13364b 48%, #102b3d);
  box-shadow: inset 0 0 0 1px #ffffff28, 0 2px 6px #12334218;
  overflow-wrap: anywhere;
}
.ycard .cardrow:hover { border-color: #6d8c9f; }
.ycard .cardrow small { color: #d3e2ea; }
.ycard .avatar {
  width: 42px;
  height: 48px;
  border: 1px solid #a8c0d0;
  background: linear-gradient(125deg, #afc6d6, #f5faff 37%, #aac4d5);
  color: #17394c;
  font-size: 1rem;
}
.ycard .keeper .avatar {
  border-color: #ddb5be;
  background: linear-gradient(125deg, #d5a9b2, #fff3f5 37%, #d8acb7);
  color: #66263b;
}
.topgrid > .hero {
  border: 2px solid #7797a9;
  box-shadow: inset 0 0 0 2px #ffffff1a;
}

.ycard .profile-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  border-radius: 10px;
  background: transparent;
}
.ycard .ystar { z-index: 2; }
.ycard a { position: relative; z-index: 2; display: inline-block; min-height: 24px; text-underline-offset: 3px; }
