
:root{
  --p3f7-text:#edf6ff;
  --p3f7-muted:#abc0d1;
  --p3f7-dim:#7f93a5;
  --p3f7-line:rgba(144,172,194,.18);
  --p3f7-panel:rgba(9,15,22,.78);
  --p3f7-cyan:#57d5e7;
  --p3f7-gold:#e3b95f;
  --p3f7-red:#ff6b7d;
  --p3f7-green:#77e6a5;
}

body{ text-rendering:geometricPrecision; }
button, input, select, textarea{ font-family:Inter, Rajdhani, sans-serif; }
button{ min-height:32px; }
button:focus-visible, [role="button"]:focus-visible, input:focus-visible, select:focus-visible{
  outline:2px solid rgba(87,213,231,.86) !important;
  outline-offset:2px !important;
}
.nav-item{ min-height:34px; }
.nav-group-label,.nav-label{ color:rgba(179,199,214,.72) !important; }
.full-modal-box{ max-height:92vh !important; overflow:hidden !important; }
.full-modal-body{ max-height:calc(92vh - 56px) !important; overflow:auto !important; }
.full-modal-header span{ font-size:14px !important; letter-spacing:.08em !important; }
.full-modal-header button{ min-width:36px; min-height:34px; }

.p3f7-compass{
  margin:0 12px 8px;
  padding:10px;
  border:1px solid rgba(87,213,231,.18);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(87,213,231,.055),rgba(5,10,15,.34));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.p3f7-compass-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:10px; margin-bottom:8px; }
.p3f7-compass-head span{
  font:800 12px/1 Rajdhani, sans-serif;
  color:var(--p3f7-text);
  text-transform:uppercase;
  letter-spacing:.12em;
}
.p3f7-compass-head small{ color:var(--p3f7-muted); font-size:11px; line-height:1.2; text-align:right; }
.p3f7-compass-list{ display:grid; gap:7px; }
.p3f7-task{
  width:100%;
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  min-height:48px;
  padding:8px 9px;
  border-radius:10px;
  border:1px solid var(--p3f7-line);
  background:rgba(255,255,255,.025);
  color:var(--p3f7-text);
  text-align:left;
  cursor:pointer;
}
.p3f7-task:hover{ border-color:rgba(87,213,231,.48); background:rgba(87,213,231,.06); }
.p3f7-task b{
  width:24px;height:24px;display:grid;place-items:center;border-radius:8px;
  background:rgba(87,213,231,.10); color:var(--p3f7-cyan); font:900 12px/1 Rajdhani,sans-serif;
}
.p3f7-task span{ min-width:0; display:block; }
.p3f7-task strong{ display:block; color:var(--p3f7-text); font-size:12.5px; line-height:1.05; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p3f7-task small{ display:block; margin-top:3px; color:var(--p3f7-muted); font-size:11px; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.p3f7-task em{ font-style:normal; color:var(--p3f7-dim); font-size:10.5px; white-space:nowrap; }
.p3f7-task.accent b{ color:var(--p3f7-cyan); }
.p3f7-task.gold b,.p3f7-task.warn b{ color:var(--p3f7-gold); background:rgba(227,185,95,.10); }
.p3f7-task.danger{ border-color:rgba(255,107,125,.34); background:rgba(255,107,125,.045); }
.p3f7-task.danger b{ color:var(--p3f7-red); background:rgba(255,107,125,.12); }

.p3f7-panel-brief{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid rgba(87,213,231,.18);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(87,213,231,.075),rgba(11,17,25,.76));
  color:var(--p3f7-text);
}
.p3f7-panel-brief span{
  display:block;
  margin-bottom:4px;
  color:var(--p3f7-cyan);
  font:800 10.5px/1 Inter,sans-serif;
  text-transform:uppercase;
  letter-spacing:.13em;
}
.p3f7-panel-brief strong{ display:block; font:800 16px/1.05 Rajdhani,sans-serif; letter-spacing:.04em; text-transform:uppercase; }
.p3f7-panel-brief p{ margin:5px 0 0; color:var(--p3f7-muted); font-size:12.5px; line-height:1.35; max-width:860px; }
.p3f7-panel-brief button{
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(255,255,255,.04);
  color:var(--p3f7-text);
  padding:0 12px;
  font-weight:800;
  cursor:pointer;
}
.p3f7-panel-brief button:hover{ border-color:rgba(87,213,231,.45); color:var(--p3f7-cyan); }

.p3f7-action-pulse{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:10020;
  width:min(390px, calc(100vw - 40px));
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.14);
  border-left:3px solid var(--p3f7-cyan);
  border-radius:14px;
  background:rgba(7,11,17,.94);
  box-shadow:0 18px 42px rgba(0,0,0,.42);
  color:var(--p3f7-text);
  opacity:1;
  transform:translateY(0);
  transition:opacity .3s ease, transform .3s ease;
}
.p3f7-action-pulse b{ display:block; margin-bottom:3px; color:var(--p3f7-cyan); font:900 10px/1 Inter,sans-serif; text-transform:uppercase; letter-spacing:.14em; }
.p3f7-action-pulse span{ display:block; font-size:13px; line-height:1.3; color:var(--p3f7-text); }
.p3f7-action-pulse.success{ border-left-color:var(--p3f7-green); }
.p3f7-action-pulse.success b{ color:var(--p3f7-green); }
.p3f7-action-pulse.warn{ border-left-color:var(--p3f7-gold); }
.p3f7-action-pulse.warn b{ color:var(--p3f7-gold); }
.p3f7-action-pulse.danger{ border-left-color:var(--p3f7-red); }
.p3f7-action-pulse.danger b{ color:var(--p3f7-red); }
.p3f7-action-pulse.is-fading{ opacity:0; transform:translateY(8px); pointer-events:none; }

