/* Layout: sticky navy tab bar, gradient hero with poster, score strip, then panels. Khmer leads, English rides along as a caption. */
@font-face{font-family:"Keylanet Khmer";src:url("../fonts/NotoSansKhmer-Light.ttf") format("truetype");font-weight:300;font-style:normal;font-display:swap;unicode-range:U+1780-17FF,U+19E0-19FF,U+200B-200D,U+25CC}
@font-face{font-family:"Keylanet Khmer";src:url("../fonts/NotoSansKhmer-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;unicode-range:U+1780-17FF,U+19E0-19FF,U+200B-200D,U+25CC}
@font-face{font-family:"Keylanet Khmer";src:url("../fonts/NotoSansKhmer-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+1780-17FF,U+19E0-19FF,U+200B-200D,U+25CC}
@font-face{font-family:"Keylanet Khmer";src:url("../fonts/NotoSansKhmer-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+1780-17FF,U+19E0-19FF,U+200B-200D,U+25CC}
@font-face{font-family:"Keylanet Khmer";src:url("../fonts/NotoSansKhmer-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap;unicode-range:U+1780-17FF,U+19E0-19FF,U+200B-200D,U+25CC}
:root{
  --blue:#1437C8;--blue-2:#2A55F0;--deep:#12266B;--ink:#0E1E57;--accent:#F2540C;--accent-2:#FF7A3D;--accent-soft:#FFE6D9;--on-accent:#0B1437;
  --paper:#F3F5FB;--surface:#FFFFFF;--surface-2:#F8FAFF;--text:#0B1437;--head:#0B1437;--muted:#4A5368;--line:#DCE1F0;--line-2:#B9C4EA;--pale:#E8ECFB;--blue-ink:#1437C8;--accent-ink:#B93E00;--bad:#D7141A;--bad-ink:#B0101A;--run:#00964B;--run-ink:#00703A;--vb:#FCB131;--vb-ink:#8A5A00;
  --shadow-sm:0 1px 2px #0B143714,0 2px 8px #0B14370d;--shadow:0 10px 28px #0B143714;--radius:16px;
  --f-text:'Keylanet Khmer','Oswald','Segoe UI',system-ui,sans-serif;--f-display:'Bebas Neue','Kantumruy Pro','Oswald',sans-serif;--f-head:'Oswald','Kantumruy Pro','Segoe UI',system-ui,sans-serif;
}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --paper:#070D26;--surface:#101942;--surface-2:#0C1436;--text:#EEF1FB;--head:#FFFFFF;--muted:#AEB6D0;--line:#26305F;--line-2:#3A4680;--pale:#1A2666;--blue-ink:#9DB0FF;--accent-ink:#FF9A66;--bad-ink:#FF6B6B;--run-ink:#4ADE80;--vb-ink:#FCB131;--accent-soft:#3A1A08;color-scheme:dark}}
:root[data-theme="dark"]{
  --paper:#070D26;--surface:#101942;--surface-2:#0C1436;--text:#EEF1FB;--head:#FFFFFF;--muted:#AEB6D0;--line:#26305F;--line-2:#3A4680;--pale:#1A2666;--blue-ink:#9DB0FF;--accent-ink:#FF9A66;--bad-ink:#FF6B6B;--run-ink:#4ADE80;--vb-ink:#FCB131;--accent-soft:#3A1A08;color-scheme:dark}
*{box-sizing:border-box}
body{background:var(--paper);color:var(--text);font-family:var(--f-text);font-size:15.500px;line-height:1.6;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:25;background:var(--ink)}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit}
h1,h2,h3,p{margin:0}
.topbar,.button,.tabs a,.seg button,.admin-btn,.lang-btn,.sports-btn,.sports-menu,.eyebrow,.event-tag,.chip,.facts.sports a,.steps,.ev-top{font-family:var(--f-head)}
.section-head .eyebrow{display:none!important}
.cp-sp{border:0;margin:0;padding:0;display:grid;gap:6px}.cp-sp legend{padding:0;margin-bottom:6px}
.cp-sp-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cp-sp-o{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 6px;border:2px solid var(--line);border-radius:14px;cursor:pointer;text-align:center;line-height:1.25}
.cp-sp-o input{position:absolute;opacity:0;pointer-events:none}
.cp-sp-o svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cp-sp-o:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:2px}
.cp-sp-o.s-bad:has(input:checked){background:var(--bad);border-color:var(--bad);color:#fff}
.cp-sp-o.s-run:has(input:checked){background:var(--run);border-color:var(--run);color:#fff}
.cp-sp-o.s-vb:has(input:checked){background:var(--vb);border-color:var(--vb);color:#0B1437}
h1,h2,h3{font-family:var(--f-display);font-weight:400;letter-spacing:.01em;text-wrap:balance}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
.wrap{max-width:1280px;margin-inline:auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.en{font-family:'Keylanet Khmer','Oswald',sans-serif;font-size:.74em;font-weight:400;letter-spacing:.05em;text-transform:uppercase;opacity:.8}
.en.blk{display:block;margin-top:.15em}
.en-p{display:block;margin-top:.2em;font-family:'Keylanet Khmer','Oswald',sans-serif;font-size:.95em;opacity:.82}

/* top bar */
.topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--ink);color:#fff;border-bottom:3px solid var(--accent);box-shadow:0 6px 18px #0B143740}
.nav{min-height:66px;display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;padding-block:6px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;flex:none}
.brand-text{display:flex;flex-direction:column;line-height:1.2}
.brand-km{font-size:1.05rem;font-weight:500}
.brand-en{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-size:1rem;letter-spacing:.14em;color:var(--accent-2)}
.tabs{flex:1 1 320px;display:flex;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:none;justify-content:safe center}
.tabs a{display:flex;align-items:center;gap:8px;min-height:48px;padding:4px 14px 4px 10px;border-radius:14px;color:#fff;text-decoration:none;white-space:nowrap;line-height:1.25;flex:none}
.tabs a:hover{background:#ffffff1f}
.tabs a[aria-current="page"]{background:var(--accent);color:var(--on-accent)}
.tabs a[aria-current="page"] .en{opacity:1}
.tabs svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tab-text{display:flex;flex-direction:column}
.nav-right{display:flex;align-items:center;gap:8px;flex:none;margin-left:auto}
.who{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:#D5DCF7;border:1px solid #ffffff2e;border-radius:999px;padding:4px 14px;font-size:.9rem;white-space:nowrap;text-decoration:none;background:transparent}
.who i{width:8px;height:8px;border-radius:50%;background:#8FA0E6}
.who.ok i{background:#3ddc84;box-shadow:0 0 0 3px #3ddc8433}
.who.wait i{background:var(--accent)}
.who-i{display:none}
.sq-box{display:flex;align-items:center;gap:10px;margin-top:18px;max-width:640px;min-height:52px;padding:4px 16px;border-radius:14px;background:#fff;color:var(--navy,#0B1437);box-shadow:0 8px 24px #0B143740}.sq-box svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.sq-box input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:1.05rem;color:inherit;padding:10px 0}
.admin-btn.admin-ico{padding:0;width:42px;height:42px;justify-content:center;flex:none}
    .admin-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;border:1.5px solid #ffffff55;background:#ffffff14;color:#fff;border-radius:999px;padding:4px 16px;letter-spacing:.04em;white-space:nowrap}
.lang{position:relative;flex:none}
.lang-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;border:1.5px solid #ffffff55;background:#ffffff14;color:#fff;border-radius:999px;padding:4px 14px 4px 10px;white-space:nowrap}
.lang-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{background:#ffffff2e}
.lang-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:30;min-width:200px;display:grid;gap:2px;padding:6px;border-radius:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 32px #0B143755}
.lang-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:6px 12px;border:0;border-radius:10px;background:transparent;color:var(--text);text-align:left;white-space:nowrap}
.lang-menu button:hover{background:var(--pale)}
.lang-menu button[aria-checked="true"]{background:var(--blue);color:#fff}
@media (max-width:640px){.lang-btn>span,.who .en{display:none}.lang-btn{padding:4px 10px}.nav{gap:8px}.tabs{order:3;flex-basis:100%}.nav-right{flex-wrap:nowrap;gap:6px;min-width:0}.admin-btn .bt-l,.who-role{display:none}.admin-btn{padding:0;width:42px;height:42px;justify-content:center}.who{max-width:96px;overflow:hidden;text-overflow:ellipsis;padding:4px 10px}.brand{gap:8px}}
@media (max-width:360px){.brand-text{display:none}}
@media (max-width:480px){.nav{gap:6px}.brand{gap:6px}.nav-right{gap:5px}.who-n{display:none}.who-i{display:inline}.who{max-width:none;padding:4px 10px;gap:6px}.sports-btn .sp-l{display:none}.sports-btn{padding:4px 8px}.brand-km{font-size:.95rem}.brand-en{font-size:.9rem}}
.admin-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.admin-btn[aria-pressed="true"]{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}

/* hero */
.hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(ellipse at 85% 35%,#2A55F0 0%,#1437C8 32%,#12266B 72%,#0E1E57 100%)}
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background:radial-gradient(circle at 92% 50%,transparent 0 210px,#ffffff12 211px 213px,transparent 214px 300px,#ffffff0d 301px 303px,transparent 304px),repeating-linear-gradient(125deg,transparent 0 60px,#ffffff08 60px 62px)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,var(--accent) 0 33.3%,#fff 33.3% 66.6%,var(--blue-2) 66.6%)}
.hero-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,72px);padding-block:36px 46px}
.hero.slim .hero-inner{grid-template-columns:minmax(0,1fr);padding-block:26px 32px}
.event-tag{display:flex;flex-direction:column;align-items:flex-start;gap:2px;max-width:640px;padding:8px 16px 8px 14px;border-left:4px solid var(--accent);border-radius:0 12px 12px 0;background:linear-gradient(90deg,#0A17468c,#0A17461a)}
.event-tag-km{color:var(--accent-2);line-height:1.55}
.event-tag-en{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#D5DCF7;font-size:.84rem;letter-spacing:.08em;text-transform:uppercase}
.event-tag-en b{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:1.15em;letter-spacing:.1em;line-height:1;padding:3px 8px 1px;border-radius:6px;background:var(--accent);color:var(--on-accent)}
.hero h1{margin:16px 0 4px;font-size:clamp(2.1rem,4.6vw,3.7rem);line-height:1.35}
.hero h1 span{display:block;color:var(--accent-2)}
.hero.slim h1{font-size:clamp(1.7rem,3.4vw,2.6rem);margin-top:12px}
.hero-en{margin:0 0 12px;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-size:clamp(1.3rem,2.4vw,2rem);letter-spacing:.08em;opacity:.92;line-height:1.1}
.lede{color:#D5DCF7;max-width:580px;line-height:1.7;margin:0 0 18px}
.facts{list-style:none;padding:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:10px}
.facts li{display:flex;align-items:center;gap:10px;padding:8px 14px 8px 10px;border-radius:12px;background:#ffffff14;border:1px solid #ffffff26;line-height:1.3}
.facts svg{width:26px;height:26px;flex:none;fill:none;stroke:var(--accent-2);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.facts small{display:block;color:#B9C6F2;font-size:.74em;letter-spacing:.05em;text-transform:uppercase}
.facts.sports li{padding:0;background:none;border:0}
.facts.sports a{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 12px 8px 12px;border-radius:14px;text-decoration:none;line-height:1.3;border:1.5px solid #ffffff40;transition:transform .15s,box-shadow .15s}
.facts.sports a:hover{transform:translateY(-2px);box-shadow:0 8px 20px #02061a66}
.facts.sports .s-bad{background:var(--bad);color:#fff}
.facts.sports .s-run{background:var(--run);color:#fff}
.facts.sports .s-vb{background:var(--vb);color:#0B1437}
.facts.sports svg{width:30px;height:30px;stroke:currentColor}
.facts.sports small{color:inherit;opacity:.85}
.facts.sports i{font-style:normal;font-size:1.5rem;line-height:1;margin-left:4px}
.tabs a.t-bad[aria-current="page"]{background:var(--bad);color:#fff}
.tabs a.t-run[aria-current="page"]{background:var(--run);color:#0B1437}
.sp-bad{--accent:var(--bad);--on-accent:#fff;--sc:var(--bad);--sct:#fff;--sci:#A30F16;--scp:#FCE6E7}
.sp-run{--accent:var(--run);--on-accent:#fff;--sc:var(--run);--sct:#fff;--sci:#006B36;--scp:#E2F4EA}
.sp-vb{--accent:var(--vb);--on-accent:#0B1437;--sc:var(--vb);--sct:#0B1437;--sci:#8F5C00;--scp:#FEF3DD}
.sp .seg button[aria-pressed="true"]{background:var(--sc);color:var(--sct)}
.sp .chip.n{background:var(--sci);color:#fff;border-color:transparent}.sp .chip.b{background:var(--sc);color:var(--sct)}.sp .chip.s{background:var(--scp)}
.sp .rk{color:var(--sci)}.sp th{background:var(--scp)}
.sp .ladder div{background:var(--scp)}.sp .ladder .lv-ELITE{background:var(--sci);color:#fff}.sp .ladder .lv-PRO{background:var(--sc);color:var(--sct)}
.sp .hero::after{height:8px;background:linear-gradient(90deg,var(--sc) 0 60%,#fff 60% 80%,var(--blue-2) 80%)}
.sp .hero h1{color:#fff}
.hero h1 .sp-ic{width:1.5em;height:1.5em;border-radius:.36em;display:flex;align-items:center;justify-content:center;flex:none;background:var(--sc);color:var(--sct);box-shadow:0 6px 16px #02061a66}
.hero h1 .sp-ic svg{display:block;width:1em;height:1em}
.sports{position:relative;flex:none}
.sports-btn{display:flex;align-items:center;gap:8px;min-height:48px;padding:4px 12px 4px 10px;border:1.5px solid #ffffff55;border-radius:14px;background:#ffffff14;color:#fff;white-space:nowrap;line-height:1.25}
.sports-btn:hover,.sports-btn[aria-expanded="true"]{background:#ffffff2e}
.sports-btn svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sports-btn i{font-style:normal;font-size:.8em;opacity:.8}
.sports-menu{position:absolute;left:0;top:calc(100% + 8px);z-index:30;width:min(320px,calc(100vw - 32px));display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding:8px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 32px #0B143755}
.sports-menu a{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;color:var(--text);text-decoration:none;line-height:1.3}
.sports-menu a:hover,.sports-menu a[aria-current="page"]{background:var(--pale)}
.sports-menu .sm-ic{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.sports-menu svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sports-menu b{display:block;font-weight:600}
.sports-menu small{display:block;color:var(--muted);font-size:.82em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sports-menu .sm-t{min-width:0;flex:1}
@media (max-width:640px){.sports-menu{position:fixed;left:16px;right:16px;top:auto;width:auto;margin-top:8px}}
.sp-h{display:flex;align-items:center;gap:12px}
.sp-h svg{width:1.1em;height:1.1em;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.seg.sport button[aria-pressed="true"]{background:var(--sc);color:var(--sct)}
.steps{list-style:none;padding:0;margin:22px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:640px}
.steps li{position:relative;display:grid;gap:2px;padding:12px 14px 12px 18px;border-radius:14px;background:#0A17468c;border:1px solid #ffffff22;overflow:hidden}
.steps li::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--m,var(--accent))}
.steps .s2{--m:#fff}.steps .s3{--m:var(--blue-2)}
.steps b{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:1.6rem;line-height:1;color:var(--accent-2)}
.steps li{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.steps b{font-size:1rem;letter-spacing:.1em;line-height:1;padding:4px 10px 2px;border-radius:6px;background:var(--m,var(--accent));color:var(--mc,#fff)}
.steps .s2{--mc:var(--deep)}
.srow{display:flex;align-items:center;gap:10px;width:100%;line-height:1.35}
.steps svg{flex:none;width:28px;height:28px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.flag{width:24px;height:16px;border-radius:3px;flex:none;box-shadow:0 0 0 1px #0B143733}
.lm{display:inline-flex;align-items:center;gap:8px}
.steps small{display:block;font-size:.74em;letter-spacing:.06em;text-transform:uppercase;color:#B9C6F2}
.poster{margin:0;width:min(100%,360px);justify-self:end;padding:8px;background:#ffffff1a;border:1px solid #F2540C66;border-radius:22px;box-shadow:0 24px 60px #02061a99;transform:rotate(1.5deg);transition:transform .25s}
.poster:hover{transform:rotate(0)}
.poster a{display:flex;flex-direction:column;justify-content:space-between;gap:16px;aspect-ratio:1;border-radius:15px;padding:22px;text-decoration:none;color:#fff;background:radial-gradient(circle at 80% 18%,#ffffff22 0 60px,transparent 61px),radial-gradient(circle at 80% 18%,transparent 0 96px,#ffffff1a 97px 99px,transparent 100px),linear-gradient(160deg,#2A55F0,#1437C8 55%,#12266B)}
.poster strong{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:clamp(2rem,4vw,2.9rem);line-height:.98;letter-spacing:.03em}
.poster .tag{align-self:flex-start;background:var(--accent);color:#fff;border-radius:6px;padding:3px 12px;font-family:var(--f-text);font-weight:700;letter-spacing:.02em;line-height:1.5}
.poster figcaption{display:flex;justify-content:space-between;gap:8px;padding:8px 6px 2px;color:#E6ECFF;font-size:.88rem}

/* strip, sections, panels */
.score-strip{display:grid;grid-template-columns:repeat(4,1fr);background:var(--deep);color:#fff;border-radius:0 0 20px 20px;overflow:hidden;box-shadow:var(--shadow);border-top:4px solid var(--accent)}
.score-strip div{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 10px}
.score-strip div+div{border-left:1px solid #ffffff1f}
.score-strip strong{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:clamp(2.1rem,4vw,3rem);line-height:1;color:var(--accent-2)}
.score-strip span{color:#D5DCF7;line-height:1.3}
main{padding-bottom:40px}
main section{margin-top:34px}
.section-head{margin-bottom:16px}
.eyebrow{display:inline-block;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;letter-spacing:.1em;font-size:.98rem;color:var(--on-accent);background:var(--accent);border-radius:6px;padding:1px 10px;margin-bottom:6px}
.section-head h2{position:relative;padding-bottom:10px;font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.4;color:var(--head)}
.section-head h2::after{content:"";position:absolute;left:0;bottom:0;width:72px;height:5px;border-radius:5px;background:linear-gradient(90deg,var(--accent) 0 50%,var(--blue-2) 50%)}
.en-heading{margin:6px 0 8px;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-size:1.3rem;letter-spacing:.08em;color:var(--blue-ink);line-height:1.1}
.section-head p.d{color:var(--muted);max-width:820px;line-height:1.7}
.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}
.pad{padding:18px 20px}
.panel h3{font-size:1.4rem;line-height:1.4;color:var(--head)}
.panel h3 .en{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-size:.9em;letter-spacing:.08em;color:var(--blue-ink);opacity:1;margin-left:4px}
.verdict{color:var(--text);background:var(--pale);border-left:4px solid var(--blue-2);padding:12px 16px;border-radius:0 12px 12px 0;line-height:1.7}
.empty{padding:24px;border:1.5px dashed var(--line-2);border-radius:12px;text-align:center;color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:14px}
.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.between{justify-content:space-between}
.muted{color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.cols{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.cols>.c-main{flex:2 1 520px;min-width:0}
.cols>.c-side{flex:1 1 320px;min-width:0}

/* buttons, chips, forms */
.button{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;min-height:44px;padding:7px 18px;border:1.5px solid transparent;border-radius:999px;background:var(--blue);color:#fff;line-height:1.3;text-decoration:none;text-align:center}
.button:hover{filter:brightness(1.08)}
.button.primary{background:var(--accent);color:var(--on-accent);box-shadow:0 4px 14px #F2540C40}
.button.ghost{background:transparent;border-color:#ffffff80;color:#fff}
.button.outline{background:var(--surface);border-color:var(--line-2);color:var(--blue-ink)}
.text-button{border:0;background:transparent;color:var(--blue-ink);text-decoration:underline;text-underline-offset:3px;min-height:44px;padding:0 8px}
.chip{display:inline-flex;align-items:center;gap:4px;padding:2px 11px;border-radius:999px;font-size:.86rem;white-space:nowrap;border:1px solid transparent}
.chip.a{background:var(--accent);color:var(--on-accent)}
.chip.b{background:var(--blue);color:#fff}
.chip.n{background:var(--deep);color:#fff;border-color:#ffffff33}
.chip.s{background:var(--pale);color:var(--text)}
.chip.l{border-color:var(--line-2);color:var(--muted)}
.hero .chip.l{border-color:#ffffff73;color:#E3E9FB}
.seg{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.seg button{min-height:44px;padding:4px 16px;border:0;border-radius:12px;background:transparent;line-height:1.25}
.seg button[aria-pressed="true"]{background:var(--deep);color:#fff}
.seg.acc button[aria-pressed="true"]{background:var(--accent);color:var(--on-accent)}
.seg.acc button[data-v="bad"]{box-shadow:inset 0 -3px 0 var(--bad)}
.seg.acc button[data-v="run"]{box-shadow:inset 0 -3px 0 var(--run)}
.seg.acc button[data-v="vb"]{box-shadow:inset 0 -3px 0 var(--vb)}
.seg.acc button[data-v="bad"][aria-pressed="true"]{background:var(--bad);color:#fff}
.seg.acc button[data-v="run"][aria-pressed="true"]{background:var(--run);color:#fff}
.seg.acc button[data-v="vb"][aria-pressed="true"]{background:var(--vb);color:#0B1437}
label.f{display:flex;flex-direction:column;gap:5px}
input[type=text],input[type=date],input[type=time],input[type=number],select{height:46px;width:100%;padding:0 12px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--text)}
input[type=file]{max-width:100%;color:var(--muted)}
.opt{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface)}
.opt input{width:18px;height:18px;accent-color:var(--blue);flex:none}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
fieldset{border:0;padding:0;margin:0}
legend{padding:0;margin-bottom:6px}

/* cards */
.ev{display:flex;flex-direction:column}
.ev-top{padding:10px 18px;color:#fff;display:flex;justify-content:space-between;gap:8px;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;letter-spacing:.06em;font-size:1.05rem}
.ev-main{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}
.ev-body.ev-split{flex-direction:row;gap:14px;align-items:stretch}
@media (min-width:700px){.ev-wide{grid-column:span 2}}
.ev-poster{flex:0 0 40%;max-width:210px;align-self:center;border-radius:12px;overflow:hidden;box-shadow:0 6px 16px #0B143733;border:1px solid var(--line)}
.ev-poster{aspect-ratio:1}
.ev-poster img{display:block;width:100%;height:100%;object-fit:cover}
.ev-name{color:inherit;text-decoration:none}
.ev-name:hover{text-decoration:underline}
.vb-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:18px}
.vb-score{display:flex;align-items:center;gap:6px;padding:8px 10px;border-top:1px solid var(--line)}
.vb-score input{width:54px;height:38px;text-align:center;padding:0 4px;border:1.5px solid var(--line-2);border-radius:8px;background:var(--surface);color:var(--text)}
.vb-score .button{min-height:38px;padding:4px 12px;margin-left:auto}
.ev-top{align-items:center}
.ev-sp{display:inline-flex;align-items:center;gap:8px}
.ev-top svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ev-top.bad{background:var(--bad)}.ev-top.run{background:var(--run)}.ev-top.vb{background:var(--vb);color:#0B1437}
.ev-body{padding:16px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.meet{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:16px 18px}
.mt-date{gap:2px;width:76px;height:84px}
.mt-ic svg,.hd-badge svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mt-date b{font-family:var(--f-display);font-size:1.8rem;line-height:1;font-weight:400}
.mt-date span:last-child{font-family:var(--f-head);font-size:.74rem;letter-spacing:.08em}
.mt-body{gap:4px;flex:1 1 260px;min-width:0}
.mt-body h3{margin:0}
.mt-sp{font-family:var(--f-head);font-size:.86rem;letter-spacing:.02em}
.mt-meta{display:flex;flex-wrap:wrap;gap:6px}
.mt-side{gap:8px;align-items:flex-end;flex:0 1 auto;margin-left:auto}
.mt-count{font-family:var(--f-head)}
.mt-act{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.mt-del{color:var(--bad-ink)}
.mt-run{display:none}
.chip.g{background:#12a150;color:#fff}
.hd-ic{position:relative;flex:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid #ffffff40;color:#fff;text-decoration:none}
.hd-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hd-ic b,.tabbar b,.mylink b{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:.68rem;line-height:18px;text-align:center;font-weight:700}
.hd-ic b{position:absolute;top:-5px;right:-5px}
.only-m{display:none}
.tabbar{display:none}.mp-btn{text-decoration:none}.mp-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mp-btn[aria-current="page"]{background:var(--accent);border-color:var(--accent)}
.nrow{display:flex;gap:12px;align-items:center;padding:12px 14px;color:inherit;text-decoration:none}
.nrow.new{border-left:5px solid var(--accent)}
.nrow-i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--pale);color:var(--blue)}
.nrow-i svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nrow-b{display:grid;gap:2px;flex:1;min-width:0;overflow-wrap:anywhere}
.ndot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--accent)}
.mylinks{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:8px}
.mylink{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;color:inherit;text-decoration:none;font-family:var(--f-head)}
.mylink:hover{border-color:var(--blue-2)}
.mylink svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mylink b{margin-left:auto}
.sq-tabs{margin:0 0 4px}
.cl-when{margin:0;padding:10px 12px 12px;border:1px solid var(--line);border-radius:12px}
.cl-when legend{padding:0 6px;font-size:.9rem;font-weight:700;color:var(--navy)}
.cl-when-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);gap:10px}
@media(max-width:420px){.cl-when-row{grid-template-columns:1fr 1fr}.cl-when-row label:first-child{grid-column:1/-1}}
.ev-list{display:grid;gap:10px}
.ev-row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 14px}
.ev-thumb{display:grid;place-items:center;width:84px;height:84px;border-radius:14px;overflow:hidden;text-decoration:none}
.ev-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ev-thumb svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ev-row-b{display:grid;gap:4px;min-width:0}
.ev-row-b h3{margin:0;font-size:1.12rem;line-height:1.4}
.ev-row-b h3 a{color:inherit;text-decoration:none}
.ev-row-k{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.84rem}
.ev-row-sp{display:inline-flex;align-items:center;gap:5px;padding:1px 10px 1px 6px;border-radius:999px;font-family:var(--f-head);font-size:.8rem}
.ev-row-sp svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ev-row-m{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:.92rem;color:var(--text)}
.ev-row-m svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ev-row-m svg~svg{margin-left:6px}
.ev-row-badges{gap:6px}
.ev-row-badges:empty{display:none}
.ev-row-a{display:grid;gap:6px;justify-items:stretch;text-align:center;min-width:132px}
.ev-row-a .button{min-height:40px;padding:5px 16px}
.ev-row-a .row{justify-content:center;gap:10px}
@media(max-width:640px){.ev-row{grid-template-columns:64px minmax(0,1fr)}.ev-thumb{width:64px;height:64px;border-radius:12px;align-self:start}.ev-row-a{grid-column:1/-1;display:flex;flex-wrap:wrap;min-width:0}.ev-row-a .button{flex:1}}
.hm-notice{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:14px}
.hm-notice-b{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:10px 14px;border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.hm-notice-t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-notice.open .hm-notice-t{white-space:normal;overflow:visible}
.hm-notice form input{flex:1;min-width:0;min-height:40px;border:1px solid var(--line-2);border-radius:10px;padding:4px 12px;font:inherit;background:var(--surface);color:var(--text)}
.hm-tabs{margin-top:14px}
.club-b{flex:none;display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px}
.club-b svg{width:55%;height:55%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.club-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px}
.club-main{flex:1 1 220px;min-width:0;display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}
.club-n{display:grid;justify-items:center;min-width:64px}.club-n b{font-family:var(--f-head);font-size:1.15rem}.club-n small{font-size:.74rem;color:var(--muted)}
.club-strip{display:flex;gap:12px;overflow-x:auto;padding:4px 2px 10px}
.club-chip{flex:0 0 auto;display:grid;justify-items:center;gap:6px;width:96px;color:inherit;text-decoration:none;text-align:center;font-size:.84rem;line-height:1.3}
.club-mem{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.club-m{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border:1px solid var(--line);border-radius:999px;font-size:.9rem}
.club-m b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--pale);color:var(--blue);font-family:var(--f-head)}
.club-logo{overflow:hidden;background:#fff;border:1px solid var(--line)}.club-logo img{width:100%;height:100%;object-fit:cover;display:block}
.club-av{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--pale);color:var(--blue);font-family:var(--f-head)}
.club-sess{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 10px}
.club-sess-c{flex:0 0 min(240px,78vw);display:grid;gap:4px;padding:12px;color:inherit;text-decoration:none}.club-sess-c:hover{border-color:var(--blue-2)}
.club-up{cursor:pointer}
.cat-x{flex:none;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--muted);font-size:1.1rem;cursor:pointer}
form[data-form="club-edit"] textarea{width:100%;border:1px solid var(--line-2);border-radius:10px;padding:8px 10px;font:inherit;background:var(--surface);color:var(--text)}
form[data-form="club"] textarea{width:100%;border:1px solid var(--line-2);border-radius:10px;padding:8px 10px;font:inherit;background:var(--surface);color:var(--text)}
@media(max-width:900px){
.only-m{display:inline-grid}.mp-btn{display:none!important}
.topbar .tabs{display:none}
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:35;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--deep);border-top:3px solid var(--accent);padding-bottom:env(safe-area-inset-bottom,0px)}
.tabbar a{position:relative;display:grid;justify-items:center;gap:2px;padding:8px 2px 7px;color:#cfe2ff;text-decoration:none;font-size:.74rem;font-family:var(--f-head);text-align:center}
.tabbar svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tabbar a[aria-current="page"]{color:#fff}
.tabbar a[aria-current="page"] svg{stroke:var(--accent)}
.tabbar .en{display:none}
.tabbar b{position:absolute;top:4px;left:calc(50% + 6px)}
body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
body .ms-cta{bottom:calc(62px + env(safe-area-inset-bottom,0px))}
body .toast{bottom:calc(80px + env(safe-area-inset-bottom,0px))}
body .ms-cta~.toast{bottom:calc(150px + env(safe-area-inset-bottom,0px))}
}
.mctl{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.mreg{display:inline-flex;align-items:center;gap:8px;font-family:var(--f-head);font-size:.9rem}
.mreg select{min-height:40px;border:1px solid var(--line-2);border-radius:10px;padding:2px 10px;font:inherit;background:var(--surface);color:var(--text)}
.mstrip{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity}
.mds{flex:0 0 auto;display:grid;justify-items:center;gap:1px;min-width:66px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer;scroll-snap-align:start}
.mds span{font-size:.76rem;color:var(--muted)}.mds b{font-family:var(--f-head);font-size:1.05rem}.mds small{min-width:22px;padding:0 6px;border-radius:999px;background:var(--pale);font-size:.74rem;text-align:center}
.mds.we span,.mds.we b{color:#D7141A}.mds.none{opacity:.6}
.mds[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}.mds[aria-pressed="true"] span,.mds[aria-pressed="true"] b{color:#fff}.mds[aria-pressed="true"] small{background:var(--accent);color:var(--on-accent)}
.mday{margin:8px 0 0;font-size:1.05rem;font-family:var(--f-head);color:var(--blue)}.mday.today{color:var(--accent)}
.mrow{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 16px;color:inherit;text-decoration:none;transition:border-color .12s,transform .12s}
.mrow:hover{border-color:var(--blue-2);transform:translateY(-1px)}
.mrow-t{display:grid;justify-items:center;gap:2px;padding:8px 4px;border-radius:12px;background:var(--pale)}.mrow-t b{font-family:var(--f-head);font-size:1.25rem}.mrow-t small{font-size:.76rem;color:var(--muted)}
.mrow-b{display:grid;gap:4px;min-width:0}.mrow-b strong{font-size:1.05rem;overflow-wrap:anywhere}
.mrow-sp{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px}.mrow-sp svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mrow-s{display:grid;justify-items:end;gap:6px}.mrow-s b{font-family:var(--f-head);font-size:1.05rem}
.mrow.st-done,.mrow.st-closed{opacity:.6}
    /* ===== polish pass ===== */
    body{overflow-x:clip}
    /* sport tiles: depth gradient over the sport colour, with court / track line art on the bigger ones */
    .hd-badge,.mrow-sp,.ev-row-sp,.mt-date,.club-b:not(.club-logo),.ev-thumb:not(:has(img)){background-image:linear-gradient(145deg,#ffffff4d 0%,#ffffff00 42%,#050b2a66 100%)!important}
    .mt-date,.ev-thumb:not(:has(img)){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'120'%20height%3D'90'%20viewBox%3D'0%200%20120%2090'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-opacity%3D'.2'%20stroke-width%3D'2'%3E%3Crect%20x%3D'8'%20y%3D'8'%20width%3D'104'%20height%3D'74'%2F%3E%3Cpath%20d%3D'M60%208v74M8%2028h104M8%2062h104M34%2028v34M86%2028v34'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),linear-gradient(145deg,#ffffff4d 0%,#ffffff00 42%,#050b2a73 100%)!important;background-size:120px 90px,auto!important;background-position:center!important}
    .meet.m-run .mt-date,.ev-thumb.s-run:not(:has(img)){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-opacity%3D'.2'%20stroke-width%3D'2'%3E%3Crect%20x%3D'6'%20y%3D'6'%20width%3D'148'%20height%3D'88'%20rx%3D'44'%2F%3E%3Crect%20x%3D'18'%20y%3D'18'%20width%3D'124'%20height%3D'64'%20rx%3D'32'%2F%3E%3Crect%20x%3D'30'%20y%3D'30'%20width%3D'100'%20height%3D'40'%20rx%3D'20'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),linear-gradient(145deg,#ffffff4d 0%,#ffffff00 42%,#050b2a73 100%)!important;background-size:160px 100px,auto!important}
    .ev-thumb{box-shadow:0 6px 16px #0b143733}
    .hm-ev{padding-top:0}
    .hm-ev>.hm-ev-top{margin:0 -16px;padding:16px;color:var(--fg,#fff);background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'120'%20height%3D'90'%20viewBox%3D'0%200%20120%2090'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-opacity%3D'.2'%20stroke-width%3D'2'%3E%3Crect%20x%3D'8'%20y%3D'8'%20width%3D'104'%20height%3D'74'%2F%3E%3Cpath%20d%3D'M60%208v74M8%2028h104M8%2062h104M34%2028v34M86%2028v34'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),linear-gradient(145deg,color-mix(in srgb,var(--c,var(--blue)) 78%,#fff) 0%,var(--c,var(--blue)) 44%,color-mix(in srgb,var(--c,var(--blue)) 58%,#050b2a) 100%);background-size:120px 90px,auto;background-position:right -10px center,center}
    .hm-ev.s-run>.hm-ev-top{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-opacity%3D'.2'%20stroke-width%3D'2'%3E%3Crect%20x%3D'6'%20y%3D'6'%20width%3D'148'%20height%3D'88'%20rx%3D'44'%2F%3E%3Crect%20x%3D'18'%20y%3D'18'%20width%3D'124'%20height%3D'64'%20rx%3D'32'%2F%3E%3Crect%20x%3D'30'%20y%3D'30'%20width%3D'100'%20height%3D'40'%20rx%3D'20'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),linear-gradient(145deg,color-mix(in srgb,var(--c) 78%,#fff) 0%,var(--c) 44%,color-mix(in srgb,var(--c) 58%,#050b2a) 100%);background-size:160px 100px,auto}
    .hm-ev>.hm-ev-top .mt-sp{color:inherit!important;opacity:.92}
    .hm-ev>.hm-ev-top h3,.hm-ev>.hm-ev-top h3 a{color:inherit}
    .hm-ev>.hm-ev-top .muted{color:inherit;opacity:.86}
    .hm-ev>.hm-ev-top .hd-badge{background:#ffffff33!important;background-image:none!important;color:inherit!important;box-shadow:inset 0 0 0 1px #ffffff66}
    /* accents + hover lift */
    .ev-row,.club-row{border-left:5px solid var(--c,var(--blue))}
    .meet.m-bad{border-top:4px solid var(--bad)}.meet.m-run{border-top:4px solid var(--run)}.meet.m-vb{border-top:4px solid var(--vb)}
    .hm-ev,.ev-row,.club-row,.hm-res,.hm-rk,.meet,.mrow,.hm-q,.club-chip{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
    .hm-ev:hover,.ev-row:hover,.club-row:hover,.hm-res:hover,.hm-rk:hover,.meet:hover,.hm-q:hover{transform:translateY(-4px);box-shadow:0 16px 34px #0b14372e}
    .mrow:hover{transform:translateY(-2px);box-shadow:0 10px 24px #0b143724}
    @media (prefers-reduced-motion:reduce){.hm-ev,.ev-row,.club-row,.hm-res,.hm-rk,.meet,.mrow,.hm-q{transition:none}.hm-ev:hover,.ev-row:hover,.club-row:hover,.hm-res:hover,.hm-rk:hover,.meet:hover,.hm-q:hover,.mrow:hover{transform:none}}
    /* section rhythm: tinted meet-up band, dark scoreboard band */
    .hm-tint,.hm-board{margin-inline:calc(50% - 50vw);padding-inline:calc(50vw - 50%)}
    .hm-tint{padding-block:26px 30px;background:linear-gradient(180deg,#eaf0ff 0%,#f4f7ff 100%);border-block:1px solid #dbe4fb}
    .hm-board{margin-top:34px;padding-block:8px 38px;color:#fff;background:radial-gradient(ellipse at 82% 0%,#2446d8 0%,#12266B 42%,#0B1437 100%);border-top:5px solid var(--accent);position:relative}
    .hm-board::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background-image:linear-gradient(#ffffff0d 1px,transparent 1px),linear-gradient(90deg,#ffffff0d 1px,transparent 1px);background-size:44px 44px}
    .hm-board>section{position:relative}
    .hm-board .section-head h2{color:#fff}.hm-board .en-heading,.hm-board .section-head .d{color:#c5d1f5}
    .hm-board .panel{background:#ffffff14;border-color:#ffffff2e;color:#fff;box-shadow:none}
    .hm-board .panel:hover{background:#ffffff1f;border-color:#ffffff59;box-shadow:0 16px 34px #00000059}
    .hm-board .muted,.hm-board small{color:#c5d1f5}
    .hm-board .hm-rk li{border-color:#ffffff24}
    .hm-board .hm-val,.hm-board .rk{color:#fff}
    .hm-board .hm-val{font-family:'Bebas Neue',sans-serif;font-size:1.25rem;letter-spacing:.04em}
    .hm-board .text-button{color:#ffd0b8}
    .hm-board .hm-res b{color:#fff}
    .hm-board .hm-row-t small{color:#dbe4ff;opacity:1}
    /* hero showcase */
    .hm-show{width:min(100%,400px);transform:rotate(1.2deg)}
    .hm-show:hover{transform:rotate(0)}
    .hm-slides{display:grid}
    .poster .hm-slide{grid-area:1/1;aspect-ratio:1/1.02;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'120'%20height%3D'90'%20viewBox%3D'0%200%20120%2090'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-opacity%3D'.1'%20stroke-width%3D'2'%3E%3Crect%20x%3D'8'%20y%3D'8'%20width%3D'104'%20height%3D'74'%2F%3E%3Cpath%20d%3D'M60%208v74M8%2028h104M8%2062h104M34%2028v34M86%2028v34'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),radial-gradient(circle at 82% 16%,#ffffff40 0 70px,transparent 71px),linear-gradient(145deg,color-mix(in srgb,var(--c) 80%,#fff) 0%,var(--c) 38%,#12266B 78%,#0B1437 100%);background-size:180px 135px,auto,auto}
    .poster .hm-slide.s-run{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Cg%20fill%3D'none'%20stroke%3D'%23fff'%20stroke-opacity%3D'.1'%20stroke-width%3D'2'%3E%3Crect%20x%3D'6'%20y%3D'6'%20width%3D'148'%20height%3D'88'%20rx%3D'44'%2F%3E%3Crect%20x%3D'18'%20y%3D'18'%20width%3D'124'%20height%3D'64'%20rx%3D'32'%2F%3E%3Crect%20x%3D'30'%20y%3D'30'%20width%3D'100'%20height%3D'40'%20rx%3D'20'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"),radial-gradient(circle at 82% 16%,#ffffff40 0 70px,transparent 71px),linear-gradient(145deg,color-mix(in srgb,var(--c) 80%,#fff) 0%,var(--c) 38%,#12266B 78%,#0B1437 100%);background-size:240px 150px,auto,auto}
    .poster .hm-slide.has-img{background-size:cover;background-position:center}
    .poster .hm-slide.is-on{opacity:1;visibility:visible}
    .hm-slide-b{display:grid;gap:6px}
    .hm-slide strong{font-size:clamp(1.7rem,3vw,2.4rem);text-shadow:0 2px 12px #050b2a99}
    .hm-slide-m{font-size:.95rem;color:#E6ECFF}
    .hm-slide-c{gap:6px;flex-wrap:wrap}
    .hm-dots{display:flex;justify-content:center;gap:8px;padding:10px 0 2px}
    .hm-dots button{position:relative;width:10px;height:10px;padding:0;border-radius:999px;border:0;background:#ffffff59;cursor:pointer;transition:width .2s,background .2s}
    .hm-dots button[aria-selected="true"]{width:28px;background:var(--accent)}
    .hm-dots button::after{content:"";position:absolute;inset:-15px -4px}   /* bigger tap area, same look */
    .poster .hm-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px 4px 2px}
    .hm-stats span{display:grid;justify-items:center;gap:0;padding:6px 4px;border-radius:12px;background:#070D2659;font-size:.78rem;color:#E6ECFF;text-align:center;line-height:1.3}
    .hm-stats b{font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:1.7rem;line-height:1;color:#fff}
    @media(max-width:860px){.hm-show{margin-top:22px;transform:none;width:min(100%,440px)}.poster .hm-slide{aspect-ratio:16/11}}
    /* Khmer + English mode: chips, date pills and compact card buttons stay single-language */
    .chip .en,.chip .en-x,.chip .en-p,.mds .en,.mds .en-x,.mrow-kind .en,.mrow-kind .en-x,.mt-sp .en-x,.hm-ev .button .en,.ev-row .button .en,.club-row .button .en,.meet .button .en,.hm-row .button .en,.ro-row .button .en,.text-button .en,.hm-stats .en,.hd-pool-b .en-x,.hd2-court header .en-x{display:none}
    .mrow{border-left:6px solid var(--sp,var(--blue))}
    .mrow .mrow-t{background:color-mix(in srgb,var(--sp,var(--blue)) 12%,#fff)}
    .mrow .mrow-t b{color:var(--sp-ink,var(--navy))}
    .mrow .mrow-sp{width:34px;height:34px;border-radius:10px}.mrow .mrow-sp svg{width:22px;height:22px}
    .mrow-kind{font-family:var(--f-head);font-size:.86rem;font-weight:700;color:var(--sp-ink,var(--navy));letter-spacing:.02em}
    .mrow:hover{border-color:var(--sp,var(--blue-2))}
    .mt-map{display:grid;gap:8px}
    .mt-map-h{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
    .mt-map-h b{color:var(--navy)}
    .mt-map-info{font-size:.9rem;color:var(--muted)}.mt-map-info b{font-family:'Oswald',sans-serif;font-size:1.05rem;color:var(--run-ink,#00703A)}
    .mt-map-svg{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:14px;background:#eef2fb;touch-action:manipulation}
    #mt-map-svg{cursor:crosshair}
    .mt-map-acts{gap:8px;align-items:center}.mt-map-acts .button{min-height:36px;padding:2px 12px;font-size:.9rem}.mt-map-acts small{flex:1;min-width:160px}
    .mt-map-view{margin-bottom:14px}.mt-map-view .mt-map-svg{max-width:680px}
.mcal-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.mcal-h strong{font-family:var(--f-head);font-size:1.15rem}.mcal-h .button{min-height:38px;padding:2px 14px}
.mcal-g{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.mcal-w{margin-bottom:4px;font-size:.76rem;color:var(--muted);text-align:center}.mcal-w .we{color:#D7141A}
.mcal-d{position:relative;display:grid;place-items:center;aspect-ratio:1/1;min-height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}
.mcal-d.we span{color:#D7141A}.mcal-d.past{opacity:.5}.mcal-d.today{border-color:var(--accent);border-width:2px}
.mcal-d b{position:absolute;right:3px;top:3px;min-width:18px;padding:0 4px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:.68rem;line-height:1.5}
.mcal-d[aria-pressed="true"]{background:var(--blue);border-color:var(--blue);color:#fff}.mcal-d[aria-pressed="true"] span{color:#fff}
.mt-more{border:1px solid var(--line);border-radius:12px;padding:8px 12px}.mt-more summary{cursor:pointer;font-family:var(--f-head)}.mt-more[open] summary{margin-bottom:10px}
.mt-more textarea{width:100%;border:1px solid var(--line-2);border-radius:10px;padding:8px 10px;font:inherit;background:var(--surface);color:var(--text)}
.ms{padding-bottom:96px}
.ms-over{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px}
.ms-card{display:flex;gap:12px;align-items:flex-start;padding:14px}.ms-card>svg{flex:none;width:26px;height:26px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ms-k{font-size:.8rem;color:var(--muted);font-family:var(--f-head);letter-spacing:.02em}
.ms-fee{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:12px}.ms-big{font-family:var(--f-head);font-size:1.4rem}
.ms-tabs{margin:16px 0 12px}
.ms-notice{border-left:5px solid var(--accent)}.ms-notice p{margin:6px 0}.ms-notice form input,.ms-posts+form input,form[data-form="meet-post"] input{flex:1;min-width:0;min-height:42px;border:1px solid var(--line-2);border-radius:10px;padding:4px 12px;font:inherit;background:var(--surface);color:var(--text)}
.ms-kvs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;margin:8px 0 0}
.ms-kv{padding:8px 12px;border:1px solid var(--line);border-radius:12px}.ms-kv dt{font-size:.8rem;color:var(--muted)}.ms-kv dd{margin:0;font-weight:600}
.ms-org{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.ms-posts{list-style:none;margin:0;padding:0;display:grid;gap:8px}.ms-posts li{padding:10px 12px;border:1px solid var(--line);border-radius:12px}.ms-posts li small{margin-left:8px}.ms-posts p{margin:4px 0 0;overflow-wrap:anywhere}
.ms-share{min-height:34px;padding:2px 12px}
.ms-cta{position:fixed;left:0;right:0;bottom:0;z-index:30;background:var(--surface);border-top:3px solid var(--accent);box-shadow:0 -8px 24px #0B143726;padding-bottom:env(safe-area-inset-bottom,0px)}
.ms-cta-in{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding-top:10px;padding-bottom:10px}
.ms-cta-t{display:grid;min-width:0}.ms-cta-t small{color:var(--muted)}
.ms-guest{display:inline-flex;align-items:center;gap:6px;font-family:var(--f-head)}.ms-guest .button{min-height:38px;min-width:38px;padding:0 10px}
.ms-join{min-width:160px}
.ms-teams{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px}
.ms-team{padding:10px 12px;border:1px solid var(--line);border-top:5px solid var(--tc);border-radius:12px}
.ms-team b{font-family:var(--f-head)}.ms-team ol{margin:6px 0 0;padding-left:20px;display:grid;gap:4px}
.ms-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:8px}
.ms-photos figure{position:relative;margin:0;border-radius:12px;overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:var(--pale)}
.ms-photos img{width:100%;height:100%;object-fit:cover;display:block}.ms-photos .cat-x{position:absolute;top:6px;right:6px}
#ms-k,#mv-pick{min-height:40px;border:1px solid var(--line-2);border-radius:10px;padding:2px 10px;font:inherit;background:var(--surface);color:var(--text)}
.ms-cta~.toast{bottom:calc(92px + env(safe-area-inset-bottom,0px))}
.ms~footer{padding-bottom:96px}
@media(max-width:640px){.mrow{grid-template-columns:62px minmax(0,1fr);}.mrow-s{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}.ms-cta-t{display:none}.ms-cta-in{justify-content:center}}
.mt-form:has(input[name="mt-sport"][value="run"]:checked) .mt-run{display:grid}
.mt-form:has(input[name="mt-sport"][value="run"]:checked) .mt-court{display:none}
.hd-badge{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:12px;flex:none}
.hd-badge svg{width:26px;height:26px}
.hd-top{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.hd-head,.ro-head{display:flex;gap:12px;align-items:center;min-width:0}
.hd-head h3,.ro-head h3{margin:0;font-size:1.4rem}
.hd-hint{margin:8px 0 0}
    @media(max-width:1320px){.tabs{gap:2px;justify-content:flex-start}.tabs a{padding:4px 10px 4px 8px;gap:6px}}
    .pg-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
    .pg-head .section-head{flex:1;min-width:200px;margin-bottom:0}
    .pg-new{flex:none;font-weight:700}
    .pod{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:1.25rem;line-height:1;color:#3a2a00;background:radial-gradient(circle at 32% 28%,#fff6c9 0%,#f7c531 45%,#c98a00 100%);box-shadow:0 0 0 2px #fff,0 0 0 3px #d9a400,0 4px 10px #c98a0059}
    .pod-2{color:#2b3340;background:radial-gradient(circle at 32% 28%,#ffffff 0%,#cfd6e2 45%,#8c97a8 100%);box-shadow:0 0 0 2px #fff,0 0 0 3px #a3adbd,0 4px 10px #8c97a859}
    .pod-3{color:#3d1f08;background:radial-gradient(circle at 32% 28%,#ffe2c4 0%,#dd9457 45%,#a25a22 100%);box-shadow:0 0 0 2px #fff,0 0 0 3px #b8702f,0 4px 10px #a25a2259}
    tr.pod-row td{font-weight:700}
    tr.pod-r1 td{background:#fff8dc}tr.pod-r2 td{background:#f3f5f9}tr.pod-r3 td{background:#fdf1e6}
    .clf-bar{margin-top:16px}.clf-n{margin-left:auto;font-family:'Oswald',sans-serif}
    section>.clf-bar:first-child{margin-top:0}
    .club-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(440px,100%),1fr));gap:12px;margin-top:18px}
    .pg-form{max-width:760px;margin-inline:auto}
    .cl-logo{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
    .cl-logo-prev{width:64px;height:64px;border-radius:16px;background:var(--pale);color:var(--blue);display:grid;place-items:center;overflow:hidden;flex:none;border:1px solid var(--line)}
    .cl-logo-prev img{width:100%;height:100%;object-fit:cover;display:block}
    .cl-logo-prev svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
    .mctl-top{justify-content:space-between}
    .mctl-sub{padding:8px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);gap:8px 14px}
    .mctl-sub .seg button{min-height:36px;padding-block:2px}
    .mctl-sub .mreg select{min-height:36px}
    .mctl-host{margin-left:auto}
    .av-stack{display:inline-flex;align-items:center;padding-left:8px}
    .av{display:inline-grid;place-items:center;width:28px;height:28px;margin-left:-8px;border-radius:50%;border:2px solid #fff;background:var(--pale);color:var(--blue);font-family:var(--f-head);font-size:.8rem;font-weight:700;line-height:1}
    .av:nth-child(2){background:#ffe9dc;color:#b23c00}.av:nth-child(3){background:#dff3e6;color:#0b6b33}.av:nth-child(4){background:#efe6fb;color:#5a2ea6}
    .av.av-more{background:var(--navy);color:#fff;font-size:.75rem;font-family:'Oswald',sans-serif}
    .mrow-who{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
    .av-tier{font-size:.74rem;padding:0 8px}
    .ms-me{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;border-left:5px solid var(--accent)}
    .hd2 .hd-hint{margin-top:14px}
    .hd-leave{min-height:44px;font-weight:700}
    .hd-step{display:inline-flex;align-items:center;gap:8px;padding:4px 6px 4px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:700;color:var(--navy)}
    .hd-step .sq{width:36px;height:36px;border-radius:999px;font-size:20px;border:1px solid var(--line);background:#fff;color:var(--navy);cursor:pointer}
    .hd-step .sq.plus{background:var(--blue);border-color:var(--blue);color:#fff}
    .hd-step .sq:disabled{opacity:.4;cursor:default}
    .hd-step b{min-width:22px;text-align:center;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:1.5rem;line-height:1}
    .hd-cols{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.9fr);gap:16px;margin-top:16px;align-items:start}
    @media(max-width:1020px){.hd-cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.hd-cols>.hd-col:first-child{grid-column:1/-1}}
    @media(max-width:640px){.hd-cols{grid-template-columns:minmax(0,1fr)}}
    .hd-col{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:12px;min-width:0}
    .hd-col.hd-over{outline:3px dashed var(--blue);outline-offset:2px}
    .hd-col-h{display:flex;align-items:center;gap:8px;margin:2px 4px 10px;font-size:1.05rem;color:var(--navy)}
    .hd-col-h svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
    .hd-col-h span[lang="en"]{margin-left:auto;min-width:28px;padding:1px 9px;border-radius:999px;background:var(--navy);color:#fff;font-family:'Oswald',sans-serif;font-size:.85rem;text-align:center}
    .hd-col-b{display:grid;gap:10px}
    .hd2-court{background:var(--blue);color:#fff;border-radius:16px;border-top:5px solid var(--sp);padding:12px;display:grid;gap:8px}
    .hd2-court.is-empty{background:#fff;color:var(--navy);border:2px dashed var(--line);border-top:5px solid var(--sp)}
    .hd2-court.is-live{box-shadow:0 0 0 3px #d92d2055}
    .hd2-court.hd-over,.hd-block.hd-over{outline:3px dashed #F2540C;outline-offset:2px}
    .hd2-court header,.hd-block header{display:flex;align-items:center;gap:8px}
    .hd2-court header small{margin-left:auto;font-family:'Oswald',sans-serif;font-size:.78rem;opacity:.85}
    .hd-timer{font-family:'Bebas Neue',sans-serif;font-size:1.5rem;letter-spacing:.06em;line-height:1;padding:2px 10px 0;border-radius:8px;background:#070D2659;font-variant-numeric:tabular-nums}
    .hd2-court.is-empty .hd-timer{background:#eef2fb;color:#8a96b3}
    .hd2-court.is-live .hd-timer{background:#d92d20;color:#fff}
    .hd-side{display:flex;align-items:center;gap:8px;min-width:0}
    .hd-side-k{flex:none;width:52px;font-size:.78rem;opacity:.8}
    .hd-side-pl{flex:1;display:flex;flex-wrap:wrap;gap:6px;min-width:0}
    .hd-pl{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 6px 5px 10px;border-radius:10px;border:1px solid #ffffff3d;background:#070D2647;color:inherit;font:inherit;font-weight:600;cursor:pointer}
    .hd-block .hd-pl{border-color:var(--line);background:#f4f7fd;color:var(--navy)}
    .hd-nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .hd-lv{flex:none;padding:0 7px;border-radius:6px;font-family:'Oswald',sans-serif;font-size:.74rem;font-weight:600;line-height:1.7;background:#c9d2e6;color:#14245c}
    .hd-lv.lv-ELITE{background:#0B1437;color:#fff}.hd-lv.lv-PRO{background:#1437C8;color:#fff}.hd-lv.lv-A{background:#F2540C;color:#fff}.hd-lv.lv-B{background:#FCB131;color:#3a2500}
    .hd-lv.lv-C{background:#12a150;color:#fff}.hd-lv.lv-D{background:#7a8bb5;color:#fff}.hd-lv.lv-E{background:#dfe5f2;color:#14245c}
    .hd2-court .hd-lv{box-shadow:0 0 0 1px #ffffff55}
    .hd-slot{display:inline-grid;place-items:center;min-width:44px;height:32px;border-radius:10px;border:1px dashed currentColor;opacity:.45}
    .hd-vs{justify-self:center;font-family:'Oswald',sans-serif;font-size:.7rem;letter-spacing:.1em;opacity:.7}
    .hd-sc{flex:none;display:flex;align-items:center;gap:4px}
    .hd-sc .sq{width:32px;height:32px;border-radius:9px;font-size:18px;cursor:pointer}
    .hd-sc b{width:30px;text-align:center;font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:1.5rem;line-height:1}
    .hd-acts{display:flex;gap:8px;margin-top:2px}
    .hd-acts .button{flex:1;min-height:40px;padding:4px 10px}
    .hd2-court .hd-acts .button.outline{background:transparent;color:#fff;border-color:#ffffff8c}
    .hd2-court .hd-acts .button.primary{background:#12a150;border-color:#12a150;color:#fff}
    .hd-acts .hd-end{background:#F2540C;border-color:#F2540C;color:#fff}
    .hd-dropzone{margin:0;padding:16px 12px;border:2px dashed var(--line);border-radius:12px;text-align:center;color:var(--muted);font-size:.92rem}
    .hd2-court .hd-dropzone{border:0;padding:10px 4px}
    .hd-block{display:grid;gap:6px;padding:10px 12px;border:1px solid var(--line);border-left:5px solid var(--blue);border-radius:14px;background:#fff;color:var(--navy);cursor:grab}
    .hd-block.hd-dragging,.hd-pool-it.hd-dragging{opacity:.45}
    .hd-grip{color:#9aa6c4;letter-spacing:-2px}
    .hd-go{margin-left:auto;min-height:34px;padding:2px 12px;font-size:.9rem}
    .hd-x2{flex:none;width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--muted);font:inherit;cursor:pointer}
    .hd-pool{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:520px;overflow:auto}
    .hd-pool-it{cursor:grab}
    .hd-pool-b{display:flex;align-items:center;gap:8px;width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);font:inherit;font-weight:600;text-align:left;cursor:pointer}
    .hd-pool-b:hover{border-color:var(--blue)}
    .hd-pool-b small{margin-left:auto;flex:none;font-family:'Oswald',sans-serif;font-size:.74rem;font-weight:400;color:var(--muted)}
    .hd-add{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:8px;align-items:end;padding-top:10px;border-top:1px solid var(--line)}
    .hd-add .button{grid-column:1/-1;min-height:40px}
.hd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:14px;margin-top:14px}
.hd-court{max-width:none}
.hm-hero .hero-inner{display:block}
    @media(min-width:861px){.hm-hero .hero-inner{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center}}
.hm-head{max-width:760px}
.hm-search{margin-top:16px;padding-right:6px}
.hm-search .button{min-height:42px;padding:6px 18px;flex:none}
.hm-hero .facts.sports{margin-top:16px}
.hm-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:-26px;position:relative;z-index:2}
.hm-q{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:92px;padding:12px 8px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit;font-family:var(--f-head);text-align:center;text-decoration:none;cursor:pointer;box-shadow:var(--shadow-sm);transition:transform .12s,border-color .12s}
.hm-q:hover{transform:translateY(-2px);border-color:var(--blue-2)}
.hm-q svg{width:28px;height:28px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hm-q .en{display:block;font-size:.72rem;color:var(--muted)}
.hm-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.hm-sec-head .section-head{flex:1;min-width:0}
.hm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:14px}
.hm-grid.three{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.hm-ev{display:flex;flex-direction:column;gap:12px;padding:16px}
.hm-ev-top{display:flex;gap:12px;align-items:center;min-width:0}
.hm-ev h3{margin:0;font-size:1.15rem;line-height:1.35}
.hm-ev h3 a{color:inherit;text-decoration:none}
.hm-ev .button{align-self:flex-start}
.hm-list{padding:6px 14px}
.hm-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.hm-row:first-child{border-top:0}
.hm-row-t{flex:1 1 200px;min-width:0;display:flex;flex-direction:column;gap:2px}
.hm-row-t small{color:var(--muted);font-size:.86rem}
.hm-nudge{background:var(--accent-soft);margin:6px -14px;padding:12px 14px;border-radius:12px;border-top:0}
.hm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hm-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 10px;text-align:center}
.hm-step svg{width:30px;height:30px;fill:none;stroke:var(--blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hm-step-n{position:absolute;top:8px;left:10px;width:24px;height:24px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-family:var(--f-head);display:grid;place-items:center;font-size:.85rem}
.hm-scroll{display:flex;gap:14px;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x proximity}
.hm-scroll>.meet{flex:0 0 min(360px,86vw);scroll-snap-align:start;align-items:flex-start}
.hm-scroll .mt-side{align-items:flex-start;margin-left:0;width:100%}
.hm-scroll .mt-act{justify-content:flex-start}
.hm-res{display:flex;align-items:center;gap:12px;padding:12px 14px;color:inherit;text-decoration:none}
.hm-res:hover{border-color:var(--blue-2)}
.hm-rk{display:flex;flex-direction:column;gap:10px;padding:16px}
.hm-rk ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.hm-rk li{display:flex;align-items:center;gap:10px;padding:6px 0;border-top:1px solid var(--line)}
.hm-rk li span:nth-child(2){flex:1;min-width:0}
.hm-val{font-family:var(--f-head);color:var(--muted)}
.hm-host{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;padding:20px;border:2px solid var(--blue-2);background:var(--pale)}
.hm-host h3{margin:0}
@media(max-width:640px){.hm-quick{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-18px}.hm-steps{grid-template-columns:1fr}.hm-search .button{padding:6px 12px}}
.hd-x{border:0;background:#ffffff26;color:#fff;width:30px;height:30px;border-radius:8px;cursor:pointer;font:inherit}
.ro{width:min(580px,100%);max-height:calc(100vh - 32px);overflow:auto;position:relative}
.ro .au-x{position:absolute;top:10px;right:12px}
.ro-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ro-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.ro-row .rk{width:30px;text-align:center;font-family:var(--f-head)}
.ro-nm{flex:1 1 140px;min-width:0}
.ro-wait{background:var(--surface-2);color:var(--muted)}
.ro-ck{min-height:36px;padding:4px 12px}
.ro-sub{margin:6px 0 0;font-family:var(--f-head)}
.date{width:72px;height:72px;border-radius:14px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;line-height:1.1;font-size:.85rem}
.date b{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:1.9rem}
.bar{height:8px;width:130px;border-radius:99px;background:var(--line);overflow:hidden}
.bar i{display:block;height:100%;background:var(--blue-2)}
.ladder div{display:flex;gap:12px;align-items:center;padding:8px 14px;border-radius:12px;margin-top:6px}
.ladder div{background:var(--pale)}.ladder .lv-ELITE{background:var(--deep);color:#fff}.ladder .lv-PRO{background:var(--blue);color:#fff}
.ladder b{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:1.3rem;width:46px}
.tscroll{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
th{text-align:left;font-weight:400;color:var(--muted);padding:8px 10px;font-size:.92rem;line-height:1.3;background:var(--surface-2)}
td{padding:11px 10px;border-top:1px solid var(--line)}
.n{text-align:right}
.rk{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-size:1.4rem;color:var(--blue-ink)}

/* bracket */
.bracket{display:grid;grid-template-columns:repeat(3,minmax(190px,1fr));gap:22px;min-width:640px}
.round{display:flex;flex-direction:column;justify-content:space-around;gap:12px}
.round>h4{margin:0;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;letter-spacing:.06em;font-size:1.05rem;color:var(--blue-ink)}
.match{border:1.5px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.match .mh{display:flex;justify-content:space-between;padding:3px 10px;background:var(--surface-2);color:var(--muted);font-size:.8rem;letter-spacing:.05em}
.slot{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:6px 10px;border:0;border-top:1px solid var(--line);background:transparent;text-align:left;color:var(--text)}
.slot.win{background:var(--accent-soft);box-shadow:inset 4px 0 0 var(--accent)}
.slot.tbd{color:var(--muted);font-style:italic}
.slot b{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;color:var(--accent-ink);letter-spacing:.08em}
button.slot:hover{background:var(--pale)}
.champ{display:grid;gap:2px;padding:14px 16px 14px 20px;border-radius:14px;background:var(--deep);color:#fff;position:relative;overflow:hidden}
.champ::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--accent)}
.champ strong{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:1.8rem;line-height:1.1}

/* host */
.court{background:var(--blue);color:#fff;border-radius:20px;padding:16px;max-width:460px;display:flex;flex-direction:column;gap:12px}
.team{background:#070D2647;border-radius:14px;padding:10px 12px;display:flex;align-items:center;gap:10px}
.team .nm{flex:1;min-width:0}
.team b{width:50px;text-align:center;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-weight:400;font-size:2.4rem;line-height:1}
.sq{width:48px;height:48px;border-radius:12px;font-size:24px;border:1px solid #8FA0E6;background:transparent;color:#fff}
.sq.plus{background:#fff;color:#0B1437;border-color:#fff}
.wl{display:flex;gap:10px;align-items:center;padding:10px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--muted)}
.wl.next{background:var(--pale);border-color:var(--blue-2);color:var(--text)}
.qbtn{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:62px;padding:10px 16px;border:0;border-top:1px solid var(--line);background:var(--surface);text-align:left}
.qbtn[aria-pressed="true"]{background:var(--pale);box-shadow:inset 4px 0 0 var(--blue-2)}
.ph{height:110px;border-radius:12px;background:var(--pale);border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center;text-align:center;padding:8px;color:var(--blue-ink)}
footer{margin-top:20px;background:var(--ink);color:#B9C6F2;border-top:3px solid var(--accent)}
footer .wrap.ft{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:28px;align-items:start;padding-block:34px 24px}
.ft h4{margin:0 0 12px;color:#fff;font-size:1rem}.ft ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.ft a,.ft-link{color:#B9C6F2;text-decoration:none;background:none;border:0;padding:0;font:inherit;cursor:pointer;text-align:left}.ft a:hover,.ft-link:hover{color:#fff;text-decoration:underline}.ft-soon{opacity:.6}
.ft-logo{display:flex;align-items:center;gap:10px;color:#fff;font-size:1.15rem}.ft-brand p{margin:12px 0 0;max-width:40ch;line-height:1.7}
footer .wrap.ft-bot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding-block:14px;border-top:1px solid #ffffff1f;font-size:.88em}
.tm h4{margin:8px 0 0;font-size:1rem}.tm-list{margin:0;padding-left:20px;display:grid;gap:6px;color:var(--muted)}
@media(max-width:860px){footer .wrap.ft{grid-template-columns:1fr 1fr}.ft-brand{grid-column:1/-1}}@media(max-width:460px){footer .wrap.ft{grid-template-columns:1fr 1fr;gap:22px 16px}.ft nav[aria-label="Support"]{grid-column:1/-1}}
footer .wrap{padding-block:22px;display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;justify-content:space-between}
.modal{position:fixed;inset:0;background:#070D26b3;display:flex;align-items:center;justify-content:center;padding:16px;z-index:38}
.modal .panel{width:100%;max-width:440px}
#vbt{position:fixed;inset:0;z-index:25;background:var(--paper)}
#vbt[hidden]{display:none}
#vbt iframe{display:block;width:100%;height:100%;border:0}
.auth{position:relative;gap:14px;max-height:calc(100vh - 32px);overflow-y:auto}
.cp-page{max-width:860px;margin:0 auto}
.cp-cats{display:none;margin:0;padding:16px;border:1.5px solid var(--line-2,#cbd5e1);border-radius:14px}
.auth:has(input[name="cp-sport"][value="vb"]:checked) .cp-cats-vb{display:grid;gap:10px}
.auth:has(input[name="cp-sport"][value="bad"]:checked) .cp-cats-bd{display:grid;gap:10px}
.auth:has(input[name="cp-sport"][value="run"]:checked) .cp-cats-run{display:grid;gap:10px}
.cp-cat-o b{font-family:Oswald,sans-serif;font-weight:600;letter-spacing:.03em}
.cp-cats legend{padding:0 6px;font-weight:700}
.cp-cat-row{display:grid;grid-template-columns:150px 1fr;gap:10px;align-items:center}
.cp-cat-lbl{font-weight:600;font-size:.92rem}
.cp-cat-opts{display:flex;flex-wrap:wrap;gap:8px}
.cp-cat-o{position:relative;cursor:pointer}
.cp-cat-o input{position:absolute;opacity:0;inset:0}
.cp-cat-o span{display:inline-flex;align-items:baseline;gap:6px;min-height:42px;padding:8px 14px;border:1.5px dashed #b8c4d6;border-radius:999px;font-size:.95rem}
.cp-cat-o small{font-size:.75rem;opacity:.75}
.cp-cat-o input:checked+span{border:1.5px solid var(--cp-on,#1437C8);background:var(--cp-on,#1437C8);color:#fff}
.cp-cat-o input:focus-visible+span{outline:2px solid #FCB131;outline-offset:2px}
.cp-cat-out{margin:2px 0 0;padding:10px 12px;border-radius:10px;background:rgba(20,55,200,.07);font-size:.92rem}
.cp-cat-code{display:inline-block;margin:2px 2px;padding:1px 8px;border-radius:6px;background:#1437C8;color:#fff;font-family:Oswald,sans-serif;font-size:.8rem;letter-spacing:.03em}
@media(max-width:640px){.cp-cat-row{grid-template-columns:1fr}}
.cp-page .auth{max-height:none;overflow:visible;padding:28px 32px;gap:18px}
.cp-page .au-brand{display:none}
.cp-page .au-go{justify-self:start;min-width:220px}
.cp-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;color:inherit;opacity:.85;text-decoration:none;font-weight:600}
.cp-back:hover{opacity:1;text-decoration:underline}
@media(max-width:640px){.cp-page .auth{padding:18px 16px}.cp-page .au-go{justify-self:stretch}}
.auth input{height:48px;width:100%;padding:0 12px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--text)}
.au-x{position:absolute;right:10px;top:8px;width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:1.6rem;line-height:1}
.au-x:hover{background:var(--pale)}
.au-brand{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding-top:4px}
.au-seg{display:grid;grid-template-columns:1fr 1fr;width:100%}
.au-seg button[aria-pressed="true"]{background:var(--blue);color:#fff}
.pw{position:relative;display:block}
.pw input{padding-right:84px}
.pw button{position:absolute;right:6px;top:50%;transform:translateY(-50%)}
.au-go{width:100%;min-height:50px;justify-content:center}
.au-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 16px}
.au-reg{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:14px;border-top:1px solid var(--line)}
.au-err{margin:0;padding:10px 12px;border-radius:10px;background:var(--accent-soft);color:var(--accent-ink);border-left:4px solid var(--accent)}
.au-note{font-size:.86em}
.au-seg{grid-template-columns:1fr 1fr!important}
.au-soc{display:grid;gap:8px}.au-sbtn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:6px 14px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--surface);color:var(--text);font:inherit;font-weight:600;cursor:pointer}.au-sbtn:hover{border-color:#2AABEE}
.au-or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.86em}.au-or::before,.au-or::after{content:"";flex:1;height:1px;background:var(--line)}
.au-hint{display:block;font-weight:400;font-size:.82em;color:var(--muted);margin-top:4px}
.au-steps{display:grid;gap:8px}.au-steps p{margin:0;display:flex;gap:8px;align-items:center}.au-steps b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2AABEE;color:#fff;font-size:.85em}
.au-tg{background:#2AABEE!important;border-color:#2AABEE!important;color:#fff!important;justify-content:center;text-align:center}
.au-otp{font-family:'Bebas Neue',monospace;font-size:1.8rem!important;letter-spacing:.4em;text-align:center}
.au-sim{display:grid;gap:8px;padding:12px 14px;border-radius:12px;border:1.5px dashed #2AABEE;background:#2AABEE14}.au-code{font-family:'Bebas Neue',monospace;font-size:2rem;letter-spacing:.3em;color:var(--blue-ink);line-height:1}
.ro-priv{display:block;font-size:.82em;color:var(--muted);font-weight:400;margin-top:2px}.chip svg{width:14px;height:14px;vertical-align:-2px}
.sh{width:min(640px,100%)}.sh h4{margin:6px 0 0;font-size:1rem}
.sh-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.sh-b{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:6px 10px;border-radius:12px;border:1.5px solid var(--line-2);background:var(--surface);color:var(--text);font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.sh-b.tg{background:#2AABEE;border-color:#2AABEE;color:#fff}.sh-b.fb{background:#1877F2;border-color:#1877F2;color:#fff}
.sh-poster{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:center}.sh-poster canvas{width:150px;height:auto;border-radius:10px;border:1px solid var(--line)}
.sh textarea{width:100%;min-height:170px;padding:10px 12px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:.92em;line-height:1.6}
.sh-qr{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.sh-qr svg{border:1px solid var(--line);border-radius:10px;flex:none}.sh-url{flex:1 1 180px;word-break:break-all;font-size:.82em;color:var(--muted)}
.sh-q{width:100%;height:44px;padding:0 12px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}
.sh-list{list-style:none;margin:0;padding:0;max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:10px}.sh-list li{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 10px;border-top:1px solid var(--line)}.sh-list li:first-child{border-top:0}.sh-list .ro-nm{flex:1 1 100px}
.sh-ban{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;border-left:5px solid var(--accent)}.sh-inv{padding-inline:16px}
.who-role{font-size:.78em;padding:1px 7px;border-radius:999px;background:var(--vb);color:#0B1437;margin-left:4px}
.au-id{margin:0;text-align:center;font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-size:2.6rem;letter-spacing:.08em;color:var(--blue-ink)}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(20px + env(safe-area-inset-bottom,0px));background:var(--deep);color:#fff;border:1.5px solid var(--accent);padding:10px 20px;border-radius:999px;z-index:40;max-width:calc(100% - 32px);text-align:center}
@media (max-width:860px){.hero-inner{grid-template-columns:minmax(0,1fr)}.poster{justify-self:start}.score-strip{grid-template-columns:repeat(2,1fr)}.score-strip div:nth-child(3){border-left:0}.steps{grid-template-columns:minmax(0,1fr)}.tabs{order:3;flex-basis:100%;justify-content:flex-start}}
@media (prefers-reduced-motion:reduce){.poster{transition:none}}

/* sport page transition: the sport's object flies in, hits, and a wave in the sport colour covers the screen */
.hit-fx{position:fixed;inset:0;z-index:60;overflow:hidden;pointer-events:none;visibility:hidden}
.hit-fx.play{visibility:visible}
.hit-wave{position:absolute;left:0;top:0;width:var(--wave);height:var(--wave);margin:calc(var(--wave) / -2) 0 0 calc(var(--wave) / -2);border-radius:50%;transform:translate(var(--hx),var(--hy)) scale(0);will-change:transform,opacity}
.hit-wave.w1{background:#1437C8}
.hit-wave.w2{background:var(--fxc)}
.play .hit-wave.w1{animation:hit-wave .58s .43s both}
.play .hit-wave.w2{animation:hit-wave .56s .48s both}
.hit-ring{position:absolute;left:0;top:0;width:160px;height:160px;margin:-80px 0 0 -80px;border-radius:50%;border:6px solid #fff;opacity:0;transform:translate(var(--hx),var(--hy)) scale(.2)}
.play .hit-ring{animation:hit-ring .42s cubic-bezier(.2,.7,.3,1) .45s forwards}
.hit-obj{position:absolute;left:0;top:0;width:96px;height:96px;margin:-48px 0 0 -48px;opacity:0;will-change:transform,opacity;filter:drop-shadow(0 0 2px #0B1437) drop-shadow(0 10px 16px #02102a80)}
.hit-obj svg{display:block;width:100%;height:100%}
.hit-obj.ghost{filter:none}
.fx-vb.play .hit-obj{animation:fx-ball 1s both}
.fx-bad.play .hit-obj{animation:fx-shuttle 1s both}
.fx-run.play .hit-obj{animation:fx-run 1s both}
.fx-kn.play .hit-obj{animation:fx-kn 1s both}
.fx-kn .hit-obj{filter:drop-shadow(0 10px 18px #02102a99)}
@keyframes fx-kn{
  0%{opacity:var(--ghost,1);transform:translate(calc(var(--hx) - 54vw),calc(var(--hy) - 58vh)) rotate(-28deg) scale(1.9);animation-timing-function:cubic-bezier(.5,0,.9,.5)}
  46%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) rotate(0deg) scale(1.15);animation-timing-function:ease-out}
  52%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) rotate(0deg) scale(1.5,.8)}
  62%,100%{opacity:0;transform:translate(var(--hx),var(--hy)) rotate(0deg) scale(2.1)}}
.play .hit-obj.g1{animation-delay:.05s;--ghost:.35}
.play .hit-obj.g2{animation-delay:.1s;--ghost:.16}
.hit-label{position:absolute;left:0;right:0;top:var(--hy);display:flex;flex-direction:column;align-items:center;gap:4px;transform:translateY(-50%);opacity:0;color:var(--fxt);text-align:center}
.hit-label b{font-family:var(--f-display);font-weight:400;font-size:clamp(2.4rem,7vw,4.4rem);line-height:1.3}
.hit-label small{font-family:'Bebas Neue','Kantumruy Pro',sans-serif;font-size:clamp(1.1rem,2.6vw,1.6rem);letter-spacing:.3em;opacity:.85}
.play .hit-label{animation:hit-label .5s .58s both}
@keyframes fx-ball{
  0%{opacity:var(--ghost,1);transform:translate(calc(var(--hx) - 52vw),calc(var(--hy) - 58vh)) rotate(-30deg) scale(1.6);animation-timing-function:cubic-bezier(.55,0,.85,.45)}
  46%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) rotate(620deg) scale(1);animation-timing-function:ease-out}
  52%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) rotate(640deg) scale(1.35,.66)}
  62%,100%{opacity:0;transform:translate(var(--hx),var(--hy)) rotate(660deg) scale(1.8)}}
@keyframes fx-shuttle{
  0%{opacity:var(--ghost,1);transform:translate(calc(var(--hx) - 54vw),calc(var(--hy) - 60vh)) rotate(-42deg) scale(1.7);animation-timing-function:cubic-bezier(.5,0,.9,.5)}
  46%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) rotate(-42deg) scale(1);animation-timing-function:ease-out}
  52%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) rotate(-42deg) scale(1.3,.7)}
  62%,100%{opacity:0;transform:translate(var(--hx),var(--hy)) rotate(-42deg) scale(1.8)}}
@keyframes fx-run{
  0%{opacity:var(--ghost,1);transform:translate(calc(var(--hx) - 62vw),var(--hy)) skewX(-14deg) scale(1.5);animation-timing-function:cubic-bezier(.3,0,.6,1)}
  12%{transform:translate(calc(var(--hx) - 46vw),calc(var(--hy) - 10px)) skewX(-14deg) scale(1.5)}
  24%{transform:translate(calc(var(--hx) - 31vw),var(--hy)) skewX(-14deg) scale(1.5)}
  36%{transform:translate(calc(var(--hx) - 15vw),calc(var(--hy) - 10px)) skewX(-14deg) scale(1.5)}
  46%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) skewX(-6deg) scale(1.5)}
  52%{opacity:var(--ghost,1);transform:translate(var(--hx),var(--hy)) scale(1.9)}
  62%,100%{opacity:0;transform:translate(var(--hx),var(--hy)) scale(2.4)}}
@keyframes hit-wave{
  0%{opacity:1;transform:translate(var(--hx),var(--hy)) scale(0);animation-timing-function:cubic-bezier(.2,.7,.3,1)}
  42%{opacity:1;transform:translate(var(--hx),var(--hy)) scale(1)}
  62%{opacity:1;transform:translate(var(--hx),var(--hy)) scale(1);animation-timing-function:ease-in}
  100%{opacity:0;transform:translate(var(--hx),var(--hy)) scale(1.04)}}
@keyframes hit-ring{0%{opacity:.95;transform:translate(var(--hx),var(--hy)) scale(.2)}100%{opacity:0;transform:translate(var(--hx),var(--hy)) scale(3.2)}}
@keyframes hit-label{0%{opacity:0;transform:translateY(-50%) scale(.92)}25%,60%{opacity:1;transform:translateY(-50%) scale(1)}100%{opacity:0;transform:translateY(-50%) scale(1.04)}}
.view-enter .hero,.view-enter main{animation:view-in .45s cubic-bezier(.2,.7,.3,1) both}
@keyframes view-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.hit-fx{display:none}.view-enter .hero,.view-enter main{animation:none}}

/* ---------- phone fixes ---------- */
@media (max-width:640px){
  /* iOS Safari zooms the page when a focused field is under 16px */
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{font-size:16px!important}
  .au-otp{font-size:1.8rem!important}
  /* footer links: comfortable thumb targets */
  .ft ul{gap:0}
  .ft a,.ft-link{display:inline-block;padding:9px 0}
}
@media (max-width:480px){
  /* keep the header on one row */
  .nav{gap:4px}
  .nav-right{gap:4px}
  .hd-ic,.lang-btn{width:38px;height:38px;min-height:38px;padding:0;justify-content:center}
  .who{min-height:38px;padding:4px 8px}
  .sports-btn{padding:4px 6px;gap:4px}
}

/* signup: live username check */
.au-hint.ok{color:var(--run-ink);font-weight:600}
.au-hint.bad{color:var(--bad-ink);font-weight:600}

/* home page main heading keeps the tagline look */
h1.event-tag{font-size:1rem;font-weight:400;margin:0}
/* phone header: the signed-in member shows as an avatar circle, not a lone letter in a pill */
@media (max-width:480px){
  .who{width:38px;height:38px;min-height:38px;max-width:none;padding:0;justify-content:center;position:relative;background:var(--accent);border-color:transparent;color:var(--on-accent);font-weight:700;overflow:visible}
  .who i{position:absolute;right:-2px;bottom:-2px;width:11px;height:11px;border:2px solid var(--deep);background:#8FA0E6}
  .who.ok i{background:#22C55E}.who.wait i{background:#FCB131}
}


/* ---------- calm pass (Nov 2026): flat surfaces, one accent colour, less decoration ---------- */
.hero{background:var(--blue)}
.hero::before{display:none}
.hero::after{height:0}
.topbar{box-shadow:none}
.event-tag{padding:0;border-left:0;border-radius:0;background:none}
.button.primary{box-shadow:none}
.hm-ev:hover,.ev-row:hover,.club-row:hover,.hm-res:hover,.hm-rk:hover,.meet:hover,.hm-q:hover,.mrow:hover{transform:none;box-shadow:var(--shadow-sm);border-color:var(--line-2)}
.hm-tint{background:var(--surface-2);border-color:var(--line)}

/* home v3 */
.hx-hero .hero-inner{display:block;padding-block:30px 30px}
.hx-hero h1{margin:0 0 6px;font-size:clamp(1.8rem,4.4vw,2.9rem);line-height:1.3;color:#fff}
.hx-sub{margin:0 0 20px;max-width:46ch;color:#E3E9FB;font-size:1.05rem}
.hx-cta{display:flex;flex-wrap:wrap;gap:10px}
.hx-cta .button{min-height:52px;padding:10px 24px;font-size:1.05rem}
.hx-cta .hx-alt{background:transparent;color:#fff;border-color:#ffffff99}
.hx-cta .hx-alt:hover{background:#ffffff1f}
.hx-link{display:inline-block;margin-top:12px;min-height:44px;padding:10px 0;border:0;background:none;color:#fff;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.hx-sports{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.hx-sports a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 16px 6px 12px;border-radius:999px;border:1px solid #ffffff59;color:#fff;text-decoration:none;font-family:var(--f-head)}
.hx-sports a:hover{background:#ffffff1f}
.hx-sports svg,.hx-ic svg,.hx-more svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hx-main>section{margin-top:28px}
.hx-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.hx-h h2{margin:0;font-size:1.3rem;line-height:1.4}
.hx-list{padding:2px 16px}
.hx-row{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 0;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.hx-row:first-child{border-top:0}
.hx-row:hover b{color:var(--blue-ink)}
.hx-ic{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--pale)}
.hx-t{flex:1;min-width:0;display:grid;gap:2px}
.hx-t b{overflow-wrap:anywhere;line-height:1.4}
.hx-t small{color:var(--muted);font-size:.88rem;line-height:1.45}
.hx-n{flex:none;color:var(--muted);font-size:.88rem;white-space:nowrap}
.hx-row>i{flex:none;font-style:normal;font-size:1.4rem;line-height:1;color:var(--muted)}
.hx-none{margin:0;padding:16px 0}
.hx-ask{padding:18px}
.hx-ask h2{margin:0 0 12px;font-size:1.2rem;line-height:1.4}
.hx-ask-b{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hx-ask-b button{display:grid;gap:4px;align-content:center;justify-items:start;min-height:80px;padding:14px 16px;border:1.5px solid var(--line-2);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.hx-ask-b button:hover{border-color:var(--blue-2)}
.hx-ask-b b{font-family:var(--f-head);font-size:1.08rem}
.hx-ask-b small{color:var(--muted);line-height:1.45}
.hx-more{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.hx-more a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 16px 6px 12px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface);color:var(--text);text-decoration:none;font-family:var(--f-head)}
.hx-more a:hover{border-color:var(--blue-2)}
@media(max-width:520px){.hx-cta .button{flex:1 1 100%}.hx-ask-b{grid-template-columns:minmax(0,1fr)}.hx-row .chip{display:none}}

/* list and detail pages: filters behind one button, one main action per card */
.flt-btn{min-height:44px;padding:6px 16px}
.flt-btn b{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:.78rem}
.flt-more{margin-top:10px}
.flt-foot{margin:6px 0 0}
.mrow .chip.io{display:none}
.ev-row-a .text-button{min-height:40px}
.hx-back{display:inline-flex;align-items:center;min-height:36px;margin-bottom:2px;color:#fff;opacity:.92;text-decoration:none;font-family:var(--f-head)}
.hx-back:hover{text-decoration:underline}
.ev-wanted{margin-top:20px}
@media(max-width:860px){.cols>.c-side{order:-1;flex-basis:100%}}
@media(max-width:640px){
  .ms-over{gap:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}
  .ms-over .ms-card{border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;background:none}
  .ms-over .ms-card:first-child{border-top:0}
}

/* ---------- community tab ---------- */
.cm{max-width:680px;margin-inline:auto}
.cm-top{margin-bottom:14px}
.cm-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:4px 18px;border-radius:12px;color:var(--text);text-decoration:none;font-family:var(--f-head);line-height:1.25}
.cm-tabs a[aria-selected="true"]{background:var(--deep);color:#fff}
.cm svg,.cm-open svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cm-open{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;color:var(--muted);font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.cm-open span{flex:1;min-width:0}
.cm-open:hover{border-color:var(--blue-2)}
.cm-av{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--pale);color:var(--blue-ink);font-family:var(--f-head);font-weight:700}
.cm-form{display:grid;gap:10px;padding:14px}
.cm-form textarea,.cm-form select,.cm-cf input{width:100%;min-width:0;border:1px solid var(--line-2);border-radius:12px;padding:10px 12px;font:inherit;font-size:16px;background:var(--surface);color:var(--text)}
.cm-form textarea{resize:vertical;min-height:84px}
.cm-form select{min-height:44px}
.cm-sp{justify-self:start}
.cm-thumbs{display:flex;flex-wrap:wrap;gap:8px}
.cm-thumbs span{position:relative;width:76px;height:76px;border-radius:12px;overflow:hidden;background:var(--pale)}
.cm-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.cm-thumbs button{position:absolute;top:2px;right:2px;width:28px;height:28px;border:0;border-radius:50%;background:#0B1437cc;color:#fff;cursor:pointer;line-height:1}
.cm-fa{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.cm-fa-r{display:flex;align-items:center;gap:8px;margin-left:auto}
.cm-add{cursor:pointer}.cm-add.is-off{opacity:.5;pointer-events:none}
.cm-filter{margin:14px 0}
.cm-post{margin-top:12px;padding:0;overflow:hidden}
.cm-post.is-hidden{opacity:.6}
.cm-ph{display:flex;align-items:center;gap:10px;padding:12px 14px 8px}
.cm-who{display:grid;min-width:0;line-height:1.35}
.cm-who b{overflow-wrap:anywhere}
.cm-who small{color:var(--muted);font-size:.84rem}
.cm-body{margin:0;padding:0 14px 10px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.cm-photos{display:grid;gap:2px;background:var(--line)}
.cm-photos.n2,.cm-photos.n3,.cm-photos.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
.cm-photos a{display:block;background:var(--pale)}
.cm-photos img{display:block;width:100%;height:100%;max-height:520px;object-fit:cover}
.cm-photos.n2 img,.cm-photos.n3 img,.cm-photos.n4 img{aspect-ratio:1/1}
.cm-photos.n3 a:first-child{grid-column:1/-1}.cm-photos.n3 a:first-child img{aspect-ratio:2/1}
.cm-link{display:flex;align-items:center;gap:8px;margin:10px 14px 0;padding:8px 12px;border:1px solid var(--line);border-radius:12px;color:var(--text);text-decoration:none;font-size:.9rem}
.cm-link span{min-width:0;overflow-wrap:anywhere}
a.cm-link:hover{border-color:var(--blue-2)}
.cm-act{display:flex;align-items:center;gap:4px;padding:6px 8px}
.cm-b{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:4px 10px;border:0;border-radius:12px;background:none;color:var(--muted);font:inherit;cursor:pointer}
.cm-b:hover{background:var(--pale)}
.cm-b.on{color:var(--accent-ink)}.cm-b.on svg{fill:var(--accent);stroke:var(--accent)}
.cm-tools{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px;margin-left:auto}
.cm-t{min-height:36px;padding:2px 8px;border:0;background:none;color:var(--muted);font:inherit;font-size:.84rem;cursor:pointer;border-radius:8px}
.cm-t:hover{color:var(--text);background:var(--pale)}
.cm-cs{border-top:1px solid var(--line);padding:10px 14px 14px;display:grid;gap:6px}
.cm-c-b{overflow-wrap:anywhere;line-height:1.5}
.cm-c-m{display:flex;flex-wrap:wrap;align-items:center;gap:2px;color:var(--muted);font-size:.84rem}
.cm-replies{margin-left:14px;padding-left:12px;border-left:2px solid var(--line-2);display:grid;gap:6px}
.cm-cf{display:grid;gap:6px;margin-top:6px}
.cm-cf-r{display:flex;gap:8px}
.cm-cf-r input{flex:1;min-height:44px}
.cm-rp{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.86rem}
.cm-note{margin:6px 0}
.cm-more{display:flex;justify-content:center;margin-top:16px}


/* ---------- home polish: hero showcase, sport strip, community preview, notice wrapping ---------- */
.hm-notice-t{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.5}
.hm-notice-b{align-items:flex-start}
.hx-hero .hm-show{display:none}
@media(min-width:900px){
  .hx-hero .hero-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,56px);align-items:center;padding-block:34px}
  .hx-hero .hm-show{display:block;justify-self:end;width:min(100%,420px);margin:0;padding:8px;transform:none;background:#ffffff14;border:1px solid #ffffff4d;border-radius:18px;box-shadow:none}
  .hx-hero .hm-show:hover{transform:none}
  .hx-hero .poster .hm-slide{aspect-ratio:16/11;border-radius:12px}
  .hx-hero .hm-slide strong{font-size:clamp(1.3rem,2vw,1.7rem);line-height:1.25}
  .hx-hero .hm-stats span{background:#0B143766}
}
.hx-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.hx-sp{display:flex;align-items:center;gap:12px;min-height:78px;padding:12px 14px;border-radius:16px;background:var(--c);color:var(--fg);text-decoration:none}
.hx-sp svg{width:30px;height:30px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hx-sp-t{display:grid;min-width:0;line-height:1.35}
.hx-sp b{font-family:var(--f-head);font-size:1.12rem;overflow-wrap:anywhere}
.hx-sp small{font-size:.8rem;opacity:.92}
.hx-sp>i{margin-left:auto;font-style:normal;font-size:1.5rem;line-height:1}
.hx-sp:hover{filter:brightness(1.06)}
.hx-cm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hx-cmc{display:flex;flex-direction:column;overflow:hidden;padding:0;color:inherit;text-decoration:none}
.hx-cmc img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--pale)}
.hx-cmc-b{display:grid;gap:6px;padding:10px 12px 12px;min-width:0}
.hx-cmc-w{display:flex;align-items:center;gap:8px;min-width:0}
.hx-cmc-w .cm-av{width:30px;height:30px;font-size:.9rem}
.hx-cmc-w b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hx-cmc-w small,.hx-cmc-m{color:var(--muted);font-size:.82rem;white-space:nowrap}
.hx-cmc-p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.5}
.hx-cmc:hover{border-color:var(--blue-2)}
@media(max-width:640px){
  .hx-strip{gap:8px}
  .hx-sp{flex-direction:column;align-items:flex-start;gap:6px;min-height:0;padding:10px}
  .hx-sp>i{display:none}.hx-sp svg{width:26px;height:26px}.hx-sp b{font-size:1rem}.hx-sp small{font-size:.74rem}
  .hx-cm{grid-template-columns:minmax(0,1fr)}
  .hx-cmc{flex-direction:row;align-items:stretch}
  .hx-cmc img{width:104px;aspect-ratio:1/1;flex:none}
  .hx-cmc-b{flex:1}
}


/* ---------- profile photos ---------- */
.av-img,.av-ini{flex:none;width:38px;height:38px;border-radius:50%}
.av-img{display:block;object-fit:cover;background:var(--pale)}
.av-ini{display:grid;place-items:center;background:var(--pale);color:var(--blue-ink);font-family:var(--f-head);font-weight:700;line-height:1}
.av-sm{width:28px;height:28px;font-size:.82rem}
.av-lg{width:88px;height:88px;font-size:2.2rem;border:3px solid #ffffff66}
img.av,img.cm-av,img.club-av{object-fit:cover}
.cm-c-b .av-sm{display:inline-grid;vertical-align:middle;margin-right:6px}
.cm-c-b img.av-sm{display:inline-block}
.who-img{flex:none;width:28px;height:28px;margin-left:-8px;border-radius:50%;object-fit:cover}
.ac-head{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ac-head-t{min-width:0}
.ac-head h1{margin:0}
.ac-photo{margin-top:8px;gap:6px}
.ac-photo label{cursor:pointer}
.ac-photo .is-off{opacity:.6;pointer-events:none}
.ac-photo .ac-rm{color:#fff}
@media (max-width:480px){.who .who-img{width:38px;height:38px;margin:0}}
