/* Sport 7.14.215 – Same event header pattern as Volleyball. */
:where(.pp-term-card,.fb-term-card,.fb-event) .sport-term-hero{
  --term-hero-accent:var(--primary,#156de8);
  --term-hero-light:var(--primary-soft,#e8f1ff);
  background:linear-gradient(140deg,var(--surface,#fff) 64%,color-mix(in srgb,var(--term-hero-accent) 5%,var(--surface,#fff)));
  border:1px solid var(--line,#dfe7f0);
  border-radius:14px;
  padding:13px 14px 11px;
  min-width:0;
  color:var(--text,#172849);
}
:where(.pp-term-card,.fb-term-card,.fb-event) .sport-term-hero--floorball,
:where(.pp-term-card,.fb-term-card,.fb-event) .sport-term-hero--floorball_nom{
  --term-hero-accent:#0c897d;
  --term-hero-light:color-mix(in srgb,#0c897d 10%,var(--surface,#fff));
}
.sport-term-hero__top{display:flex;gap:11px;align-items:center;min-width:0}
.sport-term-hero__sport-icon{display:grid;flex:0 0 46px;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--term-hero-light);color:var(--term-hero-accent)}
.sport-term-hero__sport-icon .sport-icon{width:31px;height:31px;max-width:100%;object-fit:contain}
.sport-term-hero__title{flex:1;min-width:0}
.sport-term-hero__eyebrow{display:block;font-size:10px;line-height:1.2;font-weight:850;letter-spacing:.065em;text-transform:uppercase;color:var(--term-hero-accent);margin-bottom:4px}
:where(.pp-term-card,.fb-term-card,.fb-event) .sport-term-hero__title h2{margin:0;font-size:clamp(17px,1.75vw,22px);line-height:1.18;letter-spacing:-.02em;font-weight:850;color:var(--text,#172849);overflow-wrap:anywhere}
.sport-term-hero__actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;min-width:35px}
.sport-term-hero__actions .sport-chat-top-button{margin:0;position:relative}
.sport-term-hero__meta{display:flex;gap:6px 17px;flex-wrap:wrap;align-items:center;margin:10px 0 11px;min-width:0}
.sport-term-hero__meta>span{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.3;color:var(--muted,#63758a);min-width:0}
.sport-term-hero__meta strong{font-weight:650;color:var(--text,#253451);overflow-wrap:anywhere}
.sport-term-hero__meta .sport-icon{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:currentColor}
.sport-term-hero__capacity{padding:9px 11px 8px;border:1px solid var(--line,#dfe7f0);border-radius:11px;background:color-mix(in srgb,var(--surface,#fff) 92%,var(--term-hero-accent));min-width:0}
.sport-term-hero__capacity-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.sport-term-hero__capacity-number{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:700}
.sport-term-hero__capacity-number>.sport-icon{height:16px;width:16px;color:var(--term-hero-accent)}
.sport-term-hero__capacity-number>strong{font-size:20px;font-weight:900;line-height:1;color:var(--term-hero-accent);font-variant-numeric:tabular-nums}
.sport-term-hero__capacity-number>strong small{font-size:12px;font-weight:750;color:var(--muted,#63758a)}
.sport-term-hero__capacity-status{font-size:11px;font-weight:750;color:var(--muted,#64748b);text-align:right;line-height:1.25}
.sport-term-hero__capacity-status.is-full{color:#b96b13}
.sport-term-hero__capacity-status.is-open{color:#0b8054}
.sport-term-hero__capacity-status.is-cancelled{color:#a13a4c}
.sport-term-hero__track{height:6px;border-radius:99px;overflow:hidden;background:var(--surface-3,#e4edf6);margin-top:8px}
.sport-term-hero__track>span{display:block;max-width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--term-hero-accent),#16a56e)}
.sport-term-hero__description{font-size:12px;line-height:1.45;margin:9px 1px 0;color:var(--muted,#66778b);overflow-wrap:anywhere}
@media(max-width:640px){
  :where(.pp-term-card,.fb-term-card,.fb-event) .sport-term-hero{padding:9px 10px 8px;border-radius:12px}
  .sport-term-hero__top{gap:8px}
  .sport-term-hero__sport-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px}
  .sport-term-hero__sport-icon .sport-icon{height:25px;width:25px}
  .sport-term-hero__eyebrow{font-size:8.5px;margin-bottom:2px}
  :where(.pp-term-card,.fb-term-card,.fb-event) .sport-term-hero__title h2{font-size:16px;line-height:1.15}
  .sport-term-hero__meta{gap:5px 10px;margin:7px 0 8px}
  .sport-term-hero__meta>span{font-size:10.5px;gap:4px}
  .sport-term-hero__meta .sport-icon{width:12px;height:12px;flex-basis:12px}
  .sport-term-hero__capacity{padding:7px 9px 6px}
  .sport-term-hero__capacity-number>strong{font-size:17px}
  .sport-term-hero__capacity-number>span{font-size:10px}
  .sport-term-hero__capacity-status{font-size:10px}
  .sport-term-hero__track{height:5px;margin-top:6px}
}
@media(max-width:350px){
  .sport-term-hero__meta{gap:4px 8px}
  .sport-term-hero__meta>span{font-size:10px}
  .sport-term-hero__capacity-number{gap:5px}
  .sport-term-hero__capacity-status{max-width:47%}
}

/* Old independent nomination view uses the same hero without altering nomination logic. */
.floorball-nom-module .fb-event>.sport-term-hero{margin-bottom:10px;--term-hero-accent:#0c897d;--term-hero-light:color-mix(in srgb,#0c897d 10%,var(--surface,#fff));}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__top{display:flex;}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__meta{display:flex;}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__capacity-top{display:flex;}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__track{display:block;}
.floorball-nom-module .fb-nomination-hint{margin:4px 0 12px;color:var(--muted,#63758a);font-size:12px;font-weight:600;}

/* Independent florbal nomination view reuses the same hero (8+4 stays intact). */
.floorball-nom-module .fb-event>.sport-term-hero{margin-bottom:10px;--term-hero-accent:#0c897d;--term-hero-light:color-mix(in srgb,#0c897d 10%,var(--surface,#fff))}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__top{display:flex}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__meta{display:flex}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__capacity-top{display:flex}
.floorball-nom-module .fb-event>.sport-term-hero .sport-term-hero__track{display:block}
.floorball-nom-module .fb-nomination-hint{margin:4px 0 12px;color:var(--muted,#63758a);font-size:12px;font-weight:600}
