.gp8-launch{background:#bf8b2e!important;color:#151c22!important;font-weight:900!important}
.gp8-overlay{position:fixed;inset:0;z-index:20000;background:rgba(7,12,16,.94);display:none;padding:20px;overflow:auto}.gp8-overlay.open{display:block}
.gp8-shell{max-width:1240px;margin:0 auto;background:#eef1ef;border-radius:14px;min-height:calc(100vh - 40px);overflow:hidden;box-shadow:0 28px 80px #0008;color:#1e2b33}
.gp8-head{display:flex;align-items:center;gap:18px;padding:18px 24px;background:#122936;color:white}.gp8-head div{flex:1}.gp8-head small{display:block;color:#9db7c6;letter-spacing:.12em}.gp8-head h2{margin:3px 0}.gp8-head button{border:0;border-radius:7px;padding:10px 14px;font-weight:900;cursor:pointer}
.gp8-tabs{display:flex;gap:5px;padding:10px 18px;background:#d9dfdc;overflow:auto}.gp8-tabs button{border:0;background:transparent;padding:9px 13px;font-size:11px;font-weight:900;cursor:pointer;border-radius:6px}.gp8-tabs button.on{background:#173d4b;color:white}
.gp8-body{padding:20px}.gp8-grid{display:grid;grid-template-columns:minmax(500px,1.25fr) minmax(290px,.75fr);gap:16px}.gp8-card{background:#fff;border:1px solid #cad2ce;border-radius:10px;padding:16px}.gp8-card h3{margin:0 0 12px}.gp8-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin-bottom:12px}.gp8-toolbar label{display:grid;gap:4px;font-size:9px;font-weight:800}.gp8-toolbar select,.gp8-toolbar input{min-height:36px;border:1px solid #b9c3be;border-radius:6px;padding:6px}.gp8-toolbar button,.gp8-primary{border:0;border-radius:6px;padding:10px 13px;background:#173d4b;color:white;font-weight:900;cursor:pointer}.gp8-toolbar .gold{background:#c28d2f;color:#172027}
.gp8-pitch{position:relative;aspect-ratio:2/3;max-height:650px;margin:auto;background:repeating-linear-gradient(90deg,#407042 0 12.5%,#477947 12.5% 25%);border:3px solid #fff;box-shadow:inset 0 0 0 2px #ffffff55}.gp8-pitch:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:2px solid #ffffff99}.gp8-token.warn{outline:2px solid #dd8b3d}
.gp8-roster{display:grid;gap:6px;max-height:650px;overflow:auto}.gp8-player{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid #dce1df;border-radius:7px;padding:8px}.gp8-player>span{display:grid;place-items:center;background:#e8ecea;border-radius:5px;height:34px;font-weight:900}.gp8-player>div{min-width:0}.gp8-player b,.gp8-player small{display:block}.gp8-player small{font-size:9px;color:#69777e}.gp8-player strong{font-size:18px}.gp8-form{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px}.gp8-form label{display:grid;gap:6px;font-size:10px;font-weight:900}.gp8-form input[type=range]{width:100%}.gp8-form select{height:38px}.gp8-plan-status{padding:10px;border-radius:6px;background:#eef4f1;font-size:11px;margin-top:12px}.gp8-table{width:100%;border-collapse:collapse}.gp8-table th,.gp8-table td{padding:8px;border-bottom:1px solid #e1e5e3;text-align:left;font-size:10px}.gp8-metric{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.gp8-metric article{background:#edf1ef;padding:12px;border-radius:7px}.gp8-metric span,.gp8-metric b{display:block}.gp8-metric span{font-size:8px;color:#6d797f}.gp8-metric b{font-size:18px;margin-top:3px}.gp8-empty{padding:25px;text-align:center;color:#65747b}.gp8-error{padding:12px;background:#ffe3de;color:#8a251d;border-radius:7px}.gp8-ok{color:#28764e;font-weight:800}.gp8-danger{background:#9f2f2f!important}.gp8-live-feed{max-height:330px;overflow:auto;display:grid;gap:5px}.gp8-live-feed div{padding:7px;background:#f1f4f2;border-radius:5px;font-size:10px}
.gp8-score{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;text-align:center;background:#122936;color:white;border-radius:10px;padding:15px;margin-bottom:14px}.gp8-score span:first-child{text-align:right}.gp8-score span:nth-child(3){text-align:left}.gp8-score b{font-size:28px;color:#e0b15b}.gp8-score small{grid-column:1/-1;color:#a9bec8}.gp8-live-pitch{max-height:560px}.gp8-live-pitch .gp8-token.mine{background:#b47e24}.gp8-live-pitch .gp8-token.opp{background:#713e47}.gp8-match-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:16px}.gp8-match-controls h3{width:100%}.gp8-match-controls label{display:grid;gap:4px;font-size:9px;font-weight:900}.gp8-match-controls select{min-width:190px;height:36px}.gp8-match-controls button{border:0;border-radius:6px;padding:10px 13px;background:#173d4b;color:#fff;font-weight:900;cursor:pointer}.gp8-brief{white-space:pre-wrap;word-break:break-word;font-size:10px;max-height:520px;overflow:auto;background:#f1f4f2;padding:10px;border-radius:6px}
@media(max-width:850px){.gp8-overlay{padding:0}.gp8-shell{border-radius:0;min-height:100vh}.gp8-grid,.gp8-form{grid-template-columns:1fr}.gp8-head{align-items:flex-start}.gp8-metric{grid-template-columns:1fr 1fr}.gp8-score{grid-template-columns:1fr auto 1fr}}

/* =========================================================
   LIQ SCROLL FIX 2026-09-21
   O site inteiro rola normalmente.
   Somente a view MAPA fica limitada ao viewport.
   ========================================================= */

html,
body {
  height: auto !important;
  min-height: 100% !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body {
  position: static !important;
}

.app-shell {
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
}

main,
.workspace,
main.workspace {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.view {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* ÚNICA VIEW que fica presa ao viewport */
#mapa,
#mapa.view {
  height: calc(100dvh - 132px) !important;
  min-height: 0 !important;
  max-height: calc(100dvh - 132px) !important;
  overflow: hidden !important;
}



.gp8-player-crest{
  position:absolute;
  width:28px;
  height:28px;
  object-fit:contain;
  left:50%;
  top:-15px;
  transform:translateX(-50%);
  z-index:4;
  pointer-events:none;
}

.gp8-live-pitch .gp8-token{
  width:78px!important;
  min-height:44px!important;
  padding-top:14px!important;
}



/* LIQ PITCH PLAYER STANDARD */

.gp8-token{
  position:absolute!important;
  transform:translate(-50%,-50%)!important;
  background:#17252e;
  color:#fff;
  box-shadow:0 2px 7px #0007;
  font-size:9px;
  width:84px!important;
  min-height:46px!important;
  padding:14px 7px 6px!important;

  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;

  overflow:visible!important;
  border-radius:5px!important;
  text-align:center!important;
}

.gp8-token > b{
  display:-webkit-box!important;

  width:100%!important;
  max-width:72px!important;

  overflow:hidden!important;
  white-space:normal!important;

  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;

  font-size:9px!important;
  line-height:1.08!important;
  text-align:center!important;
}

.gp8-token > small{
  display:block!important;
  width:100%!important;

  margin-top:2px!important;

  font-size:8px!important;
  color:#cdd8dc;
  line-height:1.05!important;
  text-align:center!important;
}

.gp8-token-crest{
  position:absolute!important;

  width:26px!important;
  height:26px!important;

  top:-15px!important;
  left:50%!important;

  transform:translateX(-50%)!important;

  object-fit:contain!important;
  z-index:10!important;

  pointer-events:none!important;
  user-select:none!important;

  filter:drop-shadow(0 1px 2px rgba(0,0,0,.4));
}



/* LIQ ACTION SEMANTICS V1
   azul = salvar/confirmar
   neutro = recalcular/redefinir
*/

.gp8-save-primary,
#gp8SaveLineup{
  background:#176aa0!important;
  border-color:#176aa0!important;
  color:#fff!important;
}

.gp8-save-primary:hover,
#gp8SaveLineup:hover{
  background:#125781!important;
}

#gp8SaveLineup.saved{
  background:#18794e!important;
  border-color:#18794e!important;
}

.gp8-action-primary,
#gp8Best{
  background:#173f50!important;
  color:#fff!important;
}

.gp8-save-confirm{
  display:inline-flex;
  align-items:center;

  min-height:36px;
  padding:0 12px;

  border-radius:5px;

  background:#e4f4ec;
  color:#14633f;

  font-weight:900;
  font-size:12px;
  letter-spacing:.04em;
}

.gp8-pending{
  display:inline-flex;
  align-items:center;

  min-height:36px;
  padding:0 12px;

  border-radius:5px;

  background:#fff3d6;
  color:#7a5612;

  font-weight:800;
  font-size:11px;
}

.gp8-lineup-legend{
  display:flex;
  gap:18px;
  align-items:center;

  margin:0 0 12px;
  padding:9px 12px;

  border:1px solid #d8dfdc;
  border-radius:5px;

  background:#f8faf9;

  font-size:11px;
  color:#536069;
}

.gp8-lineup-legend span{
  display:flex;
  align-items:center;
  gap:7px;
}

.gp8-lineup-legend i{
  width:14px;
  height:14px;
  border-radius:3px;
  display:inline-block;
}

.gp8-legend-normal{
  background:#13232d;
}

.gp8-legend-warn{
  background:#13232d;
  border:2px solid #e68a24;
}

.gp8-position-penalty{
  color:#ffb562!important;
  font-weight:800!important;
}

/* GP8_MATCH_VISUAL_W1R2
   Visual-only match center refinement.
   No backend, DB, simulation, persistence, ownership or club-sale changes. */

.gp8-match-score{
  position:relative;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  gap:18px;
  align-items:center;
  padding:18px 22px 15px;
  margin-bottom:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:radial-gradient(circle at 50% -90%,rgba(255,255,255,.11),transparent 55%),#102936;
  box-shadow:0 10px 28px rgba(13,34,44,.12);
}
.gp8-match-score .gp8-score-team{
  display:flex;align-items:center;gap:10px;min-width:0;font-style:normal;font-weight:900;
}
.gp8-match-score .gp8-score-team em{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;
}
.gp8-match-score .gp8-score-home{justify-content:flex-end;text-align:right}
.gp8-match-score .gp8-score-away{justify-content:flex-start;text-align:left}
.gp8-match-score .gp8-token-crest{
  position:static!important;
  transform:none!important;
  width:38px!important;
  height:38px!important;
  flex:0 0 38px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.gp8-match-score>b{
  display:flex!important;align-items:center;justify-content:center;gap:8px;
  min-width:108px;color:#f1f4f5!important;font-variant-numeric:tabular-nums;
}
.gp8-match-score>b strong{font-size:30px;line-height:1}
.gp8-match-score>b i{color:#d4a24a;font-size:17px;font-style:normal;font-weight:700}
.gp8-match-score>small{
  grid-column:1/-1;margin-top:-2px;color:#9fb4be;font-size:9px;
  font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}

.gp8-live-pitch{
  position:relative;
  width:min(100%,560px);
  max-height:none!important;
  aspect-ratio:2/3;
  border:1px solid rgba(255,255,255,.7);
  border-radius:10px;
  overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.12),0 10px 25px rgba(16,39,49,.12);
}
.gp8-live-pitch .gp8-token{
  width:78px!important;
  min-height:46px!important;
  padding:14px 7px 6px!important;
  border-radius:9px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:0 4px 12px rgba(0,0,0,.28)!important;
}
.gp8-live-pitch .gp8-token.home{background:#183b49!important;color:#fff!important}
.gp8-live-pitch .gp8-token.away{
  background:#f2f4f3!important;
  color:#172831!important;
  border-color:#aeb9b5!important;
}
.gp8-live-pitch .gp8-token.away small{color:#5d6b71!important}
.gp8-live-pitch .gp8-token.mine{outline:2px solid #d1a048!important;outline-offset:1px!important}
.gp8-live-pitch .gp8-token.opp{outline:none!important}
.gp8-live-pitch .gp8-token-crest{width:24px!important;height:24px!important;top:-13px!important}

.gp8-live-side{display:grid;grid-template-rows:auto minmax(0,1fr);gap:18px;align-content:start}
.gp8-live-side>div+div{padding-top:16px;border-top:1px solid #e1e6e3}
.gp8-live-bench{display:grid;gap:6px}
.gp8-live-bench-player{
  display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;align-items:center;
  padding:7px 8px;border:1px solid #dfe5e2;border-radius:8px;background:#f8faf9;
}
.gp8-live-bench-player span:nth-child(2){min-width:0}
.gp8-live-bench-player b,.gp8-live-bench-player small{display:block}
.gp8-live-bench-player b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.gp8-live-bench-player small{margin-top:2px;color:#69777e;font-size:8px}
.gp8-live-bench-player strong{
  padding:4px 6px;border-radius:999px;background:#e9eeeb;color:#65747b;font-size:8px;letter-spacing:.06em;
}

.gp8-live-feed{max-height:330px;overflow:auto;display:grid;gap:6px;padding-right:2px}
.gp8-live-feed div{
  position:relative;padding:8px 9px 8px 12px!important;border:1px solid #e1e6e3;
  border-radius:7px!important;background:#f5f7f6!important;color:#53636a;font-size:9px!important;line-height:1.35;
}
.gp8-live-feed div:before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:3px;background:#173d4b;opacity:.62;
}
.gp8-live-feed div b{color:#172831;font-size:9px}

.gp8-match-controls{
  padding:15px 16px!important;border:1px solid #d8e0dc;border-top:3px solid #173d4b;
  border-radius:10px;background:#fff;
}
.gp8-match-controls>span{
  align-self:center;padding:7px 10px;border-radius:999px;background:#edf1ef;color:#596970;font-size:9px;font-weight:850;
}

@media(max-width:850px){
  .gp8-match-score{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px;padding:14px 10px 12px}
  .gp8-match-score .gp8-token-crest{width:28px!important;height:28px!important;flex-basis:28px!important}
  .gp8-match-score .gp8-score-team{gap:6px;font-size:10px}
  .gp8-match-score>b{min-width:76px}
  .gp8-match-score>b strong{font-size:24px}
  .gp8-live-pitch .gp8-token{width:68px!important}
}


/* GP8_VISUAL_SYSTEM_W2_20261002_BEGIN
   Inherits the club-focused, dark sporting look of the existing club UI.
   Scoped to #gp8Overlay. Club colors and hero media are supplied from
   the official GP8 football.club.brand and GP8 football.club.media.
   No data, simulation, authorization or event handlers changed. */
#gp8Overlay{
  --gp8-bg:#070b10;
  --gp8-surface:#0d151d;
  --gp8-surface-2:#111c26;
  --gp8-surface-3:#15222d;
  --gp8-line:rgba(197,215,228,.12);
  --gp8-line-strong:rgba(197,215,228,.20);
  --gp8-ink:#f6f8fb;
  --gp8-muted:#94a5b4;
  --gp8-accent:#adc0cc;
  --gp8-on-accent:#071016;
  --gp8-hero-image:none;
  background:rgba(3,7,12,.91)!important;
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  color:var(--gp8-ink);
  scrollbar-color:#394854 #0a1118;
}
#gp8Overlay *{box-sizing:border-box}
#gp8Overlay .gp8-shell{
  position:relative;
  max-width:1380px;
  margin:0 auto;
  border:1px solid var(--gp8-line-strong);
  border-radius:18px;
  background:var(--gp8-bg)!important;
  color:var(--gp8-ink)!important;
  box-shadow:0 30px 100px rgba(0,0,0,.58);
  overflow:hidden;
}
/* Club photography belongs here, not in national institutional screens. */
#gp8Overlay .gp8-head{
  position:relative;
  display:flex;
  align-items:center;
  gap:20px;
  min-height:165px;
  padding:26px 32px;
  border-bottom:3px solid var(--gp8-accent);
  background:
    linear-gradient(90deg,rgba(5,10,15,.97) 0%,rgba(6,12,17,.84) 45%,rgba(6,12,17,.56) 100%),
    var(--gp8-hero-image) center 42%/cover no-repeat,
    #0e1821!important;
  color:var(--gp8-ink);
  isolation:isolate;
}
#gp8Overlay .gp8-head:before{
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(3,7,12,.25),transparent 42%);
}
#gp8Overlay .gp8-head .gp8-coach-club-shield{
  display:block;
  flex:0 0 72px;
  width:72px;height:72px;
  object-fit:contain;
  padding:8px;
  border-radius:14px;
  background:rgba(245,249,252,.96);
  box-shadow:0 10px 32px rgba(0,0,0,.36);
}
#gp8Overlay .gp8-head .gp8-coach-club-shield[hidden]{display:none}
#gp8Overlay .gp8-head>div{min-width:0;flex:1}
#gp8Overlay .gp8-head small{
  display:block;
  margin:0 0 7px;
  color:var(--gp8-accent)!important;
  font-size:10px;
  font-weight:850;
  letter-spacing:.17em;
  text-transform:uppercase;
}
#gp8Overlay .gp8-head h2{
  margin:0 0 5px;
  color:#fff;
  font-size:clamp(25px,2.8vw,34px);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.028em;
}
#gp8Overlay #gp8Club{
  display:block;
  color:#ccd8e1;
  font-size:14px;
  font-weight:750;
}
#gp8Overlay .gp8-head button{
  flex:0 0 auto;
  align-self:flex-start;
  padding:10px 14px;
  min-height:37px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.21);
  background:rgba(10,18,25,.79);
  color:#fff;
  font-size:11px;
  font-weight:850;
  letter-spacing:.045em;
  backdrop-filter:blur(6px);
  transition:background .15s ease,border-color .15s ease;
}
#gp8Overlay .gp8-head button:hover{background:rgba(28,42,55,.95);border-color:var(--gp8-accent)}
#gp8Overlay .gp8-tabs{
  display:flex;
  gap:6px;
  padding:12px 22px;
  background:#090e14!important;
  border-bottom:1px solid var(--gp8-line);
  overflow-x:auto;
  scrollbar-width:thin;
}
#gp8Overlay .gp8-tabs button{
  position:relative;
  flex:0 0 auto;
  padding:12px 14px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:#96a4b1;
  font-size:10px;
  font-weight:900;
  letter-spacing:.045em;
  white-space:nowrap;
  transition:background .14s ease,color .14s ease;
}
#gp8Overlay .gp8-tabs button:hover:not(.on){background:#15212b;color:#fff}
#gp8Overlay .gp8-tabs button.on{
  background:var(--gp8-accent)!important;
  color:var(--gp8-on-accent)!important;
  border-color:transparent;
  box-shadow:0 6px 18px rgba(0,0,0,.2);
}
#gp8Overlay .gp8-tabs button:focus-visible,
#gp8Overlay button:focus-visible,
#gp8Overlay select:focus-visible,
#gp8Overlay input:focus-visible{outline:2px solid var(--gp8-accent);outline-offset:2px}
#gp8Overlay .gp8-body{
  padding:26px 25px 46px;
  min-height:calc(100vh - 300px);
  background:var(--gp8-bg)!important;
  color:var(--gp8-ink);
}
#gp8Overlay .gp8-body>.gp8-grid,
#gp8Overlay .gp8-body>.gp8-card,
#gp8Overlay .gp8-body>.gp8-metric,
#gp8Overlay .gp8-body>.gp8-toolbar{min-width:0}
#gp8Overlay .gp8-grid{
  grid-template-columns:minmax(0,1.38fr) minmax(300px,.88fr);
  gap:18px;
}
#gp8Overlay .gp8-card{
  min-width:0;
  padding:19px 20px;
  border:1px solid var(--gp8-line);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.022),transparent 65%),var(--gp8-surface)!important;
  color:var(--gp8-ink);
  box-shadow:0 8px 30px rgba(0,0,0,.08);
}
#gp8Overlay .gp8-card h3{
  margin:0 0 16px;
  color:#fff;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.02em;
}
#gp8Overlay .gp8-card h4{
  margin:21px 0 11px;
  padding-left:10px;
  border-left:3px solid var(--gp8-accent);
  color:#e6edf3;
  font-size:12px;
  font-weight:900;
}
#gp8Overlay .gp8-card p,
#gp8Overlay .gp8-card article{color:#c1cfda;font-size:12px;line-height:1.5}
#gp8Overlay .gp8-card article:not(.gp8-metric article){
  margin:7px 0;
  padding:11px 13px;
  border:1px solid var(--gp8-line);
  border-radius:9px;
  background:var(--gp8-surface-2);
}
#gp8Overlay .gp8-toolbar{
  display:flex;
  align-items:end;
  gap:10px;
  margin-bottom:18px;
  padding:13px 15px;
  border:1px solid var(--gp8-line);
  border-radius:12px;
  background:#0f1821;
}
#gp8Overlay .gp8-toolbar label,
#gp8Overlay .gp8-form label,
#gp8Overlay .gp8-match-controls label{
  color:var(--gp8-muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
}
#gp8Overlay .gp8-toolbar>span,
#gp8Overlay .gp8-match-controls>span{color:var(--gp8-muted);font-size:11px}
#gp8Overlay .gp8-toolbar select,
#gp8Overlay .gp8-toolbar input,
#gp8Overlay .gp8-form select,
#gp8Overlay .gp8-match-controls select{
  min-height:38px;
  padding:8px 12px;
  border:1px solid #334450;
  border-radius:8px;
  background:#101b25;
  color:#f2f5f7;
  font-size:12px;
  color-scheme:dark;
}
#gp8Overlay .gp8-toolbar button,
#gp8Overlay .gp8-primary,
#gp8Overlay .gp8-match-controls button{
  min-height:38px;
  padding:10px 15px;
  border:1px solid #334653;
  border-radius:8px;
  background:#1b2d3b;
  color:#e9f1f6;
  font-size:11px;
  font-weight:900;
  letter-spacing:.035em;
  transition:background .14s ease,border-color .14s ease;
}
#gp8Overlay .gp8-toolbar button:hover,
#gp8Overlay .gp8-match-controls button:hover{background:#253a4b;border-color:#657f91}
#gp8Overlay .gp8-toolbar .gold,
#gp8Overlay #gp8QuickTraining,
#gp8Overlay #gp8OpenAcademy{
  background:var(--gp8-accent)!important;
  border-color:var(--gp8-accent)!important;
  color:var(--gp8-on-accent)!important;
}
/* Preserve the established blue=commit/save semantics. */
#gp8Overlay #gp8SaveLineup,
#gp8Overlay #gp8SavePlan{background:#176aa0!important;border-color:#176aa0!important;color:#fff!important}
#gp8Overlay #gp8SaveLineup.saved{background:#18794e!important;border-color:#18794e!important}
#gp8Overlay #gp8Best{background:#1b2d3b!important;color:#fff!important}
#gp8Overlay .gp8-lineup-legend{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-bottom:15px;
  padding:10px 13px;
  border:1px solid var(--gp8-line);
  border-radius:10px;
  background:#101b24;
  color:#afbfcb;
  font-size:11px;
}
#gp8Overlay .gp8-form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}
#gp8Overlay .gp8-form label{
  min-width:0;
  display:grid;
  align-content:start;
  gap:10px;
  padding:16px 17px;
  border:1px solid var(--gp8-line);
  border-radius:10px;
  background:#111c25;
}
#gp8Overlay .gp8-form output{
  color:var(--gp8-accent);
  font-size:15px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
