@property --match-angle {syntax:'<angle>';initial-value:0deg;inherits:false}
.week-matches{padding:48px 0;background:#f6f4f8;color:#242433}.match-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.match-heading h2{color:#242433;font-size:2rem;margin-bottom:8px}.match-heading p,.match-note{color:#646071}.match-cards{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px}.match-card{position:relative;isolation:isolate;overflow:hidden;flex:0 0 44%;min-width:300px;background:radial-gradient(ellipse at 100% 35%,#8f093eaa,transparent 65%),linear-gradient(120deg,#320c40,#171322 70%);border-radius:18px;padding:20px;color:#fff;scroll-snap-align:start;box-shadow:0 6px 18px #20102815;border:0}.match-card::before{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;padding:4px;background:conic-gradient(from var(--match-angle),#6c126b 0deg,#6c126b 160deg,#ae00ff 205deg,#ff0055 250deg,#ff84c1 280deg,#ffffff 295deg,#ff174e 310deg,#6c126b 340deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none;animation:match-border 2.8s linear infinite}.match-card::after{content:'';position:absolute;width:290px;height:290px;right:-150px;top:-10px;border:3px solid #ffffff08;border-radius:50%;background:linear-gradient(90deg,transparent 49%,#ffffff08 49%,#ffffff08 50%,transparent 50%);z-index:-1;pointer-events:none}.match-league{text-align:center!important;color:#fff;font-size:.9rem;font-weight:700;text-transform:uppercase;display:block}.match-teams{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);align-items:center;gap:12px;min-height:115px;text-align:center;margin:8px 0}.match-team{display:flex;flex-direction:column;align-items:center;gap:10px}.match-team strong{overflow-wrap:anywhere;font-size:1.05rem;line-height:1.3}.match-logo{width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 3px 4px #0003)}.match-logo-placeholder{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#ffffff18;font-weight:bold}.match-vs{font-size:1.1rem;color:#c6bed0;font-weight:700;white-space:nowrap}.match-date-wrap{text-align:center}.match-date{display:inline-block;padding:10px 16px;border-radius:10px;background:#ffffff24;color:#fff;font-size:.9rem;font-weight:700}.match-note{font-size:.85rem;margin-top:18px}.match-empty{padding:28px;background:#fff;border-radius:16px}@keyframes match-border{to{--match-angle:360deg}}@media(prefers-reduced-motion:reduce){.match-card::before{animation:none}}@media(max-width:700px){.match-heading{flex-direction:column;align-items:flex-start}.match-card{flex-basis:94%;min-width:0;padding:18px 14px}.match-heading .btn{font-size:.9rem}.week-matches{padding:36px 0}.match-teams{gap:6px;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)}.match-team strong{font-size:.95rem}}

@media(max-width:700px){.match-cards{padding-left:0;padding-right:0;scroll-padding-inline:0;overscroll-behavior-x:contain}.match-card{flex:0 0 100%;min-width:0;box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always}}

/* Compact desktop cards and centered section heading. */
.match-heading{display:flex;flex-direction:column;align-items:center;text-align:center}.match-heading h2,.match-heading p{text-align:center!important}.match-heading .btn{align-self:center}.match-motion-toggle{display:block;margin:10px auto 0;border:1px solid #cbbfcf;border-radius:20px;padding:8px 16px;background:#fff;color:#573047;cursor:pointer;font-size:.85rem}.match-auto-motion{scroll-snap-type:none;scroll-behavior:auto}.match-motion-toggle:focus-visible{outline:2px solid #a50083;outline-offset:3px}@media(min-width:701px){.match-card{flex:0 0 360px;min-width:0;box-sizing:border-box}}

/* Hide only the scrollbar, keeping touch and automatic scrolling. */
.match-cards{scrollbar-width:none;-ms-overflow-style:none}.match-cards::-webkit-scrollbar{display:none;width:0;height:0}.match-heading>div{width:100%}.match-heading h2{width:100%;text-align:center!important}.match-teams{align-items:start}.match-team{align-self:start}.match-team strong{min-height:2.6em}.match-vs{align-self:center}.match-logo,.match-logo-placeholder{flex-shrink:0}@media(max-width:700px){.match-heading{align-items:center}.match-heading .btn{align-self:center}}
