/* Public site stylesheet — visual match to a7satta.com
   Palette: black + gold (#ffd800), white paper, Helvetica
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700&display=swap");

:root {
  --gold: #ffd800;
  --gold-deep: #ffe400;
  --gold-soft: #fff3cd;
  --ink: #000;
  --ink-2: #212529;
  --paper: #fff;
  --muted: #333;
  --line: #000;
  --rose: #f7c9c9;
  --slate: #d5dde2;
  --leaf: #c5e8bf;
  --danger: #c41616;
  --radius: 5px;
  --shadow: 2px 2px hsla(0, 0%, 100%, 0.9);
  --max: 100rem;
  --font: Helvetica, "Helvetica Neue", Arial, "Noto Sans Devanagari", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.container-fluid {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
.col-md-12,
.col-md-4,
.col-md-2,
.col-sm-12,
.col-sm-10,
.col-sm-6 {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}
@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; }
  .col-md-2 { width: 16.666%; }
}
.text-center { text-align: center; }
.table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}
.table-bordered {
  border: 1px solid #ddd;
}
.table-striped tbody tr:nth-child(odd) {
  background: #f9f9f9;
}
.table-hover tbody tr:hover {
  background: #fff3a0;
}
.table-responsive {
  overflow-x: auto;
  width: 100%;
}
.img-responsive {
  max-width: 100%;
  height: auto;
}
.form-control {
  display: block;
  width: 100%;
  padding: 8px 10px;
  font-size: 16px;
  line-height: 1.4;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.btn,
.btn-primary {
  display: inline-block;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: #111;
  color: #ffd800;
  cursor: pointer;
  text-decoration: none;
}
.u-no-pad {
  padding-left: 0;
  padding-right: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #212529;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.42857143;
  overflow-x: hidden;
  max-width: 100rem;
  margin-left: auto;
  margin-right: auto;
  vertical-align: inherit;
}

.site-main {
  padding-bottom: 24px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #023378;
}

a:hover {
  color: #000;
}

/* ---------- Header / nav ---------- */
.site-header {
  background: #000;
  padding: 30px 0 20px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.site-nav li {
  float: none;
  width: 25%;
  padding: 0 30px;
  box-sizing: border-box;
}

.site-nav a {
  display: block;
  padding: 12px 30px;
  text-align: center;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  border: 1px solid #000;
  box-shadow: 2px 2px hsla(0, 0%, 100%, 0.9);
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav a.active {
  background: #fff;
  color: #000;
  text-decoration: none;
  box-shadow: 2px 2px rgba(255, 216, 100, 0.9);
}

.site-nav__greet {
  background: #fff !important;
  cursor: default;
}

.site-nav li.lang-switch-item {
  width: 100%;
  padding: 10px 8px 0;
}

.lang-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.site-nav a.lang-switch__btn {
  display: inline-block;
  min-width: 120px;
  padding: 8px 16px;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  background: #000;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 30px;
}

.site-nav a.lang-switch__btn.is-active,
.site-nav a.lang-switch__btn:hover {
  background: var(--gold);
  color: #000;
}

/* ---------- Ticker + brand ---------- */
.ticker {
  margin-top: 8px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.ticker marquee,
.ticker .scrolling-text {
  color: #fff !important;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.site-brand {
  background: var(--gold);
  padding: 24px 0;
  border-bottom: 0;
}

.site-brand h1,
.site-brand p,
.site-brand__heading {
  margin: 0;
  padding: 0;
}

.site-brand__logo {
  display: inline-block;
  vertical-align: middle;
  width: 48px;
  height: 48px;
  margin-right: 8px;
  object-fit: contain;
}

.brand-title {
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 27px;
  text-decoration: none;
  letter-spacing: 0;
  animation: blinker 0.6s ease-in-out 5s infinite alternate;
}

.brand-title:hover {
  color: #000;
  text-decoration: none;
}

@keyframes blinker {
  0% { opacity: 1; }
  100% { opacity: 0.25; }
}

/* ---------- Live results board ---------- */
.live-board {
  background: #000;
  border: 1px solid #000;
  padding: 25px 0;
}

.live-board__panel {
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.live-board__clock #clockbox,
#clockbox {
  color: transparent;
  text-shadow: 0 0 8px var(--gold);
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 24px;
  min-height: 2rem;
  text-align: center;
  user-select: none;
}

.live-board__tagline {
  color: #fff;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
  line-height: 2rem;
}

.live-board__game p {
  font-family: var(--font);
  font-size: 33px;
  margin: 10px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}

.live-board--now {
  border: 0;
  padding: 0 0 20px;
  min-width: 3rem;
}

.live-board__result {
  padding: 1rem 0;
}

.live-board__result span {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 39px;
  text-align: center;
  letter-spacing: 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  min-width: 0;
  padding: 0;
}

.live-board__result img {
  height: 48px;
}

/* ---------- Featured result ---------- */
.featured-result {
  background: var(--gold);
  padding: 20px 12px 2px;
  border-top: 0;
  text-align: center;
}

.featured-result p {
  margin: 8px 0;
  color: #000;
  font-weight: 400;
  font-size: 18px;
}

.featured-result__name {
  display: block;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  margin: 0;
  padding: 0 0 15px;
}

.featured-result__nums {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.featured-result__nums img {
  height: 30px;
  width: 30px;
  vertical-align: middle;
  margin: 0 5px;
}

.game-link {
  color: #000;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}

.game-link:hover {
  text-decoration: none;
  color: #000;
}

.wait-badge {
  display: inline-block;
  vertical-align: middle;
}

.wait-badge img {
  height: 36px;
  width: auto;
}

/* ---------- Notices / promo cards ---------- */
.notice,
.promo-card,
.promo-block {
  max-width: 100%;
  margin: 0.5rem auto;
  padding: 1.25rem;
  background: var(--gold);
  border: 1px dashed red;
  border-radius: 20px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: none;
}

.notice p,
.promo-card p,
.promo-block p {
  margin: 0.4rem 0;
}

.notice a,
.promo-card a,
.promo-block a {
  color: #023378;
}

.notice h2,
.notice h3,
.promo-card h2,
.promo-block h2 {
  font-size: 0.9rem;
  font-weight: 700;
}

.notice__img,
.promo-card img,
.promo-block img {
  height: auto;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.promo {
  padding: 18px 12px;
}

.promo-card__body {
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Result tables ---------- */
.result-table,
.month-chart,
.year-chart {
  margin: 0;
  width: 100%;
}

.result-table .container-fluid,
.month-chart .container-fluid,
.year-chart .container-fluid,
.result-table .row,
.month-chart .row,
.year-chart .row,
.result-table .row > [class*="col-"],
.month-chart .row > [class*="col-"],
.year-chart .row > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.result-table .table-responsive,
.month-chart .table-responsive,
.year-chart .table-responsive {
  margin: 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.result-table .table {
  margin-bottom: 0;
  table-layout: fixed;
  width: 100%;
}

.result-table .table td,
.result-table .table th {
  font-weight: 700;
  font-size: 22px;
  color: #000;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #dee2e6 !important;
  padding: 8px;
  word-break: break-word;
  letter-spacing: 2px;
}

.result-table__head,
.result-table .result-table__head th {
  background: #000 !important;
  color: #fff !important;
}

.result-table__game {
  background: var(--gold) !important;
  color: #000 !important;
  font-size: 15px !important;
  vertical-align: middle;
}

.result-table .table-striped tbody tr:nth-child(odd) {
  background: #fff;
}

.result-table .table-hover tbody tr:hover {
  background: #fff;
}

.result-table .game-link {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
}

.result-table .result-table__game,
.result-table .result-table__game .game-link {
  letter-spacing: 0;
}

.u-no-pad {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- Section headings ---------- */
.section-heading {
  padding: 20px 0;
  color: #000;
  text-align: center;
  border-top: 2px solid #000;
  border-bottom: 1px solid #000;
  background: #ff9000;
  background: linear-gradient(180deg, #ff9000, #ffe400);
}

.section-heading h1,
.section-heading h2,
.section-heading h3,
.section-heading h5 {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000;
}

/* ---------- Chart filter ---------- */
.chart-filter,
.chart-filter form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 50%;
  margin: auto;
  padding: 0.8rem 0;
}

.chart-filter label {
  font-weight: 700;
  margin: 0 4px 0 0;
}

.chart-filter__select {
  text-transform: uppercase;
  padding: 0.8rem;
  outline: none;
  border: 2px solid var(--gold);
  border-radius: 5px;
  font-weight: 700;
  background: #fff;
  width: 100%;
  flex: 1 1 180px;
}

.chart-filter__btn {
  padding: 12px 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
}

.chart-filter__btn:hover {
  background: var(--gold);
  color: #000;
}

/* ---------- Month / year charts ---------- */
.month-chart .table {
  margin: 0;
  width: max-content;
  min-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

.month-chart td {
  border: 1px solid #333 !important;
  padding: 4px 6px;
  text-align: center;
  vertical-align: middle;
  width: min-content;
}

.month-chart__head,
.month-chart__date-col {
  background: var(--gold) !important;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  min-width: 72px;
  white-space: nowrap;
}

.month-chart__label {
  font-weight: 700;
  letter-spacing: 0;
}

.month-chart__game {
  background: var(--gold) !important;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  white-space: normal;
  width: min-content;
  min-width: 0;
  padding: 8px 4px;
  line-height: 1.15;
  letter-spacing: 0;
}

.month-chart__game-name {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  word-break: keep-all;
}

.month-chart__value {
  display: block;
  text-align: center;
  font-weight: 600;
  color: #000;
  letter-spacing: 2px;
}

.month-chart__cell--rose,
.month-chart__cell--slate,
.month-chart__cell--green {
  background-color: #fff;
}

.month-chart__day {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  text-align: center;
}

.year-chart__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.year-chart__table {
  margin: 0;
  width: 100%;
  min-width: 640px;
  table-layout: fixed;
  text-align: center;
  cursor: default;
  border-collapse: collapse;
}

.year-chart__table thead th {
  background: var(--gold) !important;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 8px 2px;
  text-transform: uppercase;
  border: 1px solid #000 !important;
  letter-spacing: 0;
}

.year-chart__table td {
  border: 1px solid #ccc !important;
  padding: 5px 2px;
  font-size: 17px;
  font-weight: 700;
  color: #00f;
  text-align: center;
  background: #fff;
  min-width: 0;
}

.year-chart__day {
  color: #00f;
  font-weight: 700;
  background: #fff !important;
}

.year-chart__num {
  color: #00f;
}

.year-chart__table tbody tr:hover td {
  background: #fff3a0;
}

.year-chart__index {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
}

.year-chart__index td {
  border: 1px solid #333 !important;
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}

.year-chart__game {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  white-space: normal;
  width: min-content;
  min-width: 110px;
  line-height: 1.15;
}

.year-chart__year-cell {
  background: #fff;
}

.year-chart__year-cell a {
  color: #000;
  font-weight: 700;
}

.featured-result a,
.featured-result .game-link {
  color: #000;
  text-decoration: none;
  font-weight: 400;
}

.site-disclaimer,
.site-disclaimer p,
.site-disclaimer li,
.site-disclaimer span,
.site-disclaimer strong {
  color: var(--gold);
}

.site-disclaimer a {
  color: #fff;
}

.year-chart a,
.month-chart a {
  color: #000;
  display: block;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.year-chart__game a .month-chart__game-name {
  color: #000;
}

.pills-for-chart {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  padding: 10px;
}

.single-pill {
  background: var(--gold);
  border-radius: 5px;
  color: #000;
  font-weight: 500;
  padding: 10px 8px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}

.single-pill:hover {
  background: #000;
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 768px) {
  .pills-for-chart {
    grid-template-columns: 1fr;
  }
}

/* ---------- Info / FAQ copy ---------- */
.info-block {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.8;
  margin: 1rem 0;
  overflow: visible;
  padding: 0 12px;
}

.info-block h2,
.info-block h3,
.info-block h5 {
  font-size: 1.25rem;
  color: #000;
  margin: 1rem 0;
  font-weight: 700;
  background: transparent;
  padding: 0;
  text-align: center;
}

.info-block p {
  font-size: 16px;
  color: #000;
  padding: 0;
  font-weight: 400;
}

.site-page-content {
  padding: 18px 10px 22px;
}

.site-page-content__title {
  font-family: var(--font);
  text-transform: none;
  text-align: center;
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #000;
}

.site-page-content__body {
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px 8px;
  line-height: 1.7;
  color: #111;
}

.site-page-content__body p {
  margin: 0 0 0.8em;
}

.site-page-content__body h3 {
  margin: 0.4em 0 0.4em;
  font-size: 1.05rem;
  color: #111;
}

.site-page-content__body ul {
  margin: 0 0 1em 1.2em;
  padding: 0;
}

.site-page-content__body li {
  margin: 0 0 0.35em;
}

.site-page-content--before_footer .site-page-content__body {
  background: #111;
  color: #fff;
  border-color: var(--gold);
}

.site-page-content--before_footer .site-page-content__title {
  color: #111;
}

.site-page-content--before_footer .site-page-content__body h3 {
  color: var(--gold);
}

.site-page-content--before_footer .site-page-content__body a {
  color: var(--gold);
}

.is-centered {
  text-align: center;
}

/* ---------- Blog ---------- */
.blog-list {
  max-width: 90rem;
  margin: 0 auto;
  padding: 1.5rem;
  background: #080a0e;
  color: #1f2937;
}

.blog-list__title {
  text-align: center;
  margin-bottom: 24px;
}

.blog-kicker {
  background: #000;
  color: #fff;
  font-weight: 700;
  margin: 0;
  padding: 40px 0 20px;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.blog-list__title h2 {
  display: none;
}

.blog-list__title p {
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--gold);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
  width: 100%;
  transition: none;
}

.card:hover {
  transform: none;
}

.card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  background: #6b7280;
  border-radius: 0.25rem;
}

.card__body {
  padding: 1.5rem;
}

.card__meta {
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1rem;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 2rem;
  color: #000;
}

.btn-read {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: #000;
  color: var(--gold);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
}

.btn-read:hover {
  background: #000;
  color: #fff;
  text-decoration: underline;
}

.blog-list__more {
  text-align: center;
  margin: 8px 0 0;
}

.blog-hero {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin: 0 0 1rem;
}

.blog-list.content-page {
  max-width: 52rem;
  background: #111;
  color: #e5e7eb;
}

.blog-list.content-page .card__meta {
  color: #9ca3af;
}

.blog-list.content-page .info-block {
  background: transparent;
  color: #e5e7eb;
}

.blog-list.content-page .info-block h2,
.blog-list.content-page .info-block h3 {
  color: var(--gold);
  text-align: left;
}

.blog-list.content-page .info-block p,
.blog-list.content-page .info-block li {
  color: #e5e7eb;
}

.blog-list.content-page .info-block a {
  color: var(--gold);
}

/* ---------- Forms ---------- */
.form-page {
  padding: 36px 12px 48px;
}

.form-page__title {
  font-weight: 700;
  color: #000;
  font-size: 2rem;
  text-align: center;
  margin: 0 0 12px;
  font-family: var(--font);
}

.form-page__subtitle {
  font-weight: 700;
  color: #111;
  font-size: 1.2rem;
  text-align: center;
}

.form-field {
  position: relative;
  margin-bottom: 12px;
}

.form-field i {
  position: absolute;
  top: 10px;
  left: 10px;
}

.account-form .form-field i {
  top: 34px;
}

.form-field .form-control {
  padding-left: 34px;
  margin-bottom: 12px;
  border: 2px solid #111;
  height: 44px;
  border-radius: 8px;
}

.form-submit,
.btn-action {
  display: inline-block;
  background: var(--gold);
  color: #111 !important;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid #111;
  border-radius: 8px;
  padding: 10px 28px;
  text-decoration: none;
  line-height: 1.4;
}

.form-submit:hover,
.btn-action:hover {
  background: #111;
  color: var(--gold) !important;
  text-decoration: none;
}

.form-alert {
  text-align: center;
  font-weight: 800;
  color: #2e7d32;
  font-size: 1.15rem;
}

.form-hint {
  display: block;
  font-weight: 700;
  color: #111;
  font-size: 14px;
  margin: 12px;
}

.contact-number {
  color: #111;
  font-weight: 800;
  font-size: 1.4rem;
  margin: 10px;
}

.content-page {
  max-width: 800px;
  margin: 24px auto;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-page h1 {
  color: #000;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}

.content-page > p img,
.content-page img {
  width: 100%;
  height: auto;
  display: block;
  background: #080a0e;
}

.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111;
}

.account-form .form-field label + .form-control,
.account-form .form-field label + select,
.account-form .form-field label + input {
  margin-top: 0;
}

.form-page__links {
  margin-top: 12px;
  font-weight: 700;
}

.form-page__links a {
  color: #111;
  text-decoration: underline;
}

.account-panel {
  padding: 20px 12px 28px;
}

.account-table {
  background: #fff;
}

.account-link {
  display: inline-block;
  margin: 0 6px;
  font-weight: 800;
  color: #111;
  text-decoration: underline;
}

.account-link--danger {
  color: #b42318;
}

.account-settings .form-page__title {
  font-size: 1.4rem;
}

.result-update {
  padding-top: 20px;
}

.result-update__form {
  max-width: 520px;
  margin: 0 auto;
  background: #111;
  color: #fff;
  padding: 18px 16px 20px;
  border: 2px solid var(--gold);
  border-radius: 14px;
}

.result-update__date .form-control {
  padding-left: 12px;
}

.result-update__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 16px;
}

.result-update__row {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 10px;
  align-items: center;
  background: #1c1c1c;
  border: 1px solid #444;
  border-radius: 10px;
  padding: 10px 12px;
}

.result-update__name strong {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
}

.result-update__name span {
  font-size: 12px;
  color: #ccc;
}

.result-update__form .result-update__num {
  padding-left: 8px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  height: 48px;
  margin: 0;
}

.account-settings-box {
  max-width: 900px;
  margin: 0 auto 24px;
  background: #fff;
  border: 2px solid #111;
  border-radius: 12px;
  padding: 8px 14px 14px;
}

.account-settings-box summary {
  cursor: pointer;
  font-weight: 800;
  padding: 10px 4px;
  list-style: none;
}

.account-settings-box summary::-webkit-details-marker {
  display: none;
}

/* ---------- Footer ---------- */
.site-legal {
  background: #000;
  padding: 2rem 0.5rem;
  text-align: center;
  overflow: hidden;
}

.site-legal a,
.yellow-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  margin: 0 1.5rem;
}

.site-legal a:hover,
.yellow-link:hover {
  color: #fff;
  text-decoration: none;
}

.site-copyright {
  padding: 10px 0;
  background: var(--gold);
  text-align: center;
  font-weight: 700;
  color: #000;
}

.site-copyright strong,
.site-copyright {
  color: #000;
  display: block;
  font-weight: 700;
  text-align: center;
}

.site-disclaimer {
  padding: 2rem 0.5rem;
  background: #000;
  color: var(--gold);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.site-copyright a {
  color: inherit;
  text-decoration: underline;
}

.site-footer-nav {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  background: #000;
}

.site-footer-nav td {
  padding: 12px 20px;
  background: #000;
  border: 0;
  font-weight: 700;
}

.site-footer-nav a {
  color: var(--gold);
  text-decoration: none;
  text-transform: none;
  display: block;
  font-weight: 700;
}

.site-footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.refresh-fab {
  position: fixed;
  bottom: 20px;
  right: -4px;
  left: auto;
  z-index: 9;
  width: 130px;
  height: 50px;
}

.refresh-fab img {
  width: 100%;
  height: auto;
}

/* ---------- Misc ---------- */
.float-ad {
  width: 105px;
  background: #0f5a20;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  text-decoration: none !important;
}

.float-ad__strip {
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 0;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.clearfix {
  padding-bottom: 10px;
}

/* ---------- Responsive ---------- */
@media only screen and (max-width: 991px) {
  .site-nav li {
    padding: 0 2px;
  }
  .site-nav a {
    box-shadow: none;
    font-size: 0.7rem;
    padding: 8px;
    text-decoration: none;
  }
  .result-table__game {
    font-size: 15px !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .result-table .container-fluid,
  .month-chart .container-fluid,
  .year-chart .container-fluid {
    padding-left: 0;
    padding-right: 0;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .col-md-12,
  .col-md-4,
  .col-md-2,
  .col-sm-12,
  .col-sm-10,
  .col-sm-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .site-header {
    padding: 20px 4px 12px;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
  }

  .site-nav li {
    width: 25%;
    padding: 0 2px;
    max-width: none;
    min-width: 0;
  }

  .site-nav li.lang-switch-item {
    width: 100%;
  }

  .site-nav a.lang-switch__btn {
    font-size: 13px;
    min-width: 0;
    flex: 1 1 40%;
  }

  .site-nav a {
    padding: 8px 4px;
    font-size: 0.7rem;
    letter-spacing: 0;
    box-shadow: none;
    border: none;
    border-radius: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-brand {
    padding: 24px 8px;
  }

  .brand-title {
    font-size: 1.65rem;
  }

  .site-brand__logo {
    width: 36px;
    height: 36px;
  }

  .live-board {
    padding: 25px 0;
  }

  .live-board__tagline {
    padding: 0 6px;
    font-size: 16px;
    font-weight: 400;
    line-height: 2rem;
  }

  .live-board__game p {
    font-size: 28px;
  }

  .live-board__result span {
    font-size: 32px;
    letter-spacing: 4px;
  }

  .result-table__game,
  .result-table .table td,
  .result-table .table th {
    font-size: 15px;
    padding: 8px 3px;
    line-height: 1.3;
  }

  .result-table .game-link {
    display: block;
    font-size: 13px;
  }

  .table-responsive {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .month-chart .table,
  .year-chart .table {
    font-size: 12px;
  }

  .month-chart td {
    padding: 4px 3px;
  }

  .month-chart__head,
  .month-chart__date-col {
    min-width: 52px;
    position: sticky;
    left: 0;
    z-index: 1;
    white-space: nowrap;
  }

  .month-chart__game {
    white-space: normal;
    width: min-content;
    min-width: 0;
    font-size: 11px;
    line-height: 1.1;
    padding: 6px 2px;
  }

  .month-chart__game-name {
    font-size: 11px;
    line-height: 1.1;
  }

  .month-chart__value,
  .month-chart__label {
    white-space: nowrap;
  }

  .year-chart__table {
    min-width: 560px;
  }

  .year-chart__table td {
    padding: 4px 1px;
    font-size: 14px;
    white-space: nowrap;
  }

  .year-chart__table thead th {
    font-size: 11px;
    padding: 6px 1px;
  }

  .year-chart__game {
    position: sticky;
    left: 0;
    z-index: 1;
    white-space: normal;
    min-width: 92px;
    max-width: 120px;
    font-size: 12px;
    line-height: 1.25;
  }

  .chart-filter,
  .chart-filter form {
    width: 96%;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 12px;
  }

  .chart-filter__select {
    font-weight: 400;
    padding: 0.2rem;
  }

  .chart-filter__select--year {
    width: 40%;
    flex: 0 0 40%;
  }

  .chart-filter__btn {
    padding: 4px 10px;
    font-weight: 700;
  }

  .section-heading {
    padding: 10px 8px;
  }

  .section-heading h1,
  .section-heading h2,
  .section-heading h3,
  .section-heading h5 {
    font-size: 15px;
    letter-spacing: 0;
    line-height: 1.3;
  }

  .info-block {
    margin: 10px 0 18px;
    border-radius: 0;
  }

  .info-block h2,
  .info-block h3,
  .info-block h5 {
    font-size: 1.05rem;
    padding: 0;
    background: transparent;
  }

  .info-block p {
    font-size: 15px;
    padding: 0;
  }

  .notice,
  .promo-block,
  .promo-card {
    margin-left: 8px;
    margin-right: 8px;
    padding: 1.25rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1.45;
  }

  .notice__img,
  .promo-card img,
  .promo-block img {
    height: auto;
    width: min(160px, 70vw);
    max-width: 100%;
  }

  .form-page__title {
    font-size: 1.45rem;
  }

  .site-footer-nav {
    display: block;
  }

  .site-footer-nav tbody,
  .site-footer-nav tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .site-footer-nav td {
    display: block;
    width: auto !important;
    padding: 8px 12px;
  }

  .refresh-fab {
    width: 110px;
    left: auto;
    right: -4px;
    bottom: 20px;
  }

  .float-ad {
    display: none;
  }

  .blog-list {
    margin: 16px auto 36px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .site-nav li {
    width: 25%;
  }

  .site-nav a {
    font-size: 8px !important;
    padding: 4px;
    border: none;
    border-radius: 25px;
    box-shadow: none;
  }

  .brand-title {
    font-size: 1.35rem;
  }
}

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 28px 12px 40px;
  background: radial-gradient(circle at top, #222 0%, #0b0b0b 70%);
  color: #fff;
}

.error-page__code {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(4.5rem, 18vw, 8rem);
  line-height: 0.9;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.error-page__title {
  margin: 12px 0 10px;
  font-family: var(--font);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #fff;
}

.error-page__lead {
  max-width: 520px;
  margin: 0 auto 10px;
  color: #f3e27a;
  font-weight: 600;
  line-height: 1.5;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 22px 0 8px;
}

.error-page__actions .btn-action {
  min-width: 120px;
}

.error-page__charts {
  margin: 28px auto 0;
  max-width: 720px;
  padding: 16px 12px 8px;
  background: rgba(255, 216, 0, 0.08);
  border: 1px solid rgba(255, 216, 0, 0.35);
  border-radius: 12px;
}

.error-page__charts-label {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.error-page__chart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.error-page__chart-list a {
  display: block;
  padding: 8px 14px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #000;
}

.error-page__chart-list a:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .error-page {
    padding: 18px 10px 28px;
  }

  .error-page__actions .btn-action {
    flex: 1 1 42%;
  }
}

/* ---------- AI chat ---------- */
.sk-chat {
  position: fixed;
  right: 12px;
  bottom: 88px;
  z-index: 40;
  font-family: var(--font);
}

.sk-chat__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #000;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.sk-chat__panel {
  display: none;
  width: min(360px, calc(100vw - 24px));
  height: min(460px, 70vh);
  margin-bottom: 10px;
  background: #111;
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 16px;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sk-chat.is-open .sk-chat__panel {
  display: flex;
}

.sk-chat__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 8px;
  padding: 10px 12px;
  background: var(--gold);
  color: #111;
}

.sk-chat__head strong {
  font-size: 1rem;
}

.sk-chat__head span {
  grid-column: 1;
  font-size: 12px;
  font-weight: 600;
}

.sk-chat__close {
  grid-row: 1 / span 2;
  grid-column: 2;
  border: 0;
  background: #111;
  color: var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}

.sk-chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sk-chat__msg {
  max-width: 92%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.sk-chat__msg p { margin: 0; }

.sk-chat__msg--bot {
  align-self: flex-start;
  background: #222;
  border: 1px solid #444;
}

.sk-chat__msg--user {
  align-self: flex-end;
  background: var(--gold);
  color: #111;
  font-weight: 700;
}

.sk-chat__links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sk-chat__links a {
  background: var(--gold);
  color: #111 !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}

.sk-chat__form {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: #000;
}

.sk-chat__input {
  flex: 1;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 16px;
}

.sk-chat__send,
.sk-chat__mic {
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  padding: 8px 10px;
  cursor: pointer;
}

.sk-chat__mic.is-on {
  background: #c41616;
  color: #fff;
}

.sk-chat__hint {
  margin: 0;
  padding: 0 10px 8px;
  font-size: 11px;
  color: #ccc;
}

@media (max-width: 768px) {
  .sk-chat {
    bottom: 76px;
    right: 8px;
  }
  .sk-chat__toggle-label {
    display: none;
  }
}