#gp8Overlay input[type=range],
#gp8Overlay input[type=checkbox]{accent-color:var(--gp8-accent)}
#gp8Overlay .gp8-form input[type=range]{width:100%;cursor:pointer}
#gp8Overlay .gp8-plan-status{
  margin-top:17px;
  padding:12px 14px;
  border:1px solid var(--gp8-line);
  border-radius:8px;
  background:#0b151c;
  color:#a5b5c1;
  font-size:11px;
}
#gp8Overlay .gp8-save-confirm{background:#103c2c;color:#a4e8bc}
#gp8Overlay .gp8-pending{background:#3d2b12;color:#ffce81}
#gp8Overlay .gp8-roster{
  display:grid;
  gap:7px;
  max-height:660px;
  overflow:auto;
  scrollbar-color:#344654 #0c131b;
}
#gp8Overlay .gp8-player,
#gp8Overlay .gp8-live-bench-player{
  min-width:0;
  border:1px solid var(--gp8-line);
  border-radius:9px;
  background:#121e28!important;
  color:#f6f8fa;
  transition:border-color .12s ease,background .12s ease;
}
#gp8Overlay .gp8-player{padding:10px 12px;gap:10px}
#gp8Overlay .gp8-player:hover,
#gp8Overlay .gp8-live-bench-player:hover{border-color:var(--gp8-accent);background:#192734!important}
#gp8Overlay .gp8-player>span{background:#0a131c;color:#d3dde4}
#gp8Overlay .gp8-player b,
#gp8Overlay .gp8-live-bench-player b{color:#fff;font-size:12px}
#gp8Overlay .gp8-player small,
#gp8Overlay .gp8-live-bench-player small{color:#91a5b3;font-size:9px}
#gp8Overlay .gp8-player strong{color:var(--gp8-accent);font-variant-numeric:tabular-nums}
#gp8Overlay .gp8-metric{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}
#gp8Overlay .gp8-metric article{
  min-width:0;
  padding:14px 15px;
  border:1px solid var(--gp8-line);
  border-radius:11px;
  background:#111d26;
}
#gp8Overlay .gp8-metric span{
  color:#95aabd;
  font-size:9px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
}
#gp8Overlay .gp8-metric b{margin-top:7px;color:#f8fafc;font-size:23px;line-height:1.2}
#gp8Overlay .gp8-table{width:100%;border-collapse:collapse;color:#d8e4ee}
#gp8Overlay .gp8-table th,
#gp8Overlay .gp8-table td{
  padding:10px 12px;
  border-bottom:1px solid var(--gp8-line);
  text-align:left;
  font-size:11px;
  overflow-wrap:anywhere;
}
#gp8Overlay .gp8-table tr:hover{background:#16222c}
#gp8Overlay .gp8-table tr td:last-child{color:#f4f7f9;font-variant-numeric:tabular-nums}
#gp8Overlay .gp8-brief{
  padding:16px;
  border:1px solid var(--gp8-line);
  border-radius:10px;
  background:#09121a;
  color:#aec2d3;
  font-family:Consolas,'Courier New',monospace;
  font-size:11px;
  line-height:1.55;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color-scheme:dark;
}
#gp8Overlay .gp8-empty{
  padding:30px 20px;
  border:1px dashed var(--gp8-line-strong);
  border-radius:11px;
  background:#0e1820;
  color:#95a9b7;
  line-height:1.5;
}
#gp8Overlay .gp8-error{
  padding:13px 15px;
  border:1px solid #90423d;
  background:#301b1d;
  color:#ffb8af;
}
#gp8Overlay .gp8-ok{color:#7cdaa4}
#gp8Overlay .gp8-score{
  border:1px solid var(--gp8-line-strong);
  border-bottom:2px solid var(--gp8-accent);
  background:linear-gradient(120deg,#131e28,#0d151d)!important;
  color:#fff;
  box-shadow:0 15px 32px rgba(0,0,0,.18);
}
#gp8Overlay .gp8-match-score .gp8-token-crest{filter:drop-shadow(0 3px 7px rgba(0,0,0,.5))}
#gp8Overlay .gp8-live-side>div+div{border-color:var(--gp8-line)}
#gp8Overlay .gp8-live-feed{
  scrollbar-color:#344654 #0c131b;
  color:#c9d6df;
}
#gp8Overlay .gp8-live-feed div{
  border:1px solid var(--gp8-line);
  background:#15212b!important;
  color:#afbecb;
  border-radius:8px;
}
#gp8Overlay .gp8-live-feed div:before{background:var(--gp8-accent)}
#gp8Overlay .gp8-live-feed div b{color:#eaf0f5}
#gp8Overlay .gp8-live-bench-player strong{
  background:#0c151d;
  color:#b6c6d1;
}
#gp8Overlay .gp8-match-controls{
  border-color:var(--gp8-line);
  border-top:3px solid var(--gp8-accent);
  background:#0e171f;
}
#gp8Overlay .gp8-match-controls>span{background:#16242e;color:#9fb2bf}
#gp8Overlay .gp8-pitch{
  border:1px solid rgba(211,235,217,.30);
  border-radius:10px;
  background:repeating-linear-gradient(90deg,#234e34 0 12.5%,#275739 12.5% 25%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.1),0 10px 30px rgba(0,0,0,.2);
}
#gp8Overlay .gp8-pitch:before{border-color:rgba(255,255,255,.48)}
#gp8Overlay .gp8-pitch .gp8-token:not(.home):not(.away){
  background:#101d24;
  color:#fff;
  border:1px solid rgba(255,255,255,.24);
  border-radius:7px!important;
  box-shadow:0 4px 12px rgba(0,0,0,.34);
}
#gp8Overlay .gp8-pitch .gp8-token small{color:#d4e0e6}
#gp8Overlay .gp8-live-pitch .gp8-token.away small{color:#54656e!important}
#gp8Overlay .gp8-pitch .gp8-token.warn{outline:2px solid #e68a24}
#gp8Overlay .gp8-token-crest{filter:drop-shadow(0 2px 4px #0008)}
#gp8Overlay .gp8-live-pitch{width:min(100%,560px)}
#gp8Overlay .gp8-card .gp8-roster,
#gp8Overlay .gp8-card .gp8-live-feed{scrollbar-width:thin}
@media(max-width:1050px){
  #gp8Overlay .gp8-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)}
  #gp8Overlay .gp8-head{gap:12px;padding:24px 18px}
  #gp8Overlay .gp8-body{padding:18px}
  #gp8Overlay .gp8-metric{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
  #gp8Overlay{padding:0!important;backdrop-filter:none}
  #gp8Overlay .gp8-shell{min-height:100dvh;border:0;border-radius:0}
  #gp8Overlay .gp8-head{min-height:165px;padding:25px 15px 16px;flex-wrap:wrap}
  #gp8Overlay .gp8-head .gp8-coach-club-shield{width:52px;height:52px;flex-basis:52px;padding:6px}
  #gp8Overlay .gp8-head h2{font-size:23px}
  #gp8Overlay .gp8-head>div{flex:1 1 calc(100% - 80px)}
  #gp8Overlay .gp8-head button{min-width:0;padding:9px 12px}
  #gp8Overlay .gp8-tabs{padding:9px 11px}
  #gp8Overlay .gp8-body{padding:13px}
  #gp8Overlay .gp8-grid,
  #gp8Overlay .gp8-form{grid-template-columns:minmax(0,1fr)}
  #gp8Overlay .gp8-card{padding:16px 13px}
  #gp8Overlay .gp8-live-pitch{max-width:100%}
}
@media(max-width:500px){
  #gp8Overlay .gp8-metric{grid-template-columns:repeat(2,minmax(0,1fr))}
  #gp8Overlay .gp8-toolbar{padding:11px}
  #gp8Overlay .gp8-tabs button{padding:10px}
  #gp8Overlay .gp8-live-pitch .gp8-token{width:68px!important}
  #gp8Overlay .gp8-score .gp8-score-team{font-size:10px}
}
/* GP8_VISUAL_SYSTEM_W2_20261002_END */

/* GP8_VISUAL_SYSTEM_W3_20261002_BEGIN
   Only the official club-bound Coach Office and Gameplay V8 are skinned.
   National/institutional bars retain their independent identity.
*/
/* Legacy Coach Office. Styling is ID-scoped to override its late dynamic CSS. */
#coachOfficeOverlay{
  --w3-bg:#080e14;--w3-panel:#101a23;--w3-panel-2:#15232e;
  --w3-stroke:rgba(202,218,230,.16);--w3-ink:#f2f6f9;--w3-dim:#9bafbc;
  background:rgba(3,8,13,.93)!important;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  padding:18px!important;
  color:var(--w3-ink);
}
#coachOfficeOverlay *,#coachOfficeOverlay *:before,#coachOfficeOverlay *:after{box-sizing:border-box}
#coachOfficeOverlay .coach-office{
  width:min(1380px,100%)!important;max-width:100%;min-height:calc(100dvh - 36px);
  background:var(--w3-bg)!important;color:var(--w3-ink)!important;
  border:1px solid var(--w3-stroke)!important;border-radius:16px!important;
  box-shadow:0 24px 90px #0009!important;overflow:hidden;
}
#coachOfficeOverlay .coach-office-header{
  display:flex;align-items:center;flex-wrap:wrap;min-height:152px;
  padding:22px 26px!important;gap:14px!important;
  border-bottom:3px solid var(--club-accent,#849ba9)!important;
  color:var(--w3-ink);
}
#coachOfficeOverlay .coach-office-header>div:first-of-type{
  min-width:180px;flex:1 1 230px;max-width:390px;
}
#coachOfficeOverlay .coach-office-header small{
  margin-bottom:5px;max-width:300px;
  font-size:10px;letter-spacing:.10em;line-height:1.25;
  color:var(--club-accent,#c5d3dc)!important;opacity:1!important;
}
#coachOfficeOverlay .coach-office-header h2{
  font-size:clamp(20px,2.3vw,26px)!important;line-height:1.12!important;
  letter-spacing:-.025em;overflow-wrap:break-word;
}
#coachOfficeOverlay .coach-brand-v27{
  width:64px!important;height:64px!important;flex-basis:64px!important;
  padding:8px!important;background:#f7f9fa!important;border-radius:12px!important;
}
#coachOfficeOverlay .coach-office-actions{
  display:flex;flex:0 1 auto;justify-content:flex-end;align-items:center;
  flex-wrap:wrap;gap:8px!important;max-width:100%;
}
#coachOfficeOverlay .coach-office-actions button{
  min-height:40px;padding:9px 12px!important;border-radius:8px!important;
  border:1px solid rgba(225,238,245,.18)!important;
  font-size:11px!important;font-weight:800!important;letter-spacing:.015em;
  line-height:1.1;white-space:normal;max-width:185px;
  background:#172734;color:#fff;
  cursor:pointer;
}
#coachOfficeOverlay .coach-office-actions button:hover{filter:brightness(1.12)}
#coachOfficeOverlay .coach-office-actions .save,
#coachOfficeOverlay .coach-office-actions .coach-release-match{
  background:#176aa0!important;color:#fff!important;border-color:#2785ba!important;
}
#coachOfficeOverlay .coach-office-actions .close{background:#192632!important;color:#fff!important}
#coachOfficeOverlay .coach-office-actions #gp8Launch{
  background:var(--club-accent,#bccbd6)!important;
  color:var(--club-on-accent,#08131b)!important;
  border-color:transparent!important;
}
#coachOfficeOverlay .coach-save-state{
  min-width:40px!important;font-size:10px!important;color:#c8d7e1;
  letter-spacing:.06em;opacity:1;text-align:right;
}
#coachOfficeOverlay .coach-layout{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
  gap:18px!important;padding:20px!important;
}
#coachOfficeOverlay .coach-pitch-card,
#coachOfficeOverlay .coach-roster-card{
  min-width:0;background:var(--w3-panel)!important;
  color:var(--w3-ink)!important;
  border:1px solid var(--w3-stroke)!important;
  border-radius:14px!important;padding:18px!important;
}
#coachOfficeOverlay .coach-section-label{
  color:var(--club-accent,#c2d3df)!important;font-weight:850;letter-spacing:.12em;
}
#coachOfficeOverlay .coach-pitch-card h3,
#coachOfficeOverlay .coach-roster-card h3{color:#f5f8fb!important;font-size:20px!important}
#coachOfficeOverlay .coach-pitch{border:2px solid #bfc9c3!important;border-radius:9px!important}
#coachOfficeOverlay .coach-instruction{color:var(--w3-dim)!important}
#coachOfficeOverlay .coach-token{
  border-radius:8px!important;
  background:#101c25!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 3px 10px #0008!important;
}
#coachOfficeOverlay .coach-token.swap-target{
  outline:2px solid var(--club-accent,#e4b14e)!important;
}
#coachOfficeOverlay .coach-roster-groups{margin-bottom:15px}
#coachOfficeOverlay .coach-roster-groups span{
  background:#192832!important;color:#cfdee6!important;
  border-radius:6px!important;border:1px solid var(--w3-stroke)!important;
}
#coachOfficeOverlay .coach-roster-list{max-height:650px!important;gap:7px!important;scrollbar-color:#394c57 #0a1219}
#coachOfficeOverlay .coach-player-row{
  min-width:0;min-height:51px;border-radius:8px!important;
  border:1px solid var(--w3-stroke)!important;
  background:var(--w3-panel-2)!important;color:#f2f6fa!important;
}
#coachOfficeOverlay .coach-player-row:hover{border-color:var(--club-accent,#889da8)!important}
#coachOfficeOverlay .coach-player-row.selected{
  background:#24333a!important;border-color:var(--club-accent,#eeb85c)!important;
  outline:1px solid var(--club-accent,#eeb85c)!important;
}
#coachOfficeOverlay .coach-player-row b{color:#f5f8fb!important}
#coachOfficeOverlay .coach-player-row small{color:var(--w3-dim)!important}
#coachOfficeOverlay .coach-player-value{color:#b9ccd7!important;font-variant-numeric:tabular-nums}
#coachOfficeOverlay .coach-shirt-icon.starter path{
  fill:#c7d8e1!important;stroke:#c7d8e1!important;
}
#coachOfficeOverlay .coach-shirt-icon.bench path{
  fill:none!important;stroke:#c7d8e1!important;
}
#coachOfficeOverlay .coach-tool{background:#1d3040!important;color:#fff!important}
/* GP8 polish. Data and bindings are unchanged; labels are styled separately. */
#gp8Overlay .gp8-form label{line-height:1.45}
#gp8Overlay .gp8-card h3{letter-spacing:-.02em}
#gp8Overlay .gp8-market-legend{font-size:10px;color:var(--gp8-muted);line-height:1.5;margin:0 0 12px}
#gp8Overlay .gp8-match-brief-summary{
  border:1px solid var(--gp8-line);border-radius:10px;
  background:linear-gradient(120deg,#15232d,#101923);
  padding:15px 16px;margin:0 0 16px;
}
#gp8Overlay .gp8-match-brief-summary h4{color:#fff;font-size:16px;line-height:1.35;margin:0 0 12px}
#gp8Overlay .gp8-match-brief-summary p{color:#d2e0e8;font-size:12px;margin:0}
#gp8Overlay .gp8-match-brief-summary .gp8-brief-score{font-weight:850;color:var(--gp8-accent)}
#gp8Overlay .gp8-raw-detail{
  border:1px solid var(--gp8-line);border-radius:9px;background:#0c151d;
  padding:0 10px 10px;color:#c4d3de;
}
#gp8Overlay .gp8-raw-detail summary{cursor:pointer;font-size:11px;font-weight:800;padding:12px 4px;list-style:revert}
#gp8Overlay .gp8-raw-detail .gp8-brief{margin:0;max-height:380px}
#gp8Overlay .gp8-table td:first-child{color:#bcced9;font-weight:750}
#gp8Overlay .gp8-table td:last-child{text-align:right}
#gp8Overlay .gp8-card h4{margin-top:18px}
/* Labels only are moved aside when their original game-space coordinates collide.
   The anchor dot represents the unchanged authoritative position. */
#gp8Overlay .gp8-live-pitch{width:min(100%,660px)!important;max-width:660px!important}
#gp8Overlay .gp8-live-pitch .gp8-token{
  width:66px!important;min-height:40px!important;
  padding:10px 5px 5px!important;border-radius:7px!important;
  transform:translate(calc(-50% + var(--gp8-label-dx,0px)),calc(-50% + var(--gp8-label-dy,0px)))!important;
  transition:box-shadow .12s ease;
}
#gp8Overlay .gp8-live-pitch .gp8-token b{
  font-size:8px!important;line-height:1.12!important;max-width:60px!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token small{font-size:7px!important}
