.dn-apuracao{
  --navy:#081A35;
  --navy2:#0d2242;
  --gold:#D8A21A;
  --gold2:#f1c94f;
  --white:#fff;
  --muted:#aeb9ca;
  font-family:Arial,Helvetica,sans-serif;
  background:linear-gradient(145deg,#061225,#0b2346);
  color:var(--white);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.25);
  margin:20px 0;
}
.dn-ap-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 22px;
  background:rgba(0,0,0,.22);
  border-bottom:1px solid rgba(216,162,26,.45);
}
.dn-brand{display:flex;align-items:center;gap:12px}
.dn-mark{
  font-weight:900;
  font-size:28px;
  letter-spacing:-3px;
  color:var(--gold);
  text-shadow:0 0 18px rgba(216,162,26,.35);
}
.dn-brand strong{display:block;font-size:18px;letter-spacing:1.5px}
.dn-brand small{
  display:block;
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:1.4px;
  margin-top:2px;
}
.dn-live{
  font-size:11px;
  font-weight:900;
  letter-spacing:1px;
  color:#fff;
  background:#a00d18;
  border-radius:999px;
  padding:8px 12px;
  white-space:nowrap;
}
.dn-live i{
  display:inline-block;
  width:7px;
  height:7px;
  background:#fff;
  border-radius:50%;
  margin-right:6px;
  box-shadow:0 0 8px #fff;
}
.dn-ap-notice{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding:10px 22px;
  color:#dfe6ef;
  font-size:12px;
  background:rgba(255,255,255,.035);
}
.dn-refresh{color:var(--gold2);font-weight:800}
.dn-ap-summary{
  display:flex;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
  margin:14px 16px 4px;
  padding:11px 14px;
  border:1px solid rgba(216,162,26,.3);
  border-radius:12px;
  background:rgba(216,162,26,.07);
  color:#e8eef7;
  font-size:11px;
}
.dn-ap-summary strong{color:#fff;letter-spacing:.6px}
.dn-pulse{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#e5263f;
  margin-right:7px;
  box-shadow:0 0 0 4px rgba(229,38,63,.12);
}
.dn-tse-time{color:var(--muted)}
.dn-warning{color:#ffd56a}
.dn-region-title{
  margin:16px 16px 0;
  padding:10px 14px;
  border-left:4px solid var(--gold);
  background:rgba(255,255,255,.055);
  font-size:13px;
  font-weight:900;
  letter-spacing:1px;
}
.dn-region-brasil{border-left-color:var(--gold)}
.dn-region-pr{border-left-color:#f0c338}
.dn-region-municipio{border-left-color:#fff}
.dn-ap-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  padding:12px 16px 0;
}
.dn-card{
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:16px;
}
.dn-card h2{font-size:17px;margin:0 0 8px;font-weight:900}
.dn-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:11px;
  margin-bottom:14px;
}
.dn-meta strong{color:#dce7f5}
.dn-candidate{padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.dn-candidate:first-child{border-top:0}
.dn-row{display:flex;align-items:end;justify-content:space-between;gap:12px}
.dn-name{font-size:14px;font-weight:900}
.dn-party{font-size:10px;color:var(--muted);margin-top:2px}
.dn-votes{
  text-align:right;
  font-weight:900;
  font-size:14px;
  color:var(--gold2);
  white-space:nowrap;
}
.dn-votes small{color:#fff;font-size:10px}
.dn-bar{
  height:7px;
  background:#13294b;
  border-radius:999px;
  margin-top:7px;
  overflow:hidden;
}
.dn-bar span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#b67d00,#f3cf55,#d8a21a);
  border-radius:999px;
}
.dn-status{
  font-size:9px;
  color:var(--muted);
  text-transform:uppercase;
  margin-top:4px;
}
.dn-final{color:#7fe39b}
.dn-loading,.dn-error,.dn-empty{padding:28px;text-align:center;color:#dfe6ef}
.dn-ap-footer{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
  padding:13px 16px;
  border-top:1px solid rgba(216,162,26,.45);
  font-size:10px;
  font-weight:800;
  color:#e6edf6;
}
.dn-ap-footer b{color:var(--gold)}
@media(max-width:760px){
  .dn-ap-grid{grid-template-columns:1fr}
  .dn-ap-header{align-items:flex-start;flex-direction:column}
  .dn-live{align-self:flex-start}
  .dn-brand strong{font-size:16px}
  .dn-ap-footer{justify-content:flex-start}
  .dn-ap-notice,.dn-ap-summary{flex-direction:column}
}

/* V3 — painel automático na home */
.dn-apuracao-home-wrap{width:100%;margin:0 0 28px;}
.dn-apuracao-home-wrap .dn-apuracao{margin-top:0;}
@media(max-width:760px){.dn-apuracao-home-wrap{margin-bottom:18px;}}

/* V3.1 - home NewsReview */
#dn-apuracao-auto-home{width:100%;max-width:100%;box-sizing:border-box;margin:0 0 28px;}
#dn-apuracao-auto-home.dn-home-positioned{display:block;}
@media(max-width:760px){#dn-apuracao-auto-home{margin-bottom:18px;}}