.p3f7-report-plainread{
  margin-top:10px;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(87,213,231,.18);
  background:rgba(87,213,231,.055);
}
.p3f7-report-plainread span{ display:block; color:var(--p3f7-cyan); font:900 10px/1 Inter,sans-serif; text-transform:uppercase; letter-spacing:.12em; }
.p3f7-report-plainread b{ display:block; margin-top:5px; color:var(--p3f7-text); font:900 17px/1 Rajdhani,sans-serif; }
.p3f7-report-plainread small{ display:block; margin-top:5px; color:var(--p3f7-muted); font-size:12px; line-height:1.35; }

#screen-dashboard .rwdb-card-head button,
#screen-dashboard .rwdb-card-head b,
#screen-dashboard .rwdb-kpi-label,
#screen-dashboard .rwdb-club-meta,
#screen-dashboard .rwdb-stand-legend,
#screen-dashboard .rwdb-news-list small{ color:rgba(196,213,226,.82) !important; }

@media (max-height: 780px){
  .p3f7-compass{ margin:0 10px 6px; padding:8px; }
  .p3f7-task{ min-height:43px; padding:7px 8px; }
  .p3f7-task small{ display:none; }
  .p3f7-panel-brief{ padding:10px 12px; margin-bottom:10px; }
  .p3f7-panel-brief p{ font-size:12px; }
}

.rwpg-overlay{
  position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center;
  background:rgba(3,7,12,.88); backdrop-filter:blur(6px); padding:20px;
}
.rwpg-card{
  width:min(460px,100%); background:linear-gradient(180deg,#0e1620,#0a1119);
  border:1px solid rgba(130,153,172,.22); border-radius:16px; padding:22px 20px 18px;
  box-shadow:0 30px 70px -24px rgba(0,0,0,.9); text-align:center;
}
.rwpg-titulo{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#7f97ac; font-weight:800; }
.rwpg-adv{ margin-top:6px; font-size:16px; color:#cfdcea; }
.rwpg-adv b{ color:#eef4fb; font-weight:900; }
.rwpg-placar{ display:flex; align-items:center; justify-content:center; gap:12px; margin:12px 0 2px; }
.rwpg-placar b{ font-size:38px; font-weight:900; color:#eef4fb; line-height:1; }
.rwpg-placar span{ font-size:18px; color:#61748a; }
.rwpg-serie{ font-size:11px; color:#8ba0b4; margin-bottom:14px; }
.rwpg-acoes{ display:flex; flex-direction:column; gap:9px; margin-top:12px; }
.rwpg-btn{
  width:100%; padding:12px 14px; border-radius:11px; cursor:pointer; font-weight:800; font-size:14px;
  border:1px solid rgba(130,153,172,.24); background:rgba(255,255,255,.04); color:#e6eef7; transition:.15s;
}
.rwpg-btn small{ display:block; font-weight:500; font-size:10.5px; color:#8ba0b4; margin-top:2px; }
.rwpg-btn:hover{ border-color:rgba(70,211,155,.5); background:rgba(70,211,155,.08); }
.rwpg-jogar{ border-color:rgba(70,211,155,.42); background:rgba(70,211,155,.12); }
.rwpg-sim:hover{ border-color:rgba(240,193,86,.5); background:rgba(240,193,86,.08); }
.rwpg-nota{ font-size:11px; color:#8ba0b4; line-height:1.4; padding:8px 10px; border-radius:9px; background:rgba(255,255,255,.03); }
.rwpg-sair{
  margin-top:14px; background:none; border:none; cursor:pointer;
  font-size:12px; color:#7f97ac; text-decoration:underline; padding:6px;
}
.rwpg-sair:hover{ color:#cfdcea; }
