/* Pronisto plus layer: favorites, free games, confidence, ads, referral, consent */

.pr-conf {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.6;
  vertical-align: middle;
  border: 1px solid transparent;
}
.pr-conf-alta { color: #052014; background: #22e58b; border-color: #22e58b; }
.pr-conf-media { color: #3a2a00; background: #e8c35a; border-color: #e8c35a; }
.pr-conf-baixa { color: #c9d4e5; background: color-mix(in srgb, #8aa0bf 22%, transparent); border-color: color-mix(in srgb, #8aa0bf 35%, transparent); }
[data-theme="light"] .pr-conf-baixa { color: #3a4a5c; background: #e6edf5; border-color: #d3deea; }

.pr-star {
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, currentColor 55%, transparent);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pr-star svg { width: 16px; height: 16px; }
.pr-star.on { color: #e8c35a; }
.pr-star:hover, .pr-star:focus-visible { background: color-mix(in srgb, #e8c35a 16%, transparent); color: #e8c35a; }
.pr-star-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 40;
  min-width: 200px;
  padding: 6px;
  border-radius: 12px;
  background: color-mix(in srgb, #101820 92%, transparent);
  border: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  backdrop-filter: blur(16px);
}
[data-theme="light"] .pr-star-menu { background: #fff; border-color: #e5e8ee; }
.pr-star-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
}
.pr-star-menu button.on { color: #e8c35a; }
.pr-star-menu button:hover { background: color-mix(in srgb, #22e58b 12%, transparent); }

.pr-fav-btn.on {
  background: color-mix(in srgb, #e8c35a 22%, transparent) !important;
  color: #e8c35a !important;
  border-color: color-mix(in srgb, #e8c35a 45%, transparent) !important;
}

.pr-gratis {
  margin: 0 0 16px;
}
.pr-gratis-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.pr-gratis-head span {
  font-weight: 600;
  font-size: 12px;
  opacity: 0.65;
}
.pr-gratis-list { display: grid; gap: 10px; }
.pr-gratis .card.match-card { width: 100%; }

.pr-ad {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  contain: layout style;
  touch-action: pan-y;
  border-radius: 16px;
  background: color-mix(in srgb, #121a24 88%, transparent);
  border: 1px solid color-mix(in srgb, #ffffff 8%, transparent);
}
[data-theme="light"] .pr-ad { background: #f4f6f8; border-color: #e4e8ee; }
.pr-ad-label {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, #070b14 72%, transparent);
  color: #d5deea;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-theme="light"] .pr-ad-label { background: color-mix(in srgb, #fff 80%, transparent); color: #5a6573; }
.pr-ad a, .pr-ad .pr-ad-creative { display: block; }
.pr-ad img, .pr-ad .pr-ad-creative img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.pr-ad-feed {
  margin: 4px 0;
  max-width: 320px;
  width: 100%;
  justify-self: center;
  margin-inline: auto;
}
.pr-ad-feed img { aspect-ratio: 1 / 1; object-fit: cover; }
.pr-ad-banner {
  margin: 20px 0 8px;
  max-width: 48rem;
  margin-inline: auto;
}
.pr-ad-banner img {
  width: 100%;
  height: auto;
  max-height: 140px;
  min-height: 72px;
  object-fit: contain;
  object-position: center;
  background: #0c1420;
}
@media (max-width: 700px) {
  .pr-ad-banner { margin-left: 16px; margin-right: 16px; }
}

.pr-ad-slot {
  min-height: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 8px 8px;
  box-sizing: border-box;
  overflow: hidden;
}
.pr-ad-feed .pr-ad-slot { min-height: 250px; height: 250px; }
.pr-ad-slot ins.adsbygoogle {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}
.pr-ad-banner .pr-ad-slot { min-height: 90px; height: 90px; }

.pr-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: color-mix(in srgb, #101820 96%, transparent);
  color: #f4f7fb;
  border: 1px solid color-mix(in srgb, #ffffff 14%, transparent);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .pr-consent { left: 50%; right: auto; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); bottom: 24px; }
}
.pr-consent p { flex: 1 1 220px; margin: 0; font-size: 13px; line-height: 1.45; color: #f4f7fb; opacity: 0.95; }
.pr-consent p a { color: #5ee9a8; font-weight: 600; }
.pr-consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.pr-consent button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.pr-consent .pr-ok { background: #22e58b; color: #052014; }
.pr-consent .pr-no { background: color-mix(in srgb, #ffffff 16%, transparent); color: #f4f7fb; }

.pr-ref {
  margin: 16px 0;
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, #121a24 88%, transparent);
  border: 1px solid color-mix(in srgb, #22e58b 22%, transparent);
}
[data-theme="light"] .pr-ref { background: #fff; }
.pr-ref h2 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.pr-ref p { margin: 0 0 12px; font-size: 13px; opacity: 0.8; line-height: 1.45; }
.pr-ref-row { display: flex; gap: 8px; }
.pr-ref-row input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
  background: color-mix(in srgb, #070b14 50%, transparent);
  color: inherit;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
}
.pr-ref-row button, .pr-ref-share {
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  background: #22e58b;
  color: #052014;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.pr-ref-stats { margin: 10px 0 0; font-size: 12px; opacity: 0.7; }

.pr-gratis-card { display: block; text-decoration: none; color: inherit; padding: 12px 14px; }
.pr-gratis-card .card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pr-gratis-card .comp-label { font-size: 11px; font-weight: 700; opacity: 0.7; }
.pr-gratis-card .pr-when { margin-left: auto; font-size: 12px; font-weight: 700; opacity: 0.75; }
.pr-teams { display: flex; flex-direction: column; gap: 6px; }
.pr-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pr-crest {
  width: 24px; height: 24px; flex: 0 0 24px;
  border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; line-height: 1;
  font-size: 9px; font-weight: 800; letter-spacing: 0.02em;
  text-transform: uppercase; white-space: nowrap;
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  background: color-mix(in srgb, #fff 6%, transparent);
}
.pr-crest img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  border: 0;
}
.pr-crest-fallback { /* colour set inline from the team tint */ }
.pr-team-name {
  min-width: 0; flex: 1 1 auto;
  font-weight: 700; font-size: 14px; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pr-tip { margin-top: 8px; font-size: 13px; color: #22e58b; font-weight: 700; }


.pr-ad-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 28px 18px 18px;
  box-sizing: border-box;
  min-height: 110px;
  height: 100%;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, #22e58b 20%, transparent), transparent 58%),
    radial-gradient(80% 80% at 0% 100%, color-mix(in srgb, #22e58b 8%, transparent), transparent 50%);
}
.pr-ad-banner .pr-ad-fallback { min-height: 110px; }
.pr-ad-feed .pr-ad-fallback { min-height: 250px; }
.pr-ad-fallback strong {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.pr-ad-fallback-sub {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.78;
  font-weight: 600;
  max-width: 28ch;
}
[data-theme="light"] .pr-ad-fallback strong { color: #102018; }
[data-theme="light"] .pr-ad-fallback-sub { color: #3d4a44; }

.welcome-sheet { position: relative; }
.welcome-sheet .sheet-x,
.sheet-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text, #f4f7fb) 10%, transparent);
  color: var(--text, #f4f7fb);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.welcome-sheet .sheet-later {
  margin-top: 4px;
  font-size: 15px;
}