#gp8Overlay .gp8-live-pitch .gp8-token-crest{width:19px!important;height:19px!important;top:-10px!important}
#gp8Overlay .gp8-live-pitch .gp8-token:hover{
  z-index:40!important;box-shadow:0 3px 20px #000b!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token.gp8-offset-label:before{
  content:'';position:absolute;pointer-events:none;
  width:7px;height:7px;border:1px solid #fff;border-radius:50%;
  left:calc(50% - var(--gp8-label-dx,0px));
  top:calc(50% - var(--gp8-label-dy,0px));
  transform:translate(-50%,-50%);
  background:var(--gp8-accent);box-shadow:0 0 0 2px #071118a9;
}
@media(max-width:1150px){
  #coachOfficeOverlay .coach-office-header>div:first-of-type{max-width:none}
  #coachOfficeOverlay .coach-office-actions{flex-basis:100%;justify-content:flex-start}
}
@media(max-width:900px){
  #coachOfficeOverlay{padding:0!important}
  #coachOfficeOverlay .coach-office{min-height:100dvh;border:0!important;border-radius:0!important}
  #coachOfficeOverlay .coach-layout{grid-template-columns:minmax(0,1fr);padding:14px!important}
  #coachOfficeOverlay .coach-office-header{padding:18px 16px!important}
  #coachOfficeOverlay .coach-office-actions{gap:6px!important}
  #coachOfficeOverlay .coach-office-actions button{padding:9px!important;font-size:10px!important}
}
@media(max-width:520px){
  #coachOfficeOverlay .coach-brand-v27{width:50px!important;height:50px!important;flex-basis:50px!important}
  #coachOfficeOverlay .coach-office-header>div:first-of-type{flex-basis:calc(100% - 70px)}
  #coachOfficeOverlay .coach-player-value{font-size:9px}
  #gp8Overlay .gp8-live-pitch .gp8-token{width:52px!important;min-height:35px!important}
}
/* Active club workspaces receive neutral dark framing. The national header
   never inherits a club logo, photo or team accent. Other views are untouched. */
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27){
  background:#080d13!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27)>.topbar{
  background:#101922!important;
  border-bottom:1px solid #263644!important;color:#e7eef4!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27)>.topbar .brand-lockup strong{
  color:#f2f6f9!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27)>.topbar .brand-lockup span{
  color:#adbfcd!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27)>.topbar .topnav button:not(.on){
  color:#c6d4df!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27)>.topbar .top-meta>div{
  background:#14222c;color:#eaf0f6;border-color:#2d4150;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27)>main.workspace{
  background:#080d13!important;
  max-width:100%!important;
}
/* GP8_VISUAL_SYSTEM_W3_20261002_END */

/* GP8_PRESENTATION_CONTRACT_W4_20261002_BEGIN
 * Readability and force labels are contractual, not decorative.
 * All rules scoped to the two coach overlays; no institutional theming.
 */
#coachOfficeOverlay .coach-player-row{
  grid-template-columns:32px minmax(0,1fr) auto auto!important;
  column-gap:12px!important;
}
#coachOfficeOverlay .coach-player-force,
#gp8Overlay .gp8-bench-force{
  white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(207,224,236,.25);border-radius:6px;
  background:#213341;color:#f2f7fa;font-size:11px;font-weight:900;
  line-height:1.2;padding:5px 7px;font-variant-numeric:tabular-nums;
  pointer-events:none;
}
#coachOfficeOverlay .coach-token{
  width:96px!important;min-height:62px!important;
  padding:15px 6px 7px!important;
}
#coachOfficeOverlay .coach-token .name{
  font-size:11px!important;line-height:1.12!important;
  max-width:88px!important;-webkit-line-clamp:2!important;
}
#coachOfficeOverlay .coach-token .pos{font-size:10px!important;line-height:1.2!important}
#coachOfficeOverlay .coach-token-force{
  display:block;font-size:11px;font-weight:950;
  color:#f9fafa;line-height:1.2;padding-top:3px;
  pointer-events:none;font-variant-numeric:tabular-nums;
}
#gp8Overlay .gp8-pitch .gp8-token > b{
  font-size:11.5px!important;line-height:1.2!important;
  max-width:none!important;overflow-wrap:normal;
}
#gp8Overlay .gp8-pitch .gp8-token{font-size:11px!important}
#gp8Overlay .gp8-pitch:not(.gp8-live-pitch) .gp8-token{
  width:102px!important;min-height:62px!important;
}
#gp8Overlay .gp8-force-line,
#gp8Overlay .gp8-live-force{
  display:block;font-size:10.5px!important;
  font-weight:950;line-height:1.25;
  margin-top:3px;font-variant-numeric:tabular-nums;
}
#gp8Overlay .gp8-force-value{font-size:13px!important;white-space:nowrap}
/* Live pitch labels are offset by existing W3 collision resolver, not game coordinates. */
#gp8Overlay .gp8-live-pitch .gp8-token{
  width:94px!important;min-height:67px!important;
  padding:12px 5px 5px!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token small{
  font-size:10px!important;line-height:1.15!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token.away .gp8-live-force{color:#243847!important}
#gp8Overlay .gp8-live-bench-player{
  grid-template-columns:32px minmax(0,1fr) auto auto!important;
  min-height:52px;gap:8px!important;
}
#gp8Overlay .gp8-live-bench-player b{font-size:12px!important}
#gp8Overlay .gp8-live-bench-player small{font-size:10px!important}
#gp8Overlay .gp8-live-bench-player strong{flex-shrink:0}
#gp8Overlay .gp8-match-score .gp8-score-team{
  display:flex;gap:12px;align-items:center;
}
#gp8Overlay .gp8-match-score .gp8-score-home{justify-content:flex-end;text-align:right}
#gp8Overlay .gp8-match-score .gp8-score-away{justify-content:flex-start;text-align:left}
#gp8Overlay .gp8-match-score .gp8-token-crest{
  display:inline-block;position:static;width:34px;height:34px;
  flex:0 0 34px;object-fit:contain;vertical-align:middle;
}
#gp8Overlay .gp8-match-score .gp8-score-team em{font-style:normal}
#gp8Overlay .gp8-grid aside .gp8-roster .gp8-player>span{
  width:auto!important;min-width:48px!important;font-size:10px!important;
}
#gp8Overlay .gp8-grid aside .gp8-roster .gp8-player>strong{font-size:11px!important}
@media(max-width:850px){
  #coachOfficeOverlay .coach-player-row{grid-template-columns:28px minmax(0,1fr) auto!important}
  #coachOfficeOverlay .coach-player-value{grid-column:2 / -1;justify-self:end}
  #gp8Overlay .gp8-live-pitch .gp8-token{width:82px!important}
  #gp8Overlay .gp8-live-bench-player{grid-template-columns:28px minmax(0,1fr) auto!important}
  #gp8Overlay .gp8-live-bench-player>strong{display:none}
  #gp8Overlay .gp8-match-score .gp8-token-crest{width:26px;height:26px;flex-basis:26px}
}
/* GP8_PRESENTATION_CONTRACT_W4_20261002_END */

/* GP8_ASSOCIATIVE_SEMANTICS_W5_20261002_BEGIN
   Controlled club uses same dark player cards in lineup and match.
   Visitor/host distinction never determines the player's club identity. */
#gp8Overlay .gp8-live-pitch .gp8-token.mine,
#gp8Overlay .gp8-live-pitch .gp8-token.home.mine,
#gp8Overlay .gp8-live-pitch .gp8-token.away.mine{
  background:#101b25!important;color:#f6f9fc!important;
  border:1px solid #334350!important;
  outline:1px solid var(--gp8-accent)!important;
  box-shadow:0 4px 16px #02070bd1!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token.mine small,
#gp8Overlay .gp8-live-pitch .gp8-token.mine .gp8-live-force{
  color:#e4eef7!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token.opp,
#gp8Overlay .gp8-live-pitch .gp8-token.home.opp,
#gp8Overlay .gp8-live-pitch .gp8-token.away.opp{
  background:#f2f5f4!important;color:#1b2a35!important;
  border:1px solid #b0bec6!important;
  outline:0!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token.opp small,
#gp8Overlay .gp8-live-pitch .gp8-token.opp .gp8-live-force{
  color:#344955!important;
}
#gp8Overlay .gp8-live-pitch .gp8-token{
  transition:none!important;
}
#gp8Overlay .gp8-match-view-notice{
  display:flex;flex-direction:column;gap:5px;margin:-4px 0 14px;
  padding:12px 16px;border:1px solid #263d4e;border-radius:10px;
  background:#101d29;color:#b6c9d7;font-size:12px;line-height:1.45;
}
#gp8Overlay .gp8-match-view-notice strong{
  color:var(--gp8-accent);font-size:10px;letter-spacing:.08em;
}
#gp8Overlay .gp8-performance-summary{margin:0 0 16px}
#gp8Overlay .gp8-performance-heading{color:var(--gp8-accent);font-size:10px;font-weight:900;letter-spacing:.08em;margin:0 0 10px}
#gp8Overlay .gp8-performance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#gp8Overlay .gp8-performance-card{
  min-width:0;background:#111e28;border:1px solid #2a3b48;border-radius:11px;
  padding:14px 13px 12px;
}
#gp8Overlay .gp8-performance-card h4{
  margin:0 0 13px;color:#c5d5df;font-size:11px;line-height:1.2;
}
#gp8Overlay .gp8-performance-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#gp8Overlay .gp8-performance-side{min-width:0;display:flex;flex-direction:column;gap:6px}
#gp8Overlay .gp8-performance-side:first-child{border-right:1px solid #2b404d;padding-right:10px}
#gp8Overlay .gp8-performance-side strong{color:#f4f8fb;font-size:23px;line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums}
#gp8Overlay .gp8-performance-side small{
  color:#a9becd;line-height:1.3;overflow-wrap:break-word;font-size:10px;
}
#gp8Overlay .gp8-analytics-audit{
  border:1px solid #2c3c48;border-radius:9px;margin-top:16px;
  padding:10px 14px;background:#0e1922;
}
#gp8Overlay .gp8-analytics-audit summary{
  color:#bccbd5;font-size:11px;font-weight:800;padding:6px 0;cursor:pointer;
}
#gp8Overlay .gp8-analytics-audit .gp8-metric{margin-top:12px}
@media(max-width:1100px){#gp8Overlay .gp8-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){#gp8Overlay .gp8-performance-grid{grid-template-columns:1fr}}
/* GP8_ASSOCIATIVE_SEMANTICS_W5_20261002_END */

/* GP8_OVERVIEW_NAV_W6_20261002_BEGIN
 * Regression fix: W3 darkens the surrounding workspace only; the light
 * editorial cards remained light when the user returned from AFL.
 * Scope: personal overview with an authenticated active club context.
 * Neutral institutional colors: NEVER inherit team primary/accent tokens here.
 * No impact on AFL, municipality, institutional views, club panels or overlays.
 */
#pais.view.on:has(#sportsHome.club-context-scope-v27) {
  --liq-overview-ink:#edf4f8;
  --liq-overview-muted:#a7bccb;
  --liq-overview-panel:#111d27;
  --liq-overview-panel2:#15232e;
  --liq-overview-border:#2b3e4b;
  color:var(--liq-overview-ink);
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) .overview-banner {
  background:linear-gradient(125deg,#172a38,#0e1a24)!important;
  border-color:var(--liq-overview-border)!important;
  color:var(--liq-overview-ink)!important;
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) .overview-banner h2 {
  color:var(--liq-overview-ink)!important;
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) .overview-banner p {
  color:var(--liq-overview-muted)!important;
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) :is(
    .overview-card,
    .sports-home-grid > .sports-moment,
    .coach-entry,
    .identity-strip > div,
    .profile-summary > div,
    .metrics article,
    .grid2 > .card
  ) {
  background:var(--liq-overview-panel)!important;
  border-color:var(--liq-overview-border)!important;
  color:var(--liq-overview-ink)!important;
  box-shadow:0 4px 18px rgba(0,0,0,.14);
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) :is(
    .overview-card h3,
    .overview-card .card-head b,
    .overview-card .card-head h3,
    .sports-moment b,
    .moment-rank strong,
    .coach-entry b,
    .identity-strip b,
    .profile-summary b,
    .metrics article b,
    .grid2 > .card h3,
    .money-block b
  ) {
  color:var(--liq-overview-ink)!important;
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) :is(
    .sports-moment > p,
    .last-score > div small,
    .moment-rank small,
    .overview-card .subline,
    .overview-card .note,
    .overview-card .money-block span,
    .overview-card .money-block small,
    .overview-card .mail-row small,
    .overview-card .mail-row span,
    .coach-entry small,
    .coach-entry span,
    .identity-strip span,
    .identity-strip small,
    .profile-summary span,
    .profile-summary p,
    .metrics article span,
    .grid2 > .card .note
  ) {
  color:var(--liq-overview-muted)!important;
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) .overview-card .mail-row {
  background:var(--liq-overview-panel2)!important;
  border-color:var(--liq-overview-border)!important;
  color:var(--liq-overview-ink)!important;
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) .overview-card .mail-row.unread {
  border-left:3px solid #b34a4a!important;
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) .money-block {
  border-color:var(--liq-overview-border);
}
#pais.view.on:has(#sportsHome.club-context-scope-v27) .bar {
  background:#243643!important;
}
/* Keep the existing fixture card and team-specific media intact. */
/* GP8_OVERVIEW_NAV_W6_20261002_END */

/* GP8_OVERVIEW_STABILITY_W7_20261002_BEGIN
   The coach-entry markup is generated before opening the Coach Office.
   Its layout must be in persistent CSS, never a lazily injected overlay style.
   National header is a neutral, fixed identity across routes.
 */
#pais #sportsHome > .coach-entry {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap;
  gap:14px 18px!important;
  min-height:88px;
  margin-top:16px;
  padding:18px 20px!important;
  border:1px solid #2b3e4b;
  border-radius:10px;
}
#pais #sportsHome > .coach-entry > div {
  display:flex;
  flex:1 1 240px;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:4px;
  min-width:0;
}
#pais #sportsHome > .coach-entry > div small {
  display:block;
  line-height:1.3;
  letter-spacing:.08em;
  font-size:10px;
}
#pais #sportsHome > .coach-entry > div b {
  display:block;
  font-size:17px;
  line-height:1.3;
}
#pais #sportsHome > .coach-entry > div span {
  display:block;
  font-size:12px;
  line-height:1.35;
}
#pais #sportsHome > .coach-entry > button[data-open-coach-office] {
  flex:0 0 auto;
  min-height:40px;
  padding:10px 15px;
  max-width:100%;
  white-space:normal;
}
@media(max-width:580px) {
  #pais #sportsHome > .coach-entry > button[data-open-coach-office] {
    width:100%;
  }
}
/* Global institutional topbar must not change theme on personal/club routes.
   Scoped override only reverses the W3 dark topbar on overview and employment.
   It does not alter dark page bodies or any team-styled panel. */
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27) > .topbar {
  background:#f9fafb!important;
  color:#2f3439!important;
  border-bottom:1px solid #c8ced4!important;
  box-shadow:0 1px 8px rgba(30,40,50,.05)!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27) > .topbar .brand-lockup strong {
  color:#26313a!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27) > .topbar .brand-lockup span {
  color:#707982!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27) > .topbar .topnav button:not(.on) {
  color:#5d6871!important;
}
.app-shell:has(#pais.view.on #sportsHome.club-context-scope-v27,
               #emprego.view.on.club-context-scope-v27) > .topbar .top-meta > div {
  background:#fff!important;
  color:#333b42!important;
  border-color:#cbd1d6!important;
}
/* GP8_OVERVIEW_STABILITY_W7_20261002_END */

