/* Generated by scripts/gen-wp-css.ts from the CSS of the form_season block. Do not edit: change src/blocks and run npm run gen:wp-css. */
/* src/blocks/FormSeason.css */
/* Form and season stats. The layout palettes (--c-*) come from article.css. */

.stx-widget .stx-form-season { border-radius: 12px; overflow: hidden; font-size: 13px; }
.stx-widget .stx-form-season .btitle { font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: lowercase; margin: 0 0 12px; }
.stx-widget .stx-form-season .foot { padding-top: 10px; font-size: 11px; font-style: italic; color: var(--c-sub); }
.stx-widget .stx-form-season .chips { display: flex; justify-content: center; gap: 5px; }
.stx-widget .stx-form-season .chip { width: 22px; height: 22px; border-radius: 6px; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }

/* Games listed under the block */
.stx-widget .stx-form-season .games { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 11px; }
.stx-widget .stx-form-season .games > div { flex: 1 1 200px; min-width: 0; }
.stx-widget .stx-form-season .g-team { font-weight: 600; margin-bottom: 6px; color: var(--c-text); }
.stx-widget .stx-form-season .games ul { list-style: none; margin: 0; padding: 0; }
.stx-widget .stx-form-season .games li { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-top: .5px solid var(--c-line); color: var(--c-text); }
.stx-widget .stx-form-season .games .chip { width: 16px; height: 16px; border-radius: 4px; font-size: 9px; }
.stx-widget .stx-form-season .g-date { color: var(--c-sub); white-space: nowrap; }
.stx-widget .stx-form-season .g-opp { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stx-widget .stx-form-season .g-score { font-weight: 600; }
.stx-widget .stx-form-season .g-round { font-size: 9px; font-weight: 600; text-transform: lowercase; letter-spacing: .3px; color: var(--c-sub); white-space: nowrap; }
.stx-widget .stx-form-season .g-method { font-weight: 600; white-space: nowrap; }
.stx-widget .stx-form-season .g-detail { font-size: 10px; color: var(--c-sub); white-space: nowrap; }

/* Editorial and original: a column per team */
.stx-widget .stx-form-season.stx-layout--editorial, .stx-widget .stx-form-season.stx-layout--original { background: var(--c-bg); color: var(--c-text); padding: 20px; }
.stx-widget .stx-form-season.stx-layout--editorial { border: .5px solid var(--ab-border); }
.stx-widget .stx-form-season.stx-layout--original { border: .5px solid var(--ab-border); border-top: 3px solid var(--ab-accent); }
.stx-widget .stx-form-season .cols { display: flex; gap: 16px; }
.stx-widget .stx-form-season .col { flex: 1; min-width: 0; }
.stx-widget .stx-form-season .vsep { width: 1px; background: var(--c-line); flex: none; }
.stx-widget .stx-form-season .tname { font-size: 14px; font-weight: 600; text-align: center; margin: 0 0 2px; }
.stx-widget .stx-form-season.stx-layout--original .tname { color: var(--ab-primary); }
.stx-widget .stx-form-season .sub { font-size: 10px; text-align: center; letter-spacing: .4px; color: var(--c-sub); margin: 0 0 10px; }
.stx-widget .stx-form-season .col .chips { margin-bottom: 14px; }
.stx-widget .stx-form-season .orow { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--c-sub); }
.stx-widget .stx-form-season .orow b { font-weight: 600; color: var(--c-text); white-space: nowrap; }
.stx-widget .stx-form-season.stx-layout--editorial .orow { padding: 6px 0; border-top: .5px solid var(--c-line); }
.stx-widget .stx-form-season.stx-layout--original .orow { padding: 8px 10px; margin-bottom: 6px; border-radius: 6px; background: color-mix(in srgb, var(--ab-text) 4%, var(--ab-surface)); }
.stx-widget .stx-form-season.stx-layout--original .orow b { color: var(--ab-primary); }
.stx-widget .stx-form-season .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.stx-widget .stx-form-season .tile { border-radius: 8px; padding: 8px; text-align: center; min-width: 0; }
.stx-widget .stx-form-season .tile b { display: block; font-size: 16px; font-weight: 600; }
.stx-widget .stx-form-season .tile span { display: block; font-size: 9px; margin-top: 2px; color: var(--c-sub); }
.stx-widget .stx-form-season.stx-layout--editorial .tile { background: rgba(255,255,255,.06); }
.stx-widget .stx-form-season.stx-layout--editorial .tile b { color: var(--ab-accent); }
.stx-widget .stx-form-season.stx-layout--original .tile { background: color-mix(in srgb, var(--ab-text) 4%, var(--ab-surface)); }
.stx-widget .stx-form-season.stx-layout--original .tile b { color: var(--ab-primary); }
.stx-widget .stx-form-season.stx-layout--editorial .chip.W { background: var(--ab-accent); color: var(--ab-primary); }
.stx-widget .stx-form-season.stx-layout--editorial .chip.D { background: rgba(255,255,255,.15); color: #fff; }
.stx-widget .stx-form-season.stx-layout--editorial .chip.L { background: color-mix(in srgb, var(--ab-negative) 70%, #000); color: #fff; }
.stx-widget .stx-form-season.stx-layout--original .chip.W { background: var(--ab-primary); color: #fff; }
.stx-widget .stx-form-season.stx-layout--original .chip.D { background: var(--ab-muted); color: #fff; }
.stx-widget .stx-form-season.stx-layout--original .chip.L { background: var(--ab-accent); color: var(--ab-on-accent); }

/* Fan: one card, split bars */
.stx-widget .stx-form-season.stx-layout--fan { background: var(--ab-primary); padding: 18px; color: #fff; }
.stx-widget .stx-form-season.stx-layout--fan .btitle { color: #fff; }
.stx-widget .stx-form-season.stx-layout--fan .names { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.stx-widget .stx-form-season.stx-layout--fan .chiprow { display: flex; justify-content: space-between; margin-bottom: 14px; }
.stx-widget .stx-form-season.stx-layout--fan .chip { width: 18px; height: 18px; border-radius: 4px; font-size: 9px; }
.stx-widget .stx-form-season.stx-layout--fan .chiprow .chips { gap: 4px; }
.stx-widget .stx-form-season.stx-layout--fan .chip.W { background: var(--ab-accent); color: var(--ab-on-accent); }
.stx-widget .stx-form-season.stx-layout--fan .chip.D { background: rgba(255,255,255,.3); color: #fff; }
.stx-widget .stx-form-season.stx-layout--fan .chip.L { background: color-mix(in srgb, var(--ab-primary) 55%, #000); color: #fff; }
.stx-widget .stx-form-season.stx-layout--fan .panel { background: var(--ab-surface); color: var(--ab-text); border-radius: 10px; padding: 14px; }
.stx-widget .stx-form-season.stx-layout--fan .srow + .srow { margin-top: 12px; }
.stx-widget .stx-form-season .srow .line { display: grid; grid-template-columns: .6fr 1.4fr .6fr; align-items: center; gap: 8px; }
.stx-widget .stx-form-season .srow .v { font-size: 13px; font-weight: 600; }
.stx-widget .stx-form-season .srow .v.r { text-align: right; }
.stx-widget .stx-form-season .split { display: flex; height: 8px; border-radius: 4px; overflow: hidden; }
.stx-widget .stx-form-season .split .l { background: var(--ab-primary); }
.stx-widget .stx-form-season .split .r { background: var(--ab-accent); }
.stx-widget .stx-form-season .srow .cap { text-align: center; font-size: 10px; color: var(--ab-muted); margin-top: 8px; }
.stx-widget .stx-form-season.stx-layout--fan .foot { color: rgba(255,255,255,.6); }
.stx-widget .stx-form-season.stx-layout--fan .games { color: #fff; }
.stx-widget .stx-form-season.stx-layout--fan .g-team, .stx-widget .stx-form-season.stx-layout--fan .games li { color: #fff; }

/* Comparator: a table with diverging bars */
.stx-widget .stx-form-season.stx-layout--comparator { background: var(--c-bg); border: .5px solid var(--ab-border); color: var(--c-text); }
.stx-widget .stx-form-season.stx-layout--comparator .btitle { text-align: center; color: var(--ab-positive); padding: 14px 20px 0; margin: 0; }
.stx-widget .stx-form-season.stx-layout--comparator .hrow { display: grid; grid-template-columns: 1fr 1.4fr 1fr; padding: 14px 20px; border-bottom: .5px solid var(--ab-border); font-size: 13px; font-weight: 600; }
.stx-widget .stx-form-season.stx-layout--comparator .hrow .mid { font-size: 11px; font-weight: 400; color: var(--ab-muted); text-align: center; }
.stx-widget .stx-form-season.stx-layout--comparator .hrow .r { text-align: right; }
.stx-widget .stx-form-season.stx-layout--comparator .brow, .stx-widget .stx-form-season.stx-layout--comparator .nrow { padding: 10px 20px; border-top: .5px solid var(--c-line); }
.stx-widget .stx-form-season.stx-layout--comparator .hrow + .brow, .stx-widget .stx-form-season.stx-layout--comparator .hrow + .nrow { border-top: none; }
.stx-widget .stx-form-season.stx-layout--comparator .brow .line { display: flex; align-items: center; gap: 8px; }
.stx-widget .stx-form-season.stx-layout--comparator .v { font-size: 13px; color: var(--ab-text); width: 36px; }
.stx-widget .stx-form-season.stx-layout--comparator .v.r { text-align: right; }
.stx-widget .stx-form-season.stx-layout--comparator .v.best { font-weight: 600; color: var(--ab-positive); }
.stx-widget .stx-form-season.stx-layout--comparator .bars { flex: 1; display: flex; height: 8px; }
.stx-widget .stx-form-season.stx-layout--comparator .half { width: 50%; display: flex; }
.stx-widget .stx-form-season.stx-layout--comparator .half.l { justify-content: flex-end; }
.stx-widget .stx-form-season.stx-layout--comparator .half i { display: block; height: 8px; background: color-mix(in srgb, var(--ab-muted) 45%, var(--ab-surface)); }
.stx-widget .stx-form-season.stx-layout--comparator .half.l i { border-radius: 4px 0 0 4px; }
.stx-widget .stx-form-season.stx-layout--comparator .half.r i { border-radius: 0 4px 4px 0; }
.stx-widget .stx-form-season.stx-layout--comparator .half i.best { background: var(--ab-positive); }
.stx-widget .stx-form-season.stx-layout--comparator .cap { text-align: center; font-size: 11px; color: var(--ab-muted); }
.stx-widget .stx-form-season.stx-layout--comparator .brow .cap { margin-top: 6px; }
.stx-widget .stx-form-season.stx-layout--comparator .nrow { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; }
.stx-widget .stx-form-season.stx-layout--comparator .nrow .v { width: auto; }
.stx-widget .stx-form-season.stx-layout--comparator .note { padding: 12px 20px; font-size: 11px; font-style: italic; color: var(--ab-muted); }
.stx-widget .stx-form-season.stx-layout--comparator .games { padding: 0 20px 14px; margin-top: 0; }
.stx-widget .stx-form-season.stx-layout--comparator .foot { padding: 0 20px 12px; }
.stx-widget .stx-form-season.stx-layout--comparator .chip.W { background: var(--ab-positive); color: #fff; }
.stx-widget .stx-form-season.stx-layout--comparator .chip.D { background: var(--ab-muted); color: #fff; }
.stx-widget .stx-form-season.stx-layout--comparator .chip.L { background: var(--ab-negative); color: #fff; }

@media (max-width: 520px) {
  .stx-widget .stx-form-season .cols { flex-direction: column; gap: 20px; }
  .stx-widget .stx-form-season .vsep { width: auto; height: 1px; }
}

.stx-widget .stx-form-season.stx-layout--original .sub { text-transform: uppercase; }

/* The original layout with a game list: a column per side with its games as rows, then the tiles. */
.stx-widget .stx-form-season.v-rows { padding: 24px 24px 0; }
.stx-widget .stx-form-season.v-rows .cols { gap: 0; padding-bottom: 8px; }
.stx-widget .stx-form-season.v-rows .col { padding: 0 18px; }
.stx-widget .stx-form-season.v-rows .col + .col { border-left: 1px solid #eceef2; }
.stx-widget .stx-form-season.v-rows .tname { font-size: 16px; font-weight: 700; margin: 0; }
.stx-widget .stx-form-season.v-rows .tname.home { color: var(--ab-home-ink); }
.stx-widget .stx-form-season.v-rows .tname.away { color: var(--ab-away-ink); }
.stx-widget .stx-form-season.v-rows .sub { margin: 3px 0 8px; letter-spacing: .05em; color: var(--ab-note); }
.stx-widget .stx-form-season .glist { list-style: none; margin: 0; padding: 0; }
.stx-widget .stx-form-season .glist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #f4f5f8; font-size: 12.5px; }
.stx-widget .stx-form-season .glist .chip { width: 20px; height: 20px; border-radius: 5px; font-size: 11px; font-weight: 700; color: #fff; background: var(--ab-loss); }
.stx-widget .stx-form-season .glist .chip.W { background: var(--ab-best-green-ink); }
.stx-widget .stx-form-season .glist .rd { flex: none; min-width: 24px; max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--ab-note); }
.stx-widget .stx-form-season .glist .g-opp { flex: 1; min-width: 0; font-weight: 600; color: var(--ab-card-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stx-widget .stx-form-season .glist .g-res { flex: none; font-size: 11px; font-weight: 700; color: var(--ab-note); text-transform: uppercase; white-space: nowrap; }
.stx-widget .stx-form-season .glist .g-res small { margin-left: 6px; font-weight: 400; font-size: 10px; text-transform: none; }
.stx-widget .stx-form-season.v-rows .tiles { margin-top: 14px; }
.stx-widget .stx-form-season.v-rows .stx-card__note { margin: 0 -24px; padding: 14px 24px; }
.stx-widget .stx-form-season.v-rows .glist .chip.L { background: var(--ab-loss); }
.stx-widget .stx-form-season.v-rows .glist .chip.D { background: var(--ab-muted); }
