/**
 * CasasDeApostasStats — Portuguese sister-site theme.
 * Loads after site.css; overrides tokens only (same layout/components).
 */
:root {
  --bg: #0c1219;
  --card: #141c26;
  --sidebar: #080d12;
  --text: #eef2f6;
  --muted: #8d99a8;
  /* Green + gold — Portugal brand (distinct from EN blue, DE green, ES teal) */
  --accent: #046a38;
  --accent-dim: #0a2e1c;
  --accent-bright: #3ecf8e;
  --warm: #e8b923;
  --border: #273140;
}

/* Brand wordmark */
body.site-pt .logo-brand--img {
  display: block;
  line-height: 0;
}
body.site-pt .logo-brand__img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 100%;
}
body.site-pt .logo-brand--img:hover .logo-brand__img {
  filter: brightness(1.08);
}
body.site-pt .logo-brand__word {
  color: var(--text);
}
body.site-pt .logo-brand__stats {
  color: var(--accent-bright);
}
body.site-pt .logo-brand:hover .logo-brand__stats {
  color: #5eead4;
}

body.site-pt .sidebar-brand {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
}
body.site-pt .sidebar-tagline {
  color: var(--accent-bright);
  font-weight: 500;
}

body.site-pt .site-topbar {
  border-bottom: 3px solid var(--accent);
}

body.site-pt .topbar-link--accent {
  color: var(--accent-bright);
  border-color: rgba(13, 148, 136, 0.35);
  background: var(--accent-dim);
}

body.site-pt .link-review:hover {
  background: #0f766e;
}

body.site-pt .btn-visit {
  background: linear-gradient(135deg, var(--accent) 0%, #0f766e 100%);
  border-color: rgba(13, 148, 136, 0.5);
}
body.site-pt .btn-visit:hover {
  background: linear-gradient(135deg, #14b8a6 0%, var(--accent) 100%);
}

body.site-pt .nav-link--primary {
  color: var(--accent-bright);
}

body.site-pt .rg-page-hero {
  margin: 1.5rem 0 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(13, 148, 136, 0.28);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(15, 23, 42, 0.4) 100%);
}
body.site-pt .rg-page-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #042f2e;
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
}
body.site-pt .rg-page-hero__title {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  color: var(--accent-bright);
}
body.site-pt .rg-page-hero__disclaimer {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}
body.site-pt .rg-page-hero__intro {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
body.site-pt .rg-page-hero__links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.88rem;
}
body.site-pt .rg-page-hero__links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(13, 148, 136, 0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
body.site-pt .rg-page-hero__links a:hover {
  border-color: rgba(13, 148, 136, 0.45);
  background: var(--accent-dim);
  color: var(--accent-bright);
}
body.site-pt .footer-rg-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
body.site-pt .footer-rg-note a {
  color: var(--accent-bright);
  font-weight: 600;
}
body.site-pt .footer-rg-note__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

body.site-pt .rg-helper-box {
  margin: 0 0 1.35rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-dim) 0%, transparent 100%);
}
body.site-pt .rg-helper-box__title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-bright);
}
body.site-pt .rg-helper-box__links {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  font-size: 0.88rem;
}
body.site-pt .rg-helper-box__links a {
  color: var(--accent-bright);
}
body.site-pt .rg-helper-box__intro,
body.site-pt .rg-helper-box__note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}
body.site-pt .country-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

body.site-pt .rg-hub {
  margin: 2rem 0 1.5rem;
}
body.site-pt .rg-hub__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-top: 1rem;
}
body.site-pt .rg-hub__card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.04);
}
body.site-pt .rg-hub__card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
body.site-pt .rg-hub__card-title a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
body.site-pt .rg-hub__card-title a:hover {
  color: var(--accent-bright);
}
body.site-pt .rg-hub__card-intro,
body.site-pt .rg-hub__card-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
  line-height: 1.45;
}
body.site-pt .rg-hub__card-links {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
}
body.site-pt .rg-hub__card-links a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
body.site-pt .rg-hub__card-links a:hover {
  border-color: rgba(13, 148, 136, 0.45);
  background: var(--accent-dim);
  color: var(--accent-bright);
}
body.site-pt .rg-hub__card-note {
  font-size: 0.82rem;
  font-style: italic;
}