/* LIQ_TRAINING_ACADEMY_R4_BEGIN */
#gp8Overlay .liq-r4-root{color:#edf2f7;display:grid;gap:16px;line-height:1.4}
#gp8Overlay .liq-r4-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 24px;border-radius:13px;border:1px solid #344452;background:linear-gradient(115deg,rgba(14,26,36,.96),rgba(27,42,52,.88));}
#gp8Overlay .liq-r4-banner small{letter-spacing:.11em;color:var(--gp8-accent,#c8d6de);font-size:11px;font-weight:800}
#gp8Overlay .liq-r4-banner h3{margin:5px 0 7px;font-size:24px;color:#fff}
#gp8Overlay .liq-r4-banner p{max-width:660px;margin:0;color:#abbcc9;font-size:13px}
#gp8Overlay .liq-r4-banner>span{font-size:12px;color:#c7d5df;white-space:nowrap}
#gp8Overlay .liq-r4-facilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#gp8Overlay .liq-r4-fac{background:#12202b;border:1px solid #31414e;border-radius:9px;padding:13px 15px;display:flex;flex-direction:column;gap:7px;min-width:0}
#gp8Overlay .liq-r4-fac small{color:#a7b6c2;font-size:12px}
#gp8Overlay .liq-r4-fac strong{color:#f3f6fa;font-size:21px;overflow-wrap:anywhere}
#gp8Overlay .liq-r4-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
#gp8Overlay .liq-r4-panel{padding:20px;background:#13222c!important;border:1px solid #344452!important;border-radius:12px;min-width:0}
#gp8Overlay .liq-r4-panel-head{margin-bottom:17px;padding-bottom:13px;border-bottom:1px solid #334551}
#gp8Overlay .liq-r4-panel-head h3{color:#fff;margin:0 0 5px;font-size:16px}
#gp8Overlay .liq-r4-panel-head p{color:#aabbc8;margin:0;font-size:12px}
#gp8Overlay .liq-r4-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px}
#gp8Overlay .liq-r4-form label,#gp8Overlay .liq-r4-focus label{font-size:12px;font-weight:700;color:#b8c6d1;display:flex;flex-direction:column;gap:6px;min-width:0}
#gp8Overlay .liq-r4-form select,#gp8Overlay .liq-r4-focus select{min-width:0;width:100%;max-width:100%;height:41px;color:#f3f8fc;background:#1d2e3a;border:1px solid #455a67;border-radius:7px;padding:0 11px;font:inherit}
#gp8Overlay .liq-r4-form input[type=range]{width:100%;accent-color:var(--gp8-accent,#a7c0cf)}
#gp8Overlay .liq-r4-form>label:has(input[type=range]){grid-column:1/-1}
#gp8Overlay .liq-r4-note,#gp8Overlay .liq-r4-warning{padding:12px;background:#213340;border-left:3px solid var(--gp8-accent,#a7b9c8);color:#c7d7e1;font-size:12px;margin:0}
#gp8Overlay .liq-r4-warning{border-color:#e0a567;background:#3d3024}
#gp8Overlay .liq-r4-form>.liq-r4-note,#gp8Overlay .liq-r4-period,#gp8Overlay .liq-r4-form>button,#gp8Overlay .liq-r4-hint{grid-column:1/-1}
#gp8Overlay .liq-r4-period,.liq-r4-deadlines{display:flex;flex-wrap:wrap;gap:14px;color:#b5c6d0;font-size:12px}
#gp8Overlay .liq-r4-period span,.liq-r4-deadlines span{display:grid;gap:5px}
#gp8Overlay .liq-r4-period b,.liq-r4-deadlines b{color:#f0f5f8;font-size:13px}
#gp8Overlay .liq-r4-form>button,#gp8Overlay .liq-r4-focus>button,#gp8Overlay #liqR4Open{cursor:pointer;padding:13px;background:var(--gp8-accent,#aebdc9);color:var(--gp8-on-accent,#07151c);font-weight:800;border:0;border-radius:7px}
#gp8Overlay .liq-r4-form>button:disabled,#gp8Overlay .liq-r4-focus>button:disabled{opacity:.55;cursor:wait}
#gp8Overlay .liq-r4-hint{color:#9aaebb;font-size:11px}
#gp8Overlay .liq-r4-diary{display:grid;gap:11px;max-height:540px;overflow-y:auto}
#gp8Overlay .liq-r4-plan{border:1px solid #344753;border-radius:8px;padding:14px;background:#182934}
#gp8Overlay .liq-r4-plan-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:6px}
#gp8Overlay .liq-r4-status{font-size:11px;background:#2c4351;padding:4px 8px;border-radius:5px;color:#e0ebf1}
#gp8Overlay .liq-r4-plan>small,.liq-r4-session>small{display:block;font-size:11px;color:#a9b9c5;margin-top:5px}
#gp8Overlay .liq-r4-session{border-top:1px solid #334754;padding-top:10px;margin-top:10px;color:#c7d6de;font-size:12px}
#gp8Overlay .liq-r4-session strong{color:#fff}
#gp8Overlay .liq-r4-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin-top:10px}
#gp8Overlay .liq-r4-results span{padding:8px;background:#203542;display:flex;justify-content:space-between;gap:8px}
#gp8Overlay .liq-r4-results b{color:#fff}
#gp8Overlay .liq-r4-staff{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #314450;padding:8px 0;font-size:12px}
#gp8Overlay .liq-r4-staff b{color:#fff}#gp8Overlay .liq-r4-staff small{color:#a9b9c6}
#gp8Overlay .liq-r4-deadlines{margin-bottom:15px}
#gp8Overlay .liq-r4-focus{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#gp8Overlay .liq-r4-focus>button{grid-column:1/-1}
#gp8Overlay .liq-r4-prospects{display:grid;gap:12px}
#gp8Overlay .liq-r4-prospect{padding:15px;border:1px solid #405461;border-radius:10px;background:#192c38}
#gp8Overlay .liq-r4-prospect-head{display:flex;justify-content:space-between;align-items:start;gap:15px}
#gp8Overlay .liq-r4-prospect-head small{color:#aabfca;font-size:11px}
#gp8Overlay .liq-r4-prospect-head h4{font-size:17px;color:#fff;margin:3px 0 10px}
#gp8Overlay .liq-r4-overall{background:#28404f;border:1px solid #4b6676;border-radius:7px;padding:7px 10px;text-align:center;min-width:58px}
#gp8Overlay .liq-r4-overall span{display:block;font-size:10px;color:#bbceda}
#gp8Overlay .liq-r4-overall b{display:block;font-size:23px;color:#fff}
#gp8Overlay .liq-r4-prospect-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:13px}
#gp8Overlay .liq-r4-prospect-meta span{font-size:11px;color:#b4c7d1;border:1px solid #395263;border-radius:5px;padding:6px}
#gp8Overlay .liq-r4-prospect-meta b{color:#fff}
#gp8Overlay .liq-r4-prospect-attrs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}
#gp8Overlay .liq-r4-prospect-attrs span{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#c1d1da;border-bottom:1px solid #3b5060;padding-bottom:6px}
#gp8Overlay .liq-r4-prospect-attrs b{color:#fff}
#gp8Overlay .liq-r4-prospect>small{color:#94a9b7}
@media(max-width:940px){#gp8Overlay .liq-r4-columns{grid-template-columns:1fr}#gp8Overlay .liq-r4-facilities{grid-template-columns:repeat(2,1fr)}#gp8Overlay .liq-r4-banner{flex-wrap:wrap}}
@media(max-width:540px){#gp8Overlay .liq-r4-form,#gp8Overlay .liq-r4-focus{grid-template-columns:1fr}#gp8Overlay .liq-r4-banner{padding:16px}#gp8Overlay .liq-r4-facilities{grid-template-columns:repeat(2,1fr)}}
#gp8Overlay .liq-r4-clock{display:flex;align-items:center;gap:12px;color:#c7d5df;font-size:12px;white-space:nowrap}
#gp8Overlay .liq-r4-clock button{background:#2b3d4a;color:#e8f0f5;border:1px solid #526677;padding:8px 11px;border-radius:7px;cursor:pointer}
#gp8Overlay .liq-r4-watch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#gp8Overlay .liq-r4-progress{display:flex;justify-content:space-between;gap:12px;background:#1b303e;padding:12px;border-radius:8px;border:1px solid #3a5260}
#gp8Overlay .liq-r4-progress div{display:grid;gap:4px}
#gp8Overlay .liq-r4-progress b{color:white;font-size:13px}
#gp8Overlay .liq-r4-progress small{color:#adbfca;font-size:11px}
#gp8Overlay .liq-r4-progress strong{color:var(--gp8-accent,#afc4d0);font-size:20px}
@media(max-width:650px){#gp8Overlay .liq-r4-watch{grid-template-columns:1fr}#gp8Overlay .liq-r4-clock{white-space:normal;flex-wrap:wrap}}
/* LIQ_TRAINING_ACADEMY_R4_END */

/* LIQ_COACH_SEASON_NAV_W10_BEGIN */
#employmentWorkspace .employment-v2-kpi-trend{
  cursor:pointer;min-width:0;
}
#employmentWorkspace .employment-v2-kpi-trend:hover,
#employmentWorkspace .employment-v2-kpi-trend:focus-visible{outline:2px solid #ff891f;outline-offset:-2px}
#employmentWorkspace .employment-v2-atmosphere[data-coach-supporters-w10]{
  cursor:pointer;
}
#employmentWorkspace .employment-v2-atmosphere[data-coach-supporters-w10]:hover,
#employmentWorkspace .employment-v2-atmosphere[data-coach-supporters-w10]:focus-visible{outline:2px solid #ff891f;outline-offset:-2px}
#gp8Overlay .gp8-w10-official{padding:30px;min-height:250px}
#gp8Overlay .gp8-w10-official small{color:#92a6b5}
#gp8Overlay .gp8-w10-official h3{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:16px 0}
#gp8Overlay .gp8-w10-official strong{font-size:1.9rem;color:#ff8b27}
/* LIQ_COACH_SEASON_NAV_W10_END */

/* LIQ_MATCH_LIVE_W12_20261007_BEGIN
   Modern live match center. Presentation only: all score, players, events and commands
   remain sourced from the authoritative GP8 run state. Club colors/assets are data-driven. */
#gp8Overlay:has(.liq-match-live-root) .gp8-shell{max-width:1540px}
#gp8Overlay:has(.liq-match-live-root) .gp8-body{padding:16px 18px 22px;background:#081018}
#gp8Overlay .liq-match-live-root{
  --liq-home:#64748b;--liq-home-2:#e5edf3;--liq-away:#94a3b8;--liq-away-2:#e5edf3;
  --liq-live-bg:#0a121a;--liq-live-panel:#101a23;--liq-live-panel-2:#0d161e;
  --liq-live-line:#263744;--liq-live-text:#f2f6f9;--liq-live-muted:#8fa5b4;
  color:var(--liq-live-text);display:grid;gap:12px;
}
#gp8Overlay .liq-live-toolbar{margin:0;align-items:center;padding:0 2px 2px}
#gp8Overlay .liq-live-toolbar label{color:#a9bac6}
#gp8Overlay .liq-live-toolbar select{background:#101b24!important;color:#eaf1f5!important;border:1px solid #304352!important;min-width:320px}
#gp8Overlay .liq-live-toolbar button{background:#152532!important;border:1px solid #304453!important;color:#e9f0f4!important;box-shadow:none!important}
#gp8Overlay .liq-live-toolbar button.gold{background:var(--gp8-accent)!important;color:var(--gp8-on-accent)!important;border-color:transparent!important}

