:root {
  font-family: "DM Sans", sans-serif;
  color: #17372d;
  background: #f5f7f4;
  --dark: #043528;
  --green: #087e59;
  --lime: #c9f067;
  --muted: #70817a;
  --line: #dfe8e2;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.password-field {
  position: relative;
  display: block;
  width: 100%;
}
.field .password-field input {
  width: 100%;
  min-width: 0;
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}
.password-toggle:hover,
.password-toggle[aria-pressed="true"] {
  color: var(--green);
  background: #eaf4ee;
}
.password-toggle:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}
.password-toggle svg {
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.password-eye-slash {
  display: none;
}
.password-toggle[aria-pressed="true"] .password-eye-slash {
  display: block;
}
.pool-code {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}
.pool-code b {
  color: var(--dark);
}
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 74px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffffff2;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  gap: 18px;
}
.user-top {
  /* O menu do participante tem mais itens que o administrativo. Usa a
     largura da janela para que créditos, saldo e conta nunca se sobreponham. */
  padding-inline: clamp(20px, 3vw, 56px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 800 21px Manrope;
  color: var(--dark);
  flex: 0 0 auto;
  white-space: nowrap;
}
.brand-button {
  border: 0;
  padding: 0;
  background: transparent;
}
.logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 5px 6px #07533d2e);
}
.logo svg {
  width: 46px;
  height: 46px;
  overflow: visible;
}
.clover-piece {
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.clover-deep {
  fill: #078b68;
}
.clover-lime {
  fill: #b9ee46;
}
.clover-shine {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-width: 4;
}
.brand-name strong {
  color: var(--green);
}
.auth-art .brand-name strong {
  color: var(--lime);
}
nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.nav {
  border: 0;
  background: transparent;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.nav:hover,
.nav.on {
  background: #eaf4ee;
  color: var(--green);
}
.account {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.balance {
  font-size: 12px;
  color: var(--muted);
}
.balance b {
  display: block;
  color: var(--green);
  font-size: 15px;
}
.switch,
.btn {
  border: 0;
  border-radius: 11px;
  padding: 11px 15px;
  font-weight: 800;
}
.switch {
  background: #edf4ef;
  color: var(--green);
  white-space: nowrap;
}
.user-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 12px 6px 6px;
}
.user-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #d5eade;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}
.user-name {
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notification-switch {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 42px;
  padding: 0;
}
.notification-anchor {
  position: relative;
  flex: 0 0 auto;
}
.notification-count {
  position: absolute;
  right: -4px;
  top: -6px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: #d53d37;
  color: #fff;
  font-size: 10px;
}
.notification-preview-card {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 290px;
  min-height: 205px;
  padding: 20px;
  border: 1px solid #d4e5dc;
  border-radius: 18px;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 18px 50px #073d2d2e;
  white-space: normal;
  animation: notification-preview-in 0.22s ease-out;
}
.notification-preview-card::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 15px;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  border-top: 1px solid #d4e5dc;
  border-left: 1px solid #d4e5dc;
  background: #fff;
}
.notification-preview-close {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}
.notification-preview-close:hover {
  background: #edf4ef;
  color: var(--green);
}
.notification-preview-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #e1f3e9;
  font-size: 19px;
}
.notification-preview-card small {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.notification-preview-card > b {
  display: -webkit-box;
  margin-top: 7px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.38;
}
.notification-preview-message {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.notification-preview-card.priority-action,
.notification-preview-card.priority-urgent {
  border-color: #e8c56f;
}
.notification-preview-more {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.notification-preview-action {
  width: 100%;
  margin-top: auto;
  padding: 10px 13px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
@keyframes notification-preview-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}
@media (max-width: 620px) {
  .notification-preview-card {
    right: -48px;
    width: min(290px, calc(100vw - 28px));
  }
  .notification-preview-card::before {
    right: 63px;
  }
}
.logout-nav {
  padding-inline: 9px;
}
.btn {
  background: var(--green);
  color: #fff;
}
.btn.lime {
  background: var(--lime);
  color: var(--dark);
}
.btn.soft {
  background: #edf4ef;
  color: var(--green);
}
.hero {
  background:
    radial-gradient(circle at 80% 10%, #168c65 0, transparent 28%),
    linear-gradient(120deg, #043528, #075d44);
  color: #fff;
  overflow: hidden;
}
.hero-in {
  position: relative;
  max-width: 1180px;
  min-height: 330px;
  margin: auto;
  padding: 58px 24px;
}
.eyebrow {
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 650px;
  margin: 13px 0;
  font: 800 clamp(40px, 5vw, 62px)/1.04 Manrope;
  letter-spacing: -0.05em;
}
.hero p {
  max-width: 560px;
  color: #cae1d7;
  font-size: 17px;
  line-height: 1.55;
}
.balls {
  position: absolute;
  right: 30px;
  bottom: 20px;
}
.ball {
  display: inline-grid;
  place-items: center;
  width: 95px;
  height: 95px;
  margin: -10px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--dark);
  font: 800 28px Manrope;
  box-shadow: inset -12px -12px 20px #075b4344;
}
.ball:nth-child(2) {
  background: #fff;
  transform: translateY(65px);
}
.ball:nth-child(3) {
  background: #ffe67c;
}
.content {
  max-width: 1180px;
  margin: auto;
  padding: 38px 24px 70px;
}
.head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.head h1,
.head h2 {
  margin: 0;
  font: 800 30px Manrope;
  color: var(--dark);
}
.head p {
  margin: 6px 0;
  color: var(--muted);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.purchase-filters {
  margin-bottom: 10px;
}
.purchase-period-note {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.lottery-badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 99px;
  background: linear-gradient(#00000014, #00000014), var(--lottery-bg);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.lottery-badge[data-lottery="Timemania"],
.lottery-badge[data-lottery="Dia de Sorte"],
.lottery-badge[data-lottery="Super Sete"] {
  background: linear-gradient(#0006, #0006), var(--lottery-bg);
}
.lottery-badge[data-lottery="Lotomania"] {
  background: var(--lottery-bg);
}
.filter {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}
.filter.on {
  background: var(--green);
  color: #fff;
}
#boloes .lottery-filter {
  background: linear-gradient(#00000014, #00000014), var(--filter-bg);
  border-color: transparent;
  color: #fff;
}
#boloes .lottery-filter[data-filter="Timemania"],
#boloes .lottery-filter[data-filter="Dia de Sorte"],
#boloes .lottery-filter[data-filter="Super Sete"] {
  background: linear-gradient(#0006, #0006), var(--filter-bg);
}
#boloes .lottery-filter[data-filter="Lotomania"] {
  background: var(--filter-bg);
}
#boloes .filter.on {
  outline: 2px solid var(--filter-tone, var(--green));
  outline-offset: 3px;
}
#boloes .filter:hover {
  box-shadow: 0 3px 8px #123d2826;
}
#boloes .filter:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 3px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
}
/* Share section heights between the pool cards in each row. */
.grid > .card {
  display: grid;
  grid-row: span 7;
  grid-template-rows: subgrid;
  margin-bottom: 18px;
}
.grid > .card > .cardbody {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
}
.grid > .card .meta {
  align-content: start;
}
.grid > .pool-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.grid > .pool-card > .cardbody {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 5px 18px #1240300a;
}
.meta .draw-value.is-today,
.pool-primary-meta .draw-value.is-today {
  animation: draw-today-label 1.45s ease-in-out infinite;
}
@keyframes draw-today-label {
  0%,
  100% {
    background: #dff6ad;
    box-shadow: 0 0 0 0 #57d62973;
  }
  50% {
    background: #65d62d;
    color: #123d0c;
    box-shadow: 0 0 0 5px #57d6292b;
  }
}
.cardtop {
  padding: 21px;
  color: #fff;
  background: var(--color);
}
.lottery {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 800 19px Manrope;
}
.tag,
.status {
  padding: 5px 9px;
  border-radius: 99px;
  background: #ffffff22;
  font: 700 11px DM Sans;
}
.prizelabel {
  margin-top: 24px;
  font-size: 11px;
  opacity: 0.7;
}
.prize {
  font: 800 27px Manrope;
}
.cardbody {
  padding: 20px;
}
.pool-cardtop {
  padding: 18px 20px 17px;
}
.pool-cardtop .prizelabel {
  margin-top: 16px;
}
.pool-cardtop .prize {
  margin-top: 1px;
}
.pool-card .cardbody {
  padding: 17px 18px 15px;
}
.pool-primary-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e1ebe5;
  border-radius: 13px;
  background: #f7faf8;
}
.pool-primary-meta > div {
  min-width: 0;
  padding: 12px 13px;
}
.pool-primary-meta > div + div {
  border-left: 1px solid #e1ebe5;
}
.pool-primary-meta small,
.pool-game-summary small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.035em;
}
.pool-primary-meta .quota-value {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font: 800 20px Manrope;
}
.pool-primary-meta .draw-value {
  display: block;
  width: fit-content;
  margin-top: 3px;
  color: var(--dark);
  font: 800 16px Manrope;
}
.pool-primary-meta .draw-value.is-near {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef8cf;
  color: #315b17;
  font-size: 14px;
}
.pool-primary-meta .draw-value.is-near::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #78a91f;
  content: "";
}
.pool-game-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 1px 12px;
}
.pool-game-summary > div {
  min-width: 0;
}
.pool-game-summary b {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.25;
}
.quota-availability {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.quota-availability.available {
  background: #e5f6ed;
  color: #087e59;
}
.quota-availability.ending {
  background: #fde3e4;
  color: #96262d;
  box-shadow: 0 0 0 0 #d85b6266;
  animation: last-quotas-alert 1.45s ease-in-out infinite;
}
@keyframes last-quotas-alert {
  0%,
  100% {
    background: #fde3e4;
    box-shadow: 0 0 0 0 #d85b6266;
  }
  50% {
    background: #f3b0b4;
    color: #7d171e;
    box-shadow: 0 0 0 5px #d85b622b;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quota-availability.ending {
    animation: none;
  }
}
.quota-availability.unavailable {
  background: #f1e8e8;
  color: #98413d;
}
.pool-progress {
  padding-top: 1px;
}
.pool-card .progressline {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 10px;
}
.pool-card .progressline b {
  color: var(--dark);
}
.pool-card .bar {
  height: 7px;
}
.pool-card-actions {
  margin-top: auto;
  padding-top: 16px;
}
.pool-card-actions .btn {
  padding: 11px 10px;
}
.card-assurance {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}
.card-assurance::before {
  margin-right: 5px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}
.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 19px;
}
.meta small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.meta b {
  font-size: 14px;
}
.meta .quota-value {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font: 800 18px Manrope;
}
.meta .draw-value {
  display: block;
  margin-top: 2px;
  color: var(--dark);
  font: 800 17px Manrope;
}
.meta .draw-value.is-near {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef8cf;
  color: #315b17;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.meta .draw-value.is-near::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78a91f;
  content: "";
}
.progressline {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 7px;
}
.bar {
  height: 8px;
  border-radius: 9px;
  background: #e8eeea;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(
    90deg,
    #11a870 0%,
    #7acb52 30%,
    #e8bb35 55%,
    #eb8735 75%,
    #d53d37 100%
  );
  /* Keep the color scale aligned with the total number of quotas. */
  background-size: var(--gradient-width, 100%) 100%;
  background-repeat: no-repeat;
}
.card.sold-out .bar i {
  background: #d53d37;
}
.card.sold-out .progressline b {
  color: #b43832;
}
.actions {
  display: flex;
  gap: 9px;
  margin-top: 19px;
}
.actions button {
  flex: 1;
}
.note {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
}
.sales-closed-notice {
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid #efaaaa;
  border-radius: 8px;
  background: #fecaca;
  color: #991b1b;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.sales-ending-notice {
  margin-top: 11px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8df;
  color: #806016;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.sales-ending-notice::before {
  margin-right: 4px;
  content: "⚠";
}
.purchase-grid > .purchase-card {
  grid-row: span 6;
  min-width: 0;
}
.purchase-grid > .purchase-card > .cardbody {
  grid-row: span 5;
}
.purchase-card .lottery {
  flex-wrap: wrap;
  gap: 8px;
}
.purchase-card .meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.purchase-participation-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 5px;
  margin-top: 2px;
  line-height: 1.25;
}
.purchase-participation-value > span {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
}
.purchase-participation-value > small {
  display: inline;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.purchase-card-status {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding-top: 10px;
}
.purchase-card-status .status {
  display: inline-block;
  line-height: 1.4;
}
.status.purchase-result-new {
  background: #fff0cb;
  color: #87530a;
}
.purchase-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 12px;
}
.purchase-card-actions .btn {
  padding: 11px 8px;
  font-size: 12px;
  line-height: 1.4;
}
.purchase-card-actions .purchase-delete {
  grid-column: 1 / -1;
}
.purchase-receipt-pending {
  display: grid;
  place-content: center;
  gap: 3px;
  padding: 7px 5px;
  border-radius: 11px;
  background: #fff8e7;
  text-align: center;
}
.purchase-receipt-pending small {
  color: #806016;
  font-size: 10px;
}
.purchase-receipt-pending .status {
  padding: 0;
  background: transparent;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 24px;
}
.stat,
.panel {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
}
.stat span {
  color: var(--muted);
  font-size: 12px;
}
.stat b {
  display: block;
  margin: 6px 0;
  font: 800 26px Manrope;
  color: var(--dark);
}
.stat small {
  color: var(--green);
}
.panel {
  margin-bottom: 22px;
}
.panel h2 {
  margin: 0 0 18px;
  font: 800 20px Manrope;
}
.admin-pending-panel {
  border-color: #cfe1d8;
  background: linear-gradient(145deg, #fff 0%, #f7fbf9 100%);
}
.admin-pending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.admin-pending-head h2 {
  margin: 3px 0 4px;
}
.admin-pending-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.admin-pending-eyebrow {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.admin-pending-total {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font: 800 19px Manrope;
}
.admin-pending-total.attention {
  background: #fff0d6;
  color: #9a5d08;
}
.admin-pending-total.clear {
  background: #e2f5e9;
  color: #087e59;
}
.admin-pending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
}
.admin-pending-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  aspect-ratio: 1;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.admin-pending-card:hover {
  border-color: #8db8a4;
  box-shadow: 0 8px 20px #143d2c12;
  transform: translateY(-1px);
}
.admin-pending-card.attention {
  border-color: #efd7ad;
  background: #fffdf8;
}
.admin-pending-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e8f5ed;
  color: var(--green);
  font: 800 11px Manrope;
}
.admin-pending-card.attention .admin-pending-icon {
  background: #fff0d6;
  color: #9a5d08;
}
.admin-pending-copy {
  min-width: 0;
  margin-top: auto;
  padding-right: 14px;
}
.admin-pending-copy b,
.admin-pending-copy small {
  display: block;
}
.admin-pending-copy b {
  font-size: 12px;
  line-height: 1.25;
}
.admin-pending-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
}
.admin-pending-card > strong {
  position: absolute;
  top: 15px;
  right: 15px;
  min-width: 27px;
  padding: 4px 7px;
  border-radius: 99px;
  background: #edf4ef;
  color: var(--green);
  text-align: center;
  font-size: 12px;
}
.admin-pending-card.attention > strong {
  background: #f8dfb6;
  color: #8b5205;
}
.admin-pending-arrow {
  position: absolute;
  right: 15px;
  bottom: 13px;
  color: #85a496;
  font-size: 17px;
}
.admin-sales-goal-panel {
  border-color: #cfe1d8;
  background: linear-gradient(145deg, #fff 0%, #f7fbf9 100%);
}
.admin-sales-goal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.admin-sales-goal-head h2 {
  margin: 3px 0 4px;
}
.admin-sales-goal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.admin-pending-compact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font:
    700 12px DM Sans,
    sans-serif;
  cursor: pointer;
}
.admin-pending-compact strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e3f3ea;
  color: var(--green);
}
.admin-pending-compact.attention {
  border-color: #efd7ad;
  background: #fffaf1;
}
.admin-pending-compact.attention strong {
  background: #f8dfb6;
  color: #8b5205;
}
.admin-sales-goal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.8fr);
  gap: 18px;
  align-items: stretch;
}
.admin-sales-goal-form,
.admin-sales-goal-dashboard {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.admin-sales-goal-form {
  display: flex;
  flex-direction: column;
  padding: 17px;
}
.admin-sales-goal-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-sales-goal-fields label:first-child,
.admin-sales-goal-fields label:nth-child(3) {
  grid-column: span 2;
}
.admin-sales-goal-fields label > span:first-child {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.admin-sales-goal-fields input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 42px;
}
.admin-sales-goal-form > .btn {
  width: 100%;
  margin-top: auto;
}
.admin-sales-goal-dashboard {
  padding: 17px;
}
.admin-sales-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.admin-sales-progress-head > div:last-child {
  text-align: right;
}
.admin-sales-progress-head span,
.admin-sales-progress-head b {
  display: block;
}
.admin-sales-progress-head span {
  color: var(--muted);
  font-size: 11px;
}
.admin-sales-progress-head b {
  margin-top: 3px;
  color: var(--dark);
  font:
    800 20px Manrope,
    sans-serif;
}
.admin-sales-progress {
  height: 11px;
  margin-top: 13px;
  overflow: hidden;
  border-radius: 99px;
  background: #e7efe9;
}
.admin-sales-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #26ad73);
  transition: width 0.25s ease;
}
.admin-sales-progress-label {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 11px;
}
.admin-sales-progress-label b {
  color: var(--green);
}
.admin-sales-live-metrics,
.admin-sales-plan {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.admin-sales-live-metrics > div,
.admin-sales-plan > div {
  min-width: 0;
  padding: 11px;
  border-radius: 11px;
  background: #f4f8f5;
}
.admin-sales-live-metrics span,
.admin-sales-live-metrics b,
.admin-sales-live-metrics small,
.admin-sales-plan span,
.admin-sales-plan b {
  display: block;
}
.admin-sales-live-metrics span,
.admin-sales-plan span {
  color: var(--muted);
  font-size: 10px;
}
.admin-sales-live-metrics b,
.admin-sales-plan b {
  margin-top: 4px;
  color: var(--dark);
  font:
    800 15px Manrope,
    sans-serif;
}
.admin-sales-live-metrics small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.25;
}
.admin-sales-plan {
  margin-top: 8px;
}
.admin-sales-plan > div {
  background: #edf6f0;
}
.admin-sales-suggestion {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d8e9df;
  border-radius: 11px;
  background: #f8fcf9;
  color: var(--green);
}
.admin-sales-suggestion > span {
  font-size: 16px;
}
.admin-sales-suggestion p,
.admin-sales-suggestion b,
.admin-sales-suggestion p span {
  display: block;
  margin: 0;
}
.admin-sales-suggestion b {
  font-size: 11px;
}
.admin-sales-suggestion p span {
  margin-top: 2px;
  color: var(--dark);
  font-size: 11px;
  line-height: 1.35;
}
.modal.admin-pending-modal {
  width: min(880px, 100%);
}
.admin-pending-modal .admin-pending-card {
  min-height: 132px;
  aspect-ratio: auto;
}
.broadcast-recipient-preview {
  margin-top: 16px;
  padding: 15px 16px;
  border: 1px solid #cfe1d8;
  border-radius: 13px;
  background: #f5faf7;
}
.broadcast-recipient-preview span,
.broadcast-recipient-preview b,
.broadcast-recipient-preview small {
  display: block;
}
.broadcast-recipient-preview span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.broadcast-recipient-preview b {
  margin: 4px 0 2px;
  font: 800 19px Manrope;
}
.broadcast-recipient-preview small {
  color: var(--muted);
  font-size: 11px;
}
.broadcast-message-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 5px;
}
.broadcast-message-meta small:last-child {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 800;
}
.admin-user-overview-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 10px;
  padding: 18px 20px;
  border: 1px solid #cfe5d8;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4fbf7, #edf7f1);
}
.admin-user-overview-title {
  display: grid;
  gap: 4px;
}
.admin-user-overview-title span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.admin-user-overview-title strong {
  color: var(--dark);
  font-size: 14px;
}
.admin-user-overview-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  min-width: min(390px, 100%);
}
.admin-user-overview-metrics > div {
  padding: 2px 18px;
}
.admin-user-overview-metrics > div + div {
  border-left: 1px solid #cfe0d6;
}
.admin-user-overview-metrics span,
.admin-user-overview-metrics small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.admin-user-overview-metrics b {
  display: block;
  margin: 3px 0 1px;
  color: var(--dark);
  font: 800 30px Manrope;
  line-height: 1.1;
}
.admin-user-overview-metrics .active b {
  color: var(--green);
}
.admin-user-overview-metrics i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 3px;
  border-radius: 50%;
  background: #16a66d;
  box-shadow: 0 0 0 4px #16a66d20;
}
.admin-user-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 10px;
  margin: 10px 0 22px;
}
.admin-user-stats > div {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f7faf8;
}
.admin-user-stats span,
.admin-user-stats small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.admin-user-stats b {
  display: block;
  margin: 4px 0 2px;
  color: var(--dark);
  font: 700 22px Manrope;
}
.admin-user-stats small {
  color: var(--green);
}
.admin-users-table {
  max-height: 520px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.admin-users-table table {
  width: 100%;
  table-layout: fixed;
}
.admin-users-table th,
.admin-users-table td {
  padding-inline: 8px;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
}
.admin-users-table th:nth-child(1) {
  width: 22%;
}
.admin-users-table th:nth-child(2) {
  width: 16%;
}
.admin-users-table th:nth-child(3) {
  width: 10%;
}
.admin-users-table th:nth-child(4) {
  width: 16%;
}
.admin-users-table th:nth-child(5) {
  width: 20%;
}
.admin-users-table th:nth-child(6) {
  width: 16%;
}
.admin-users-table td:last-child .btn {
  width: 100%;
  padding-inline: 8px;
  white-space: normal;
}
.admin-users-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.admin-users-table tbody tr:hover {
  background: #f7fbf8;
}
.admin-user-flags {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}
.admin-users-table .payment-date {
  display: block;
  margin-top: 4px;
  white-space: normal;
}
.table {
  overflow: auto;
}
.official-receipts-scroll {
  max-height: 360px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: #9fc8b6 #edf4ef;
  scrollbar-width: thin;
}
.official-receipts-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.official-receipts-scroll tbody tr {
  height: 64px;
  transition: background-color 160ms ease;
}
.official-receipts-scroll tbody tr:hover {
  background: #f7fbf8;
}
.official-receipt-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.official-receipt-actions .btn {
  padding: 9px 12px;
}
.receipt-correction-link {
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: #9a4b38;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.receipt-correction-history {
  display: grid;
  gap: 9px;
  max-height: 340px;
  overflow-y: auto;
}
.receipt-correction-history article {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf8;
}
.receipt-correction-history small,
.receipt-correction-history b {
  display: block;
}
.receipt-correction-history small {
  color: var(--muted);
}
.receipt-correction-history b {
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.receipt-correction-history p {
  margin: 7px 0 0;
  line-height: 1.45;
}
.receipt-history-empty {
  padding: 28px;
}
.official-receipts-scroll::-webkit-scrollbar {
  width: 9px;
}
.official-receipts-scroll::-webkit-scrollbar-track {
  border-radius: 99px;
  background: #edf4ef;
}
.official-receipts-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #edf4ef;
  border-radius: 99px;
  background: #9fc8b6;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 13px 11px;
  border-bottom: 1px solid #edf1ee;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}
.status {
  background: #e6f5ed;
  color: var(--green);
}
.status.pool-active {
  background: #e5f6ed;
  color: #087e59;
}
.status.pool-closed {
  background: #edf0ee;
  color: #52645b;
}
.status.pool-winner {
  background: #fff1bf;
  color: #76530a;
}
.admin-pool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 8px;
}
.admin-pool-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--dark);
  font:
    700 13px Manrope,
    sans-serif;
  cursor: pointer;
}
.admin-pool-tab span {
  min-width: 23px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #edf4ef;
  color: var(--green);
  text-align: center;
  font-size: 11px;
}
.admin-pool-tab.on {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.admin-pool-tab.on span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.admin-pool-view-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.admin-pools-empty td {
  padding: 36px 12px;
  color: var(--muted);
  text-align: center;
}
.admin-pool-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-pool-actions .btn {
  padding: 9px 12px;
}
.admin-winner-row td {
  padding-block: 12px;
}
.admin-winner-pool {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-winner-draw {
  color: var(--muted);
  font-size: 11px;
}
.admin-winner-row .admin-pool-actions {
  flex-wrap: nowrap;
}
.admin-prize-hits-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  color: var(--green);
  font:
    700 13px DM Sans,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.admin-prize-hits-toggle:hover {
  border-color: var(--green);
}
.admin-prize-hits-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 24%, transparent);
  outline-offset: 2px;
}
.admin-prize-hits-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.18s ease;
}
.admin-prize-hits.expanded .admin-prize-hits-arrow {
  transform: rotate(180deg);
}
.admin-prize-hits-details {
  max-width: 310px;
  margin-top: 8px;
  color: var(--dark);
  font-size: 13px;
  line-height: 1.4;
}
.admin-prize-hits-details[hidden] {
  display: none;
}
.modal.admin-pool-detail-modal {
  width: min(900px, 100%);
}
.admin-pool-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 14px;
}
.admin-pool-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.admin-pool-detail-stats > div,
.admin-pool-detail-info > div {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf8;
}
.admin-pool-detail-stats span,
.admin-pool-detail-info span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.admin-pool-detail-stats b,
.admin-pool-detail-info b {
  display: block;
  margin-top: 5px;
  color: var(--dark);
}
.admin-pool-detail-stats b {
  font: 800 22px Manrope;
}
.admin-pool-detail-stats .available {
  border-color: #bde1cc;
  background: #eaf7ef;
}
.admin-pool-detail-stats .available b {
  color: var(--green);
}
.admin-pool-detail-modal .prize-detail-grid + .admin-pool-detail-stats {
  margin-top: 10px;
}
.admin-pool-detail-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.admin-pool-buyers {
  max-height: 330px;
  overflow-y: auto;
}
.admin-pool-buyers thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
}
.admin-pool-buyers-empty {
  padding: 28px;
}
@media (max-width: 700px) {
  .admin-pool-detail-stats,
  .admin-pool-detail-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 460px) {
  .admin-pool-detail-stats,
  .admin-pool-detail-info {
    grid-template-columns: 1fr;
  }
}

