.dcla-app {
  --dcla-red: var(--dcla-accent, #c71921);
  --dcla-ink: #15171a;
  --dcla-muted: #667085;
  --dcla-line: #e6e8ec;
  --dcla-soft: #f6f7f9;
  box-sizing: border-box;
  background: var(--dcla-page-bg, #ffffff);
  color: var(--dcla-ink);
  font-family: Arial, Helvetica, sans-serif;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 48px;
  width: 100%;
}
.dcla-app * {
  box-sizing: border-box;
}
/*
 * Newspaper reserves an eight-column content area plus an empty four-column
 * sidebar on regular pages. Only lottery pages receive dcla-lottery-page, so
 * the plugin can use the complete theme container without changing articles.
 */
body.dcla-lottery-page .td-main-content-wrap .td-pb-span8.td-main-content {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}
body.dcla-lottery-page .td-main-content-wrap .td-pb-span4.td-main-sidebar {
  display: none !important;
}
.dcla-hide-theme-title .td-page-title,
.dcla-hide-theme-title h1.page-title {
  display: none !important;
}
.dcla-hero {
  background: var(--dcla-hero-bg, #ffffff);
  border: 1px solid var(--dcla-line);
  border-left: 6px solid var(--dcla-accent, #c71921);
  border-radius: 12px;
  color: var(--dcla-hero-text, #15171a);
  margin: 22px 0 0;
  overflow: hidden;
  padding: 38px 44px;
  position: relative;
}
.dcla-hero:after {
  display: none;
}
.dcla-eyebrow,
.dcla-game-hero p {
  color: var(--dcla-accent, #c71921);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.dcla-hero .dcla-main-title {
  color: var(--dcla-hero-text, #15171a);
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 13px;
}
.dcla-hero > p:last-child {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 680px;
}
.dcla-status {
  align-items: center;
  background: #fff;
  border: 1px solid var(--dcla-line);
  border-radius: 0 0 12px 12px;
  display: flex;
  gap: 9px;
  margin: 0 18px;
  padding: 12px 18px;
}
.dcla-status span:not(.dcla-live-dot) {
  font-size: 13px;
  font-weight: 700;
}
.dcla-status small {
  color: var(--dcla-muted);
  margin-left: auto;
}
.dcla-live-dot {
  animation: dcla-pulse 1.8s infinite;
  background: #16a34a;
  border-radius: 100%;
  height: 8px;
  width: 8px;
}
@keyframes dcla-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.28);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0);
  }
}
.dcla-section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 42px 0 18px;
}
.dcla-section-heading span {
  color: var(--dcla-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dcla-section-heading h2 {
  font-size: 28px;
  margin: 4px 0 0;
}
.dcla-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dcla-card {
  background: #fff;
  border: 1px solid var(--dcla-line);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.045);
  display: flex;
  flex-direction: column;
  min-height: 315px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}
.dcla-card:before {
  background: var(--dcla-game-color);
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.dcla-card-top {
  align-items: center;
  display: flex;
  gap: 11px;
}
.dcla-game-mark {
  background: var(--dcla-game-color);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.23);
  display: block;
  flex: 0 0 34px;
  height: 34px;
}
.dcla-card h3 {
  font-size: 20px;
  margin: 0;
}
.dcla-card-top p {
  color: var(--dcla-muted);
  font-size: 12px;
  margin: 4px 0 0;
}
.dcla-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 22px 0 16px;
}
.dcla-balls span {
  align-items: center;
  background: var(--dcla-game-color);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 5px;
}
.dcla-balls--large {
  gap: 12px;
  margin: 20px 0;
}
.dcla-balls--large span {
  font-size: 19px;
  height: 52px;
  min-width: 52px;
}
.dcla-card-status {
  color: #18794e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.dcla-card-status.is-accumulated {
  color: #b42318;
}
.dcla-prize {
  margin: 14px 0 20px;
}
.dcla-prize small,
.dcla-next small {
  color: var(--dcla-muted);
  display: block;
  font-size: 11px;
  margin-bottom: 3px;
}
.dcla-prize strong {
  font-size: 21px;
}
.dcla-card-link {
  border-top: 1px solid var(--dcla-line);
  color: var(--dcla-game-color);
  font-size: 13px;
  font-weight: 800;
  margin-top: auto;
  padding-top: 15px;
  text-decoration: none;
}
.dcla-card-link span {
  float: right;
  font-size: 18px;
}
.dcla-disclaimer {
  background: #f7f7f8;
  border-left: 4px solid #8b8f97;
  border-radius: 7px;
  margin-top: 34px;
  padding: 17px 20px;
}
.dcla-disclaimer strong {
  font-size: 13px;
}
.dcla-disclaimer p {
  color: #555;
  font-size: 12px;
  line-height: 1.5;
  margin: 5px 0 0;
}
.dcla-empty {
  background: var(--dcla-soft);
  border: 1px dashed #c7cbd1;
  border-radius: 12px;
  grid-column: 1/-1;
  padding: 38px;
  text-align: center;
}
.dcla-empty p {
  color: var(--dcla-muted);
  margin: 8px 0 0;
}
.dcla-breadcrumb {
  align-items: center;
  color: var(--dcla-muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: 24px 0;
}
.dcla-breadcrumb a {
  color: var(--dcla-red);
  font-weight: 700;
  text-decoration: none;
}
.dcla-game-hero {
  align-items: center;
  background: var(--dcla-hero-bg, #ffffff);
  border: 1px solid var(--dcla-line);
  border-left: 6px solid var(--dcla-accent, #c71921);
  border-radius: 14px;
  color: var(--dcla-hero-text, #15171a);
  display: flex;
  gap: 16px;
  padding: 26px 30px;
}
.dcla-game-hero .dcla-game-mark {
  flex-basis: 50px;
  height: 50px;
}
.dcla-game-hero p {
  color: var(--dcla-game-color);
  margin: 0;
}
.dcla-game-hero .dcla-main-title {
  color: var(--dcla-hero-text, #15171a);
  font-size: 34px;
  margin: 3px 0 0;
}
.dcla-search {
  background: var(--dcla-soft);
  border-radius: 11px;
  margin: 20px 0;
  padding: 17px 20px;
}
.dcla-search label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}
.dcla-search > div {
  display: flex;
  gap: 8px;
}
.dcla-search input {
  background: #fff;
  border: 1px solid #cfd3d9;
  border-radius: 7px;
  font-size: 15px;
  max-width: 320px;
  padding: 11px 13px;
  width: 100%;
}
.dcla-search button {
  background: var(--dcla-game-color);
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 10px 22px;
}
.dcla-result-detail {
  background: #fff;
  border: 1px solid var(--dcla-line);
  border-radius: 14px;
  overflow: hidden;
}
.dcla-result-head {
  background: var(--dcla-game-color);
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}
.dcla-result-head > div {
  background: rgba(0, 0, 0, 0.06);
  padding: 20px 24px;
}
.dcla-result-head span {
  display: block;
  font-size: 11px;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.dcla-result-head strong {
  font-size: 18px;
}
.dcla-drawn,
.dcla-rateio,
.dcla-next,
.dcla-result-detail > p {
  padding: 8px 28px;
}
.dcla-drawn {
  padding-top: 25px;
}
.dcla-drawn h2,
.dcla-rateio h2,
.dcla-next h2 {
  font-size: 22px;
  margin: 0;
}
.dcla-table-wrap {
  overflow-x: auto;
}
.dcla-rateio table {
  border-collapse: collapse;
  margin: 16px 0;
  width: 100%;
}
.dcla-rateio th,
.dcla-rateio td {
  border-bottom: 1px solid var(--dcla-line);
  padding: 13px 10px;
  text-align: left;
}
.dcla-rateio th {
  background: var(--dcla-soft);
  font-size: 12px;
  text-transform: uppercase;
}
.dcla-next {
  background: var(--dcla-soft);
  margin-top: 22px;
  padding-bottom: 28px;
  padding-top: 24px;
}
.dcla-next > div {
  display: flex;
  gap: 50px;
}
.dcla-next p {
  margin: 15px 0 0;
}
.dcla-next strong {
  font-size: 18px;
}
.dcla-history {
  margin-top: 32px;
}
.dcla-history h2 {
  font-size: 24px;
}
.dcla-history-list {
  border: 1px solid var(--dcla-line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}
.dcla-history-list a {
  align-items: center;
  border-bottom: 1px solid var(--dcla-line);
  color: var(--dcla-ink);
  display: flex;
  justify-content: space-between;
  padding: 14px 17px;
  text-decoration: none;
}
.dcla-history-list a:nth-child(odd) {
  border-right: 1px solid var(--dcla-line);
}
.dcla-history-list a:hover {
  background: var(--dcla-soft);
}
.dcla-history-list small {
  color: var(--dcla-muted);
}
.dcla-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.dcla-pagination a,
.dcla-pagination .is-current,
.dcla-pagination-gap {
  align-items: center;
  border: 1px solid var(--dcla-line);
  border-radius: 7px;
  display: inline-flex;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 8px 12px;
  text-decoration: none;
}
.dcla-pagination a {
  background: #fff;
  color: var(--dcla-ink);
}
.dcla-pagination a:hover,
.dcla-pagination .is-current {
  background: var(--dcla-game-color);
  border-color: var(--dcla-game-color);
  color: #fff;
}
.dcla-back-button {
  align-items: center;
  border: 1px solid var(--dcla-line);
  border-radius: 9px;
  color: var(--dcla-ink);
  display: inline-flex;
  font-weight: 700;
  margin: 30px 0 0;
  padding: 12px 17px;
  text-decoration: none;
}
.dcla-back-button:hover {
  border-color: var(--dcla-game-color);
  color: var(--dcla-game-color);
}
.dcla-notice {
  border-radius: 8px;
  margin: 20px 0;
  padding: 18px;
}
.dcla-notice--error {
  background: #fff1f0;
  border: 1px solid #f7b9b5;
  color: #9f1c16;
}
.dcla-processing {
  color: var(--dcla-muted);
  font-size: 13px;
  margin: 24px 0;
}
.dcla-app button,
.dcla-app input {
  font: inherit;
}
.dcla-card[data-game="federal"] .dcla-balls span {
  border-radius: 18px;
  min-width: 70px;
}
.dcla-game[data-dcla-game="federal"] .dcla-balls span {
  border-radius: 24px;
  min-width: 92px;
}
@media (max-width: 980px) {
  .dcla-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .dcla-app {
    padding: 0 12px 34px;
  }
  .dcla-hero {
    border-radius: 12px;
    padding: 33px 25px;
  }
  .dcla-hero .dcla-main-title {
    font-size: 34px;
  }
  .dcla-status {
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 8px;
  }
  .dcla-status small {
    flex-basis: 100%;
    margin-left: 17px;
  }
  .dcla-grid {
    grid-template-columns: 1fr;
  }
  .dcla-section-heading h2 {
    font-size: 24px;
  }
  .dcla-card {
    min-height: 0;
  }
  .dcla-result-head {
    grid-template-columns: 1fr;
  }
  .dcla-result-head > div {
    padding: 13px 20px;
  }
  .dcla-balls--large span {
    font-size: 16px;
    height: 44px;
    min-width: 44px;
  }
  .dcla-drawn,
  .dcla-rateio,
  .dcla-next,
  .dcla-result-detail > p {
    padding-left: 18px;
    padding-right: 18px;
  }
  .dcla-next > div {
    display: block;
  }
  .dcla-history-list {
    grid-template-columns: 1fr;
  }
  .dcla-history-list a:nth-child(odd) {
    border-right: 0;
  }
  .dcla-search > div {
    align-items: stretch;
    flex-direction: column;
  }
  .dcla-search input {
    max-width: none;
  }
  .dcla-game-hero .dcla-main-title {
    font-size: 29px;
  }
}