#gp8Overlay .liq-live-score{
  margin:0!important;padding:13px 18px 11px!important;border-radius:12px!important;
  background:linear-gradient(90deg,color-mix(in srgb,var(--liq-home) 17%,#0c151d) 0%,#0b131b 42%,#0b131b 58%,color-mix(in srgb,var(--liq-away) 15%,#0c151d) 100%)!important;
  border:1px solid #293b48!important;box-shadow:0 12px 34px #0008!important;
}
#gp8Overlay .liq-live-score:before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--liq-home);border-radius:12px 0 0 12px}
#gp8Overlay .liq-live-score:after{content:'';position:absolute;inset:0 0 0 auto;width:4px;background:var(--liq-away);border-radius:0 12px 12px 0}
#gp8Overlay .liq-live-score .gp8-score-team{font-size:15px!important;letter-spacing:-.01em;color:#f5f8fa!important}
#gp8Overlay .liq-live-score>b{min-width:126px!important;gap:10px!important}
#gp8Overlay .liq-live-score>b strong{font-size:34px!important;font-weight:950!important;color:#fff!important}
#gp8Overlay .liq-live-score>b strong:first-child{color:color-mix(in srgb,var(--liq-home) 82%,white)!important}
#gp8Overlay .liq-live-score>b i{color:#7e93a1!important;font-size:15px!important}
#gp8Overlay .liq-live-score>small{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:2px!important;text-transform:none!important;letter-spacing:.02em!important;font-size:10px!important;color:#9fb0bb!important}
#gp8Overlay .liq-live-score>small>span+span:before{content:'·';margin-right:9px;color:#536977}
#gp8Overlay .liq-live-status{padding:3px 7px;border-radius:999px;font-size:8px;font-weight:950;letter-spacing:.08em}
#gp8Overlay .liq-live-status.live{background:#b8252f;color:white;box-shadow:0 0 0 1px #e24c5688,0 0 14px #c128364d}
#gp8Overlay .liq-live-status.done{background:#233541;color:#bdcad3}
#gp8Overlay .liq-live-crest-slot{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px}
#gp8Overlay .liq-live-crest-slot img,#gp8Overlay .liq-live-crest-slot .gp8-token-crest{display:block!important;position:static!important;width:38px!important;height:38px!important;object-fit:contain!important;transform:none!important;filter:drop-shadow(0 3px 6px #0009)}

#gp8Overlay .liq-live-layout{display:grid;grid-template-columns:minmax(0,1.78fr) minmax(300px,.62fr);gap:12px;align-items:stretch}
#gp8Overlay .liq-live-field-card,#gp8Overlay .liq-live-insights,#gp8Overlay .liq-live-controls,#gp8Overlay .liq-live-final{
  background:linear-gradient(145deg,#101a23,#0c151d)!important;border:1px solid #273946!important;color:var(--liq-live-text)!important;border-radius:12px!important;box-shadow:0 12px 28px #0004!important;
}
#gp8Overlay .liq-live-field-card{padding:13px!important;min-width:0}
#gp8Overlay .liq-live-section-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin:0 1px 10px}
#gp8Overlay .liq-live-section-head small,#gp8Overlay .liq-live-panel-title small{display:block;color:#718999;font-size:8px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
#gp8Overlay .liq-live-section-head h3{margin:2px 0 2px!important;font-size:16px!important;color:#fff!important}
#gp8Overlay .liq-live-section-head p{margin:0;color:#91a6b4;font-size:10px}
#gp8Overlay .liq-live-revision{font-size:8px;color:#69808f;background:#0a1219;border:1px solid #263744;border-radius:999px;padding:4px 7px}

#gp8Overlay .liq-live-pitch-shell{position:relative;border-radius:10px;overflow:hidden;border:1px solid #3a4e59;background:#07120c;padding:0}
#gp8Overlay .liq-match-live-root .gp8-live-pitch{
  width:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:16/8.65!important;
  margin:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;
  background:
   linear-gradient(180deg,rgba(2,10,7,.10),rgba(2,10,7,.24)),
   repeating-linear-gradient(90deg,#285f39 0 8.333%,#2d6840 8.333% 16.666%)!important;
  box-shadow:inset 0 0 80px #00150d99!important;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch:before{content:none!important}
#gp8Overlay .liq-live-pitch-markings{position:absolute;inset:4%;z-index:1;border:1.5px solid #dfece07a;pointer-events:none}
#gp8Overlay .liq-live-pitch-markings .half{position:absolute;left:50%;top:0;bottom:0;border-left:1.5px solid #dfece07a}
#gp8Overlay .liq-live-pitch-markings .circle{position:absolute;left:50%;top:50%;width:14%;aspect-ratio:1;border:1.5px solid #dfece07a;border-radius:50%;transform:translate(-50%,-50%)}
#gp8Overlay .liq-live-pitch-markings .circle:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#dfece0a8;left:50%;top:50%;transform:translate(-50%,-50%)}
#gp8Overlay .liq-live-pitch-markings .box{position:absolute;top:23%;height:54%;width:16%;border:1.5px solid #dfece07a}
#gp8Overlay .liq-live-pitch-markings .box.left{left:-1px;border-left:0}
#gp8Overlay .liq-live-pitch-markings .box.right{right:-1px;border-right:0}
#gp8Overlay .liq-live-pitch-markings .goal{position:absolute;top:39%;height:22%;width:2%;border:1.5px solid #dfece065}
#gp8Overlay .liq-live-pitch-markings .goal.left{left:-2%;border-right:0}
#gp8Overlay .liq-live-pitch-markings .goal.right{right:-2%;border-left:0}

/* Compact game-state markers: the authoritative coordinates stay on the token itself. */
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token,
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.mine,
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.opp,
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.home,
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.away{
  width:27px!important;height:27px!important;min-height:27px!important;padding:0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;transform:translate(-50%,-50%)!important;z-index:5!important;
  border:2px solid rgba(255,255,255,.78)!important;outline:0!important;box-shadow:0 3px 9px #000a,0 0 0 2px #06100d88!important;
  transition:transform .13s ease,filter .13s ease!important;overflow:visible!important;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.home{background:var(--liq-home)!important;color:white!important}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.away{background:var(--liq-away)!important;color:white!important}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.mine{box-shadow:0 3px 9px #000a,0 0 0 2px color-mix(in srgb,var(--gp8-accent) 65%,transparent)!important}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token:hover{z-index:30!important;transform:translate(-50%,-50%) scale(1.18)!important;filter:brightness(1.08)}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token:before{content:none!important}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-live-dot{font-size:8px;font-weight:950;line-height:1;color:white;text-shadow:0 1px 2px #000a}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token>b{
  position:absolute!important;display:block!important;left:50%;top:30px!important;width:max-content!important;max-width:82px!important;
  transform:translateX(-50%);padding:2px 5px!important;border-radius:4px;background:#071017d9;color:#eef4f7!important;
  font-size:7px!important;line-height:1.2!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  opacity:.86;pointer-events:none;box-shadow:0 1px 5px #0008;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token>small,
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token>.gp8-live-force{display:none!important}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token-crest{display:none!important}

#gp8Overlay .liq-live-trajectory{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none;overflow:visible;color:#fff}
#gp8Overlay .liq-live-trajectory polyline{fill:none;stroke:currentColor;stroke-width:.68;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2.2 1.5;filter:drop-shadow(0 1px 2px #000);animation:liqLiveDash 2.2s linear infinite}
#gp8Overlay .liq-live-trajectory marker path{fill:currentColor}
#gp8Overlay .liq-live-trajectory.home{color:var(--liq-home-2)}
#gp8Overlay .liq-live-trajectory.away{color:var(--liq-away-2)}
@keyframes liqLiveDash{to{stroke-dashoffset:-7.4}}
#gp8Overlay .liq-live-ball{position:absolute;z-index:8;transform:translate(-50%,-50%);font-size:15px;line-height:1;filter:drop-shadow(0 2px 3px #000);pointer-events:none}

#gp8Overlay .liq-live-lower-grid{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(360px,1.28fr);gap:10px;margin-top:10px}
#gp8Overlay .liq-live-events-panel,#gp8Overlay .liq-live-momentum{background:#0a131b;border:1px solid #21333f;border-radius:9px;padding:10px;min-width:0}
#gp8Overlay .liq-live-panel-title{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin:0 0 8px}
#gp8Overlay .liq-live-panel-title>span{color:#dce7ed;font-size:9px;font-weight:950;letter-spacing:.06em}
#gp8Overlay .liq-live-feed{max-height:150px!important;gap:3px!important;overflow:auto!important;padding:0!important}
#gp8Overlay .liq-live-feed>div{display:grid!important;grid-template-columns:31px 7px minmax(0,1fr);gap:7px;align-items:center;padding:6px 4px!important;background:transparent!important;border:0!important;border-bottom:1px solid #1b2b36!important;border-radius:0!important;color:#b9c8d1!important}
#gp8Overlay .liq-live-feed>div:before{content:none!important}
#gp8Overlay .liq-live-feed time{color:#728b9a;font-size:9px;font-variant-numeric:tabular-nums}
#gp8Overlay .liq-live-event-dot{width:6px;height:6px;border-radius:50%;background:#8799a4}
#gp8Overlay .liq-live-event-dot.home{background:var(--liq-home)}#gp8Overlay .liq-live-event-dot.away{background:var(--liq-away)}
#gp8Overlay .liq-live-feed p{min-width:0;margin:0!important}
#gp8Overlay .liq-live-feed p>b{display:block;color:#edf4f7!important;font-size:9px!important;line-height:1.2}
#gp8Overlay .liq-live-feed p>small{display:block;color:#718998;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
#gp8Overlay .liq-live-feed>div.goal p>b{color:#f4c867!important}
#gp8Overlay .liq-live-empty{display:block!important;color:#6e8492!important;text-align:center;padding:16px!important}

#gp8Overlay .liq-live-momentum{position:relative}
#gp8Overlay .liq-live-momentum-bars{height:92px;display:grid;grid-template-columns:repeat(18,1fr);gap:2px;position:relative;padding:0 2px}
#gp8Overlay .liq-live-momentum-bars:before{content:'';position:absolute;left:0;right:0;top:50%;border-top:1px solid #3a4e5a}
#gp8Overlay .liq-live-momentum-bars>i{position:relative;height:100%}
#gp8Overlay .liq-live-momentum-bars>i:after{content:'';position:absolute;left:1px;right:1px;height:calc(var(--liq-momentum) * 44%);min-height:2px;opacity:.88;border-radius:2px}
#gp8Overlay .liq-live-momentum-bars>i.home:after{bottom:50%;background:linear-gradient(to top,var(--liq-home),color-mix(in srgb,var(--liq-home) 35%,transparent))}
#gp8Overlay .liq-live-momentum-bars>i.away:after{top:50%;background:linear-gradient(to bottom,var(--liq-away),color-mix(in srgb,var(--liq-away) 35%,transparent))}
#gp8Overlay .liq-live-momentum-axis{display:flex;justify-content:space-between;color:#607987;font-size:7px;margin-top:3px}
#gp8Overlay .liq-live-momentum-legend{display:flex;justify-content:center;gap:16px;color:#879ba8;font-size:8px;margin-top:3px;min-width:0}
#gp8Overlay .liq-live-momentum-legend span{display:flex;align-items:center;gap:5px;max-width:45%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gp8Overlay .liq-live-momentum-legend i{width:7px;height:7px;border-radius:2px;flex:none}
#gp8Overlay .liq-live-momentum-legend i.home{background:var(--liq-home)}#gp8Overlay .liq-live-momentum-legend i.away{background:var(--liq-away)}

#gp8Overlay .liq-live-insights{padding:13px!important;display:flex!important;flex-direction:column!important;gap:13px!important;min-width:0}
#gp8Overlay .liq-live-insights>section+section{padding-top:12px;border-top:1px solid #21333e}
#gp8Overlay .liq-live-stat{padding:8px 0}
#gp8Overlay .liq-live-stat header{display:flex;justify-content:space-between;gap:8px;align-items:center}
#gp8Overlay .liq-live-stat header>span{font-size:8px;font-weight:900;color:#9bafbc;letter-spacing:.05em}
#gp8Overlay .liq-live-stat header>b{display:flex;gap:10px;font-size:11px}
#gp8Overlay .liq-live-stat header em{font-style:normal;color:#eff5f8;font-variant-numeric:tabular-nums}
#gp8Overlay .liq-live-stat header em:first-child{color:color-mix(in srgb,var(--liq-home) 75%,white)}
#gp8Overlay .liq-live-stat header em:last-child{color:color-mix(in srgb,var(--liq-away) 75%,white)}
#gp8Overlay .liq-live-bar{height:7px;border-radius:999px;background:var(--liq-away);overflow:hidden;margin:7px 0 4px;box-shadow:inset 0 0 0 1px #ffffff12}
#gp8Overlay .liq-live-bar>i{display:block;height:100%;background:var(--liq-home);border-radius:999px}
#gp8Overlay .liq-live-stat footer{display:flex;justify-content:space-between;gap:10px;color:#607b8a;font-size:7px}
#gp8Overlay .liq-live-stat footer span{min-width:0;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gp8Overlay .liq-live-stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:3px}
#gp8Overlay .liq-live-stat-pair article{background:#0a131a;border:1px solid #20313c;border-radius:8px;padding:9px}
#gp8Overlay .liq-live-stat-pair span{display:block;color:#718996;font-size:7px;font-weight:900;letter-spacing:.04em}
#gp8Overlay .liq-live-stat-pair b{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:5px;color:#f0f5f7;font-size:14px;font-variant-numeric:tabular-nums}
#gp8Overlay .liq-live-stat-pair b i{font-style:normal;font-size:8px;color:#536c7a}

#gp8Overlay .liq-live-alerts{display:grid;gap:7px}
#gp8Overlay .liq-live-alerts .liq-live-panel-title{margin-bottom:1px}
#gp8Overlay .liq-live-alert{display:grid;grid-template-columns:7px minmax(0,1fr);gap:9px;align-items:center;background:#0a131a;border:1px solid #233540;border-radius:8px;padding:9px 10px;color:#bdccd5;font-size:9px;line-height:1.35}
#gp8Overlay .liq-live-alert>i{width:7px;height:7px;border-radius:50%;background:#657d8b}
#gp8Overlay .liq-live-alert.warn>i{background:#f0a146;box-shadow:0 0 10px #e8913555}
#gp8Overlay .liq-live-alert.danger>i{background:#e25763;box-shadow:0 0 10px #db435255}
#gp8Overlay .liq-live-alert.info>i{background:#5aa8d4}

#gp8Overlay .liq-live-bench-drawer{margin-top:auto;border-top:1px solid #20333e;padding-top:11px;color:#aabcc7}
#gp8Overlay .liq-live-bench-drawer summary{cursor:pointer;font-size:8px;font-weight:900;letter-spacing:.05em;color:#8fa6b4;padding:3px 0 8px}
#gp8Overlay .liq-live-bench-drawer .gp8-live-bench{max-height:205px;overflow:auto;gap:4px}
#gp8Overlay .liq-live-bench-drawer .gp8-live-bench-player{grid-template-columns:24px minmax(0,1fr) auto!important;min-height:38px!important;padding:6px!important;background:#0a131a!important;border-color:#20333e!important}
#gp8Overlay .liq-live-bench-drawer .gp8-live-bench-player b{font-size:9px!important;color:#e4edf2!important}
#gp8Overlay .liq-live-bench-drawer .gp8-live-bench-player small{font-size:8px!important}

#gp8Overlay .gp8-match-view-notice{display:none!important}
#gp8Overlay .liq-live-controls{margin:0!important;padding:11px 13px!important;display:grid!important;grid-template-columns:minmax(160px,.7fr) minmax(170px,1fr) auto minmax(180px,1fr) minmax(180px,1fr) auto auto;gap:8px!important;align-items:end!important}
#gp8Overlay .liq-live-controls>.liq-live-panel-title{align-self:center;margin:0!important;display:block!important}
#gp8Overlay .liq-live-controls label{font-size:7px!important;color:#7f97a5!important;letter-spacing:.04em}
#gp8Overlay .liq-live-controls input[type=range]{width:100%}
#gp8Overlay .liq-live-controls select{min-width:0!important;width:100%;height:34px!important;background:#0a131a!important;color:#dfe8ed!important;border:1px solid #2a3d49!important}
#gp8Overlay .liq-live-controls button{height:34px!important;padding:0 10px!important;background:#172a37!important;border:1px solid #304856!important;font-size:8px!important}
#gp8Overlay .liq-live-controls>span{align-self:center!important;background:#0a131a!important;border:1px solid #20323d!important;font-size:8px!important;white-space:nowrap}
#gp8Overlay .liq-live-final{margin:0!important;padding:11px 13px!important;background:#10261d!important;color:#8fd0aa!important}

@media(max-width:1180px){
  #gp8Overlay .liq-live-layout{grid-template-columns:1fr}
  #gp8Overlay .liq-live-insights{display:grid!important;grid-template-columns:1fr 1fr;align-items:start}
  #gp8Overlay .liq-live-bench-drawer{grid-column:1/-1}
  #gp8Overlay .liq-live-controls{grid-template-columns:1fr 1fr 1fr}
  #gp8Overlay .liq-live-controls>.liq-live-panel-title{grid-column:1/-1}
}
@media(max-width:760px){
  #gp8Overlay:has(.liq-match-live-root) .gp8-body{padding:10px}
  #gp8Overlay .liq-live-toolbar select{min-width:180px;max-width:100%}
  #gp8Overlay .liq-live-score{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;padding:10px!important}
  #gp8Overlay .liq-live-score .gp8-score-team{font-size:9px!important;gap:5px!important}
  #gp8Overlay .liq-live-score>b strong{font-size:24px!important}
  #gp8Overlay .liq-live-crest-slot{width:27px;height:27px;flex-basis:27px}
  #gp8Overlay .liq-live-crest-slot img,#gp8Overlay .liq-live-crest-slot .gp8-token-crest{width:26px!important;height:26px!important}
  #gp8Overlay .liq-live-score>small{flex-wrap:wrap;font-size:8px!important}
  #gp8Overlay .liq-match-live-root .gp8-live-pitch{aspect-ratio:1.48!important}
  #gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token,
  #gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.mine,
  #gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token.opp{width:22px!important;height:22px!important;min-height:22px!important}
  #gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token>b{display:none!important}
  #gp8Overlay .liq-live-lower-grid,#gp8Overlay .liq-live-insights{grid-template-columns:1fr!important}
  #gp8Overlay .liq-live-controls{grid-template-columns:1fr!important}
  #gp8Overlay .liq-live-controls>.liq-live-panel-title{grid-column:auto}
}
/* LIQ_MATCH_LIVE_W12_20261007_END */
/* LIQ_MATCH_LIVE_W12_FIX1_20261007_BEGIN */
#gp8Overlay .liq-match-live-root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
#gp8Overlay .liq-live-trajectory.home{color:color-mix(in srgb,var(--liq-home) 78%,white)!important}
#gp8Overlay .liq-live-trajectory.away{color:color-mix(in srgb,var(--liq-away) 78%,white)!important}
#gp8Overlay .liq-live-score>small>span{display:inline-flex;align-items:center;gap:0}
/* W4 appends canonical force before RES; keep it compact inside the bench drawer. */
#gp8Overlay .liq-live-bench-drawer .gp8-live-bench-player{grid-template-columns:24px minmax(0,1fr) auto auto!important}
#gp8Overlay .liq-live-bench-drawer .gp8-bench-force{font-size:8px!important;color:#9fb1bd!important;white-space:nowrap}
/* LIQ_MATCH_LIVE_W12_FIX1_20261007_END */


/* =========================================================
   LIQ_MATCH_LIVE_W13_CSS_BEGIN
   ========================================================= */

.liq-live-auto-status,
.liq-live-polling{
 display:inline-flex;
 align-items:center;
 gap:7px;
 min-height:34px;
 padding:0 10px;
 border:1px solid var(--gp8-line);
 border-radius:7px;
 color:var(--gp8-muted);
 font-size:9px;
 font-weight:900;
 letter-spacing:.08em;
}

.liq-live-auto-status i{
 width:7px;
 height:7px;
 border-radius:50%;
 background:#32b66b;
 box-shadow:
  0 0 0 4px
  rgba(50,182,107,.12);
}

.liq-live-polling{
 min-height:auto;
 padding:5px 8px;
 color:#79d69f;
 border-color:
  rgba(121,214,159,.2);
}


/* -----------------------------------------
   BANCO SEMPRE VISIVEL
   ----------------------------------------- */

.liq-live-insights{
 display:flex !important;
 flex-direction:column;
 min-height:0;
}

.liq-live-bench-drawer{
 display:flex;
 flex:1;
 min-height:250px;
 flex-direction:column;
 margin-top:14px;
 padding-top:14px;
 border-top:
  1px solid var(--gp8-line);
}

.liq-live-bench-title{
 flex:0 0 auto;
 margin-bottom:9px;
}

.liq-live-bench-drawer
.gp8-live-bench{
 display:grid;
 gap:7px;
 flex:1;
 min-height:0;
 max-height:390px;
 overflow:auto;
 padding-right:4px;
}

.gp8-live-bench-player{
 cursor:pointer;
 transition:
  border-color .15s ease,
  background .15s ease,
  transform .15s ease;
}

.gp8-live-bench-player:hover{
 border-color:
  var(--gp8-line-strong);
 transform:
  translateY(-1px);
}

.gp8-live-bench-player
>strong{
 font-size:9px !important;
 letter-spacing:.06em;
 color:var(--gp8-accent);
}


/* -----------------------------------------
   SELECAO DE SUBSTITUICAO
   ----------------------------------------- */

.gp8-live-pitch
.gp8-token.mine{
 cursor:pointer;
}

.gp8-live-bench-player
.liq-squad-state{
 pointer-events:none;
}

.gp8-live-bench-player
>span,
.gp8-live-bench-player
>strong{
 pointer-events:none;
}

.gp8-live-bench-player
.liq-live-sub-in{
 border-color:
  var(--gp8-accent) !important;

 background:
  color-mix(
   in srgb,
   var(--gp8-accent) 13%,
   var(--gp8-surface-2)
  ) !important;

 box-shadow:
  0 0 0 1px
  color-mix(
   in srgb,
   var(--gp8-accent) 42%,
   transparent
  );
}

.gp8-live-pitch
.gp8-token.mine
.liq-live-dot,
.gp8-live-pitch
.gp8-token.mine
b,
.gp8-live-pitch
.gp8-token.mine
small{
 pointer-events:none;
}

.gp8-live-pitch
.gp8-token.mine
.liq-live-sub-out{
 outline:
  2px solid
  var(--gp8-accent) !important;

 box-shadow:
  0 0 0 5px
   color-mix(
    in srgb,
    var(--gp8-accent) 18%,
    transparent
   ),
  0 7px 18px
   rgba(0,0,0,.32);

 z-index:12;
}


.liq-live-subpick{
 display:flex;
 align-items:center;
 gap:10px;

 min-width:
  min(520px,100%);

 flex:
  1 1 420px;

 padding:
  8px 10px;

 border:
  1px solid
  var(--gp8-line);

 border-radius:
  8px;

 background:
  var(--gp8-surface-2);
}


.liq-live-subpick
>span{
 min-width:0;
 flex:1;

 color:
  var(--gp8-muted);

 font-size:
  10px;

 font-weight:
  800;
}


.liq-live-subpick
button:disabled{
 opacity:.42;
 cursor:not-allowed;
}


/* -----------------------------------------
   PENALTI
   ----------------------------------------- */

.gp8-token
.liq-live-penalty-kicker,
.gp8-token
.liq-live-penalty-keeper{
 z-index:15 !important;
}

.gp8-token.liq-live-penalty-kicker{
 box-shadow:
  0 0 0 5px
   color-mix(
    in srgb,
    var(--gp8-accent) 23%,
    transparent
   ),
  0 8px 24px
   rgba(0,0,0,.38)
   !important;
}

.gp8-token.liq-live-penalty-keeper{
 outline:
  2px solid
  rgba(255,255,255,.82)
  !important;

 box-shadow:
  0 0 0 5px
   rgba(255,255,255,.10),
  0 8px 24px
   rgba(0,0,0,.38)
   !important;
}


@media(max-width:980px){

 .liq-live-bench-drawer{
  min-height:190px;
 }

 .liq-live-bench-drawer
 .gp8-live-bench{
  max-height:300px;
 }

 .liq-live-subpick{
  flex-basis:100%;
 }
}

/* LIQ_MATCH_LIVE_W13_CSS_END */


/* =========================================================
   LIQ_LIVE_W14_CSS
   ========================================================= */


/* -----------------------
   OUTROS JOGOS
   ----------------------- */

.liq-live-ticker{
 display:flex;
 align-items:stretch;

 height:38px;

 margin:
  -1px 0
  14px;

 overflow:hidden;

 border:
  1px solid
  var(--gp8-line);

 border-radius:
  7px;

 background:
  #081117;
}

.liq-live-ticker
>strong{
 display:flex;
 align-items:center;

 flex:
  0 0 auto;

 padding:
  0 14px;

 position:relative;
 z-index:3;

 background:
  #101a22;

 border-right:
  1px solid
  var(--gp8-line);

 color:
  #e9eef3;

 font-size:
  9px;

 font-weight:
  950;

 letter-spacing:
  .09em;

 white-space:
  nowrap;
}

.liq-live-ticker-window{
 min-width:0;
 flex:1;

 overflow:hidden;
}

.liq-live-ticker-track{
 display:flex;

 width:max-content;
 height:100%;

 align-items:center;
}

.liq-live-ticker-track
>div{
 display:flex;
 align-items:center;

 height:100%;

 animation:
  liqLiveTickerScroll
  var(--liq-live-ticker-duration,160s)
  linear
  infinite;
}

.liq-live-ticker-item{
 display:inline-flex;
 align-items:center;
 gap:7px;

 height:100%;

 padding:
  0 18px;

 border-right:
  1px solid
  rgba(255,255,255,.07);

 white-space:
  nowrap;
}

.liq-live-ticker-item
i{
 display:inline-flex;
 align-items:center;

 color:
  #91a0ad;

 font-style:normal;

 font-size:
  8px;

 font-weight:
  950;

 letter-spacing:
  .06em;
}

.liq-live-ticker-item
i.live{
 color:
  #ff5967;
}

.liq-live-ticker-item
i.live::before{
 content:"";

 width:6px;
 height:6px;

 margin-right:5px;

 border-radius:50%;

 background:
  #ff4052;

 box-shadow:
  0 0 0 3px
  rgba(255,64,82,.11);
}

.liq-live-ticker-item
b{
 color:
  #cbd4dc;

 font-size:
  10px;

 font-weight:
  800;
}

.liq-live-ticker-item
strong{
 display:inline-flex;
 align-items:center;
 gap:5px;

 color:#fff;

 font-size:
  12px;

 font-weight:
  950;
}

.liq-live-ticker-item
strong em{
 color:
  #6f7e89;

 font-size:
  9px;

 font-style:
  normal;
}

.liq-live-ticker-empty{
 display:flex;
 align-items:center;

 height:100%;

 padding:
  0 16px;

 color:
  #7f8e99;

 font-size:
  9px;
}

@keyframes liqLiveTickerScroll{

 from{
  transform:
   translateX(0);
 }

 to{
  transform:
   translateX(-100%);
 }
}

.liq-live-ticker:hover
.liq-live-ticker-track
>div{
 animation-play-state:
  paused;
}


/* -----------------------
   FORMACAO AO VIVO
   ----------------------- */

.liq-live-formation-control{
 display:grid;

 grid-template-columns:
  auto
  minmax(150px,220px);

 grid-template-areas:
  "label select"
  "label meta";

 align-items:center;

 gap:
  2px 9px;

 min-width:
  280px;

 padding:
  7px 10px;

 border:
  1px solid
  var(--gp8-line);

 border-radius:
  8px;

 background:
  var(--gp8-surface-2);
}

.liq-live-formation-control
>span{
 grid-area:label;

 color:
  var(--gp8-muted);

 font-size:
  8px;

 font-weight:
  950;

 letter-spacing:
  .08em;
}

.liq-live-formation-control
select{
 grid-area:select;

 width:100%;

 min-height:
  31px;

 font-weight:
  900;
}

.liq-live-formation-control
small{
 grid-area:meta;

 color:
  #80909d;

 font-size:
  8px;

 font-weight:
  800;
}


@media(max-width:900px){

 .liq-live-ticker
 >strong{
  display:none;
 }

 .liq-live-formation-control{
  width:100%;
  min-width:0;
 }

}


@media(
 prefers-reduced-motion:reduce
){

 .liq-live-ticker-track
 >div{
  animation:none;
 }

}

/* LIQ_LIVE_W14_CSS_END */

/* LIQ_MATCHDAY_STADIUM_BETA_V1_BEGIN
   Decorative 2D stadium surround. The existing pitch and all its event-driven
   coordinates remain unchanged. No outside requests or animations requiring JS. */
#gp8Overlay .liq-stadium-beta{
  --liq-stadium-venue-image:none;
  --liq-stadium-home-image:none;
  --liq-stadium-away-image:none;
  position:relative; isolation:isolate; overflow:hidden;
  color:#e9edf0;
  background:#0b1319;
  border:1px solid #3f505b; border-radius:12px;
  box-shadow:0 14px 35px rgba(0,0,0,.36),inset 0 0 35px rgba(0,0,0,.3);
}
#gp8Overlay .liq-stadium-roof{
  height:36px; position:relative; overflow:hidden;
  background:linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,.86)),
    var(--liq-stadium-venue-image),repeating-linear-gradient(100deg,#26313a 0 22px,#111a21 22px 28px);
  background-position:center 42%;background-size:cover;
  border-bottom:3px solid #37434c;
}
#gp8Overlay .liq-stadium-roof:before{
  content:'';position:absolute;inset:0;
  background:repeating-linear-gradient(92deg,transparent 0 48px,#040a0ea8 49px 52px,transparent 54px 100px);
}
#gp8Overlay .liq-stadium-roof-light{
  position:absolute;top:8px;left:22%;width:19%;height:2px;
  background:#d6e9ff;box-shadow:0 1px 15px 5px rgba(229,243,255,.28);
}
#gp8Overlay .liq-stadium-roof-light+ .liq-stadium-roof-light{left:auto;right:22%}
#gp8Overlay .liq-stadium-venue{
  min-height:29px;padding:6px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;
  background:linear-gradient(90deg,#09121b,#15212c 50%,#0b151d);
  border-bottom:2px solid color-mix(in srgb,var(--liq-home,#cf8631) 70%,#182a35);
  text-transform:uppercase;letter-spacing:.09em;font-weight:850;font-size:10px;
}
#gp8Overlay .liq-stadium-venue>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gp8Overlay .liq-stadium-venue small{font-size:8px;white-space:nowrap;color:#9fb2bd;font-weight:650;letter-spacing:.1em}
#gp8Overlay .liq-stadium-stand{position:relative;overflow:hidden;background:#15212a}
#gp8Overlay .liq-stadium-stand-home{height:112px}
#gp8Overlay .liq-stadium-stand-away{height:74px;border-top:5px solid #111b20}
#gp8Overlay .liq-stadium-stand-art{
  position:absolute;inset:0;
  background-image:linear-gradient(180deg,rgba(3,8,12,.12),rgba(2,6,9,.72)),
    repeating-linear-gradient(90deg,transparent 0 3px,#ffffff11 3px 4px,transparent 4px 9px),
    repeating-linear-gradient(0deg,#3e4b50 0 6px,#1c2a32 6px 12px);
  background-position:center center;background-size:cover;
}
#gp8Overlay .liq-stadium-has-home-art .liq-stadium-stand-home .liq-stadium-stand-art{
  background-image:linear-gradient(180deg,rgba(3,8,12,.08),rgba(3,8,12,.45) 57%,rgba(2,6,9,.85)),var(--liq-stadium-home-image);
  background-position:center 47%;background-size:cover;
}
#gp8Overlay .liq-stadium-has-away-art .liq-stadium-stand-away .liq-stadium-stand-art{
  background-image:linear-gradient(0deg,rgba(3,8,12,.65),rgba(3,8,12,.3)),var(--liq-stadium-away-image);
  background-position:center 42%;background-size:cover;
}
#gp8Overlay .liq-stadium-stand:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:repeating-linear-gradient(90deg,#060b0c88 0 2px,transparent 2px 76px)}
#gp8Overlay .liq-stadium-flag-row{
  position:absolute;z-index:2;left:6%;right:6%;top:5px;bottom:19px;
  display:flex;align-items:flex-start;justify-content:space-around;pointer-events:none;
}
#gp8Overlay .liq-stadium-flag-row i{
  position:relative;display:block;width:2px;height:51px;background:#d1d4d3b7;
  transform:rotate(-10deg);transform-origin:bottom;
}
#gp8Overlay .liq-stadium-flag-row i:after{
  content:'';position:absolute;top:3px;left:2px;width:25px;height:19px;
  background:repeating-linear-gradient(180deg,var(--liq-home,#d97935) 0 5px,#101116 5px 10px);
  clip-path:polygon(0 0,100% 8%,90% 74%,0 100%);
  animation:liqStadiumFlag 3.4s ease-in-out infinite alternate;
  transform-origin:left center;box-shadow:0 1px 4px #0007;
}
#gp8Overlay .liq-stadium-flag-row i:nth-child(2n){transform:rotate(12deg);height:39px}
#gp8Overlay .liq-stadium-flag-row i:nth-child(3n):after{animation-delay:-1.4s;opacity:.75}
@keyframes liqStadiumFlag{from{transform:skewY(-8deg) scaleX(.87)}to{transform:skewY(10deg) scaleX(1)}}
#gp8Overlay .liq-stadium-rail{
  position:absolute;z-index:3;left:0;right:0;bottom:0;
  height:24px;display:flex;align-items:center;justify-content:space-between;gap:9px;
  padding:0 12px;background:linear-gradient(90deg,#0b1119e8,#13242bec);
  border-top:2px solid var(--liq-home,#ad7c36);color:#f0f5f5;
  font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;
}
#gp8Overlay .liq-stadium-rail span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#gp8Overlay .liq-stadium-rail span:last-child{letter-spacing:5px;font-size:8px;opacity:.54}
#gp8Overlay .liq-stadium-stand-away .liq-stadium-rail{border-color:var(--liq-away,#6e8fa2);bottom:auto;top:0}
#gp8Overlay .liq-stadium-floor{
  display:grid;grid-template-columns:minmax(8px,19px) minmax(0,1fr) minmax(8px,19px);
  align-items:stretch;background:radial-gradient(ellipse at center,#293b40,#0d1c22 83%);
  padding:8px 6px 6px;
}
#gp8Overlay .liq-stadium-end-stand{
  min-height:100%;background:repeating-linear-gradient(0deg,#475157 0 3px,#1b2830 3px 6px);
  border:1px solid #54606888;box-shadow:inset 0 0 10px #0009;
}
#gp8Overlay .liq-stadium-end-stand.home{border-right:2px solid var(--liq-home,#d4852d)}
#gp8Overlay .liq-stadium-end-stand.away{border-left:2px solid var(--liq-away,#7c919d)}
#gp8Overlay .liq-stadium-field-slot{min-width:0;box-shadow:0 3px 16px #000c}
#gp8Overlay .liq-stadium-field-slot .liq-live-pitch-shell{
  width:100%;border:2px solid #d9e4c9!important;border-radius:2px!important;
  box-shadow:0 0 0 4px #0a1012,inset 0 0 18px #00170dba!important;
}
#gp8Overlay .liq-stadium-footer{
  min-height:25px;display:flex;justify-content:space-between;align-items:center;gap:12px;
  background:linear-gradient(90deg, color-mix(in srgb,var(--liq-home,#a96b2b) 18%,#0c151d),#0d1620 50%,color-mix(in srgb,var(--liq-away,#516777) 18%,#0c151d));
  padding:3px 12px;border-top:1px solid #283844;text-transform:uppercase;
  font-size:9px;font-weight:800;letter-spacing:.06em;color:#c4d2da;
}
#gp8Overlay .liq-stadium-footer>span:first-child,#gp8Overlay .liq-stadium-footer>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%}
#gp8Overlay .liq-stadium-led{flex:1;height:3px;max-width:28%;background:repeating-linear-gradient(90deg,#e8efed 0 6px,#23323d 6px 10px);opacity:.65}
@media(max-width:700px){
  #gp8Overlay .liq-stadium-roof{height:21px}
  #gp8Overlay .liq-stadium-venue{padding:5px 8px;min-height:25px;font-size:9px}
  #gp8Overlay .liq-stadium-venue small{display:none}
  #gp8Overlay .liq-stadium-stand-home{height:66px}
  #gp8Overlay .liq-stadium-stand-away{height:45px}
  #gp8Overlay .liq-stadium-flag-row{top:4px;bottom:9px}
  #gp8Overlay .liq-stadium-flag-row i{height:26px}
  #gp8Overlay .liq-stadium-flag-row i:after{width:13px;height:11px}
  #gp8Overlay .liq-stadium-floor{grid-template-columns:6px minmax(0,1fr) 6px;padding:5px 3px}
  #gp8Overlay .liq-stadium-rail{height:19px;font-size:8px;padding:0 7px}
}
@media(prefers-reduced-motion:reduce){#gp8Overlay .liq-stadium-flag-row i:after{animation:none}}
/* LIQ_MATCHDAY_STADIUM_BETA_V1_END */

/* LIQ_GE_EVENT_REPORT_BETA_V1_BEGIN */
#gp8Overlay .liq-live-report-plus{
 display:inline-grid;place-items:center;margin-left:auto;flex-shrink:0;
 width:26px;height:26px;border:1px solid #466273;border-radius:7px;
 background:#1b3341;color:#edf7fb;font-size:20px;font-weight:650;line-height:1;cursor:pointer;
}
#gp8Overlay .liq-live-report-plus:hover,#gp8Overlay .liq-live-report-plus:focus-visible{background:#295066;outline:2px solid #70abc9;outline-offset:1px}
#gp8Overlay .liq-live-events-panel .liq-live-panel-title{align-items:center}
#gp8Overlay .liq-live-events-panel .liq-live-panel-title small{margin-left:0}
#gp8Overlay .liq-event-report-backdrop{position:fixed;inset:0;z-index:400;background:rgba(2,7,12,.82);display:flex;align-items:center;justify-content:center;padding:18px}
#gp8Overlay .liq-event-report-window{display:flex;flex-direction:column;width:min(960px,100%);max-height:min(92dvh,960px);overflow:hidden;border:1px solid #3b5261;border-radius:15px;background:#0c1620;color:#eaf1f5;box-shadow:0 28px 100px #000c}
#gp8Overlay .liq-event-report-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 14px;background:#10202c;border-bottom:1px solid #29404e}
#gp8Overlay .liq-event-report-head small{font-size:10px;letter-spacing:.12em;color:#8db0c2}
#gp8Overlay .liq-event-report-head h2{margin:5px 0 4px;font-size:23px;line-height:1.2;color:#f3f8fa}
#gp8Overlay .liq-event-report-head p{margin:0;color:#9fb6c4;font-size:12px}
#gp8Overlay .liq-event-report-close{border:1px solid #365161;background:#1c3545;color:#fff;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:26px;flex-shrink:0}
#gp8Overlay .liq-event-report-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 22px;border-bottom:1px solid #223644}
#gp8Overlay .liq-event-report-tools>span{margin-right:auto;font-size:11px;color:#b8cbd6}
#gp8Overlay .liq-event-report-tools label{display:flex;align-items:center;gap:7px;font-size:11px;color:#aec3ce}
#gp8Overlay .liq-event-report-tools select,#gp8Overlay .liq-event-report-tools button,#gp8Overlay .liq-event-report-footer button{border:1px solid #3e5b6d;border-radius:7px;background:#173042;color:#eaf1f5;padding:8px 12px;font-weight:750;font-size:11px;cursor:pointer}
#gp8Overlay .liq-event-report-tools button:hover,#gp8Overlay .liq-event-report-footer button:hover{background:#23475c}
#gp8Overlay .liq-event-report-list{flex:1;min-height:120px;overflow-y:auto;overscroll-behavior:contain;padding:8px 20px;scrollbar-width:thin;scrollbar-color:#405d6f #0d1922}
#gp8Overlay .liq-event-report-row{display:grid;grid-template-columns:64px minmax(0,1fr) 128px;gap:12px;padding:13px 4px;border-bottom:1px solid #233440;align-items:start}
#gp8Overlay .liq-event-report-row.is-goal{border-left:3px solid #e4a64b;background:#1a2327;padding-left:9px}
#gp8Overlay .liq-event-report-time time{display:block;color:#f3c46d;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
#gp8Overlay .liq-event-report-time small{display:block;color:#7b99a8;font-size:10px;margin-top:3px}
#gp8Overlay .liq-event-report-content{min-width:0;display:grid;gap:4px}
#gp8Overlay .liq-event-report-content strong{font-size:13px;color:#f1f7fa}
#gp8Overlay .liq-event-report-content span{font-size:11px;color:#aec4d0}
#gp8Overlay .liq-event-report-content>small{font-size:10px;color:#8ba3b2}
#gp8Overlay .liq-event-report-period{font-size:9px;text-transform:uppercase;color:#7492a2;text-align:right}
#gp8Overlay .liq-event-report-content details{margin-top:4px}
#gp8Overlay .liq-event-report-content summary{font-size:10px;color:#9ebacb;cursor:pointer;width:max-content}
#gp8Overlay .liq-event-report-content pre{white-space:pre-wrap;word-break:break-word;max-height:250px;overflow:auto;background:#071018;border:1px solid #263b48;border-radius:7px;padding:9px;font-size:10px;color:#cbdbe4}
#gp8Overlay .liq-event-report-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 22px;border-top:1px solid #29404e;font-size:10px;color:#839ba8}
#gp8Overlay .liq-event-report-empty,#gp8Overlay .liq-event-report-error{padding:20px 7px;font-size:12px;color:#afc4d1}
#gp8Overlay .liq-event-report-error{color:#ff9a98}
@media(max-width:650px){
 #gp8Overlay .liq-event-report-backdrop{padding:5px}
 #gp8Overlay .liq-event-report-window{max-height:97dvh}
 #gp8Overlay .liq-event-report-head{padding:14px}
 #gp8Overlay .liq-event-report-head h2{font-size:17px}
 #gp8Overlay .liq-event-report-tools{padding:9px}
 #gp8Overlay .liq-event-report-list{padding:5px 9px}
 #gp8Overlay .liq-event-report-row{grid-template-columns:49px minmax(0,1fr);gap:8px}
 #gp8Overlay .liq-event-report-period{grid-column:2;text-align:left}
 #gp8Overlay .liq-event-report-footer{padding:10px}
}
/* LIQ_GE_EVENT_REPORT_BETA_V1_END */

/* LIQ_STADIUM_PHOTO_MATCHDAY_V3_BEGIN
   Full static bowl plate + real Gameplay V8 player/ball overlays.
   The image is selected from the HOME club's _times folder by stadium slug.
   Original V2 remains available if there is no plate for the venue. */
#gp8Overlay .liq-stadium-photo-v3{
  --liq-stadium-photo:none;
  overflow:hidden;background:#080f12;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-roof,
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-stand,
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-end-stand,
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-footer{display:none!important}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-venue{
  min-height:29px;padding:7px 13px;background:#0c171c;
  border-bottom:1px solid #47515b;position:relative;z-index:2;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-floor{
  display:block!important;
  position:relative!important;
  aspect-ratio:1.55;
  width:100%;padding:0!important;gap:0!important;
  overflow:hidden;
  background-image:var(--liq-stadium-photo)!important;
  background-repeat:no-repeat!important;
  background-size:176% auto!important;
  background-position:50% 50%!important;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-floor:after{
  content:'';position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(180deg,#07101415 0%,transparent 20%,transparent 81%,#07101430 100%);
}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-field-slot{
  position:absolute!important;z-index:3!important;
  left:8%!important;top:15%!important;width:84%!important;height:auto!important;
  box-shadow:none!important;overflow:visible!important;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-live-pitch-shell{
  border:0!important;background:transparent!important;
  border-radius:0!important;box-shadow:none!important;overflow:visible!important;
}
#gp8Overlay .liq-stadium-photo-v3 .gp8-live-pitch{
  background:transparent!important;box-shadow:none!important;
  border:0!important;filter:none!important;
}
/* The photographic turf already contains pitch markings. */
#gp8Overlay .liq-stadium-photo-v3 .liq-live-pitch-markings{display:none!important}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-poly-canvas{display:none!important}
#gp8Overlay .liq-stadium-photo-v3 .gp8-token{filter:drop-shadow(0 2px 3px #000b)}
@media(max-width:720px){
  #gp8Overlay .liq-stadium-photo-v3 .liq-stadium-floor{aspect-ratio:1.38;background-size:198% auto!important}
  #gp8Overlay .liq-stadium-photo-v3 .liq-stadium-field-slot{left:4%!important;top:16%!important;width:92%!important}
}
/* LIQ_STADIUM_PHOTO_MATCHDAY_V3_END */

/* LIQ_STADIUM_PHOTO_CLEANUP_V31_BEGIN
   Calibrate photographic plate without modifying gameplay geometry or state.
   V2's high-specificity white frame must not appear on top of photo field. */
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-field-slot .liq-live-pitch-shell{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-live-pitch-markings,
#gp8Overlay .liq-stadium-photo-v3 .liq-live-pitch-shell:before,
#gp8Overlay .liq-stadium-photo-v3 .liq-live-pitch-shell:after{
  display:none!important;
}
/* Show more of the photographic bowl without shifting ball or player data.
   Slot math scales the same pitch rectangle around the center of the bowl:
   new/old image zoom = 158/176 = 0.897727. */
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-floor{
  background-size:158% auto!important;
  background-position:50% 50%!important;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-field-slot{
  left:12.30%!important;
  top:18.58%!important;
  width:75.41%!important;
}
@media(max-width:720px){
  /* Preserve the mobile composition where labels need more pitch width. */
  #gp8Overlay .liq-stadium-photo-v3 .liq-stadium-floor{
    background-size:198% auto!important;
  }
  #gp8Overlay .liq-stadium-photo-v3 .liq-stadium-field-slot{
    left:4%!important;top:16%!important;width:92%!important;
  }
}
/* LIQ_STADIUM_PHOTO_CLEANUP_V31_END */

/* LIQ_STADIUM_PHOTO_V32_NO_POLY_BEGIN
   A lightweight placeholder replaces the removed low-poly animation while
   venue photography loads. Never draws canvas or starts requestAnimationFrame. */
#gp8Overlay .liq-stadium-photo-v3.liq-stadium-photo-loading .liq-stadium-floor{
  background-image:linear-gradient(90deg,#285f39,#347146,#285f39)!important;
  background-size:cover!important;
}
#gp8Overlay .liq-stadium-photo-v3.liq-stadium-photo-loading .liq-live-pitch-markings{
  display:block!important;
}
/* LIQ_STADIUM_PHOTO_V32_NO_POLY_END */

/* LIQ_STADIUM_PHOTO_V33_MINIMAL_FALLBACK_BEGIN */
/* No synthetic terraces or flags for stadiums with no approved photo. */
#gp8Overlay .liq-stadium-beta:not(.liq-stadium-photo-v3) .liq-stadium-floor{
  display:block!important;
  padding:6px!important;
  grid-template-columns:none!important;
  background:#101d24!important;
}
#gp8Overlay .liq-stadium-beta:not(.liq-stadium-photo-v3) .liq-stadium-field-slot{
  width:100%!important;min-width:0!important;
  box-shadow:none!important;
}
#gp8Overlay .liq-stadium-beta:not(.liq-stadium-photo-v3) .liq-live-pitch-shell{
  border:0!important;outline:0!important;box-shadow:none!important;
}
/* Defensive visibility rules in case an older module adds legacy nodes. */
#gp8Overlay .liq-stadium-beta .liq-stadium-roof,
#gp8Overlay .liq-stadium-beta .liq-stadium-stand,
#gp8Overlay .liq-stadium-beta .liq-stadium-end-stand,
#gp8Overlay .liq-stadium-beta .liq-stadium-footer,
#gp8Overlay .liq-stadium-beta .liq-stadium-flag-row{
  display:none!important;
}
/* LIQ_STADIUM_PHOTO_V33_MINIMAL_FALLBACK_END */