body.site-pt .prose a,
body.site-pt .trust-prose a {
  color: var(--accent-bright);
  text-decoration: none;
  border-bottom: 1px dotted rgba(45, 212, 191, 0.45);
}
body.site-pt .prose a:hover,
body.site-pt .trust-prose a:hover {
  color: #5eead4;
  border-bottom-color: #5eead4;
}
body.site-pt .footer-group-label {
  color: var(--accent-bright);
}

body.site-pt .bm-rank-badge__num {
  background: var(--accent-dim);
  border-color: rgba(13, 148, 136, 0.35);
  color: #99f6e4;
}

body.site-pt .cell-rank--muted {
  color: var(--muted);
  font-size: 0.92em;
}
  border-color: var(--border);
}

body.site-pt .hub-grid h2 {
  color: var(--text);
  border-bottom-color: var(--border);
}

body.site-pt .hub-links a:hover {
  color: var(--accent-bright);
}

body.site-pt .footer-rg-text {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
}
body.site-pt .footer-rg-text:hover {
  color: var(--accent-bright);
  border-color: rgba(13, 148, 136, 0.4);
}

body.site-pt .pt-list-highlight {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  max-width: 16rem;
}

body.site-pt .compare-table td.cell-actions .link-review {
  margin-right: 0.45rem;
}

body.site-pt .bm-facet-links a {
  color: var(--accent-bright);
  text-decoration: none;
}
body.site-pt .bm-facet-links a:hover {
  text-decoration: underline;
}

/* Cookie consent — bottom panel; keep page scrollable (long brand tables) */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(to top, rgba(6, 10, 16, 0.92) 0%, rgba(6, 10, 16, 0.45) 55%, transparent 100%);
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__panel {
  pointer-events: auto;
  width: 100%;
  max-width: 40rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.35rem 1.35rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.cookie-consent__title {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.cookie-consent__text {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-consent__text strong {
  color: var(--text);
  font-weight: 600;
}

.cookie-consent__links {
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.cookie-consent__links a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-consent__btn {
  flex: 1 1 9rem;
  appearance: none;
  border-radius: 10px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cookie-consent__btn--reject {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.cookie-consent__btn--reject:hover {
  border-color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.cookie-consent__btn--accept {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #042f2e;
}

.cookie-consent__btn--accept:hover {
  background: #14b8a6;
  border-color: #14b8a6;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .cookie-consent {
    align-items: center;
  }
}

body.site-pt .footer-links a.js-cookie-settings {
  cursor: pointer;
}

/* Brand review prototype (bet365+) */
body.site-pt .bm-review-summary {
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
}

body.site-pt .bm-review-summary__title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

body.site-pt .bm-review-summary__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  line-height: 1.55;
}

body.site-pt .bm-review-summary__list li {
  margin-bottom: 0.45rem;
}

body.site-pt .bm-review-summary__list li:last-child {
  margin-bottom: 0;
}

body.site-pt .bm-legal-reach {
  margin: 1.75rem 0 0.5rem;
  max-width: 42rem;
}

body.site-pt .bm-legal-reach__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text);
}

body.site-pt .bm-legal-reach__note {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

body.site-pt .bm-legal-reach__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-pt .bm-legal-reach__pill {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

body.site-pt a.bm-legal-reach__pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.site-pt .bm-legal-reach__pill--plain {
  color: var(--muted);
}

body.site-pt .bm-review-guides {
  margin: 1.75rem 0 0.5rem;
  max-width: 42rem;
}

body.site-pt .bm-review-guides__title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 650;
}

body.site-pt .bm-review-guides__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-pt .bm-review-guides__list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

body.site-pt .bm-review-guides__list a:hover {
  text-decoration: underline;
}

body.site-pt .bm-review .seo-body p,
body.site-pt .seo-body.bm-review p {
  color: var(--text);
}