/* Central de notificações */
.notification-modal-bg {
  place-items: stretch end;
  padding: 0;
}
body .modal.notification-modal {
  display: flex;
  width: min(560px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  flex-direction: column;
  padding: 24px;
  border-radius: 24px 0 0 24px;
  box-shadow: -22px 0 60px #001c1633;
  animation: notification-drawer-in 0.22s ease-out;
}
@keyframes notification-drawer-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}
.notification-center-head {
  flex: 0 0 auto;
}
.notification-center-head h2 {
  margin-top: 2px;
}
.notification-eyebrow {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.notification-categories {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  margin-bottom: 13px;
  padding-bottom: 3px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.notification-category {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.notification-category.on {
  border-color: var(--green);
  background: #e8f5ee;
  color: var(--green);
}
body .notification-list {
  min-height: 0;
  max-height: none;
  flex: 1 1 auto;
  padding-right: 5px;
  overflow-y: auto;
}
.notification-group + .notification-group {
  margin-top: 18px;
}
.notification-group > h3 {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  margin-bottom: 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid #cfd9d3;
  border-radius: 14px;
  background: #f8faf8;
}
.notification-item.unread {
  border-left-color: var(--green);
  background: #f2faf5;
}
.notification-item.priority-action,
.notification-item.priority-urgent {
  border-left-color: #d79618;
  background: #fffbf0;
}
.notification-item.priority-urgent {
  border-left-color: #c83d36;
  background: #fff6f5;
}
.notification-item.priority-success {
  border-left-color: #42a873;
}
body .notification-main {
  grid-template-columns: 7px 43px minmax(0, 1fr) auto;
}
.notification-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
}
.notification-item.unread .notification-unread-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px #0b7f5c14;
}
.notification-body {
  display: block;
  margin-top: 3px;
  color: #435b52;
  font-size: 12px;
  line-height: 1.42;
}
.notification-empty b {
  display: block;
  margin-bottom: 5px;
}
.notification-footer {
  flex: 0 0 auto;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.purchase-card.notification-target-highlight {
  animation: notification-target-highlight 4s ease-out;
}
body #toast {
  display: flex;
  align-items: center;
  max-width: min(430px, calc(100vw - 40px));
  gap: 10px;
}
#toast.toast-success {
  background: #075f45;
}
#toast.toast-warning {
  background: #7a5811;
}
#toast.toast-error {
  background: #8c302b;
}
.toast-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff24;
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 620px) {
  .notification-modal-bg {
    align-items: end;
  }
  body .modal.notification-modal {
    width: 100%;
    height: min(92dvh, 760px);
    max-height: 92dvh;
    padding: 18px 15px;
    border-radius: 20px 20px 0 0;
    animation-name: notification-sheet-in;
  }
  body .notification-item {
    grid-template-columns: minmax(0, 1fr);
  }
  body .notification-main {
    grid-template-columns: 7px 39px minmax(0, 1fr);
    padding: 11px;
  }
  body .notification-go {
    grid-column: 3;
  }
  body .notification-item-actions {
    justify-content: flex-end;
    flex-direction: row;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
@keyframes notification-sheet-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
.adminhero {
  background: var(--dark);
  color: #fff;
}
.adminhero .head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1180px;
  margin: auto;
  padding: 35px 24px;
}
.adminhero-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.adminhero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding-inline: 12px;
  white-space: nowrap;
}
.adminhero h1 {
  color: #fff;
}
.adminhero p {
  color: #aac5ba;
}
.empty {
  text-align: center;
  padding: 55px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
}
.prizes-hero {
  padding: 55px max(24px, calc((100vw - 1132px) / 2));
  background:
    radial-gradient(circle at 82% 20%, #168c65 0, transparent 25%),
    linear-gradient(120deg, #043528, #07684b);
  color: #fff;
}
.prizes-hero > div {
  max-width: 720px;
}
.prizes-hero h1 {
  margin: 10px 0 8px;
  font: 800 clamp(34px, 4vw, 50px) Manrope;
}
.prizes-hero p {
  margin: 0;
  color: #cce2d9;
  font-size: 16px;
  line-height: 1.55;
}
.prize-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 24px;
}
.home-prizes {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.prize-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 26px;
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: 18px;
  background: linear-gradient(115deg, #063f31, #087456);
  box-shadow: 0 16px 34px #052d221f;
  color: #fff;
}
.prize-compact-item {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
}
.prize-compact-item i {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border: 2px solid #b9ef4f66;
  border-radius: 50%;
  background: #0b5d47;
  box-shadow: inset 0 0 0 4px #ffffff0d;
  color: var(--lime);
  font: 800 16px Manrope;
  font-style: normal;
}
.prize-compact-item b {
  display: block;
  overflow: hidden;
  font: 800 clamp(17px, 1.55vw, 23px) Manrope;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prize-compact-item span {
  display: block;
  margin-top: 2px;
  color: #d1e7df;
  font-size: 12px;
}
.prize-compact-link {
  padding: 12px 15px;
  border: 1px solid #ffffff52;
  border-radius: 11px;
  background: #ffffff14;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}
.prize-compact-link:hover {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--dark);
}
.modal.prize-list-modal {
  width: min(1260px, 100%);
}
.modal.pdf-viewer-modal {
  display: flex;
  width: min(1120px, 100%);
  height: min(900px, calc(100vh - 30px));
  max-height: calc(100vh - 30px);
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
}
.pdf-viewer-head {
  flex: 0 0 auto;
  gap: 18px;
}
.pdf-viewer-head p {
  margin: 5px 0 14px;
}
.pdf-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 12px;
  margin-bottom: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f4f8f6;
}
.pdf-viewer-toolbar > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.pdf-viewer-toolbar > div {
  display: flex;
  gap: 8px;
}
.pdf-viewer-toolbar .btn {
  padding: 9px 12px;
  font-size: 12px;
  text-decoration: none;
}
.pdf-viewer-frame {
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eef2f0;
}
.modal .pdf-viewer-fallback {
  flex: 0 0 auto;
  margin: 9px 0 0;
  font-size: 11px;
  text-align: center;
}
.pdf-viewer-fallback a {
  color: var(--green);
  font-weight: 800;
}
.pdf-viewer-modal:fullscreen {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
}
.modal.notification-modal {
  width: min(690px, 100%);
}
.notification-tabs {
  display: flex;
  gap: 7px;
  margin: 17px 0 12px;
  padding: 4px;
  border-radius: 12px;
  background: #edf4ef;
}
.notification-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 7px;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}
.notification-tab span {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 99px;
  background: #dce9e2;
  font-size: 10px;
}
.notification-tab.on {
  background: #fff;
  color: var(--green);
  box-shadow: 0 2px 8px #123d2814;
}
.notification-list {
  max-height: min(440px, 55vh);
  padding-right: 3px;
}
.game-row.notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-left: 4px solid #cfd9d3;
  background: #f8faf8;
}
.notification-item.unread {
  border-left-color: var(--green);
  background: #f2faf5;
}
.notification-main {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px;
  border: 0;
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.notification-main:not(.static):hover {
  background: #e9f6ef;
}
.notification-main.static {
  cursor: default;
}
.notification-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: #dff3e8;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}
.notification-copy {
  min-width: 0;
}
.notification-copy small,
.notification-copy b,
.notification-copy .hint {
  display: block;
}
.notification-copy small {
  margin-bottom: 3px;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.notification-copy b {
  line-height: 1.35;
}
.notification-copy .hint {
  margin-top: 5px;
}
.notification-go {
  color: var(--green);
  font-size: 11px;
  white-space: nowrap;
}
.notification-item-actions {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-left: 1px solid var(--line);
}
.notification-item-actions button {
  padding: 5px 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}
.notification-item-actions button:hover {
  color: var(--green);
  text-decoration: underline;
}
.notification-empty {
  min-height: 170px;
}
.modal.security-backup-modal {
  width: min(780px, 100%);
}
.backup-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.backup-summary > div {
  display: grid;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f7faf8;
}
.backup-summary span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.backup-summary b {
  color: var(--dark);
  font: 800 17px Manrope;
}
.backup-summary small,
.security-check small,
.backup-row small {
  color: var(--muted);
  font-size: 10px;
}
.security-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.security-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  background: #f3f7f4;
}
.security-check > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #dff3e8;
  color: var(--green);
  font-weight: 900;
}
.security-check.warning > span {
  background: #fff1cf;
  color: #8a6500;
}
.security-check div {
  display: grid;
  gap: 2px;
}
.backup-transport {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff8df;
  color: #74580d;
  font-size: 11px;
}
.backup-transport.ok {
  background: #e4f5eb;
  color: var(--green);
}
.backup-history {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.backup-history-head h3,
.backup-history-head p {
  margin: 0;
}
.backup-history-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}
.backup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.backup-row > div {
  display: grid;
  gap: 3px;
}
.backup-row .btn {
  padding: 7px 12px;
}
.backup-empty {
  margin-top: 8px;
  padding: 22px;
  border-radius: 10px;
  background: #f7faf8;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 620px) {
  .admin-user-overview-card {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-user-overview-metrics {
    min-width: 0;
    width: 100%;
  }
  .notification-tabs {
    overflow-x: auto;
  }
  .notification-tab {
    flex: 0 0 auto;
  }
  .game-row.notification-item {
    grid-template-columns: minmax(0, 1fr);
  }
  .notification-main {
    grid-template-columns: 39px minmax(0, 1fr);
    padding: 11px;
  }
  .notification-go {
    grid-column: 2;
  }
  .notification-item-actions {
    justify-content: flex-end;
    flex-direction: row;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .backup-summary,
  .security-checklist {
    grid-template-columns: 1fr;
  }
}
.authorizations-scroll tr.notification-target-highlight td,
#admin-pools tr.notification-target-highlight td {
  animation: notification-target-highlight 4s ease-out;
}
@keyframes notification-target-highlight {
  0%,
  35% {
    background: #dff5e8;
    box-shadow:
      inset 0 2px 0 #38a878,
      inset 0 -2px 0 #38a878;
  }
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 transparent;
  }
}
.prize-ranking table {
  min-width: 1040px;
  table-layout: fixed;
}
.prize-ranking th:nth-child(1) {
  width: 15%;
}
.prize-ranking th:nth-child(2) {
  width: 8%;
}
.prize-ranking th:nth-child(3) {
  width: 13%;
}
.prize-ranking th:nth-child(4) {
  width: 36%;
}
.prize-ranking th:nth-child(5) {
  width: 13%;
}
.prize-ranking th:nth-child(6) {
  width: 170px;
}
.prize-ranking td:nth-child(4) {
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}
.prize-demo-label {
  display: table;
  margin: 4px 0;
  padding: 3px 6px;
  border-radius: 99px;
  background: #fff1b8;
  color: #755500;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.prize-faq-example {
  margin: 18px 0;
  padding: 17px;
  border: 1px solid #cce4d7;
  border-radius: 13px;
  background: #eef8f2;
}
.prize-faq-example span {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prize-faq-example b {
  display: block;
  margin: 6px 0 2px;
  color: var(--dark);
  font: 800 17px Manrope;
}
.prize-faq-example p {
  margin: 0;
  font-size: 12px;
}
.prize-faq {
  display: grid;
  gap: 9px;
}
.prize-faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.prize-faq summary {
  position: relative;
  padding: 14px 42px 14px 15px;
  color: var(--dark);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.prize-faq summary::-webkit-details-marker {
  display: none;
}
.prize-faq summary::after {
  position: absolute;
  top: 12px;
  right: 15px;
  color: var(--green);
  content: "+";
  font-size: 21px;
  line-height: 1;
}
.prize-faq details[open] summary {
  color: var(--green);
}
.prize-faq details[open] summary::after {
  content: "−";
}
.prize-faq details p {
  margin: 0;
  padding: 0 15px 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.prize-stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
}
.prize-stat span,
.prize-detail-grid span,
.prize-detail-highlight span {
  color: var(--muted);
  font-size: 12px;
}
.prize-stat b {
  display: block;
  margin: 6px 0;
  color: var(--dark);
  font: 800 27px Manrope;
}
.prize-stat small {
  color: var(--green);
}
.rank-position {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #edf4ef;
  color: var(--green);
  font-weight: 800;
}
.prize-ranking tbody tr:first-child .rank-position {
  background: #fff2be;
  color: #8a6500;
}
.prize-lottery-card {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--prize-lottery-bg);
  box-shadow: 0 8px 18px #052d221c;
  color: #fff;
}
.prize-lottery-card b {
  color: #fff;
  font: 800 16px Manrope;
}
.prize-lottery-card small {
  margin-top: 4px;
  color: #ffffffc9;
  font-size: 11px;
}
.prize-lottery-card .prize-demo-label {
  margin-top: 5px;
}
.prize-receipt-action {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
.prize-receipt-button {
  width: 100%;
  padding-inline: 10px;
  font-size: 12px;
  white-space: nowrap;
}
.prize-receipt-note {
  display: block;
  max-width: 155px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
}
.prize-detail-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font: 700 11px DM Sans;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prize-value {
  color: var(--dark);
  font-size: 16px;
}
.prize-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 18px;
  border: 1px solid #cfe5d9;
  border-radius: 14px;
  background: #edf7f1;
  color: var(--green);
  font-size: 13px;
}
.prize-trust b {
  margin-right: 8px;
  color: var(--dark);
}
.prize-trust i {
  color: #8ba99c;
  font-style: normal;
}
.prize-disclaimer {
  max-width: 850px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.support-hub {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 2fr);
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #dce8e1;
  border-radius: 14px;
  background: #f8fbf9;
}
.support-intro h2 {
  margin: 1px 0 5px;
  color: var(--dark);
  font: 800 17px Manrope;
}
.support-intro p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.support-eyebrow {
  color: #568071;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.support-availability {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 99px;
  background: #e1f4e9;
  color: #087d58;
  font-size: 9px;
  font-weight: 800;
}
.support-availability.pending {
  background: #fff2d2;
  color: #8b6410;
}
.support-availability i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.support-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.support-options button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}
.support-options button:hover {
  border-color: #9dcab0;
  box-shadow: 0 4px 12px #0b513712;
  transform: translateY(-1px);
}
.support-options button > span:nth-child(2) {
  min-width: 0;
}
.support-options b,
.support-options small {
  display: block;
}
.support-options b {
  font-size: 11px;
}
.support-options small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}
.support-options strong {
  color: var(--green);
  font-size: 14px;
}
.support-option-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e3f2e9;
  color: var(--green);
  font: 900 12px Manrope;
}
.support-option-icon.suggestion {
  background: #f1ecff;
  color: #7050ae;
}
.support-option-icon.problem {
  background: #fff0ed;
  color: #b24b42;
}
.prize-detail-highlight {
  margin: 18px 0;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #043528, #087e59);
  color: #fff;
}
.prize-detail-highlight span,
.prize-detail-highlight small {
  color: #cde5dc;
}
.prize-detail-highlight b {
  display: block;
  margin: 5px 0;
  font: 800 29px Manrope;
}
.prize-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.prize-detail-grid > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #f9fbf9;
}
.prize-detail-grid b {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--dark);
}
.verified-label {
  color: var(--green) !important;
}
.proof-warning {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 11px;
  background: #fff8df;
  color: #6f5414;
  font-size: 12px;
}
.proof-warning p {
  margin: 4px 0 0;
  color: #806b38;
}
.pool-receipt-field {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f6faf7;
}
.profit-calculator {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #cfe4d8;
  border-radius: 14px;
  background: #f3f9f5;
}
.profit-calculator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.profit-calculator h3 {
  margin: 4px 0 0;
  color: var(--dark);
  font: 800 18px Manrope;
}
.profit-calculator > p {
  margin: 9px 0 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.admin-only-label {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
}
.profit-target {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 99px;
  background: var(--lime);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
}
.profit-calculator-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.percent-prefix {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d5dfd9;
  border-radius: 10px;
  background: #fff;
}
.percent-prefix input {
  width: 100%;
  min-width: 0;
  border: 0;
}
.percent-prefix span {
  padding-right: 12px;
  color: var(--muted);
  font-weight: 800;
}
.profit-calculator-empty {
  margin-top: 14px;
  padding: 13px;
  border: 1px dashed #bfd4c8;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.profit-calculator-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 14px;
}
.profit-calculator-result > div {
  padding: 11px;
  border-radius: 10px;
  background: #fff;
}
.profit-calculator-result span,
.profit-calculator-result small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.profit-calculator-result b {
  display: block;
  margin-top: 4px;
  color: var(--dark);
  font-size: 15px;
}
.profit-calculator-result .btn {
  grid-column: 1 / -1;
}
.profit-calculator-note {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.pool-receipt-field label {
  font-weight: 800;
  color: var(--dark);
}
.pool-receipt-field p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.pool-receipt-field input {
  width: 100%;
  min-width: 0;
  font-size: 12px;
}
.pool-receipt-field input::file-selector-button {
  margin-right: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}
.pool-receipt-field small,
.pool-receipt-field [data-current-pool-receipt] {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.pool-receipt-field small {
  display: block;
  line-height: 1.5;
}
.pool-receipt-field a {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--green);
}
.pool-receipt-error {
  color: #a23b35 !important;
}
.modalbg {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #021c16bf;
  backdrop-filter: blur(4px);
}
.modal {
  width: min(580px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
}
.modal.pool-form-modal {
  width: min(1080px, 100%);
  max-height: calc(100vh - 24px);
  padding: 22px;
}
.modal.prize-form-modal {
  width: min(720px, 100%);
}
.modal.pool-detail-modal {
  width: min(1040px, 100%);
  height: min(760px, calc(100vh - 32px));
  max-height: calc(100vh - 32px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.pool-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.45fr);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  gap: 24px;
  margin-top: 18px;
}
.pool-detail-description {
  min-width: 0;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.participation-detail-modal .pool-detail-description {
  overflow: auto;
  scrollbar-gutter: stable;
}
.participation-modal-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(430px, 1.35fr) auto;
  align-items: start;
  gap: 16px;
}
.participation-header-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 10px;
}
.participation-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  min-height: 68px;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #eff6f2;
}
.participation-header-card > span {
  min-width: 0;
  color: var(--dark);
  font-size: 12px;
  line-height: 1.35;
}
.participation-header-card > b {
  color: var(--dark);
  font-size: 15px;
  line-height: 1.25;
  text-align: right;
  overflow-wrap: anywhere;
}
.participation-header-card .btn {
  flex: 0 0 auto;
  padding: 9px 11px;
  font-size: 12px;
}
.participation-header-card .participation-receipt-pending {
  color: #906d15;
}
.participation-modal-head .close {
  justify-self: end;
}
.pool-detail-description .summary:first-child {
  margin-top: 0;
}
.pool-detail-description .summary {
  align-items: center;
}
.pool-detail-description .summary b {
  text-align: right;
  overflow-wrap: anywhere;
}
.pool-detail-description > p {
  margin-bottom: 0;
  line-height: 1.6;
}
.pool-detail-description .pool-detail-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff0ee;
  color: #a23b35;
  font-weight: 800;
  line-height: 1.4;
}
.pool-detail-games {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.pool-detail-games .games-title {
  flex: 0 0 auto;
  margin-top: 0;
}
.pool-detail-games .game-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding-right: 4px;
  scrollbar-gutter: stable;
}
.pool-detail-games .note {
  flex: 0 0 auto;
  margin-bottom: 0;
}
.prize-pool-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 16px;
  padding: 12px;
  border: 1px solid #cfe5d9;
  border-radius: 12px;
  background: #f2f8f5;
}
.prize-pool-summary > div {
  min-width: 0;
  padding: 2px 6px;
}
.prize-pool-summary span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}
.prize-pool-summary b {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: var(--dark);
  font-size: 13px;
}
.prize-simple-form {
  align-items: start;
}
.prize-proof-field {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafcfb;
}
.prize-proof-field a {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}
.prize-proof-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  background: #fff8df;
  color: #6f5414;
  font-size: 12px;
  line-height: 1.45;
}
.prize-proof-confirm input {
  margin-top: 2px;
  accent-color: var(--green);
}
.pool-form-modal > .summary {
  margin: 12px 0 16px;
  padding: 12px 15px;
}
.pool-form-modal form {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: 14px 20px;
}
.pool-form-modal form > .form {
  grid-column: 1;
  grid-row: 1 / 3;
}
.pool-form-modal .profit-calculator {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  padding: 15px;
}
.pool-form-modal .profit-calculator > p {
  margin: 7px 0 12px;
}
.pool-form-modal .profit-calculator-result {
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}
.pool-form-modal .profit-calculator-result > div {
  padding: 9px 11px;
}
.pool-form-modal .profit-calculator-result .btn {
  grid-column: auto;
}
.pool-form-modal .profit-calculator-note {
  margin-top: 8px;
}
.pool-form-modal .pool-receipt-field {
  grid-column: 2;
  grid-row: 2;
  gap: 6px;
  margin-top: 0;
  padding: 14px;
}
.pool-form-modal .pool-receipt-field p,
.pool-form-modal .pool-receipt-field small {
  line-height: 1.35;
}
.pool-form-modal textarea[name="plays"] {
  min-height: 100px;
}
.pool-form-modal .modalactions {
  grid-column: 1 / -1;
  margin-top: 0;
}
.modalhead {
  display: flex;
  justify-content: space-between;
}
.modal h2 {
  margin: 0;
  font: 800 24px Manrope;
}
.modal p {
  color: var(--muted);
}
.close {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}
.field.full {
  grid-column: 1/-1;
}
.field-quick-actions {
  display: flex;
  justify-content: flex-start;
}
.field-quick-actions .btn {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
}
.official-result-field {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.official-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}
.official-result-row .btn {
  min-width: 145px;
  padding-inline: 14px;
}
[data-official-result-status][data-state="success"] {
  color: var(--green);
  font-weight: 700;
}
[data-official-result-status][data-state="error"] {
  color: #a23b35;
  font-weight: 700;
}
[data-upcoming-lottery-status][data-state="success"] {
  color: var(--green);
  font-weight: 700;
}
[data-upcoming-lottery-status][data-state="error"] {
  color: #a23b35;
  font-weight: 700;
}
.field label {
  font-size: 12px;
  font-weight: 800;
}
.field input,
.field select {
  padding: 12px;
  border: 1px solid #d5dfd9;
  border-radius: 10px;
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.modalactions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}
.summary {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  padding: 17px;
  background: #eff6f2;
  border-radius: 12px;
}
.summary b {
  font-size: 20px;
}
#toast {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.25s;
}
#toast.show {
  opacity: 1;
  transform: none;
}
@media (max-width: 1500px) {
  .user-top {
    flex-wrap: wrap;
    height: auto;
    gap: 10px 16px;
    padding: 12px 14px 0;
  }
  .user-top nav {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }
}
@media (max-width: 900px) {
  .support-hub {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .adminhero-actions {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .adminhero-actions .btn {
    grid-column: span 2;
  }
  .adminhero-actions .btn:nth-child(n + 4) {
    grid-column: span 3;
  }
  .admin-user-stats {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
  .prize-stats {
    grid-template-columns: 1fr;
  }
  .prize-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .prize-compact-link {
    grid-column: 1 / -1;
  }
  .pool-form-modal form {
    grid-template-columns: 1fr;
  }
  .pool-form-modal form > .form,
  .pool-form-modal .profit-calculator,
  .pool-form-modal .pool-receipt-field,
  .pool-form-modal .modalactions {
    grid-column: 1;
    grid-row: auto;
  }
  .pool-form-modal .profit-calculator-result {
    grid-template-columns: repeat(3, 1fr);
  }
  .pool-detail-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    overflow: visible;
  }
  .modal.pool-detail-modal {
    display: block;
    height: auto;
    max-height: 90vh;
    overflow: auto;
  }
  .pool-detail-description {
    padding-right: 0;
    padding-bottom: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .participation-detail-modal .pool-detail-description {
    overflow: visible;
    scrollbar-gutter: auto;
  }
  .participation-modal-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .participation-header-meta {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .pool-detail-games .game-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }
  .pool-detail-games {
    overflow: visible;
  }
  nav {
    display: none;
  }
  .balls {
    opacity: 0.2;
  }
}
@media (max-width: 620px) {
  .modalbg {
    padding: 8px;
  }
  .modal.pool-detail-modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 16px;
    border-radius: 16px;
  }
  .participation-modal-head {
    gap: 12px;
  }
  .participation-modal-head h2 {
    font-size: 22px;
    line-height: 1.15;
  }
  .participation-modal-head p {
    margin: 6px 0 0;
    font-size: 13px;
  }
  .support-hub {
    padding: 12px;
  }
  .support-options {
    grid-template-columns: 1fr;
  }
  .participation-header-meta {
    grid-template-columns: 1fr;
  }
  .participation-header-card {
    min-height: 0;
    padding: 11px 12px;
  }
  .participation-header-card > b {
    font-size: 14px;
  }
  .participation-header-card .btn {
    padding: 8px 10px;
  }
  .participation-detail-modal .pool-detail-layout {
    gap: 16px;
    margin-top: 14px;
  }
  .participation-detail-modal .pool-detail-description {
    padding-bottom: 16px;
  }
  .participation-detail-modal .game-row {
    gap: 8px;
    padding: 10px;
  }
  .participation-detail-modal .hit-count {
    flex: 1 0 100%;
    margin-left: 0;
    text-align: right;
  }
  .participation-detail-modal .modalactions .btn {
    width: 100%;
  }
  .top {
    height: 66px;
    padding: 0 14px;
  }
  .user-top {
    height: auto;
    padding: 12px 14px 0;
  }
  .user-top nav .nav {
    padding-inline: 9px;
    font-size: 13px;
  }
  .user-top .balance {
    display: flex;
    min-width: 58px;
    min-height: 42px;
    padding: 5px 8px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 11px;
    background: #edf4ef;
    font-size: 9px;
    line-height: 1.15;
    text-align: center;
  }
  .user-top .balance b {
    font-size: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .switch {
    padding: 8px;
    font-size: 11px;
  }
  .user-switch {
    gap: 6px;
    padding: 5px 8px 5px 5px;
  }
  .hero-in {
    padding: 45px 18px;
  }
  .content {
    padding: 28px 14px 55px;
  }
  .grid,
  .stats,
  .form {
    grid-template-columns: 1fr;
  }
  .admin-user-stats {
    grid-template-columns: 1fr;
  }
  .adminhero-actions {
    grid-template-columns: 1fr;
  }
  .adminhero-actions .btn,
  .adminhero-actions .btn:nth-child(n + 4) {
    grid-column: auto;
    width: 100%;
  }
  .pool-cardtop {
    padding: 17px 20px 16px;
  }
  .pool-cardtop .prizelabel {
    margin-top: 14px;
  }
  .pool-card .cardbody {
    padding: 15px 18px 14px;
  }
  .pool-card-actions {
    padding-top: 14px;
  }
  .prize-pool-summary {
    grid-template-columns: 1fr 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .official-result-row {
    grid-template-columns: 1fr;
  }
  .official-result-row .btn {
    width: 100%;
  }
  .prizes-hero {
    padding: 40px 18px;
  }
  .prize-detail-grid {
    grid-template-columns: 1fr;
  }
  .prize-compact {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .prize-compact-link {
    grid-column: auto;
    width: 100%;
  }
  .prize-trust {
    align-items: flex-start;
    flex-direction: column;
  }
  .prize-trust i {
    display: none;
  }
  .profit-calculator-fields,
  .profit-calculator-result {
    grid-template-columns: 1fr;
  }
  .pool-form-modal .profit-calculator-result {
    grid-template-columns: 1fr;
  }
  .head {
    align-items: flex-start;
    flex-direction: column;
  }
  .adminhero .head {
    padding: 28px 18px;
  }
  .modal {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .modal.pdf-viewer-modal {
    height: calc(100vh - 12px);
    max-height: calc(100vh - 12px);
    padding: 13px;
    border-radius: 14px;
  }
  .pdf-viewer-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .pdf-viewer-toolbar > div,
  .pdf-viewer-toolbar .btn {
    width: 100%;
  }
  .pdf-viewer-toolbar .btn {
    justify-content: center;
  }
  .user-top .brand-name,
  .user-top .user-name {
    display: none;
  }
  .user-top .account {
    gap: 5px;
  }
}
.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: 7px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d53d37;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.purchase-prize {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f5f8f6;
}
.purchase-prize-slot {
  min-width: 0;
}

.purchase-prize span,
.purchase-prize small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.purchase-prize b {
  font:
    800 18px Manrope,
    sans-serif;
}

.purchase-prize.winner {
  border-color: #9fd7bd;
  background: #e5f6ed;
  color: #087e59;
}

.purchase-prize.pending {
  border-color: #ead59d;
  background: #fff8df;
  color: #80600f;
}

.purchase-prize.not-winner {
  color: #65736d;
}

.prize-wallet-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.prize-wallet-nav > .prize-wallet-balance-pill {
  padding: 3px 7px;
  border-radius: 999px;
  background: #e5f6ed;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}
.prize-wallet-modal {
  width: min(720px, calc(100vw - 28px));
}
.prize-wallet-summary {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  margin-bottom: 13px;
}
.prize-wallet-summary > div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f7faf8;
}
.prize-wallet-summary .prize-wallet-balance {
  border-color: #9fd7bd;
  background: linear-gradient(145deg, #e5f6ed, #f8fcfa);
}
.prize-wallet-summary span,
.prize-payout-destination span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.prize-wallet-summary b {
  color: var(--dark);
  font: 800 25px Manrope;
}
.prize-wallet-summary .prize-wallet-balance b {
  color: var(--green);
}
.prize-wallet-summary small,
.prize-payout-destination small {
  color: var(--muted);
  font-size: 11px;
}
.prize-wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.prize-wallet-actions .btn {
  width: 100%;
}
.prize-wallet-list {
  max-height: 250px;
  overflow-y: auto;
}
.prize-wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.prize-wallet-row > div {
  display: grid;
  gap: 4px;
}
.prize-wallet-row > div:last-child {
  justify-items: end;
  text-align: right;
}
.prize-wallet-row span:not(.status) {
  color: var(--muted);
  font-size: 11px;
}
.prize-wallet-rule {
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  background: #f2f6f3;
}
.prize-wallet-warning {
  padding: 17px;
  border: 1px solid #ead59d;
  border-radius: 13px;
  background: #fff8df;
  color: #80600f;
}
.prize-wallet-warning p {
  margin: 5px 0 0;
}
.prize-payout-destination {
  display: grid;
  gap: 4px;
  margin: 13px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f7faf8;
}
.prize-payout-destination b {
  color: var(--dark);
}
.prize-payment-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prize-payment-confirm input {
  width: auto;
  margin-top: 3px;
}
.prize-payment-confirm span {
  display: grid;
  gap: 3px;
}
.prize-payment-confirm small {
  color: var(--muted);
}
.prize-admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.prize-admin-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f2f6f3;
}
.prize-admin-summary span {
  color: var(--muted);
  font-size: 12px;
}
.prize-admin-summary b {
  color: var(--green);
  font: 800 22px Manrope;
}
.prize-admin-table {
  max-height: 390px;
  margin-bottom: 24px;
  overflow: auto;
}
.prize-admin-table table {
  min-width: 940px;
}
.prize-admin-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
}

@media (max-width: 620px) {
  .prize-wallet-summary,
  .prize-wallet-actions,
  .prize-admin-summary {
    grid-template-columns: 1fr;
  }
  .prize-wallet-row {
    align-items: flex-start;
  }
  .prize-wallet-row .status {
    max-width: 130px;
    text-align: center;
  }
}
.clovers {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.clovers small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.clover {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #e8f5ed;
  color: #087e59;
  font-size: 11px;
  font-weight: 800;
}
.clover.hit {
  background: #8fd3a9;
  color: #064e3b;
  box-shadow: 0 0 0 3px #2f9e64;
}
.lucky-month {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.lucky-month small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.lucky-month-value {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff2c7;
  color: #8a5b00;
  font-size: 11px;
  font-weight: 800;
}
.lucky-month-value.hit {
  background: #8fd3a9;
  color: #064e3b;
  box-shadow: 0 0 0 3px #2f9e64;
}
.lucky-month.missing .lucky-month-value {
  background: #fde8e6;
  color: #a23b35;
}
.lucky-month + .hit-count {
  margin-left: 0;
}
.game-row.dupla-sena-game {
  align-items: stretch;
}
.dupla-sena-game > strong {
  align-self: center;
}
.dupla-sena-draws {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 10px;
}
.dupla-sena-draw {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.dupla-sena-draw + .dupla-sena-draw {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.dupla-sena-draw-label {
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.dupla-sena-draw .hit-count {
  margin-left: 0;
}
@media (max-width: 620px) {
  .game-row {
    flex-wrap: wrap;
  }
  .game-row.dupla-sena-game {
    display: block;
  }
  .dupla-sena-game > strong {
    display: block;
    margin-bottom: 10px;
  }
  .dupla-sena-draw {
    grid-template-columns: 1fr auto;
  }
  .dupla-sena-draw .numbers {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .clovers,
  .lucky-month {
    width: 100%;
    margin-left: 67px;
  }
}
@media (max-width: 1050px) {
  .admin-sales-goal-layout {
    grid-template-columns: 1fr;
  }
  .admin-sales-goal-form > .btn {
    margin-top: 16px;
  }
}
@media (max-width: 700px) {
  .admin-sales-goal-head,
  .admin-sales-progress-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-sales-progress-head > div:last-child {
    text-align: left;
  }
  .admin-sales-live-metrics,
  .admin-sales-plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-pending-modal .admin-pending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 460px) {
  .admin-sales-goal-fields,
  .admin-sales-live-metrics,
  .admin-sales-plan,
  .admin-pending-modal .admin-pending-grid {
    grid-template-columns: 1fr;
  }
  .admin-sales-goal-fields label:first-child,
  .admin-sales-goal-fields label:nth-child(3) {
    grid-column: auto;
  }
}