/* LIQ_STADIUM_AWAY_V34_BEGIN
   Recoloracao fotografica preservada; bandeiras artificiais removidas. */
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-floor .liq-photo-away-recolor{
  position:absolute;inset:0;pointer-events:none;z-index:2;
  background:var(--liq-photo-away-primary,#6b7d8d);
  mix-blend-mode:color;
  -webkit-mask-image:var(--liq-away-mask,none);
  mask-image:var(--liq-away-mask,none);
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-size:158% auto;mask-size:158% auto;
  -webkit-mask-position:50% 50%;mask-position:50% 50%;
}
#gp8Overlay .liq-stadium-photo-v3.liq-stadium-photo-loading .liq-photo-away-recolor,
#gp8Overlay .liq-stadium-beta:not(.liq-stadium-photo-v3) .liq-photo-away-recolor{
  display:none!important;
}
@media(max-width:720px){
  #gp8Overlay .liq-stadium-photo-v3 .liq-photo-away-recolor{
    -webkit-mask-size:198% auto;mask-size:198% auto;
  }
}
/* LIQ_STADIUM_AWAY_V34_END */

/* LIQ_STADIUM_ADS_V35_BEGIN
   Lightweight matchday billboards. Contents come only from home.sponsors.
   Static images remain the source of stadium geometry; no extra SQL calls. */
