:root { --navy: #06162f; --navy-light: #0b2850; --blue: #0878d1; --cbtm-yellow: #fdc80e; --cbtm-green: #008074; --line: rgba(112,177,230,.24); --white: #f7fbff; }
* { box-sizing: border-box; }
html, body, form { min-height: 100%; }
body { margin: 0; padding-top: 0; background: radial-gradient(circle at top, #123864 0, var(--navy) 45%, #020b18 100%); color: var(--white); font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; }
.scoreboard { width: 100%; min-height: 100vh; padding: 6px 14px 20px; }
.mainHeader { min-height: 82px; display: grid; grid-template-columns: 170px 1fr 300px; align-items: center; gap: 18px; padding: 6px 18px; background: linear-gradient(90deg, #061329, #0a2a51 50%, #061329); border: 1px solid #175687; border-bottom: 4px solid var(--cbtm-green); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.brandBlock { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.brandLogo { display: block; width: 155px; max-height: 70px; object-fit: contain; object-position: left center; }
.eventHeading { min-width: 0; text-align: center; text-transform: uppercase; }
.titulo { display: block; color: var(--cbtm-yellow); font-size: clamp(15px, 1.25vw, 21px); font-weight: 900; line-height: 1.05; text-shadow: 0 2px 2px #000; }
.eventDate { display: block; width: 155px; margin-top: 2px; color: white; font-size: 13px; font-weight: 700; text-align: center; text-transform: lowercase; }
.headerActions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-align: right; }
.panel-qr { display: flex; align-items: center; gap: 6px; color: #d8eafb; font-size: 9px; line-height: 1.1; text-align: left; text-transform: uppercase; }
.panel-qr img { flex: 0 0 62px; padding: 2px; border-radius: 3px; background: #fff; }
.panel-qr span { width: 62px; }
.relogio { display: block; font-size: 23px; font-weight: 900; font-variant-numeric: tabular-nums; }
.columnLabels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; padding: 6px 0; color: white; background: linear-gradient(180deg, #008c7f, #056057); border-radius: 4px 4px 0 0; text-align: center; text-transform: uppercase; font-size: 13px; font-weight: 900; letter-spacing: .05em; }
.columnLabelGroup { display: grid; grid-template-columns: 82px 165px minmax(130px,1fr) 38px minmax(130px,1fr); align-items: center; }
.gamesGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.gameInfoBox { min-height: 74px; display: grid; grid-template-columns: 82px 165px minmax(130px,1fr) 38px minmax(130px,1fr); align-items: stretch; background: linear-gradient(90deg, rgba(7,29,60,.98), rgba(8,39,76,.98)); border-bottom: 1px solid var(--line); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.gameInfoBox:nth-child(4n+3), .gameInfoBox:nth-child(4n+4) { background: linear-gradient(90deg, rgba(5,22,47,.98), rgba(7,34,67,.98)); }
.schedule, .gameMeta, .player, .versus { display: flex; align-items: center; justify-content: center; }
.schedule { flex-direction: column; border-right: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.gameDate { color: #87c8f4; font-size: 14px; font-weight: 700; }
.gameTime { font-size: 22px; font-weight: 900; }
.gameMeta { flex-direction: column; gap: 3px; padding: 8px; text-align: center; border-right: 1px solid var(--line); text-transform: uppercase; }
.gameMeta strong { color: #81c9fb; font-size: 15px; }
.gameMeta span { font-size: 12px; }
.gameMeta small, .player small { color: #8ba7bf; font-size: 11px; line-height: 1.15; }
.player { min-width: 0; flex-wrap: wrap; align-content: center; gap: 6px; padding: 9px 10px; text-align: center; text-transform: uppercase; }
.playerIcon { width: 19px; height: 19px; filter: invert(39%) sepia(95%) saturate(1700%) hue-rotate(183deg); }
.playerTwo .playerIcon { filter: invert(19%) sepia(96%) saturate(3101%) hue-rotate(342deg); }
.playerName { min-width: 0; font-size: 15px; font-weight: 900; overflow-wrap: anywhere; }
.playerName br { display: block; content: ""; margin-top: 3px; }
.player small { flex-basis: 100%; }
.versus { color: white; font-size: 16px; font-weight: 900; }
footer { padding: 8px 4px 0; color: #7890a7; text-align: right; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.games-layout-one-column .gamesGrid { grid-template-columns: 1fr; }
.games-layout-one-column .columnLabels { grid-template-columns: 1fr; }
.games-layout-one-column .columnLabelGroupSecond { display: none; }
.games-layout-simplified .optionalDetail { display: none; }
.games-layout-simplified .columnLabelGroup, .games-layout-simplified .gameInfoBox { grid-template-columns: 90px minmax(180px,1fr) 44px minmax(180px,1fr); }
.games-layout-simplified .gameInfoBox { min-height: 70px; }
@media (max-width: 1100px) {
  .gamesGrid { grid-template-columns: 1fr; }
  .columnLabels { grid-template-columns: 1fr; }
  .columnLabelGroupSecond { display: none; }
  .mainHeader { grid-template-columns: 135px 1fr 250px; }
  .brandLogo { width: 125px; }
  .eventDate { width: 125px; }
}
@media (max-width: 720px) {
  .scoreboard { padding: 8px; }
  .mainHeader { grid-template-columns: 90px 1fr; gap: 10px; padding: 8px 12px; }
  .brandLogo { width: 85px; }
  .eventDate { width: 85px; font-size: 11px; }
  .headerActions { position: fixed; right: 8px; bottom: 8px; z-index: 10; }
  .headerActions .relogio, .headerActions .dxbButton { display: none; }
  .panel-qr span { display: none; }
  .columnLabels { display: none; }
  .gameInfoBox, .games-layout-simplified .gameInfoBox { grid-template-columns: 75px minmax(0,1fr) 24px minmax(0,1fr); }
  .gameMeta { display: none; }
  .gameTime { font-size: 19px; }
  .playerName { font-size: 13px; }
}
