/* =========================================================
   Hockey UI components: page hero, ribbon board, scoreboard,
   section heads, splits, week planner, gear list, CTA band,
   staff cards, contact cards, legal page.
   ========================================================= */

.ou-icon{ width:1em; height:1em; display:inline-block; vertical-align:middle; flex:0 0 auto; }

/* ---------- ice: subtle scratched-ice texture for dark panels ---------- */
.ou-ice{
	background-color:#0b0b0f;
	background-image:
		repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 1px, transparent 1px 22px),
		repeating-linear-gradient(32deg, rgba(255,255,255,.014) 0 1px, transparent 1px 34px),
		radial-gradient(120% 80% at 50% 0%, rgba(160,190,220,.06), transparent 60%);
}

/* ---------- page hero ---------- */
.ou-phero{
	position:relative; isolation:isolate; overflow:hidden;
	display:flex; flex-direction:column; justify-content:flex-end;
	min-height:clamp(420px, 72vh, 720px);
	padding-top:clamp(40px,6vw,80px);
	background:#08080b;
}
.ou-phero--compact{ min-height:clamp(300px, 46vh, 440px); }
.ou-phero__bg{
	position:absolute; inset:-6% 0 0 0; z-index:-3;
	background:var(--bg) center/cover no-repeat;
	transform:translate3d(0,var(--ou-parallax,0px),0) scale(1.06);
	will-change:transform;
}
.ou-phero::before{ /* darken + brand tint */
	content:""; position:absolute; inset:0; z-index:-2;
	background:
		linear-gradient(180deg, rgba(7,7,10,.55) 0%, rgba(7,7,10,.35) 35%, rgba(7,7,10,.92) 82%, var(--ou-bg) 100%),
		linear-gradient(90deg, rgba(7,7,10,.85) 0%, rgba(7,7,10,.2) 70%);
}
.ou-phero::after{ /* blue-line / red-line rink markings, in brand orange */
	content:""; position:absolute; left:0; right:0; bottom:clamp(28px,3.5vw,44px); z-index:-1; height:3px;
	background:linear-gradient(90deg, transparent, rgba(246,85,28,.55) 20%, rgba(246,85,28,.55) 80%, transparent);
	box-shadow:0 0 24px rgba(246,85,28,.45);
}
.ou-rink{
	position:absolute; z-index:-1; pointer-events:none;
	right:-6%; top:50%; width:clamp(320px,46vw,640px); transform:translateY(-50%) rotate(-8deg);
	color:rgba(246,85,28,.16);
}
.ou-phero__inner{ position:relative; padding-bottom:clamp(68px,8.5vw,112px); }
.ou-phero--compact .ou-phero__inner{ padding-bottom:clamp(56px,7vw,84px); }
.ou-phero + .ou-sec{ padding-top:clamp(40px,5vw,72px); }
.ou-phero__title{
	margin:0 0 18px;
	font-size:clamp(56px, 11vw, 150px);
	color:#fff;
	text-shadow:0 6px 40px rgba(0,0,0,.45);
}
.ou-phero--compact .ou-phero__title{ font-size:clamp(48px, 8vw, 104px); }
.ou-phero__title .ou-accent{ display:block; }
.ou-phero__lead{ max-width:620px; margin:0 0 28px; font-size:clamp(16px,1.6vw,19px); color:#e2e2e8; }
.ou-phero__actions{ display:flex; flex-wrap:wrap; gap:12px; }

/* shared by the partner-logo and squad marquees */
@keyframes ouRibbon{ to{ transform:translateX(-50%); } }

/* ---------- section head ---------- */
.ou-sec{ position:relative; padding-block:var(--ou-section); }
.ou-sec--tight{ padding-block:calc(var(--ou-section) * .6); }
.ou-sec-head{ max-width:760px; margin-bottom:clamp(28px,4vw,48px); }
.ou-sec-head--center{ margin-inline:auto; text-align:center; }
.ou-sec-head--center .ou-eyebrow{ justify-content:center; }
.ou-sec-title{ margin:0 0 14px; font-size:clamp(44px,6.4vw,84px); color:#fff; }
.ou-sec-lead{ margin:0; font-size:clamp(16px,1.5vw,18px); color:var(--ou-muted); }

/* jersey stripes accent */
.ou-stripes{ display:flex; flex-direction:column; gap:4px; width:72px; margin:0 0 22px; }
.ou-stripes::before,.ou-stripes::after{ content:""; height:5px; border-radius:2px; background:var(--ou-accent); }
.ou-stripes::after{ width:60%; background:#fff; }
.ou-sec-head--center .ou-stripes{ margin-inline:auto; align-items:center; }

/* ---------- scoreboard (stats strip) ---------- */
.ou-scoreboard{
	position:relative;
	display:grid; grid-template-columns:repeat(var(--cols,5), minmax(0,1fr));
	border-radius:var(--ou-radius);
	background:
		radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px) 0 0/6px 6px,
		linear-gradient(180deg,#121216,#0a0a0d);
	border:1px solid var(--ou-border-strong);
	box-shadow:0 30px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
	overflow:hidden;
}
.ou-scoreboard::before{
	content:""; position:absolute; left:0; right:0; top:0; height:3px;
	background:linear-gradient(90deg, var(--ou-accent), var(--ou-accent-2), var(--ou-accent));
	box-shadow:0 0 20px rgba(246,85,28,.7);
}
.ou-scoreboard__cell{
	/* top-aligned: numbers stay on one line even when a label wraps to two lines */
	display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:6px;
	padding:clamp(22px,3vw,34px) 12px; text-align:center;
}
.ou-scoreboard__cell + .ou-scoreboard__cell{ border-left:1px solid var(--ou-border); }
.ou-scoreboard__num{
	font-family:var(--ou-font-display); font-weight:900; line-height:.9;
	font-size:clamp(46px,6vw,78px);
	color:var(--ou-accent);
	text-shadow:0 0 22px rgba(246,85,28,.55);
	font-variant-numeric:tabular-nums;
}
.ou-scoreboard__label{ font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#d4d4da; }
@media (max-width:860px){
	.ou-scoreboard{ grid-template-columns:repeat(2,minmax(0,1fr)); }
	.ou-scoreboard__cell + .ou-scoreboard__cell{ border-left:0; }
	.ou-scoreboard__cell{ border-top:1px solid var(--ou-border); }
	.ou-scoreboard__cell:nth-child(even){ border-left:1px solid var(--ou-border); }
	.ou-scoreboard__cell:nth-child(-n+2){ border-top:0; }
	.ou-scoreboard__cell:last-child:nth-child(odd){ grid-column:1 / -1; }
}
.ou-overlap{ position:relative; z-index:2; margin-top:clamp(28px,4vw,48px); }

/* ---------- split (media + text) ---------- */
.ou-split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,6vw,88px); align-items:center; }
.ou-split--rev .ou-split__media{ order:2; }
.ou-split__media{ position:relative; }
.ou-split__media::before{ /* offset board frame */
	content:""; position:absolute; inset:18px -18px -18px 18px; z-index:0;
	border:2px solid rgba(246,85,28,.55);
	clip-path:polygon(28px 0,100% 0,100% calc(100% - 28px),calc(100% - 28px) 100%,0 100%,0 28px);
}
.ou-split--rev .ou-split__media::before{ inset:18px 18px -18px -18px; }
.ou-split__media img{
	position:relative; z-index:1; display:block; width:100%; aspect-ratio:4/3; object-fit:cover;
	clip-path:polygon(28px 0,100% 0,100% calc(100% - 28px),calc(100% - 28px) 100%,0 100%,0 28px);
}
.ou-split__tag{
	position:absolute; z-index:2; left:-10px; bottom:28px;
	padding:10px 16px; background:var(--ou-fill); color:#fff;
	font-family:var(--ou-font-display); font-weight:800; font-size:22px; letter-spacing:.08em; text-transform:uppercase;
	clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);
}
.ou-split__text p{ color:#d6d6dc; }
@media (max-width:860px){
	.ou-split{ grid-template-columns:1fr; }
	.ou-split--rev .ou-split__media{ order:0; }
	.ou-split__media{ margin-right:18px; }
	.ou-split--rev .ou-split__media{ margin:0 0 0 18px; }
}

/* checklist with puck bullets */
.ou-checks{ display:grid; gap:12px; margin:22px 0 0; padding:0; list-style:none; }
.ou-checks li{ display:flex; gap:14px; align-items:flex-start; color:#ececf1; font-weight:500; }
.ou-checks .ou-icon{
	width:26px; height:26px; padding:5px; margin-top:-1px; border-radius:50%;
	background:var(--ou-accent-soft); color:var(--ou-accent);
}

/* chips (leagues, countries) */
.ou-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:18px 0 0; padding:0; list-style:none; }
.ou-chips li{
	padding:8px 14px; border-radius:999px;
	background:var(--ou-surface-2); border:1px solid var(--ou-border);
	font-size:13.5px; font-weight:600; color:#e8e8ee;
}
.ou-chips li.is-hot{ background:var(--ou-accent-soft); border-color:rgba(246,85,28,.45); color:#ffc2a8; }

/* ---------- week planner ---------- */
.ou-week{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:10px; }
.ou-day{
	position:relative; overflow:hidden;
	display:flex; flex-direction:column; gap:10px; min-height:178px;
	padding:18px 14px; border-radius:16px;
	background:var(--ou-surface); border:1px solid var(--ou-border);
	transition:transform .35s var(--ou-ease), border-color .3s ease;
}
.ou-day:hover{ transform:translateY(-4px); border-color:rgba(246,85,28,.5); }
.ou-day__name{ font-family:var(--ou-font-display); font-weight:900; font-size:30px; line-height:1; color:#fff; text-transform:uppercase; }
.ou-day__what{ margin-top:auto; font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--ou-muted); }
.ou-day .ou-icon{ width:26px; height:26px; color:var(--ou-subtle); }
.ou-day--practice .ou-icon{ color:#fff; }
.ou-day--game{ background:linear-gradient(160deg, var(--ou-fill), var(--ou-fill-2)); border-color:transparent; }
.ou-day--game .ou-day__what{ color:#fff; }
.ou-day--game .ou-icon{ color:#fff; }
.ou-day--game::after{ /* puck drop glow */
	content:""; position:absolute; right:-30px; top:-30px; width:110px; height:110px; border-radius:50%;
	background:radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
}
.ou-day--rest{ background:transparent; border-style:dashed; }
.ou-day--rest .ou-day__name{ color:var(--ou-subtle); }
@media (max-width:900px){
	.ou-week{ grid-template-columns:repeat(7, 132px); overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; margin-inline:calc(-1 * var(--ou-gutter)); padding-inline:var(--ou-gutter); }
	.ou-day{ scroll-snap-align:start; min-height:150px; }
}
.ou-week-legend{ display:flex; flex-wrap:wrap; gap:18px; margin-top:18px; font-size:13px; color:var(--ou-muted); }
.ou-week-legend b{ color:#fff; }

/* ---------- facility cards ---------- */
.ou-feats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.ou-feat{
	position:relative; overflow:hidden;
	padding:28px 26px; border-radius:var(--ou-radius);
	background:var(--ou-surface); border:1px solid var(--ou-border);
}
.ou-feat .ou-icon{ width:34px; height:34px; color:var(--ou-accent); margin-bottom:18px; }
.ou-feat__num{ display:block; font-family:var(--ou-font-display); font-weight:900; font-size:44px; line-height:1; color:#fff; margin-bottom:6px; }
.ou-feat h3{ margin:0 0 8px; font-size:19px; }
.ou-feat p{ margin:0; color:var(--ou-muted); font-size:15.5px; }
@media (max-width:860px){ .ou-feats{ grid-template-columns:1fr; } }

/* ---------- gear / included list ---------- */
.ou-gear{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.ou-gear li{
	display:flex; align-items:center; gap:12px;
	padding:14px 16px; border-radius:14px;
	background:var(--ou-surface); border:1px solid var(--ou-border);
	font-weight:600; color:#ececf1;
	transition:border-color .25s ease, background .25s ease, transform .3s var(--ou-ease);
}
.ou-gear li:hover{ border-color:rgba(246,85,28,.5); background:var(--ou-surface-2); transform:translateY(-2px); }
.ou-gear .ou-icon{ width:22px; height:22px; padding:4px; border-radius:50%; background:var(--ou-fill); color:#fff; }

/* ---------- CTA band ---------- */
.ou-cta{
	position:relative; overflow:hidden; isolation:isolate;
	display:grid; grid-template-columns:minmax(0,1.4fr) auto; gap:28px; align-items:center;
	padding:clamp(32px,5vw,64px);
	border-radius:28px; border:1px solid rgba(246,85,28,.35);
}
.ou-cta::before{
	content:""; position:absolute; inset:0; z-index:-1;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(246,85,28,.35), transparent 60%),
		repeating-linear-gradient(-55deg, rgba(246,85,28,.08) 0 14px, transparent 14px 40px);
}
.ou-cta .ou-rink{ right:-120px; width:420px; color:rgba(255,255,255,.06); }
.ou-cta__title{ margin:0 0 10px; font-size:clamp(40px,5.4vw,72px); color:#fff; }
.ou-cta__text{ margin:0; color:#dcdce2; max-width:560px; }
.ou-cta__actions{ display:flex; flex-direction:column; gap:12px; align-items:stretch; }
@media (max-width:800px){ .ou-cta{ grid-template-columns:1fr; } .ou-cta__actions{ flex-direction:row; flex-wrap:wrap; } }

/* ---------- staff ---------- */
.ou-coach{
	display:grid; grid-template-columns:minmax(0,420px) minmax(0,1fr); gap:clamp(28px,5vw,72px); align-items:center;
	margin-bottom:clamp(48px,7vw,96px);
}
.ou-coach:nth-child(even){ grid-template-columns:minmax(0,1fr) minmax(0,420px); }
.ou-coach:nth-child(even) .ou-coach__media{ order:2; }
.ou-coach__media{ position:relative; }
.ou-coach__media img{
	display:block; width:100%; aspect-ratio:4/5; object-fit:cover; object-position:top;
	clip-path:polygon(32px 0,100% 0,100% calc(100% - 32px),calc(100% - 32px) 100%,0 100%,0 32px);
	filter:saturate(1.05) contrast(1.03);
}
.ou-coach__name{ margin:0 0 18px; font-size:clamp(48px,6.4vw,92px); color:#fff; }
.ou-coach__name span{ display:block; color:var(--ou-accent); }
.ou-coach__bio{ font-size:clamp(16px,1.5vw,18.5px); color:#dadae0; }
.ou-coach__bio p:last-child{ margin-bottom:0; }
.ou-coach__meta{ display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
@media (max-width:860px){
	.ou-coach,.ou-coach:nth-child(even){ grid-template-columns:1fr; }
	.ou-coach:nth-child(even) .ou-coach__media{ order:0; }
}

/* ---------- contact ---------- */
.ou-contact{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(24px,4vw,48px); align-items:start; }
@media (max-width:960px){ .ou-contact{ grid-template-columns:1fr; } }
.ou-people{ display:grid; gap:14px; }
.ou-person{
	position:relative; overflow:hidden;
	padding:22px 22px 20px 26px; border-radius:var(--ou-radius);
	background:var(--ou-surface); border:1px solid var(--ou-border);
	transition:border-color .25s ease, transform .3s var(--ou-ease);
}
.ou-person::before{ content:""; position:absolute; left:0; top:18px; bottom:18px; width:4px; border-radius:0 4px 4px 0; background:var(--ou-accent); }
.ou-person:hover{ border-color:rgba(246,85,28,.45); transform:translateX(4px); }
.ou-person__role{ margin:0 0 4px; font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--ou-accent); }
.ou-person__name{ margin:0 0 14px; font-family:var(--ou-font-display); font-weight:900; font-size:32px; line-height:1; text-transform:uppercase; color:#fff; }
.ou-person__links{ display:flex; flex-direction:column; gap:8px; }
.ou-person__link{
	display:flex; align-items:center; gap:10px;
	color:#e6e6ec; font-weight:500; word-break:break-all;
}
.ou-person__link .ou-icon{ width:34px; height:34px; padding:8px; border-radius:10px; background:var(--ou-surface-2); color:var(--ou-accent); transition:background .2s ease, color .2s ease; }
.ou-person__link:hover{ color:#fff; }
.ou-person__link:hover .ou-icon{ background:var(--ou-fill); color:#fff; }
.ou-copy{
	margin-left:auto; flex:0 0 auto;
	appearance:none; cursor:pointer; padding:6px; border:0; border-radius:8px;
	background:transparent; color:var(--ou-subtle);
}
.ou-copy:hover{ color:#fff; background:var(--ou-surface-2); }
.ou-copy .ou-icon{ width:18px; height:18px; }
.ou-copy.is-done{ color:#4ade80; }
.ou-person__row{ display:flex; align-items:center; gap:6px; }

.ou-formcard{ padding:clamp(24px,3vw,36px); border-radius:24px; border:1px solid var(--ou-border); }
.ou-formcard__title{ margin:0 0 6px; font-size:clamp(34px,4vw,48px); color:#fff; }
.ou-formcard__lead{ margin:0 0 22px; color:var(--ou-muted); }
.ou-formcard .wpcf7{ max-width:none; }
.ou-formcard .wpcf7-form{ padding:0; background:none; border:0; }

/* arena + click-to-load map */
.ou-arena{
	display:grid; grid-template-columns:minmax(0,4fr) minmax(0,8fr); overflow:hidden;
	border-radius:24px; border:1px solid var(--ou-border); background:var(--ou-surface);
}
.ou-arena__info{ padding:clamp(24px,3vw,40px); display:flex; flex-direction:column; gap:14px; }
.ou-arena__title{ margin:0; font-size:clamp(36px,4vw,54px); color:#fff; }
.ou-arena__addr{ display:flex; gap:10px; margin:0; color:#e4e4ea; }
.ou-arena__addr .ou-icon{ width:22px; height:22px; color:var(--ou-accent); margin-top:2px; }
.ou-arena__map{ position:relative; min-height:340px; }
.ou-arena__map iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; filter:grayscale(.2) invert(.92) hue-rotate(180deg) contrast(.9); }
.ou-map-load{
	position:absolute; inset:0; display:grid; place-items:center; cursor:pointer;
	border:0; color:#fff; font:inherit;
	background:
		radial-gradient(circle at 50% 50%, rgba(246,85,28,.2), transparent 55%),
		linear-gradient(0deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0/40px 40px,
		linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0/40px 40px,
		#0d0d11;
}
.ou-map-load span{ display:inline-flex; align-items:center; gap:10px; padding:12px 20px; border-radius:999px; background:rgba(0,0,0,.6); border:1px solid var(--ou-border-strong); font-weight:600; }
.ou-map-load:hover span{ background:var(--ou-fill); border-color:var(--ou-fill); }
.ou-map-load .ou-icon{ width:20px; height:20px; }
@media (max-width:860px){ .ou-arena{ grid-template-columns:1fr; } }

/* ---------- legal page with table of contents ---------- */
.ou-legal{ display:grid; grid-template-columns:240px minmax(0,1fr); gap:clamp(28px,5vw,72px); align-items:start; }
.ou-toc{ position:sticky; top:120px; padding:20px; border-radius:var(--ou-radius); background:var(--ou-surface); border:1px solid var(--ou-border); }
.ou-toc__title{ margin:0 0 12px; font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--ou-accent); }
.ou-toc ol{ margin:0; padding:0; list-style:none; display:grid; gap:2px; }
.ou-toc a{ display:block; padding:6px 10px; border-radius:8px; font-size:14px; color:var(--ou-muted); }
.ou-toc a:hover,.ou-toc a.is-active{ background:var(--ou-surface-2); color:#fff; }
.ou-legal .ou-prose{ max-width:760px; padding:0; }
.ou-legal .ou-prose h2{ font-size:24px; scroll-margin-top:120px; }
.ou-legal__updated{ display:inline-flex; margin-bottom:24px; }
@media (max-width:900px){ .ou-legal{ grid-template-columns:1fr; } .ou-toc{ position:static; } }

@media (prefers-reduced-motion: reduce){
	.ou-phero__bg{ transform:scale(1.06); }
}

/* ---------- pills (filters, season switch) ---------- */
.ou-pill{
	appearance:none; cursor:pointer;
	padding:9px 18px; border-radius:999px;
	font:600 13.5px/1 var(--ou-font); letter-spacing:.06em; text-transform:uppercase;
	color:var(--ou-text); background:var(--ou-surface); border:1px solid var(--ou-border);
	transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.ou-pill:hover{ color:#fff; border-color:rgba(246,85,28,.55); }
.ou-pill.is-active,
.ou-pill[aria-pressed="true"]{ background:var(--ou-fill); border-color:var(--ou-fill); color:#fff; }
.ou-pill--ghost{ background:transparent; }

/* ---------- filter bar ---------- */
.ou-filterbar{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:clamp(24px,3vw,36px); }
.ou-filterbar .ou-pill span{ margin-left:6px; font-weight:700; }
[data-ou-filter] .is-filtered-out{ display:none !important; }

/* ---------- match gallery card ---------- */
.ou-mgrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(14px,2vw,22px); }
@media (max-width:1000px){ .ou-mgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px){ .ou-mgrid{ grid-template-columns:1fr; } .ou-mcard{ min-height:340px; } }
.ou-mcard{
	position:relative; isolation:isolate; overflow:hidden;
	display:flex; flex-direction:column; justify-content:space-between;
	min-height:clamp(300px,30vw,380px);
	border-radius:22px; border:1px solid var(--ou-border);
	color:#fff;
	background:#111;
	transition:transform .4s var(--ou-ease), border-color .3s ease, box-shadow .4s ease;
}
.ou-mcard:hover{ color:#fff; transform:translateY(-5px); border-color:rgba(246,85,28,.6); box-shadow:0 26px 50px rgba(0,0,0,.5); }
.ou-mcard__media{ position:absolute; inset:0; z-index:-1; }
.ou-mcard__img,.ou-mcard__placeholder{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ou-ease); }
.ou-mcard__placeholder{ background:radial-gradient(80% 60% at 50% 30%, #2a2a30, #0d0d10); }
.ou-mcard:hover .ou-mcard__img{ transform:scale(1.06); }
.ou-mcard::before{
	content:""; position:absolute; inset:0; z-index:-1;
	background:linear-gradient(180deg, rgba(7,7,10,.45) 0%, rgba(7,7,10,0) 22%, rgba(7,7,10,.4) 40%, rgba(7,7,10,.92) 60%, rgba(7,7,10,.98) 100%);
}
.ou-mcard__top{ display:flex; justify-content:space-between; align-items:center; gap:10px; padding:16px 16px 0; }
.ou-mcard__comp{
	padding:6px 12px; background:var(--ou-fill); color:#fff;
	font-family:var(--ou-font-display); font-weight:800; font-size:16px; letter-spacing:.08em; text-transform:uppercase; line-height:1;
	clip-path:polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);
}
.ou-mcard__date{ padding:6px 10px; border-radius:999px; background:rgba(0,0,0,.55); font-size:12.5px; font-weight:600; letter-spacing:.04em; backdrop-filter:blur(6px); }
.ou-mcard__body{ display:flex; flex-direction:column; gap:10px; padding:18px; }
.ou-mcard__stage{ font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--ou-accent); }
.ou-mcard__teams{ display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:12px; }
.ou-mcard__team{ text-shadow:0 2px 12px rgba(0,0,0,.8); font-family:var(--ou-font-display); font-weight:900; font-size:clamp(20px,2vw,26px); line-height:1; text-transform:uppercase; }
.ou-mcard__team:last-child{ text-align:right; }
.ou-mcard__score{
	position:relative; display:inline-flex; align-items:center; gap:4px;
	padding:8px 12px; border-radius:10px;
	background:rgba(0,0,0,.7); border:1px solid var(--ou-border-strong);
	font-family:var(--ou-font-display); font-weight:900; font-size:30px; line-height:1;
	font-variant-numeric:tabular-nums;
}
.ou-mcard__score i{ font-style:normal; color:var(--ou-accent); }
.ou-mcard__score em{
	position:absolute; top:-9px; right:-9px; display:grid; place-items:center; width:22px; height:22px; border-radius:50%;
	font-family:var(--ou-font); font-style:normal; font-size:11px; font-weight:800; background:#3a3a42; color:#fff;
}
.ou-mcard__score.is-w em{ background:#15803d; }
.ou-mcard__score.is-l em{ background:#b91c1c; }
.ou-mcard__vs{ display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--ou-fill); font-weight:800; font-size:13px; box-shadow:0 0 0 5px rgba(246,85,28,.2); }
.ou-mcard__title{ font-family:var(--ou-font-display); font-weight:900; font-size:26px; line-height:1.02; text-transform:uppercase; }
.ou-mcard__more{
	display:inline-flex; align-items:center; gap:8px; margin-top:4px;
	font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ou-muted);
	transition:color .2s ease, gap .3s var(--ou-ease);
}
.ou-mcard:hover .ou-mcard__more{ color:#fff; gap:12px; }

/* ---------- single match: scoreboard matchup ---------- */
.ou-post__back{ position:relative; z-index:1; display:flex; width:fit-content; }
.ou-matchup{
	display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:clamp(14px,3vw,36px);
	max-width:1100px; margin:0;
}
.ou-matchup__team{
	font-family:var(--ou-font-display); font-weight:900; text-transform:uppercase; line-height:.92;
	font-size:clamp(34px,6.4vw,92px); color:#fff; text-shadow:0 6px 30px rgba(0,0,0,.5);
}
.ou-matchup__team:last-child{ text-align:right; }
.ou-matchup__score{
	display:inline-flex; align-items:center; gap:10px;
	padding:12px clamp(16px,2vw,26px); border-radius:16px;
	background:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px) 0 0/6px 6px, #0b0b0e;
	border:1px solid var(--ou-border-strong);
	box-shadow:0 0 0 1px rgba(246,85,28,.25), 0 18px 40px rgba(0,0,0,.5);
}
.ou-matchup__score b{
	font-family:var(--ou-font-display); font-weight:900; line-height:.9;
	font-size:clamp(46px,7vw,96px); color:var(--ou-accent); text-shadow:0 0 22px rgba(246,85,28,.55);
	font-variant-numeric:tabular-nums;
}
.ou-matchup__score i{ font-style:normal; font-family:var(--ou-font-display); font-size:clamp(30px,4vw,56px); color:#fff; opacity:.6; }
.ou-matchup__vs{
	display:grid; place-items:center; width:clamp(48px,6vw,72px); aspect-ratio:1; border-radius:50%;
	background:var(--ou-fill); color:#fff; font-weight:800; font-size:clamp(14px,1.6vw,20px);
	box-shadow:0 0 0 8px rgba(246,85,28,.2);
}
@media (max-width:640px){
	.ou-matchup{ grid-template-columns:1fr; text-align:left; gap:8px; }
	.ou-matchup__team:last-child{ text-align:left; }
	.ou-matchup__score,.ou-matchup__vs{ justify-self:start; }
}

/* ---------- Modula galleries in match posts: uniform responsive grid ---------- */
.ou-post__content .modula{ height:auto !important; max-width:none; margin:0 0 24px; }
.ou-post__content .modula .modula-items{
	display:grid !important; grid-template-columns:repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap:10px;
	height:auto !important; position:static !important;
}
.ou-post__content .modula .modula-items .modula-item{
	position:relative !important; top:auto !important; left:auto !important;
	width:auto !important; height:auto !important; margin:0 !important; transform:none !important; opacity:1 !important; visibility:visible !important;
	aspect-ratio:3/2; overflow:hidden; border-radius:12px; background:var(--ou-surface);
}
.ou-post__content .modula-item-content{ position:absolute !important; inset:0; width:auto !important; height:auto !important; opacity:1 !important; visibility:visible !important; }
.ou-post__content .modula-item img.pic{
	position:absolute !important; inset:0; width:100% !important; height:100% !important; max-width:none;
	margin:0 !important; object-fit:cover; transform:none !important; border-radius:0;
	transition:transform .7s var(--ou-ease), filter .4s ease !important;
}
.ou-post__content .modula-item:hover img.pic{ transform:scale(1.05) !important; filter:brightness(1.08); }
.ou-post__content .modula-item-link{ position:absolute; inset:0; z-index:2; cursor:zoom-in; }
.ou-post__content .modula-item-overlay,.ou-post__content .modula-item .figc{ display:none; }
@media (min-width:900px){
	.ou-post__content .modula-item:first-child{ grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
}
.ou-prose blockquote:has(> p:only-child:empty){ display:none; }

/* =========================================================
   Match photo gallery (single post) + lightbox
   ========================================================= */
.ou-gal{ padding-block:clamp(32px,5vw,64px) clamp(24px,4vw,48px); }
.ou-gal__bar{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:12px 24px; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--ou-border); }
.ou-gal__title{ margin:0; font-size:clamp(32px,4vw,48px); line-height:1; }
.ou-gal__title span{ display:inline-block; margin-left:10px; padding:4px 10px 2px; vertical-align:middle; font-size:.45em; line-height:1.2; background:var(--ou-fill); color:#fff; clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.ou-gal__credit{ display:flex; align-items:center; gap:8px; margin:0; font-size:15px; color:var(--ou-muted); }
.ou-gal__credit .ou-icon{ width:20px; height:20px; color:var(--ou-accent); }
.ou-gal__credit a{ color:#fff; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.ou-gal__credit a:hover{ color:var(--ou-accent); }

.ou-gal__grid{
	list-style:none; margin:0; padding:0;
	display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:clamp(150px,15vw,240px); grid-auto-flow:dense; gap:8px;
}
.ou-gal__item{ position:relative; margin:0; overflow:hidden; background:#121217; }
.ou-gal__item:nth-child(10n+1){ grid-column:span 2; grid-row:span 2; }
.ou-gal__item:nth-child(10n+7){ grid-column:span 2; }
.ou-gal__link{ display:block; width:100%; height:100%; cursor:zoom-in; }
.ou-gal__img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ou-ease), filter .3s ease; }
.ou-gal__link::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.35)); opacity:0; transition:opacity .3s ease; pointer-events:none; }
.ou-gal__link:hover .ou-gal__img{ transform:scale(1.05); filter:brightness(1.08); }
.ou-gal__link:hover::after{ opacity:1; }
.ou-gal__link:focus-visible{ outline:none; }
.ou-gal__link:focus-visible::after{ opacity:1; box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 6px var(--ou-fill); }
@media (max-width:1100px){ .ou-gal__grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:600px){
	.ou-gal__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:clamp(120px,36vw,200px); gap:6px; }
	.ou-gal__item:nth-child(10n+7){ grid-column:span 1; }
}

/* lightbox */
html.ou-lb-open{ overflow:hidden; }
.ou-lb{
	width:100vw; height:100vh; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0;
	background:rgba(6,6,9,.97); color:#fff; overflow:hidden;
}
.ou-lb::backdrop{ background:rgba(0,0,0,.85); }
.ou-lb[open]{ display:grid; place-items:center; }
.ou-lb__stage{ margin:0; display:grid; justify-items:center; gap:14px; padding:64px 88px 24px; }
.ou-lb__img{
	display:block; width:auto; height:auto; max-width:calc(100vw - 176px); max-height:calc(100dvh - 140px);
	object-fit:contain; box-shadow:0 30px 80px rgba(0,0,0,.6); transition:opacity .25s ease;
}
.ou-lb.is-loading .ou-lb__img{ opacity:.35; }
.ou-lb__cap{ display:flex; gap:18px; font-size:14px; color:#c9c9d1; }
.ou-lb__count{ font-family:var(--ou-font-display); font-weight:800; font-size:18px; letter-spacing:.06em; color:#fff; }
.ou-lb__btn{
	position:absolute; display:grid; place-items:center; width:52px; height:52px; padding:0; border-radius:50%;
	border:1px solid rgba(255,255,255,.28); background:rgba(20,20,26,.7); color:#fff; cursor:pointer;
	transition:background .2s ease, border-color .2s ease;
}
.ou-lb__btn svg{ width:24px; height:24px; }
.ou-lb__btn:hover{ background:var(--ou-fill); border-color:var(--ou-fill); }
.ou-lb__btn:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
.ou-lb__close{ top:16px; right:16px; }
.ou-lb__prev{ left:20px; top:50%; transform:translateY(-50%); }
.ou-lb__next{ right:20px; top:50%; transform:translateY(-50%); }
@media (max-width:700px){
	.ou-lb__stage{ padding:68px 8px 92px; }
	.ou-lb__img{ max-width:calc(100vw - 16px); max-height:calc(100dvh - 190px); }
	.ou-lb__prev,.ou-lb__next{ top:auto; bottom:20px; transform:none; }
	.ou-lb__prev{ left:calc(50% - 64px); }
	.ou-lb__next{ right:calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce){
	.ou-gal__img,.ou-lb__img{ transition:none; }
	.ou-gal__link:hover .ou-gal__img{ transform:none; }
}
@media (max-width:600px){ .ou-gal__item:last-child:nth-child(even){ grid-column:1 / -1; } } /* no lonely last tile */
.ou-post__content + .ou-gal{ padding-top:clamp(8px,2vw,24px); }

/* =========================================================
   For fans / Dla kibiców
   ========================================================= */
/* scoreboard with words instead of counters ("Free", "45 min") */
.ou-scoreboard--text{ margin:0; }
.ou-scoreboard--text dd{ margin:0; }
.ou-scoreboard--text .ou-scoreboard__num{ font-size:clamp(36px,4.4vw,62px); text-transform:uppercase; white-space:nowrap; }


/* numbered first-game tips: 3 + 2 on desktop */
.ou-tips{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px; }
.ou-tip{
	grid-column:span 2; position:relative;
	padding:26px 24px 24px; border-radius:var(--ou-radius);
	background:rgba(255,255,255,.035); border:1px solid var(--ou-border);
}
.ou-tip:nth-child(n+4){ grid-column:span 3; }
.ou-tip__num{
	display:block; margin-bottom:14px;
	font-family:var(--ou-font-display); font-weight:900; font-size:54px; line-height:.9;
	color:transparent; -webkit-text-stroke:1.5px var(--ou-accent);
}
.ou-tip h3{ margin:0 0 8px; font-size:19px; }
.ou-tip p{ margin:0; color:var(--ou-muted); font-size:15.5px; }
@media (max-width:900px){
	.ou-tips{ grid-template-columns:repeat(2,minmax(0,1fr)); }
	.ou-tip,.ou-tip:nth-child(n+4){ grid-column:span 1; }
	.ou-tip:last-child:nth-child(odd){ grid-column:1 / -1; }
}
@media (max-width:560px){
	.ou-tips{ grid-template-columns:1fr; }
}

/* notice box (For fans: rules at the rink) */
.ou-notice{
	display:flex; gap:18px; align-items:flex-start;
	margin:clamp(28px,4vw,44px) 0 0; padding:clamp(20px,3vw,28px);
	border-radius:var(--ou-radius); border:1px solid rgba(246,85,28,.45);
	background:linear-gradient(135deg, rgba(246,85,28,.12), rgba(246,85,28,.03) 60%), #0f0f13;
}
.ou-notice > .ou-icon{ flex:none; width:34px; height:34px; color:var(--ou-accent); }
.ou-notice__title{ margin:0 0 6px; font-family:var(--ou-font-display); font-weight:800; font-size:clamp(22px,2.4vw,28px); text-transform:uppercase; letter-spacing:.02em; color:#fff; }
.ou-notice p{ margin:0; color:#d4d4da; font-size:15.5px; }
.ou-notice__ok{ display:flex; align-items:center; gap:8px; margin-top:10px !important; font-weight:600; color:#fff !important; }
.ou-notice__ok .ou-icon{ width:18px; height:18px; color:#4ade80; }
@media (max-width:560px){ .ou-notice{ flex-direction:column; gap:12px; } }

/* =========================================================
      Tickets / Bilety
   ========================================================= */
.ou-tix{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,2.4vw,28px); }
.ou-tix__card{
	position:relative; display:flex; flex-direction:column; gap:22px;
	padding:clamp(22px,3vw,32px); border-radius:22px; overflow:hidden;
	background:radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px) 0 0/6px 6px, linear-gradient(180deg,#141418,#0b0b0e);
	border:1px solid var(--ou-border-strong); box-shadow:0 24px 50px rgba(0,0,0,.45);
}
.ou-tix__card::before{ content:""; position:absolute; inset:0 0 auto 0; height:3px; background:linear-gradient(90deg,var(--ou-accent),var(--ou-accent-2)); box-shadow:0 0 18px rgba(246,85,28,.7); }
.ou-tix__when{ display:grid; grid-template-columns:auto 1fr; align-items:end; column-gap:16px; padding-bottom:18px; border-bottom:1px dashed var(--ou-border-strong); }
.ou-tix__day{ grid-column:1 / -1; margin:0 0 4px; font-size:13px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--ou-accent); }
.ou-tix__date{ margin:0; font-family:var(--ou-font-display); font-weight:900; font-size:clamp(54px,6vw,78px); line-height:.85; color:#fff; }
.ou-tix__date span{ display:inline-block; margin-left:14px; padding:6px 10px 4px; vertical-align:middle; font-size:.36em; line-height:1; color:#fff; background:var(--ou-fill); clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.ou-tix__comp{ justify-self:end; margin:0; font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--ou-muted); }
.ou-tix__teams{ display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:12px; margin:0; font-family:var(--ou-font-display); font-weight:900; font-size:clamp(18px,1.8vw,22px); line-height:1.05; text-transform:uppercase; color:#fff; text-align:center; }
.ou-tix__team{ display:flex; flex-direction:column; align-items:center; gap:10px; min-width:0; overflow-wrap:anywhere; }
.ou-tix__logo{ display:grid; place-items:center; width:72px; height:72px; border-radius:50%; background:rgba(255,255,255,.05); border:1px solid var(--ou-border); }
.ou-tix__logo img{ width:74%; height:74%; object-fit:contain; }
/* fitCrest() in ui.js trims the transparent margin so crests sit at the same visual size */
.ou-tix__logo img.is-fitted{ transform:scale(var(--fit-s,1)) translate(var(--fit-x,0%),var(--fit-y,0%)); }
.ou-tix__vs{ display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:var(--ou-fill); font-family:var(--ou-font); font-size:13px; font-weight:800; font-style:italic; text-transform:none; box-shadow:0 0 0 6px rgba(246,85,28,.18); }
.ou-tix__venue{ display:flex; align-items:center; justify-content:center; gap:8px; margin:0; color:#d4d4da; font-size:14.5px; }
.ou-tix__venue .ou-icon{ width:18px; height:18px; color:var(--ou-accent); }
.ou-tix__buy{ width:100%; justify-content:center; padding-block:18px; font-size:16px; }
.ou-tix__empty{ max-width:760px; padding:clamp(26px,4vw,44px); border-radius:22px; border:1px dashed var(--ou-border-strong); }
.ou-tix__empty p{ margin:12px 0 22px; color:#d4d4da; }

/* auto-fit, so the row stays even whether there are two tiles or three */
.ou-tix__info{ list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin:clamp(28px,4vw,44px) 0 0; padding:0; }
.ou-tix__info li{ display:flex; gap:14px; align-items:flex-start; padding:20px; border-radius:var(--ou-radius); background:rgba(255,255,255,.035); border:1px solid var(--ou-border); }
.ou-tix__info .ou-icon{ flex:none; width:26px; height:26px; color:var(--ou-accent); }
.ou-tix__info h3{ margin:0 0 4px; font-size:16px; }
.ou-tix__info p{ margin:0; color:var(--ou-muted); font-size:14.5px; }
.ou-tix__info a{ color:#fff; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:860px){
	.ou-tix,.ou-tix__info{ grid-template-columns:1fr; }
}