#gp8Overlay .liq-photo-adboards{position:absolute;inset:0;pointer-events:none;z-index:2}
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail{
  position:absolute;left:13%;width:74%;height:1.6%;min-height:7px;
  overflow:hidden;border-top:1px solid #ffffff28;border-bottom:1px solid #0008;
  background:#071112d9;box-shadow:0 1px 3px #0009;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail-north{top:15.9%}
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail-south{bottom:14.3%}
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adgroup{
  position:absolute;inset:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  gap:1px;align-items:stretch;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adlabel{
  display:flex;align-items:center;justify-content:center;min-width:0;
  font-size:clamp(6px,.65vw,10px);line-height:1;color:#f7f9fc;
  text-transform:uppercase;font-weight:800;letter-spacing:.015em;
  text-shadow:0 1px 2px #000d;white-space:nowrap;overflow:hidden;
  padding:0 2px;background:#101b20;
  border-left:2px solid var(--liq-home,#d27b24);
}
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail-rotating .liq-photo-adgroup:nth-child(1){
  animation:liq-ad-first 20s steps(1,end) infinite;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail-rotating .liq-photo-adgroup:nth-child(2){
  animation:liq-ad-second 20s steps(1,end) infinite;
}
@keyframes liq-ad-first{0%,49.99%{opacity:1}50%,100%{opacity:0}}
@keyframes liq-ad-second{0%,49.99%{opacity:0}50%,100%{opacity:1}}
#gp8Overlay .liq-stadium-beta:not(.liq-stadium-photo-v3) .liq-photo-adboards,
#gp8Overlay .liq-stadium-photo-v3.liq-stadium-photo-loading .liq-photo-adboards{display:none!important}
@media(max-width:720px){
  #gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail{left:5%;width:90%;height:2%}
  #gp8Overlay .liq-stadium-photo-v3 .liq-photo-adlabel{font-size:6px}
}
@media(prefers-reduced-motion:reduce){
  #gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail-rotating .liq-photo-adgroup{animation:none}
  #gp8Overlay .liq-stadium-photo-v3 .liq-photo-adrail-rotating .liq-photo-adgroup:nth-child(2){display:none}
}
/* LIQ_STADIUM_ADS_V35_END */

/* LIQ_SECTOR13_PANOS_V310_BEGIN
   Retouch estritamente visual: tecido legivel nas baias V3.9, sem invasao
   da publicidade, do publico, do gramado ou da torcida visitante.
   O catalogo continua com coordenadas/orientacoes originais. */
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-panos{
  position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;container-type:size;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-bay{
  position:absolute;pointer-events:none;
  left:calc(var(--bay-x)*1%);top:calc(var(--bay-y)*1%);
  width:calc(var(--bay-w)*1%);height:calc(var(--bay-h)*1%);
  overflow:visible;isolation:isolate;
}
/* Pano fisico em vez de etiqueta plana. Espessura continua dentro da baia. */
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-fabric{
  box-sizing:border-box;position:absolute;display:flex;align-items:center;
  justify-content:center;left:0;top:0;width:100%;height:100%;
  max-width:none;margin:0;padding:0 1px;overflow:hidden;white-space:nowrap;
  pointer-events:none;
  background:
    repeating-linear-gradient(172deg,transparent 0 5px,#ffffff08 6px 7px,transparent 8px 12px),
    linear-gradient(180deg,#2d211ded 0%,#140f10f1 30%,#231614ef 72%,#0a0b0df2 100%);
  border-top:1px solid #a061418a;border-bottom:1px solid #09090acc;
  color:#f3e6d5;
  font:900 clamp(8px,1.43cqh,12px)/1 Impact,'Arial Narrow','Arial Black',sans-serif;
  font-stretch:condensed;letter-spacing:.018em;
  text-shadow:0 1px 2px #000,0 0 2px #000a;
  -webkit-text-stroke:.18px #f7e2c88c;
  box-shadow:0 1px 3px #000a, inset 0 1px 0 #ffba8140;
  opacity:.97;
  clip-path:polygon(1% 7%,98% 0,100% 91%,2% 100%);
}
/* Luz e sombra direcionais discretas, sem transformar panos em UI. */
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-bay-north{
  transform:skewX(-2deg);transform-origin:50% 70%;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-bay-south{
  transform:skewX(2deg);transform-origin:50% 35%;
}
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-bay-west{
  transform:skewY(-1.5deg);transform-origin:70% 50%;
}
/* Iconografia oficial ja contida nos PNGs, sem filtros que destruam o pano. */
#gp8Overlay .liq-stadium-photo-v3 img.liq-pano-fabric{
  padding:0;background:transparent;border:0;object-fit:fill;
  filter:brightness(1.12) contrast(1.13) saturate(1.06);
  -webkit-text-stroke:0;
}
/* Rotacao de toda a faixa oeste, nao apenas das letras. */
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-bay-west .liq-pano-fabric{
  left:50%;top:50%;width:calc(var(--bay-h)*1cqh);
  height:calc(var(--bay-w)*1cqw);
  transform:translate(-50%,-50%) rotate(-90deg);
  transform-origin:center center;
}
/* Sul: letras voltadas para quem esta na arquibancada, 180° no mapa. */
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-bay-south .liq-pano-fabric{
  transform:rotate(180deg);transform-origin:center center;
}
/* A primeira baia norte e estreita: texto precisa continuar contido nela. */
#gp8Overlay .liq-stadium-photo-v3 .liq-pano-bay-north:first-child .liq-pano-fabric-text{
  font-size:clamp(7px,1.1cqh,9px);letter-spacing:0;
}
/* Marca de realidade: o conjunto de anuncios permanece acima dos panos. */
#gp8Overlay .liq-stadium-photo-v3 .liq-photo-adboards{z-index:4}
#gp8Overlay .liq-stadium-beta:not(.liq-stadium-photo-v3) .liq-stadium-panos,
#gp8Overlay .liq-stadium-photo-v3.liq-stadium-photo-loading .liq-stadium-panos{
  display:none!important;
}
@media(max-width:720px){
  #gp8Overlay .liq-stadium-photo-v3 .liq-pano-fabric-text{
    font-size:clamp(7px,1.3cqh,11px);letter-spacing:0;
  }
}
/* LIQ_SECTOR13_PANOS_V310_END */

/* LIQ_GAMEPLAY_TACTICAL_BOARD_V1_BEGIN */
#gp8Overlay .gp8-tactical-editor{margin:16px 0 0;background:#0f202a;color:#e8f1f6;border:1px solid #284452}
#gp8Overlay .gp8-tactical-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
#gp8Overlay .gp8-tactical-head h3{color:#fff;margin:0 0 6px}
#gp8Overlay .gp8-tactical-head p{margin:0;color:#a9c3d0;font-size:12px;max-width:580px}
#gp8Overlay .gp8-tactical-modes{display:flex;gap:6px}
#gp8Overlay .gp8-tactical-modes button,#gp8Overlay #gp8TacticalReset{padding:10px 12px;cursor:pointer;border-radius:6px;border:1px solid #4f6b7b;background:#132f3c;color:#cddce4;font-weight:900;font-size:10px}
#gp8Overlay .gp8-tactical-modes button.selected{background:#e38b35;border-color:#e38b35;color:#111}
#gp8Overlay .gp8-tactical-workspace{display:grid;grid-template-columns:minmax(220px,420px) minmax(160px,1fr);gap:22px;align-items:start}
#gp8Overlay .gp8-tactical-pitch{position:relative;aspect-ratio:2/3;width:100%;max-width:420px;touch-action:none;overflow:hidden;background:repeating-linear-gradient(0deg,#1c6547 0 12.5%,#236e4d 12.5% 25%);border:3px solid #cbd9d4;border-radius:4px;box-shadow:inset 0 0 0 8px #123e2c}
#gp8Overlay .gp8-tactical-pitch .midline{position:absolute;inset:50% 7% auto;border-top:1px solid #d7e9de8a}
#gp8Overlay .gp8-tactical-pitch .center-circle{position:absolute;left:50%;top:50%;width:25%;aspect-ratio:1;border:1px solid #d7e9de8a;border-radius:50%;transform:translate(-50%,-50%)}
#gp8Overlay .gp8-tactical-pitch .area{position:absolute;left:27%;width:46%;height:15%;border:1px solid #d7e9de8a}
#gp8Overlay .gp8-tactical-pitch .area.top{top:0;border-top:0}
#gp8Overlay .gp8-tactical-pitch .area.bottom{bottom:0;border-bottom:0}
#gp8Overlay .gp8-tactical-token{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:32px;height:32px;padding:0;touch-action:none;user-select:none;border-radius:50%;border:2px solid #f2f5f8;background:#e07722;color:#0b1218;font-size:12px;font-weight:900;cursor:grab;box-shadow:0 2px 8px #000a;z-index:2}
#gp8Overlay .gp8-tactical-token:active{cursor:grabbing}
#gp8Overlay .gp8-tactical-token:focus-visible{outline:3px solid #fff;outline-offset:3px}
#gp8Overlay .gp8-tactical-workspace aside{display:grid;align-content:start;justify-items:start;gap:12px;font-size:12px;color:#abc2cf}
#gp8Overlay .gp8-tactical-workspace aside strong{font-size:12px;color:#f6d19d}
#gp8Overlay .gp8-tactical-workspace aside p{margin:0;line-height:1.5}
#gp8Overlay .gp8-tactical-workspace aside small{font-size:10px;color:#849eac;line-height:1.5}
@media(max-width:700px){#gp8Overlay .gp8-tactical-head{display:block}#gp8Overlay .gp8-tactical-modes{margin-top:12px}#gp8Overlay .gp8-tactical-workspace{grid-template-columns:1fr}}
/* LIQ_GAMEPLAY_TACTICAL_BOARD_V1_END */
/* LIQ_GAMEPLAY_MATCH_STATS_V1_BEGIN */
#gp8Overlay .liq-live-detail-stats{margin-top:14px;padding-top:14px;border-top:1px solid #243a45}
#gp8Overlay .liq-live-detail-legend{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;color:#aec0cc;font-size:9px}
#gp8Overlay .liq-live-detail-legend span:last-child{text-align:right}
#gp8Overlay .liq-live-detail-row{display:grid;grid-template-columns:55px 1fr 55px;align-items:center;gap:6px;padding:7px 4px;border-top:1px solid #243744;text-align:center}
#gp8Overlay .liq-live-detail-row strong{font-size:12px;color:#eaf3f8;font-variant-numeric:tabular-nums}
#gp8Overlay .liq-live-detail-row span{font-size:9px;letter-spacing:.03em;color:#95acbc;font-weight:800}
#gp8Overlay .liq-live-detail-stats>p{font-size:10px;line-height:1.4;color:#91adbb;margin:11px 0 0}
/* LIQ_GAMEPLAY_MATCH_STATS_V1_END */

/* LIQ_MATCHDAY_SCORE_TACTICS_V2_BEGIN */
#gp8Overlay .liq-live-score{min-height:122px!important;position:relative}
#gp8Overlay .gp8-score-context-button{
 position:absolute;z-index:2;top:10px;bottom:10px;width:clamp(150px,23%,360px);
 border:1px solid #344856;border-radius:10px;background:#0a141ccc;color:#e7f0f5;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
 padding:8px 10px;text-align:center;cursor:pointer;font:inherit;
 transition:background .15s ease,border-color .15s ease;
}
#gp8Overlay .gp8-score-context-button.home{left:15px}
#gp8Overlay .gp8-score-context-button.away{right:15px}
#gp8Overlay .gp8-score-context-button:hover,#gp8Overlay .gp8-score-context-button:focus-visible{border-color:var(--gp8-accent,#f09848);background:#172a37}
#gp8Overlay .gp8-score-context-rank{font-size:16px;font-weight:950;color:#fff;font-variant-numeric:tabular-nums}
#gp8Overlay .gp8-score-context-form{display:flex;gap:6px;align-items:center;justify-content:center}
#gp8Overlay .gp8-score-form-chip{width:22px;height:22px;border-radius:5px;display:inline-grid;place-items:center;font-size:10px;font-weight:900;border:1px solid #40505c;background:#20313a;color:#b3c4ce;flex:0 0 22px}
#gp8Overlay .gp8-score-form-chip.win{background:#103a2f;color:#61e0a9;border-color:#206f55}
#gp8Overlay .gp8-score-form-chip.draw{background:#344450;color:#e2e8ed;border-color:#53616c}
#gp8Overlay .gp8-score-form-chip.loss{background:#44202c;color:#ff92a0;border-color:#87374a}
#gp8Overlay .gp8-score-context-open{font-size:9px;font-weight:900;letter-spacing:.07em;color:#8eb1c5}
#gp8Overlay .gp8-score-context-loading,#gp8Overlay .gp8-score-no-form{font-size:10px;color:#92a9b8}
#gp8Overlay .gp8-score-context-backdrop{position:fixed;inset:0;z-index:250;display:grid;place-items:center;padding:20px;background:rgba(1,7,13,.84)}
#gp8Overlay .gp8-score-context-dialog{width:min(950px,100%);max-height:min(82vh,830px);overflow:auto;background:#0f1b25;color:#eaf2f7;border:1px solid #395161;border-radius:13px;box-shadow:0 20px 70px #000c}
#gp8Overlay .gp8-score-context-dialog>header{position:sticky;top:0;z-index:3;background:#121f2a;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #304652}
#gp8Overlay .gp8-score-context-dialog>header small{font-size:10px;letter-spacing:.08em;color:#9bafbd}
#gp8Overlay .gp8-score-context-dialog>header h2{margin:4px 0;font-size:23px;color:#fff}
#gp8Overlay .gp8-score-context-dialog>header p{margin:0;color:#acc1cb;font-size:12px}
#gp8Overlay .gp8-score-context-dialog button{border:1px solid #4d6474;border-radius:7px;background:#223442;color:#eaf2f7;padding:9px 12px;font-weight:900;cursor:pointer}
#gp8Overlay .gp8-score-context-main{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.85fr);gap:18px;padding:22px}
#gp8Overlay .gp8-score-context-main h3{margin:0 0 10px;font-size:11px;color:#aec3d0;letter-spacing:.08em}
#gp8Overlay .gp8-score-table-scroll{max-height:540px;overflow:auto;border:1px solid #273946;border-radius:8px}
#gp8Overlay .gp8-score-table-scroll table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
#gp8Overlay .gp8-score-table-scroll th{position:sticky;top:0;background:#1b2b37;color:#b6c9d4;padding:9px;text-align:left}
#gp8Overlay .gp8-score-table-scroll td{padding:9px;border-bottom:1px solid #283844}
#gp8Overlay .gp8-score-table-scroll tr.current{background:#284130;color:#fff;font-weight:900}
#gp8Overlay .gp8-score-recent-list{display:grid;gap:8px}
#gp8Overlay .gp8-score-recent-list>div{display:flex;align-items:center;gap:8px;background:#152531;padding:9px;border-radius:7px;font-size:11px}
#gp8Overlay .gp8-score-recent-list>div span:nth-child(2){flex:1}
#gp8Overlay .gp8-score-recent-list b{white-space:nowrap}
#gp8Overlay .gp8-score-disclaimer,#gp8Overlay .gp8-score-empty{color:#91a7b5;font-size:11px;line-height:1.5}
#gp8Overlay #gp8OpenTacticalBoard{border-color:#577488!important;color:#fff!important;font-size:10px!important}
@media(max-width:1100px){
 #gp8Overlay .gp8-score-context-button{width:clamp(105px,19%,230px);padding:5px}
 #gp8Overlay .gp8-score-context-rank{font-size:12px}
 #gp8Overlay .gp8-score-form-chip{width:18px;height:18px;flex-basis:18px;font-size:9px}
 #gp8Overlay .gp8-score-context-open{font-size:8px}
}
@media(max-width:760px){
 #gp8Overlay .liq-live-score{padding-bottom:88px!important}
 #gp8Overlay .gp8-score-context-button{top:auto;bottom:7px;width:calc(50% - 15px);height:73px}
 #gp8Overlay .gp8-score-context-button.home{left:8px}
 #gp8Overlay .gp8-score-context-button.away{right:8px}
 #gp8Overlay .gp8-score-context-main{grid-template-columns:1fr;padding:12px}
 #gp8Overlay .gp8-score-context-dialog{max-height:92vh}
 #gp8Overlay .gp8-score-context-dialog>header{padding:11px}
}
/* LIQ_MATCHDAY_SCORE_TACTICS_V2_END */

/* LIQ_MATCHDAY_AFL_ZONES_V3_BEGIN */
/* AFL styling is contained inside this matchday dialog; club-brand themes remain untouched. */
#gp8Overlay .gp8-score-afl-dialog{border-color:#245878;background:linear-gradient(146deg,#071527,#101e29 55%,#081521);}
#gp8Overlay .gp8-score-afl-dialog>header{background:linear-gradient(115deg,#061833,#102b42 65%,#091722);border-bottom:1px solid #255173;}
#gp8Overlay .gp8-score-afl-heading{display:flex;align-items:center;gap:16px;min-width:0;}
#gp8Overlay .gp8-score-afl-emblem{width:73px;min-width:73px;min-height:55px;display:grid;place-items:center;border:1px solid #285777;border-radius:10px;background:radial-gradient(circle at 50% 20%,#15486b,#061327);position:relative;overflow:hidden;}
#gp8Overlay .gp8-score-afl-emblem img{position:relative;z-index:2;display:block;width:63px;height:49px;object-fit:contain;}
#gp8Overlay .gp8-score-afl-emblem b{position:absolute;inset:0;display:grid;place-items:center;color:#56d7f5;font-size:18px;font-weight:950;letter-spacing:.1em;}
#gp8Overlay .gp8-score-afl-heading small{color:#56d7f5;}
#gp8Overlay .gp8-score-afl-team-zone{display:inline-flex;margin-top:7px;padding:4px 8px;border-radius:5px;border:1px solid #406078;color:#d4eaf7;font-size:10px;font-weight:800;}
#gp8Overlay .gp8-score-afl-team-zone.zone-kl{border-color:#278ff2;color:#9dd0ff;}
#gp8Overlay .gp8-score-afl-team-zone.zone-kc{border-color:#24b5ba;color:#7debe5;}
#gp8Overlay .gp8-score-afl-team-zone.zone-promotion{border-color:#29c67b;color:#87ebba;}
#gp8Overlay .gp8-score-afl-team-zone.zone-relegation{border-color:#ff416e;color:#ffa0b8;}
#gp8Overlay .gp8-score-afl-dialog .gp8-score-table-scroll tr.current{background:#091927!important;outline:1px solid #e9c185;outline-offset:-2px;font-weight:900;}
#gp8Overlay .gp8-score-afl-dialog .gp8-score-table-scroll tr.current td:nth-child(2){text-decoration:underline;text-underline-offset:3px;}
#gp8Overlay .gp8-score-afl-row.zone-kl td{background:rgba(38,118,239,.095);}
#gp8Overlay .gp8-score-afl-row.zone-kc td{background:rgba(30,177,171,.08);}
#gp8Overlay .gp8-score-afl-row.zone-promotion td{background:rgba(41,198,123,.085);}
#gp8Overlay .gp8-score-afl-row.zone-relegation td{background:rgba(255,48,107,.085);}
#gp8Overlay .gp8-score-afl-row.zone-kl td:first-child{box-shadow:inset 4px 0 0 #389bf8;color:#98c9ff;font-weight:950;}
#gp8Overlay .gp8-score-afl-row.zone-kc td:first-child{box-shadow:inset 4px 0 0 #27c9c4;color:#79e5de;font-weight:950;}
#gp8Overlay .gp8-score-afl-row.zone-promotion td:first-child{box-shadow:inset 4px 0 0 #29c67b;color:#8aecc0;font-weight:950;}
#gp8Overlay .gp8-score-afl-row.zone-relegation td:first-child{box-shadow:inset 4px 0 0 #ff416e;color:#ff9ab5;font-weight:950;}
#gp8Overlay .gp8-score-afl-dialog .gp8-score-table-scroll tr:hover td{filter:brightness(1.28);}
#gp8Overlay .gp8-score-afl-legend{margin-top:12px;padding:11px;border:1px solid #294658;background:#0a1c2b;border-radius:8px;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin:0;color:#bccddd;font-size:10px;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2 span{display:inline-flex;align-items:center;gap:6px;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2 span:before{content:"";width:7px;height:13px;border-radius:3px;display:inline-block;background:#6b8397;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2 .kl:before{background:#389bf8;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2 .kc:before{background:#27c9c4;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2 .promotion:before{background:#29c67b;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2 .relegation:before{background:#ff416e;}
#gp8Overlay .gp8-score-afl-legend .liq-zone-legend-v2 small{flex-basis:100%;font-size:10px;color:#9eb9c9;line-height:1.45;}
#gp8Overlay .gp8-score-afl-zone-unavailable{font-size:10px;color:#aabfc9;}
@media(max-width:620px){#gp8Overlay .gp8-score-afl-heading{gap:8px}#gp8Overlay .gp8-score-afl-emblem{min-width:43px;width:43px;min-height:43px}#gp8Overlay .gp8-score-afl-emblem img{width:40px;height:38px}#gp8Overlay .gp8-score-afl-emblem b{font-size:13px}#gp8Overlay .gp8-score-afl-heading h2{font-size:17px}}
/* LIQ_MATCHDAY_AFL_ZONES_V3_END */

/* LIQ_TACTICS_LAYOUT_RECENTS_V2_BEGIN */
/* Tactics only. Works with the existing TacticalPlanV2 editor; no global app changes. */
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor){
  display:grid;grid-template-columns:minmax(480px,1.12fr) minmax(410px,.88fr);
  gap:12px;align-items:start;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) > .gp8-toolbar{
  grid-column:1/-1;grid-row:1;margin:0;padding:10px 14px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) > .gp8-tactical-editor{
  grid-column:1;grid-row:2;margin:0;min-width:0;padding:16px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) > .gp8-card:not(.gp8-tactical-editor){
  grid-column:2;grid-row:2;min-width:0;padding:16px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) > .gp8-card:not(.gp8-tactical-editor) h3{
  font-size:16px;line-height:1.2;margin:0 0 11px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-form{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-form label{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:5px;min-width:0;min-height:52px;padding:9px 10px;
  border-radius:7px;font-size:10px;line-height:1.2;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-form label:has(input[type=range]) input[type=range]{
  grid-column:1;grid-row:2;min-width:0;margin:0;height:14px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-form label output{
  grid-column:2;grid-row:1/3;margin:0;font-size:14px;min-width:24px;text-align:right;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-form label:has(select){
  grid-template-columns:1fr;gap:4px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-form select{
  width:100%;min-width:0;height:31px;min-height:31px;padding:4px 7px;font-size:11px;
}
#gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-plan-status{
  margin-top:9px;padding:8px 10px;font-size:10px;
}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-head{gap:12px;margin-bottom:12px}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-head h3{font-size:17px}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-head p{max-width:450px;line-height:1.45}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-workspace{
  grid-template-columns:minmax(240px,420px) minmax(140px,1fr);gap:13px;align-items:start;
}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-pitch{
  width:100%;max-width:420px;min-width:0;margin-inline:auto;
  background:radial-gradient(ellipse at 50% 12%,#ffffff15,transparent 52%),
  repeating-linear-gradient(0deg,#1d6745 0 11.11%,#245e40 11.11% 22.22%);
  border:2px solid #dbe9dd;border-radius:3px;
  box-shadow:0 0 0 5px #122d24,inset 0 0 0 7px #123e2c,0 10px 28px #0004;
}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-pitch::before{
  content:"";position:absolute;inset:7%;border:1px solid #ffffff6b;pointer-events:none;
}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-token{
  width:30px;height:30px;border-color:#fff;background:var(--gp8-accent,#e28b29);
  color:var(--gp8-on-accent,#111);box-shadow:0 3px 10px #000b;
}
#gp8Overlay .gp8-tactical-editor .gp8-tactical-workspace aside{
  min-width:0;padding:11px;border:1px solid #2e4654;border-radius:9px;
  background:#101d27;gap:9px;
}
#gp8Overlay #gp8TacticsRecentMatches{
  background:#182c37;color:#e2f5f9;border-color:#456879;white-space:nowrap;
}
#gp8Overlay #gp8TacticsRecentMatches:hover{background:#254351}
#gp8Overlay .gp8-tactics-recents-backdrop{
  position:fixed;inset:0;display:grid;place-items:center;z-index:10020;
  background:#02070bd9;padding:24px;
}
#gp8Overlay .gp8-tactics-recents-dialog{
  width:min(650px,100%);max-height:min(780px,85vh);overflow:auto;
  background:#0e1e29;color:#e8f2f8;border:1px solid #3d5869;
  border-radius:14px;box-shadow:0 25px 75px #000b;
}
#gp8Overlay .gp8-tactics-recents-dialog header{
  display:flex;align-items:start;justify-content:space-between;gap:12px;
  padding:18px 20px;border-bottom:1px solid #263f50;
}
#gp8Overlay .gp8-tactics-recents-dialog header small{font-size:10px;letter-spacing:.08em;color:#88b4c9}
#gp8Overlay .gp8-tactics-recents-dialog header h3{font-size:22px;color:white;margin:3px 0}
#gp8Overlay .gp8-tactics-recents-dialog header p{color:#91adbd;font-size:11px;margin:4px 0}
#gp8Overlay .gp8-tactics-recents-dialog button{
  color:#fff;background:#263b4b;border:1px solid #5b7485;border-radius:7px;
  padding:9px 13px;font-weight:800;cursor:pointer;
}
#gp8Overlay .gp8-tactics-recent-list{list-style:none;margin:0;padding:12px 18px 18px;display:grid;gap:6px}
#gp8Overlay .gp8-recent-game{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:11px;align-items:center;
  padding:11px;border:1px solid #263e4a;background:#10232e;border-radius:8px;
}
#gp8Overlay .gp8-recent-opponent strong,#gp8Overlay .gp8-recent-opponent small{display:block}
#gp8Overlay .gp8-recent-opponent strong{font-size:12px}
#gp8Overlay .gp8-recent-opponent small{color:#8eaabb;font-size:10px;margin-top:3px}
#gp8Overlay .gp8-recent-score{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
#gp8Overlay .gp8-recent-result{display:grid;place-items:center;border-radius:6px;height:28px;font-size:12px;font-weight:900}
#gp8Overlay .gp8-recent-result.win{color:#77efb8;background:#11684970}
#gp8Overlay .gp8-recent-result.draw{color:#e7eff6;background:#51657970}
#gp8Overlay .gp8-recent-result.loss{color:#ff8f94;background:#8a283470}
#gp8Overlay .gp8-tactics-no-results{padding:18px;color:#9db5c5;font-size:12px}
@media(max-width:1250px){
  #gp8Overlay #gp8Body:has(> .gp8-tactical-editor){grid-template-columns:minmax(0,1fr)}
  #gp8Overlay #gp8Body:has(> .gp8-tactical-editor) > .gp8-tactical-editor{grid-column:1;grid-row:2}
  #gp8Overlay #gp8Body:has(> .gp8-tactical-editor) > .gp8-card:not(.gp8-tactical-editor){grid-column:1;grid-row:3}
  #gp8Overlay .gp8-tactical-editor .gp8-tactical-workspace{grid-template-columns:minmax(220px,420px) minmax(180px,1fr)}
}
@media(max-width:700px){
  #gp8Overlay .gp8-tactical-editor .gp8-tactical-head{display:block}
  #gp8Overlay .gp8-tactical-editor .gp8-tactical-workspace{grid-template-columns:minmax(0,1fr)}
  #gp8Overlay #gp8Body:has(> .gp8-tactical-editor) .gp8-form{grid-template-columns:minmax(0,1fr)}
  #gp8Overlay .gp8-tactics-recents-backdrop{padding:8px}
  #gp8Overlay .gp8-tactics-recents-dialog header{padding:12px}
}
/* LIQ_TACTICS_LAYOUT_RECENTS_V2_END */

/* LIQ_COACH_HOME_RECENTS_CREST_V1_BEGIN */
.employment-v2-hero-actions [data-coach-home-recents]{background:#11202d;border:1px solid #5c7d91;color:#e8f4fc;white-space:nowrap;}
.employment-v2-hero-actions [data-coach-home-recents]:hover{border-color:#83cde7;background:#1a3645;}
.liq-coach-hrec-modal{position:fixed;inset:0;margin:auto;width:min(760px,calc(100% - 24px));max-height:min(88dvh,900px);padding:0;border:1px solid #426073;border-radius:14px;background:#0d1b27;color:#ebf5fc;box-shadow:0 20px 80px #000b;overflow:auto;}
.liq-coach-hrec-modal::backdrop{background:rgba(0,6,15,.81);backdrop-filter:blur(4px);}
.liq-coach-hrec-modal>header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;border-bottom:1px solid #2c485b;background:#10273a;}
.liq-coach-hrec-modal>header small{display:block;letter-spacing:.12em;color:#91b5ca;font-size:11px;}
.liq-coach-hrec-modal h2{margin:4px 0;font-size:24px;color:#fff;}
.liq-coach-hrec-modal>header p{margin:0;color:#9dbacc;font-size:12px;}
.liq-coach-hrec-modal [data-liq-hrec-close]{border:1px solid #45677a;border-radius:8px;background:#1d3546;color:#fff;padding:10px 16px;font-weight:800;cursor:pointer;}
.liq-coach-hrec-body{padding:14px 22px 22px;}
.liq-coach-hrec-body ol{padding:0;margin:0;list-style:none;display:grid;gap:7px;}
.liq-coach-hrec-row{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid #213b4e;border-radius:8px;background:#132735;}
.liq-coach-hrec-result{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid #607382;border-radius:5px;font-weight:900;}
.liq-coach-hrec-result.win{color:#65f5ba;background:#084635;border-color:#186d50;}
.liq-coach-hrec-result.draw{color:#d3dde4;background:#3f4b56;}
.liq-coach-hrec-result.loss{color:#ff849d;background:#512434;border-color:#90435a;}
.liq-coach-hrec-opponent{display:grid;gap:4px;min-width:0;flex:1;}
.liq-coach-hrec-opponent strong{font-size:14px;}
.liq-coach-hrec-opponent small{font-size:11px;color:#9bb9ca;}
.liq-coach-hrec-score{white-space:nowrap;font-size:17px;font-variant-numeric:tabular-nums;}
.liq-coach-hrec-note,.liq-coach-hrec-empty,.liq-coach-hrec-loading{padding:18px 22px;color:#a8c3d2;font-size:13px;}
.liq-coach-hrec-note{padding:16px 0 0;}
#gp8Overlay .gp8-score-afl-emblem:has(img[alt^="Escudo do"]){background:linear-gradient(145deg,#152d3e,#08131e);}
@media(max-width:720px){.employment-v2-hero-actions{flex-wrap:wrap}.liq-coach-hrec-modal>header{padding:13px}.liq-coach-hrec-body{padding:10px}.liq-coach-hrec-row{padding:9px}}
/* LIQ_COACH_HOME_RECENTS_CREST_V1_END */

/* LIQ_COACH_MATCH_INSIDE_V1_BEGIN */
#gp8Overlay .liq-coach-match-navigation{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-left:auto;
}
#gp8Overlay .gp8-toolbar .liq-coach-match-nav-button{
  border:1px solid rgba(113,149,168,.42);border-radius:9px;
  min-height:38px;padding:9px 13px;background:#132838;
  color:#e3f3ff;font-weight:850;font-size:11px;cursor:pointer;
}
#gp8Overlay .gp8-toolbar .liq-coach-match-nav-button:hover:not(:disabled){
  background:#1a3b4f;border-color:rgba(111,198,228,.65);
}
#gp8Overlay .gp8-toolbar .liq-coach-match-nav-button:disabled{
  opacity:.55;cursor:default;
}
#gp8Overlay .gp8-toolbar .liq-coach-match-nav-button.is-selected{
  background:rgba(35,160,197,.14);border-color:rgba(63,184,218,.34);
}
#gp8Overlay .liq-coach-match-stage-notice{
  padding:12px 15px;margin:0 0 15px;border:1px solid rgba(104,149,174,.23);
  border-radius:9px;background:#0c202e;color:#bbd4e4;line-height:1.55;font-size:12px;
}
@media(max-width:850px){
  #gp8Overlay .liq-coach-match-navigation{width:100%;margin-left:0}
  #gp8Overlay .gp8-toolbar .liq-coach-match-nav-button{flex:1}
}
/* LIQ_COACH_MATCH_INSIDE_V1_END */

/* LIQ_RECENTS_COACH_V12_BEGIN */
.liq-coach-hrec-row .liq-coach-hrec-pick {
  display:flex;align-items:center;gap:13px;width:100%;min-width:0;
  padding:0;border:0;background:transparent;color:inherit;
  font:inherit;text-align:left;cursor:pointer;
}
.liq-coach-hrec-row:has(.liq-coach-hrec-pick:hover),
.liq-coach-hrec-row:has(.liq-coach-hrec-pick:focus-visible) {
  background:#1b394b;border-color:#5b9ebc;
}
.liq-coach-hrec-pick:focus-visible {outline:2px solid #85d9f7;outline-offset:5px;border-radius:4px;}
.liq-coach-hrec-pick:disabled {cursor:progress;opacity:.65;}
.liq-coach-hrec-nav-status {margin:0 0 10px;padding:10px 12px;border:1px solid #486b7b;border-radius:7px;background:#153446;color:#daf2fd;font-size:12px;}
#gp8Overlay .gp8-toolbar .liq-coach-tab-recents {border-color:#5a9cae;background:#143346;color:#f0fbff;white-space:nowrap;}
#gp8Overlay .gp8-toolbar .liq-coach-tab-recents:hover {background:#22546b;}
@media(max-width:760px) {#gp8Overlay .gp8-toolbar .liq-coach-tab-recents{flex:1;}}
/* LIQ_RECENTS_COACH_V12_END */

/* LIQ_MATCHDAY_T10_OFFICIAL_V1_BEGIN */
#gp8Overlay .liq-prematch-stadium{margin-top:14px;padding:14px;border:1px solid #314650;border-radius:14px;background:#081018}
#gp8Overlay .liq-prematch-stadium .liq-live-pitch-shell{max-width:1120px;margin:12px auto 0}
#gp8Overlay .liq-prematch-stadium .gp8-live-pitch{min-height:420px}
@media(max-width:760px){#gp8Overlay .liq-prematch-stadium .gp8-live-pitch{min-height:260px}}
/* LIQ_MATCHDAY_T10_OFFICIAL_V1_END */

/* LIQ_LIVE_TACTICAL_POSITIONING_V1 */
#gp8Overlay .gp8-tactical-token{overflow:visible;}
#gp8Overlay .gp8-tactical-token .liq-board-role{display:block;font-size:12px;line-height:20px}
#gp8Overlay .gp8-tactical-token .liq-board-name{position:absolute;left:50%;top:calc(100% + 3px);transform:translateX(-50%);white-space:nowrap;max-width:135px;overflow:hidden;text-overflow:ellipsis;background:#07141be8;color:#fff;border-radius:4px;padding:3px 5px;font-size:10px;font-weight:700;line-height:1.25;box-shadow:0 2px 5px #0008}
#gp8Overlay .liq-live-tactics-editor{margin:12px 0;border-color:#436879;}
#gp8Overlay .liq-live-tactics-editor .liq-live-tactics-flag{display:block;color:#f6b263;font-weight:900;margin-bottom:6px}
#gp8Overlay .liq-live-tactics-roster{width:100%;max-height:220px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;color:#e6f2f5;font-size:11px}
#gp8Overlay .liq-live-tactics-roster div{padding:5px;background:#19313d;border-radius:5px}
#gp8Overlay .liq-live-dismissed{background:#3b1420;color:#ffd9e0;border:1px solid #b94b63;border-radius:6px;padding:9px;font-size:11px;font-weight:900}
#gp8Overlay .liq-live-tactics-editor #gp8LiveTacticsSave{background:#ee9028;border:0;color:#071016;padding:11px;border-radius:7px;font-weight:900;cursor:pointer}
#gp8Overlay .liq-live-tactics-editor #gp8LiveTacticsSave:disabled{opacity:.4;cursor:not-allowed}
#gp8Overlay .liq-live-tactics-editor .gp8-tactical-pitch{overflow:visible}
#gp8Overlay #gp8Body.liq-live-tactics-mode:not(.liq-live-tactics-show-plans) > .gp8-toolbar,
#gp8Overlay #gp8Body.liq-live-tactics-mode:not(.liq-live-tactics-show-plans) > .gp8-card:not(.liq-live-tactics-editor){display:none}
#gp8Overlay #gp8Body.liq-live-tactics-show-plans > .liq-live-tactics-editor{border-bottom:4px solid #b76b29}
@media(max-width:800px){#gp8Overlay .liq-live-tactics-roster{grid-template-columns:1fr}}

#gp8Overlay .gp8-tactical-editor .gp8-tactical-pitch{overflow:visible}
#gp8Overlay #gp8Body.liq-live-tactics-mode > .liq-live-tactics-editor{grid-column:1/-1!important;grid-row:1!important;width:100%;max-width:none}
#gp8Overlay #gp8Body.liq-live-tactics-show-plans > .gp8-toolbar{grid-column:1/-1;grid-row:2}
#gp8Overlay #gp8Body.liq-live-tactics-show-plans > .gp8-tactical-editor{grid-column:1;grid-row:3}
#gp8Overlay #gp8Body.liq-live-tactics-show-plans > .gp8-card:not(.gp8-tactical-editor):not(.liq-live-tactics-editor){grid-column:2;grid-row:3}
#gp8Overlay .liq-live-tactics-editor .gp8-tactical-pitch{max-width:480px}

/* LIQ_KIT_CONTRAST_V1. Official PNG where safe; visibly non-official CSS fallback. */
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token:has(.liq-kit-shirt){
  background:transparent!important;border:0!important;box-shadow:none!important;
  width:30px!important;height:30px!important;min-height:30px!important;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-kit-shirt{
  display:block;position:absolute;inset:-3px;z-index:0;
  filter:drop-shadow(0 2px 2px #000c);pointer-events:none;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-kit-shirt-fallback{
  display:block;position:absolute;inset:0;
  background:linear-gradient(90deg,var(--liq-kit-secondary) 0 18%,var(--liq-kit-primary) 18% 82%,var(--liq-kit-secondary) 82%);
  clip-path:polygon(20% 0,39% 5%,61% 5%,80% 0,100% 24%,87% 46%,77% 37%,78% 100%,22% 100%,23% 37%,13% 46%,0 24%);
  outline:1px solid #fff8;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-kit-shirt.is-css-fallback .liq-kit-shirt-fallback{
  background:
    repeating-linear-gradient(135deg,transparent 0 4px,#fff9 4px 6px,transparent 6px 10px),
    linear-gradient(90deg,var(--liq-kit-secondary) 0 20%,var(--liq-kit-primary) 20% 80%,var(--liq-kit-secondary) 80%);
  filter:drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px #111);
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-kit-shirt.is-css-fallback::after{
  content:'CSS';position:absolute;right:-5px;top:-5px;z-index:2;padding:1px 2px;border-radius:2px;
  background:#111;color:#fff;font:700 4px/1 system-ui;letter-spacing:.2px;border:1px dashed #fff;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-kit-official{
  width:100%;height:100%;object-fit:contain;position:absolute;inset:0;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-kit-shirt.has-official-kit .liq-kit-shirt-fallback{display:none}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token .liq-live-dot{
  position:absolute;z-index:1;top:26%;left:50%;transform:translateX(-50%);
  font-size:7px!important;color:#fff!important;text-shadow:0 1px 3px #000,0 0 3px #000!important;
}
#gp8Overlay .liq-match-live-root .gp8-live-pitch .gp8-token>b{top:33px!important}
#gp8Overlay .liq-stadium-photo-v3 .liq-stadium-floor .liq-photo-away-recolor{
  /* colorize only the visitor's right-side stands; never the whole photo */
  opacity:.88;mix-blend-mode:color!important;
  -webkit-mask-image:none!important;mask-image:none!important;
  clip-path:polygon(91% 9%,100% 10%,100% 91%,91% 91%);
  background:var(--liq-photo-away-primary,#d6812a)!important;
}
/* LIQ_KIT_CONTRAST_V1_END */

/* V4 existing player controls: independent ambience balance */
#gp8Overlay .liq-match-live-root .liq-ambient-volume-label{display:flex;align-items:center;gap:7px;color:#b9c9d2;font-size:9px;font-weight:800}
#gp8Overlay .liq-match-live-root .liq-ambient-volume-label input{width:92px;accent-color:#79c6b0;cursor:pointer}

/* LIQ_STADIUM_FRAME_V7_BEGIN - calibrated source photo and tactical pitch share one transform. */
#gp8Overlay .liq-stadium-photo-v3.liq-stadium-v7-calibrated .liq-stadium-floor {
  background-size:var(--liq-v7-zoom,115%) auto!important;
  background-position:50% 50%!important;
}
#gp8Overlay .liq-stadium-photo-v3.liq-stadium-v7-calibrated .liq-stadium-field-slot {
  left:var(--liq-v7-slot-left,22%)!important;
  top:var(--liq-v7-slot-top,26%)!important;
  width:var(--liq-v7-slot-width,56%)!important;
}
/* LIQ_STADIUM_FRAME_V7_END */

/* LIQ_MOVIMENTO_LEGIVEL_V1_CSS_BEGIN */
/* One clean segment, no infinite dashed marquee or criss-crossed possession trace. */
#gp8Overlay .liq-live-trajectory{overflow:hidden!important}
#gp8Overlay .liq-live-trajectory polyline{
  stroke-width:.42!important;
  stroke-dasharray:1.6 1.25!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:.78!important;
  animation:none!important;
  filter:drop-shadow(0 1px 1px #02070bcc)!important;
}
#gp8Overlay .liq-live-trajectory marker path{opacity:.86}
#gp8Overlay .liq-live-trajectory.liq-motion-hidden{display:none!important}
#gp8Overlay .liq-motion-header-controls{display:flex;align-items:center;gap:9px;margin-left:auto;flex-wrap:wrap}
#gp8Overlay .liq-motion-header-controls .liq-live-revision{white-space:nowrap}
#gp8Overlay .liq-motion-toggle{
  border:1px solid #375263;border-radius:6px;background:#10232d;color:#d7e8f0;
  font:800 9px/1.15 system-ui,Arial,sans-serif;padding:6px 9px;cursor:pointer;
  letter-spacing:.025em;white-space:nowrap
}
#gp8Overlay .liq-motion-toggle:hover{border-color:#72b4d1}
#gp8Overlay .liq-motion-toggle:focus-visible{outline:2px solid #9de7f8;outline-offset:2px}
@media (max-width:600px){#gp8Overlay .liq-motion-header-controls{gap:5px}#gp8Overlay .liq-motion-toggle{font-size:8px;padding:5px 6px}}
/* LIQ_MOVIMENTO_LEGIVEL_V1_CSS_END */
