/* Club, country and league pages, classic design: info.asp, ver_equipa.asp, ver_pais.asp, info_pais.asp, feds_nacionais.asp, classificacao.asp. Classic palette with PM-2026 elements:
   club header card, fact grid, cards in pairs, meters, trophy tiles, press card, mini stadium. */

.inf { width: 95%; margin: 0 auto 16px; display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; color: #23301a; }
.inf *, .inf *::before, .inf *::after { box-sizing: border-box; }
.inf a { color: #2e6b12; }
.inf-muted { color: #6b7760; font-weight: normal; }
.inf-eyebrow { font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.4px; color: #6b7760; }
.inf-dot { width: 4px; height: 4px; border-radius: 50%; background: #b9c7a3; flex: 0 0 auto; }

/* Chips */
.inf-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px;
  background: #eef4df; color: #23301a; font-size: 11px; font-weight: bold; white-space: nowrap; line-height: 1.6;
}
.inf a.inf-chip { text-decoration: none; }
.inf-chip--dark, .inf a.inf-chip--dark { background: #2f6b22; color: #fff; }
.inf-chip--accent { background: #BAE057; color: #1f3d10; }
.inf-chip--good { background: #dff1c4; color: #2f6512; }
.inf-chip--warn { background: #fbeec2; color: #7a5000; }
.inf-chip--bad  { background: #fbdcd6; color: #9a3420; }

/* Division switcher */
.inf-switch { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin: 0; }
.inf-switch select { max-width: 100%; min-width: 0; min-height: 34px; }

/* Club header */
.inf-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 18px 22px; padding: 18px 20px;
  background: linear-gradient(135deg, #fff 55%, #eef6d8 100%); border: 1px solid #d6e4b5; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(35,48,26,0.06);
}
.inf-hero__crest { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 0; }
.inf-hero__crest img { width: 150px; height: 150px; object-fit: contain; }
.inf-hero__body { flex: 1 1 auto; min-width: 0; }
.inf-hero__name { margin: 4px 0 6px; padding: 0; border: 0; font-family: inherit; font-size: 28px; line-height: 1.1; font-weight: bold; color: #1f2a17; overflow-wrap: anywhere; }
.inf-hero__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: #5b6650; }
.inf-hero__sub img { vertical-align: -1px; }
.inf-hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px 24px;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed #d6e4b5;
}
.inf-hero__kit { flex: 0 0 auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,0.18)); }
.inf-cell { min-width: 0; }
.inf-cell__k { font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.2px; color: #6b7760; }
.inf-cell__v { margin-top: 3px; font-size: 13px; font-weight: bold; color: #23301a; overflow-wrap: anywhere; }
.inf-cell__v img { vertical-align: -1px; }

/* Cards */
.inf-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.inf-row > .inf-card { flex: 1 1 300px; min-width: 0; }
.inf-card { background: #fff; border: 1px solid #d6e4b5; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(35,48,26,0.05); }
.inf-card__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px;
  padding: 10px 14px; background: #f3f8e6; border-bottom: 1px solid #e3ecd0;
}
.inf-card__title { margin: 0; padding: 0; border: 0; font-family: inherit; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.2px; color: #2e6b12; }
.inf-card__link { font-size: 12px; font-weight: bold; }
/* Card heads in the match report's board green (css/match-report.css .rh-board) */
.inf-card__head {
  background: radial-gradient(ellipse at top, #2f5a37 0%, transparent 70%), linear-gradient(180deg, #13321c 0%, #1f5426 100%);
  border-bottom: 0;
}
/* the shell colours h2 (black) with a stronger rule; the head is dark, so the title must be white */
.inf .inf-card__head .inf-card__title { color: #fff !important; }
.inf a.inf-card__link, .inf a.inf-card__link:visited { color: #d9f08a; }
.inf a.inf-card__link:hover, .inf a.inf-card__link:focus { color: #fff; }
.inf-card__head .inf-chip { background: rgba(255,255,255,0.14); color: #fff; }
.inf-card__body { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* Label / value rows */
.inf-fact { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; padding: 5px 0; border-bottom: 1px solid #f0f4e6; font-size: 13px; }
.inf-fact:last-child { border-bottom: 0; }
.inf-fact__k { color: #5b6650; min-width: 0; }
.inf-fact__v { color: #23301a; font-weight: bold; text-align: end; min-width: 0; overflow-wrap: anywhere; }
.inf-fact__v img { vertical-align: -1px; }
.inf-sep { height: 8px; }

/* Graded meters (replace the old bar images, same levels) */
.inf-grade { display: inline-flex; align-items: center; gap: 8px; }
.inf-bar { display: inline-block; flex: 0 0 64px; width: 64px; height: 8px; border-radius: 999px; background: #e7ecdc; overflow: hidden; vertical-align: middle; }
.inf-bar > span { display: block; height: 100%; border-radius: 999px; }
.inf-bar--bad  > span { background: #d9534f; }
.inf-bar--warn > span { background: #f0a020; }
.inf-bar--good > span { background: #6aa628; }
/* the top tiers (skills 16-20 blue; potential: include_files/funcoes_comuns.asp g_pot_color) */
.inf-bar--blue > span { background: #2f7fd6; }
.inf-bar--purple > span { background: #8e44ad; }
.inf-bar--gold { overflow: visible; }
.inf-bar--gold > span { background: linear-gradient(90deg, #ffe27a, #e0a800); box-shadow: 0 0 6px rgba(255,196,30,0.75); }

/* Finances */
.inf-money { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 4px 0 10px; margin-bottom: 4px; border-bottom: 1px dashed #d6e4b5; }
.inf-money__v { font-size: 26px; font-weight: bold; line-height: 1.1; color: #1f2a17; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Stadium summary */
.inf-stadium { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; }
.inf-stadium__art { flex: 0 1 200px; min-width: 0; display: block; border-radius: 10px; overflow: hidden; }
.inf-stadium__art .pm-stadium { max-width: 100% !important; }
.inf-stadium__info { flex: 1 1 200px; min-width: 0; }
.inf a.inf-stadium__name { display: block; margin-bottom: 4px; font-size: 16px; font-weight: bold; color: #1f2a17; }

/* Trophies */
.inf-trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; padding-top: 4px; }
.inf a.inf-trophy {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; text-align: center; text-decoration: none;
  background: #f7faef; border: 1px solid #e3ecd0; border-radius: 10px; color: #23301a; transition: border-color 0.15s, background 0.15s;
}
.inf a.inf-trophy:hover { border-color: #9cc94a; background: #fff; }
.inf-trophy img { width: 40px; height: 40px; object-fit: contain; }
.inf-trophy__y { font-size: 12px; font-weight: bold; font-variant-numeric: tabular-nums; }
.inf-trophy__c { font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.6px; color: #6b7760; overflow-wrap: anywhere; }
.inf-empty { padding: 8px 2px; color: #6b7760; font-size: 12px; list-style: none; }

/* Press conference */
.inf-press { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0; }
.inf-press__icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #eef4df; color: #2e6b12; font-size: 17px; }
.inf-press__body { flex: 1 1 auto; min-width: 0; }
.inf-press__text { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.inf-press__date { margin-top: 6px; font-size: 11px; color: #6b7760; }

/* Visitors and guestbook */
.inf-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.inf-list__item { padding: 6px 0; border-top: 1px solid #f0f4e6; font-size: 13px; min-width: 0; overflow-wrap: anywhere; }
.inf-list__item:first-child { border-top: 0; }
.inf-list__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.inf-list__date { font-size: 11px; color: #6b7760; font-variant-numeric: tabular-nums; }
.inf-list__sub { margin-top: 2px; font-size: 12px; color: #5b6650; }
.inf-list__sub img { vertical-align: -1px; }
.inf-list__msg { font-style: italic; font-size: 12px; color: #23301a; }

/* Notices */
.inf-note { padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 1.5; border: 1px solid; }
.inf-note--bad  { background: #fdecea; border-color: #f1b5aa; color: #8a2c1a; }
.inf-note--warn { background: #fdf5dc; border-color: #ecd28a; color: #6b4a00; }
.inf-note--info { background: #eef6d8; border-color: #c9df8f; color: #2d3b1f; margin-bottom: 6px; }
.inf-text { margin: 0; font-size: 13px; line-height: 1.55; }

/* Stadium page: current info beside the stadium */
.inf-cur { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-start; }
.inf-cur__facts { flex: 1 1 280px; min-width: 0; }
.inf-cur__view { flex: 1 1 320px; min-width: 0; }
.inf-cur__view #myFlashDiv { max-width: 100%; }

/* Roof / pitch actions and buttons */
.inf-action { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
.inf-action p { margin: 0; font-size: 13px; line-height: 1.55; }
.inf .inf-btn { min-height: 38px; padding: 8px 18px; border-radius: 8px; cursor: pointer; }

/* Stadium works form */
.inf-works { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.inf-works__type { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.inf-works__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr); gap: 8px 12px; align-items: center; }
.inf-works__head { font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.2px; color: #6b7760; }
.inf-works__lab { font-size: 13px; font-weight: bold; color: #23301a; min-width: 0; overflow-wrap: anywhere; }
.inf .inf-input { width: 100%; min-width: 0; max-width: 100%; min-height: 34px; padding: 5px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.inf .inf-input[readonly] { background: #f3f8e6; }
.inf-works__type .inf-input { width: auto; min-width: 160px; }
.inf-works__foot { display: flex; justify-content: flex-end; }

/* Team page (ver_equipa.asp): advert slot, drawn pitch, compact trophies, two-column visitor list */
.inf-ad { display: flex; justify-content: center; }
.inf-pitch {
  position: relative; aspect-ratio: 3 / 2; border: 6px solid #3f7d1c; border-radius: 10px;
  background: repeating-linear-gradient(90deg, #5fa531 0 14px, #579c2b 14px 28px);
}
.inf-pitch > span { position: absolute; border: 2px solid rgba(255,255,255,0.75); }
.inf-pitch__mid { top: 0; bottom: 0; left: 50%; width: 0; border-width: 0 0 0 2px !important; }
.inf-pitch__circle { top: 50%; left: 50%; width: 26%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); }
.inf-pitch__box { top: 24%; bottom: 24%; width: 16%; }
.inf-pitch__box--l { left: -2px; border-left: 0 !important; }
.inf-pitch__box--r { right: -2px; border-right: 0 !important; }
.inf-trophies--compact { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.inf-list--cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 18px; }
.inf-list--cols .inf-list__item:nth-child(2) { border-top: 0; }

/* Country pages (ver_pais.asp, info_pais.asp): flag header, action dropdowns, link rows */
.inf-hero__crest--flag img { width: auto; height: 96px; max-width: 160px; object-fit: contain; border-radius: 6px; box-shadow: 0 2px 6px rgba(35,48,26,0.25); }
/* Action buttons (replace the old "Choose an action" dropdowns) */
.inf-hero__actions, .inf-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inf-hero__actions { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #d6e4b5; }
.inf-hero__actions:empty, .inf-card__actions:empty { display: none; }
.inf-card__actions { margin-top: 8px; }
.inf a.inf-btn2 {
  display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 999px;
  background: #eef6d8; border: 1px solid #9cc94a; color: #1f4d0f; font-size: 12px; font-weight: bold;
  text-decoration: none; white-space: nowrap; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.inf a.inf-btn2:hover, .inf a.inf-btn2:focus { background: #2f6b22; border-color: #2f6b22; color: #fff; text-decoration: none; }
.inf a.inf-linkrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: bold; }

/* Federation views (feds_nacionais.asp): legacy table markup skinned as cards.
   Scoped to .inf-skin so only that page changes; layout tables keep their structure. */
.inf-skin { gap: 0; }
.inf-skin > * { max-width: 100%; }
.inf-skin table.table_border {
  width: 100% !important; margin: 0 0 14px; border: 1px solid #d6e4b5; border-collapse: separate; border-spacing: 0;
  border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(35,48,26,0.05); line-height: 1.5;
}
.inf-skin table.table_border td { padding: 4px 8px; }
.inf-skin table.table_border td table { margin: 4px 0; width: 100% !important; }
.inf-skin .table_header, .inf-skin .table_headerF { background: #f3f8e6; border-bottom: 0; text-shadow: none; filter: none; line-height: 1.4; }
.inf-skin .table_header td, .inf-skin .table_headerF td { padding: 10px 14px !important; border-bottom: 1px solid #e3ecd0; }
.inf-skin .titulo2, .inf-skin .table_header td.titulo2 {
  border: 0; border-bottom: 1px solid #e3ecd0; padding-left: 14px; margin: 0; background: #f3f8e6;
  font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1.2px; color: #2e6b12;
}
.inf-skin #tabela_titulo { margin: 14px 0 8px; padding: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: #2e6b12; border-bottom: 2px solid #BAE057; }
.inf-skin .comentarios, .inf-skin .team_players, .inf-skin .specialMarg, .inf-skin .specialMarg9 { font-size: 13px; line-height: 1.5; color: #23301a; }
.inf-skin .comentarios { color: #5b6650; }
.inf-skin td.comentarios, .inf-skin td.team_players { border-bottom: 1px solid #f0f4e6; }
.inf-skin .butao, .inf-skin input[type=text], .inf-skin input[type=password], .inf-skin select, .inf-skin textarea {
  max-width: 100%; min-height: 32px; padding: 4px 8px; border: 1px solid #c9d8a8; border-radius: 6px; background: #fff; font-family: inherit; font-size: 13px;
}
.inf-skin textarea { min-height: 90px; }
.inf-skin input[type=submit].butao, .inf-skin input[type=button].butao, .inf-skin button.butao {
  cursor: pointer; background: #f3f8e6; border-color: #9cc94a; font-weight: bold; color: #1f3d10;
}
.inf-skin .new_button_small { min-height: 34px; padding: 7px 16px; border-radius: 8px; font-size: 12px; }
.inf-skin img { max-width: 100%; height: auto; }
.inf-skin .inf-radio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.inf-hero__crest--logo img { width: auto; height: auto; max-width: 190px; max-height: 150px; object-fit: contain; }

/* League table (classificacao.asp): division header, standings with zone bars, transfers table, chart */
.inf-hero--league { align-items: center; gap: 12px 16px; padding: 12px 16px; }
.inf-hero--league .inf-hero__crest--flag img { height: 52px; max-width: 80px; border-radius: 4px; }
.inf-hero--league .inf-hero__name { margin: 2px 0 2px; font-size: 22px; }
.inf-hero__nav { flex: 0 1 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; }
.inf-hero__nav a.inf-btn2, .inf-hero__nav span.inf-btn2 { min-height: 28px; padding: 3px 10px; font-size: 11px; }
.inf-hero__pin { font-size: 15px; color: #6b7760; }
.inf-hero__pin .pm-fa-pin[data-value="1"] { color: #d9a400; }
.inf span.inf-btn2.is-off {
  display: inline-flex; align-items: center; border-radius: 999px;
  border: 1px solid #e3ecd0; color: #b9c7a3; font-weight: bold; cursor: not-allowed;
}
.inf-st__t { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.inf-st__t th {
  padding: 8px 4px; border-bottom: 2px solid #e3ecd0; text-align: center; white-space: nowrap;
  font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #6b7760;
}
.inf-st__t td { padding: 9px 4px; border-bottom: 1px solid #f0f4e6; text-align: center; color: #23301a; }
.inf-st__t .inf-st__team { width: 100%; text-align: start; }
.inf-st__t td.inf-st__team { overflow-wrap: anywhere; }
.inf-st__team a { color: #23301a; text-decoration: none; }
.inf-st__team a:hover { color: #2e6b12; text-decoration: underline; }
.inf-st__online { margin-inline-start: 6px; white-space: nowrap; }
.inf-st__online img { vertical-align: -2px; }
.inf-st__t td.inf-st__pos { position: relative; width: 34px; padding-left: 10px; font-weight: bold; }
.inf-st__t td.inf-st__pos::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; }
.inf-st__row.is-up td.inf-st__pos::before { background: #6aa628; }
.inf-st__row.is-playoff td.inf-st__pos::before { background: #f0a020; }
.inf-st__row.is-down td.inf-st__pos::before { background: #d9534f; }
.inf-st__row:hover td { background: #f7faef; }
.inf-st__row.is-you td { background: #fdf5dc; }
.inf-st__row.is-cut td { border-bottom: 2px solid #5b6650; }
.inf-st__row.is-cut-soft td { border-bottom: 2px dashed #b9c7a3; }
.inf-st__trend { width: 18px; }
.inf-st__trend a { text-decoration: none; }
.inf-trend { font-size: 10px; }
.inf-trend--up { color: #4c8a1c; }
.inf-trend--down { color: #c0392b; }
.inf-trend--flat { color: #b9c7a3; }
.inf-st__t td.is-pos { color: #2f6512; }
.inf-st__t td.is-neg { color: #9a3420; }
.inf-st__t .inf-st__pts { padding-right: 8px; font-weight: bold; font-size: 14px; }
.inf-st__t th.inf-st__pts { font-size: 10px; }
.inf-st__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding-top: 10px; }
.inf-st__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #5b6650; }
.inf-st__key { display: inline-flex; align-items: center; gap: 6px; }
.inf-st__key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #6aa628; }
.inf-st__key--playoff::before { background: #f0a020; }
.inf-st__key--down::before { background: #d9534f; }
.inf-st__key--you::before { background: #fdf5dc; border: 1px solid #ecd28a; }
.inf-st__rep { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: bold; }
.inf-tblwrap { overflow-x: auto; }
.inf-tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.inf-tbl th {
  padding: 8px 6px; border-bottom: 2px solid #e3ecd0; text-align: start; white-space: nowrap;
  font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #6b7760;
}
.inf-tbl td { padding: 7px 6px; border-bottom: 1px solid #f0f4e6; text-align: start; vertical-align: middle; }
.inf-tbl tbody tr:hover td { background: #f7faef; }
.inf-tbl .inf-tbl__c { text-align: center; }
.inf-tbl .inf-tbl__num { text-align: end; white-space: nowrap; }
.inf-tbl .inf-tbl__nw { white-space: nowrap; }
.inf-tbl .inf-tbl__date { white-space: nowrap; color: #6b7760; }
.inf-chart { height: 600px; }

/* Trophy room (mudar.asp?action=6): the opened trophy, and the trophy card above the groups */
.inf a.inf-trophy.is-on { border-color: #2f6b22; background: #eef6d8; box-shadow: 0 0 0 3px rgba(156,201,74,0.45); }
.inf a.inf-trophy.is-on .inf-trophy__y { color: #1f4d0f; }
#tr-sel { scroll-margin-top: 12px; }
.inf-trsel { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 13px; font-weight: bold; }
.inf-trsel img { width: 48px; height: 48px; object-fit: contain; }

@media (max-width: 1180px) {
  .inf { width: 100%; }
  .inf-hero__facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .inf { gap: 12px; }
  .inf-switch { justify-content: flex-start; }
  .inf-hero { flex-wrap: wrap; justify-content: center; padding: 14px; text-align: center; }
  .inf-hero__body { flex-basis: 100%; order: 3; }
  .inf-hero__sub { justify-content: center; }
  .inf-hero__name { font-size: 22px; }
  .inf-hero__facts { text-align: start; gap: 10px 14px; }
  .inf-fact { flex-wrap: wrap; }
  .inf-fact__v { text-align: start; }
  .inf-stadium__art { flex-basis: 100%; }
  .inf-list--cols { grid-template-columns: minmax(0,1fr); }
  .inf-list--cols .inf-list__item:nth-child(2) { border-top: 1px solid #f0f4e6; }
  .inf .inf-input { min-height: 44px; font-size: 16px; }
  .inf-hero__actions { justify-content: center; }
  .inf a.inf-btn2 { min-height: 44px; padding: 10px 16px; white-space: normal; }
  .inf-hero__crest--flag img { height: 72px; }
  .inf-hero--league { flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 10px; padding: 10px 12px; text-align: start; }
  .inf-hero--league .inf-hero__crest--flag img { height: 30px; max-width: 46px; }
  .inf-hero--league .inf-hero__body { flex: 1 1 0; order: 0; }
  .inf-hero--league .inf-hero__name { font-size: 18px; }
  .inf-hero--league .inf-hero__sub { justify-content: flex-start; font-size: 12px; }
  .inf-hero__nav { flex: 0 0 auto; display: grid; grid-template-columns: repeat(2, auto); gap: 4px; }
  .inf-hero__nav a.inf-btn2, .inf-hero__nav span.inf-btn2 { min-height: 32px; padding: 3px 9px; justify-content: center; white-space: nowrap; }
  .inf-chart { height: 420px; }
  .inf-skin table.table_border > tbody > tr > td[width='50%'], .inf-skin table.table_border > tbody > tr > td[width="50%"] { display: block; width: auto !important; }
  .inf-skin td[nowrap] { white-space: normal; }
  .inf-skin table.table_border td { padding: 4px 6px; overflow-wrap: anywhere; }
  .inf-skin .butao, .inf-skin input[type=text], .inf-skin select { min-height: 44px; }
  .inf-skin .new_button_small, .inf-skin input[type=submit] { min-height: 44px; }
  .inf .inf-btn { min-height: 44px; width: 100%; }
  .inf-action { align-items: stretch; }
  .inf-works__type .inf-input { width: 100%; min-width: 0; }
  .inf-works__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .inf-works__grid > div:first-child { display: none; }
  .inf-works__lab { grid-column: 1 / -1; margin-top: 4px; }
  .inf-works__foot { justify-content: stretch; }
}

@media (max-width: 480px) {
  /* compact on phones (player feedback): less scrolling for the team details and the league table */
  .inf-hero--league { gap: 8px; padding: 8px 10px; }
  .inf-hero--league .inf-hero__crest--flag img { height: 22px; max-width: 34px; border-radius: 3px; }
  .inf-hero--league .inf-eyebrow { font-size: 9px; letter-spacing: 1px; }
  .inf-hero--league .inf-hero__name { margin: 0; font-size: 16px; }
  .inf-hero--league .inf-hero__sub { font-size: 11px; }
  .inf-hero__nav { gap: 3px; }
  .inf-hero__nav a.inf-btn2, .inf-hero__nav span.inf-btn2 { min-height: 26px; padding: 2px 8px; font-size: 10px; }
  .inf { gap: 10px; }
  .inf-hero { gap: 10px 14px; padding: 12px; }
  .inf-hero__crest img { width: 130px; height: 130px; }
  .inf-hero__crest--logo img { max-width: 170px; max-height: 130px; }
  .inf-hero__name { margin: 2px 0 4px; font-size: 20px; }
  .inf-hero__facts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 12px; margin-top: 10px; padding-top: 10px; }
  .inf-cell__k { font-size: 9px; letter-spacing: 1px; }
  .inf-cell__v { margin-top: 1px; font-size: 12px; }
  .inf-card__head { padding: 8px 12px; }
  .inf-card__body { padding: 6px 12px 8px; }
  .inf-fact { padding: 4px 0; font-size: 12px; flex-wrap: nowrap; }
  .inf-fact__v { text-align: end; }
  .inf-money { padding: 2px 0 6px; }
  .inf-money__v { font-size: 22px; }
  .inf-st__t td { padding-top: 6px; padding-bottom: 6px; }
  .inf-st__t td.inf-st__team { max-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .inf-st__t .inf-st__pts { font-size: 13px; }
  .inf-st__foot { padding-top: 6px; gap: 6px 12px; }
  .inf-st__t { font-size: 12px; }
  .inf-st__t .inf-st__opt { display: none; }
  .inf-st__t th, .inf-st__t td { padding-left: 2px; padding-right: 2px; }
  .inf-st__t td.inf-st__pos { padding-left: 8px; }
}
