.logo {
  display: inline-flex;
  align-items: center;
  width: 150px;
  height: auto;
  min-height: 0;
  margin: 6px 20px 4px 10px;
}

.logo .logo_img {
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

@media only screen and (min-width: 641px) {
  .logo {
    width: 184px;
    margin: 6px 28px 4px 16px;
  }

  .logo .logo_img {
    max-height: 82px;
  }
}

@media only screen and (min-width: 1151px) {
  .logo {
    width: 220px;
    margin: 6px 34px 4px 20px;
  }

  .logo .logo_img {
    max-height: 96px;
  }
}

.adSpace_desktop,
.homeAdBanner300x250,
#FreeStarVideoAdContainer,
[data-freestar-ad] {
  display: none !important;
}

#footer .footer_logo,
#footer .footer_logo:visited {
  width: 150px;
  height: 48px;
  background-image: url(../../assets/gold-millions-logo.png);
  background-size: contain;
  background-position: left center;
}

@media only screen and (min-width: 641px) {
  #footer .footer_logo,
  #footer .footer_logo:visited {
    width: 150px;
    height: 54px;
    background-image: url(../../assets/gold-millions-logo.png);
  }
}

.gm-data-ready .contentloader {
  display: none;
}

.goldMillionsOnlinePanel {
  background: #061027;
  color: #fff;
  padding: 18px 22px;
  margin: 0 0 20px;
  border-left: 7px solid #f6c44f;
}

.goldMillionsOnlinePanel strong {
  color: #f6c44f;
  font-weight: 700;
}

@media only screen and (max-width: 1024px) {
  #header .contentRow {
    position: relative;
    align-items: center;
    display: flex;
    min-height: 64px;
  }

  .logo {
    width: 128px;
    margin: 4px 8px 4px 10px;
  }

  .logo .logo_img {
    max-height: 52px;
  }

  .menu-mobile {
    align-items: center;
    background-image: linear-gradient(#000000, #000000), linear-gradient(#000000, #000000), linear-gradient(#000000, #000000);
    background-position: center calc(50% - 11px), center 50%, center calc(50% + 11px);
    background-repeat: no-repeat;
    background-size: 34px 4px;
    display: flex !important;
    height: 64px;
    justify-content: center;
    line-height: 1;
    padding: 0 16px;
    position: absolute;
    right: 0;
    top: 0;
    width: 64px;
    z-index: 1005;
  }

  .menu-mobile.menu-open {
    background-image: none;
  }

  .menu-mobile .tcon {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin: 0;
    padding: 0;
    position: relative;
    width: 44px;
  }

  .menu-mobile .tcon::before {
    background: #000000;
    box-shadow: 0 11px 0 #000000, 0 -11px 0 #000000;
    content: "";
    display: block;
    height: 4px;
    width: 34px;
  }

  .menu-mobile .tcon-menu__lines,
  .menu-mobile .tcon-menu__lines::before,
  .menu-mobile .tcon-menu__lines::after {
    display: none !important;
  }

  .menu-mobile .tcon-menu--xcross.tcon-transform::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  .menu-mobile .tcon-menu--xcross.tcon-transform::after {
    background: #000000;
    content: "";
    display: block;
    height: 4px;
    position: absolute;
    transform: rotate(-45deg);
    width: 34px;
  }

  .topNav {
    background: #0f4380;
    height: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 64px;
    width: 100vw;
    z-index: 1000;
  }

  .show-on-mobile .topNav {
    overflow-y: auto;
  }
}

@media only screen and (max-width: 400px) {
  .logo {
    width: 118px;
    margin-right: 66px;
  }
}

@media only screen and (min-width: 1025px) {
  .menu-mobile {
    display: none !important;
  }
}


/* Gold Millions free online entry guide */
.how-to-play-guide {
  max-width: 820px;
  padding-bottom: 48px;
}

.how-to-play-kicker {
  color: #a3262a;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.how-to-play-guide h1 {
  margin-bottom: 18px;
}

.how-to-play-lead {
  color: #252525;
  font-size: 2rem;
  line-height: 1.55;
  margin-bottom: 28px;
}

.how-to-play-highlight {
  align-items: center;
  background: #fff6cc;
  border-left: 6px solid #f2c300;
  display: flex;
  gap: 16px;
  margin: 0 0 36px;
  padding: 20px 22px;
}

.how-to-play-highlight-icon {
  align-items: center;
  background: #137548;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 2.2rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.how-to-play-highlight strong,
.how-to-play-entry-rule strong,
.how-to-play-steps strong {
  color: #172f55;
  display: block;
  font-size: 2rem;
}

.how-to-play-highlight p,
.how-to-play-entry-rule p,
.how-to-play-steps p {
  margin: 4px 0 0;
}

.how-to-play-steps {
  list-style: none;
  margin: 18px 0 32px;
  padding: 0;
}

.how-to-play-steps li {
  align-items: flex-start;
  border-bottom: 1px solid #d9d9d9;
  display: flex;
  gap: 18px;
  padding: 20px 0;
}

.how-to-play-step-number {
  align-items: center;
  background: #172f55;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 2rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.how-to-play-entry-rule {
  border-left: 5px solid #a3262a;
  margin: 8px 0 30px;
  padding: 8px 0 8px 20px;
}

.how-to-play-cta {
  background: #137548;
  border-radius: 4px;
  color: #fff !important;
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  padding: 15px 24px;
  text-align: center;
  text-decoration: none;
}

.how-to-play-cta:hover,
.how-to-play-cta:focus {
  background: #0e5b37;
  color: #fff;
}

.how-to-play-reassurance {
  color: #4a4a4a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 12px;
}

@media only screen and (max-width: 600px) {
  .how-to-play-guide {
    padding-bottom: 30px;
  }

  .how-to-play-lead {
    font-size: 1.75rem;
  }

  .how-to-play-highlight {
    align-items: flex-start;
    padding: 16px;
  }

  .how-to-play-highlight strong,
  .how-to-play-entry-rule strong,
  .how-to-play-steps strong {
    font-size: 1.75rem;
  }

  .how-to-play-cta {
    box-sizing: border-box;
    font-size: 1.75rem;
    width: 100%;
  }
}


/* Four-digit Gold Millions number generator */
.number-generator-guide {
  max-width: 820px;
  padding-bottom: 48px;
}

.number-generator-kicker {
  color: #a3262a;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.number-generator-lead {
  color: #252525;
  font-size: 2rem;
  line-height: 1.55;
  margin: 0 0 28px;
}

.number-generator-tool {
  background: #f7f8fa;
  border: 1px solid #c9ced6;
  border-top: 6px solid #f2c300;
  padding: 28px;
}

.number-generator-tool h2 {
  color: #172f55;
  margin: 0 0 20px;
  text-align: center;
}

.number-generator-output {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(54px, 84px));
  justify-content: center;
  margin-bottom: 26px;
}

.number-generator-digit {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border: 4px solid #172f55;
  border-radius: 50%;
  color: #172f55;
  display: flex;
  font-size: 3.4rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  min-width: 0;
}

.number-generator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.number-generator-button,
.number-generator-use {
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 1.7rem;
  font-weight: 800;
  justify-content: center;
  line-height: 1.25;
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
}

.number-generator-button {
  background: #172f55;
  border: 2px solid #172f55;
  color: #fff;
}

.number-generator-use {
  background: #137548;
  border: 2px solid #137548;
  color: #fff !important;
}

.number-generator-button:hover,
.number-generator-button:focus {
  background: #244b82;
}

.number-generator-use:hover,
.number-generator-use:focus {
  background: #0e5b37;
  color: #fff;
}

.number-generator-note {
  border-left: 5px solid #a3262a;
  margin: 26px 0 0;
  padding: 8px 0 8px 18px;
}

@media only screen and (max-width: 600px) {
  .number-generator-guide {
    padding-bottom: 30px;
  }

  .number-generator-lead {
    font-size: 1.75rem;
  }

  .number-generator-tool {
    padding: 22px 14px;
  }

  .number-generator-output {
    gap: 8px;
    grid-template-columns: repeat(4, minmax(48px, 68px));
  }

  .number-generator-digit {
    border-width: 3px;
    font-size: 2.8rem;
  }

  .number-generator-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .number-generator-button,
  .number-generator-use {
    width: 100%;
  }
}


/* Shared header wordmark */
.header-brand-text {
  color: #172f55;
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  margin-right: 20px;
  vertical-align: middle;
}

/* Contact form */
.contact-page {
  max-width: 920px;
  padding-bottom: 56px;
}

.contact-kicker {
  color: #a3262a;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.contact-lead {
  color: #292929;
  font-size: 1.9rem;
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 760px;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
}

.contact-details {
  border-top: 6px solid #f2c300;
  padding-top: 20px;
}

.contact-details h2 {
  color: #172f55;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.contact-details p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-details a {
  overflow-wrap: anywhere;
}

.contact-privacy {
  border-left: 4px solid #137548;
  color: #555555;
  font-size: 1.4rem;
  padding-left: 12px;
}

.contact-form {
  background: #f7f8fa;
  border: 1px solid #c9ced6;
  padding: 28px;
}

.contact-field-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
  margin-bottom: 20px;
  min-width: 0;
}

.contact-field label {
  color: #172f55;
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 7px;
}

.contact-field input,
.contact-field textarea {
  background: #ffffff;
  border: 1px solid #8b929c;
  border-radius: 4px;
  box-sizing: border-box;
  color: #202020;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 1.4;
  padding: 12px 13px;
  width: 100%;
}

.contact-field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #004ea9;
  box-shadow: 0 0 0 3px rgba(0, 78, 169, 0.18);
  outline: none;
}

.contact-character-count {
  color: #656565;
  display: block;
  font-size: 1.3rem;
  margin-top: 5px;
  text-align: right;
}

.contact-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.contact-submit {
  background: #137548;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.7rem;
  font-weight: 800;
  min-height: 48px;
  padding: 13px 24px;
}

.contact-submit:hover,
.contact-submit:focus {
  background: #0e5b37;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-status {
  font-size: 1.5rem;
  font-weight: 700;
  min-height: 24px;
  padding-top: 12px;
}

.contact-status.is-success {
  color: #137548;
}

.contact-status.is-error {
  color: #a3262a;
}

@media only screen and (max-width: 1024px) {
  .header-brand-text {
    font-size: 1.7rem;
    margin-right: 64px;
  }
}

@media only screen and (max-width: 700px) {
  .contact-page {
    padding-bottom: 36px;
  }

  .contact-lead {
    font-size: 1.7rem;
  }

  .contact-layout,
  .contact-field-row {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    gap: 24px;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .contact-submit {
    width: 100%;
  }
}

@media only screen and (max-width: 400px) {
  .header-brand-text {
    font-size: 1.5rem;
    margin-right: 64px;
  }
}


/* Four-digit draw system */
.draw-page {
  max-width: 900px;
  padding-bottom: 56px;
}

.draw-kicker {
  color: #a3262a;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.draw-page h1 {
  color: #172f55;
  margin-bottom: 16px;
}

.draw-lead {
  color: #292929;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 780px;
}

.draw-result-panel {
  background: #172f55;
  border-top: 7px solid #f2c300;
  color: #ffffff;
  padding: 30px;
  text-align: center;
}

.draw-result-name,
.draw-replay-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.draw-result-date,
.draw-replay-date {
  color: #f2c300;
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.draw-digit-row,
.draw-replay-output {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(58px, 92px));
  justify-content: center;
  margin: 28px 0;
}

.draw-digit {
  align-items: center;
  aspect-ratio: 1;
  background: #ffffff;
  border: 5px solid #f2c300;
  border-radius: 50%;
  color: #172f55;
  display: inline-flex;
  font-size: 3.8rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
  min-width: 0;
}

.draw-result-prize {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.draw-result-prize span {
  font-size: 1.4rem;
  text-transform: uppercase;
}

.draw-result-prize strong {
  color: #ffffff;
  font-size: 2.5rem;
}

.draw-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 36px;
}

.draw-primary-action,
.draw-secondary-action,
.previous-draw-filter button,
.draw-check-actions button,
.draw-replay-button {
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
}

.draw-primary-action,
.previous-draw-filter button[type="submit"],
.draw-check-actions button[type="submit"],
.draw-replay-button {
  background: #137548;
  border: 2px solid #137548;
  color: #ffffff !important;
}

.draw-primary-action:hover,
.draw-primary-action:focus,
.previous-draw-filter button[type="submit"]:hover,
.draw-check-actions button[type="submit"]:hover,
.draw-replay-button:hover {
  background: #0e5b37;
}

.draw-secondary-action,
.draw-filter-reset {
  background: #ffffff;
  border: 2px solid #172f55;
  color: #172f55 !important;
}

.draw-section-heading {
  align-items: baseline;
  border-bottom: 4px solid #f2c300;
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  padding-bottom: 8px;
}

.draw-section-heading h2 {
  margin: 0;
}

.draw-history-list {
  border-top: 1px solid #d6d9de;
}

.draw-history-row {
  align-items: center;
  border-bottom: 1px solid #d6d9de;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px 0;
}

.draw-history-row strong,
.draw-history-row time,
.draw-history-prize {
  display: block;
}

.draw-history-row strong {
  color: #172f55;
  font-size: 1.65rem;
}

.draw-history-row time {
  color: #555555;
  font-size: 1.35rem;
  margin: 3px 0;
}

.draw-history-prize {
  color: #137548;
  font-size: 1.4rem;
  font-weight: 800;
}

.draw-history-digits {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, 42px);
}

.draw-digit-small {
  border-width: 2px;
  font-size: 1.7rem;
  height: 42px;
  width: 42px;
}

.previous-draw-filter {
  align-items: end;
  background: #f4f5f7;
  border-left: 5px solid #f2c300;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(150px, 1fr)) auto auto;
  margin-bottom: 18px;
  padding: 18px;
}

.draw-filter-field label,
.draw-check-range label {
  color: #172f55;
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.draw-filter-field input,
.draw-check-range select {
  background: #ffffff;
  border: 1px solid #8b929c;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1.5rem;
  min-height: 46px;
  padding: 9px 10px;
  width: 100%;
}

.draw-list-status {
  color: #555555;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.draw-check-form {
  background: #f4f5f7;
  border-top: 6px solid #f2c300;
  padding: 26px;
}

.draw-check-form fieldset {
  border: 0;
  margin: 0 0 22px;
  padding: 0;
}

.draw-check-form legend {
  color: #172f55;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.draw-check-inputs {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 72px);
}

.draw-check-input {
  aspect-ratio: 1;
  border: 3px solid #172f55;
  border-radius: 50%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 3rem;
  font-weight: 900;
  min-width: 0;
  text-align: center;
  width: 72px;
}

.draw-check-input:focus {
  border-color: #137548;
  box-shadow: 0 0 0 3px rgba(19, 117, 72, 0.2);
  outline: none;
}

.draw-check-range {
  max-width: 320px;
}

.draw-check-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.draw-check-result {
  margin-top: 28px;
}

.draw-check-message {
  border-left: 5px solid #a3262a;
  font-weight: 700;
  padding: 12px 16px;
}

.draw-replay-stage {
  background: #101820;
  border-top: 7px solid #f2c300;
  color: #ffffff;
  min-height: 390px;
  padding: 34px 24px;
  text-align: center;
}

.draw-replay-digit {
  opacity: 0.3;
  transform: translateY(-14px) scale(0.85);
  transition: opacity 260ms ease, transform 260ms ease;
}

.draw-replay-digit.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.draw-replay-status {
  min-height: 28px;
}

.draw-replay-button {
  margin-top: 18px;
}

.draw-replay-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.draw-data-status {
  color: #a3262a;
  font-weight: 700;
  min-height: 24px;
  padding-top: 12px;
}

@media only screen and (max-width: 760px) {
  .draw-page {
    padding-bottom: 36px;
  }

  .draw-lead {
    font-size: 1.65rem;
  }

  .draw-result-panel,
  .draw-replay-stage {
    padding: 24px 14px;
  }

  .draw-digit-row,
  .draw-replay-output {
    gap: 8px;
    grid-template-columns: repeat(4, minmax(48px, 70px));
  }

  .draw-digit {
    border-width: 3px;
    font-size: 2.8rem;
  }

  .draw-actions,
  .draw-check-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .draw-primary-action,
  .draw-secondary-action,
  .draw-check-actions button {
    width: 100%;
  }

  .draw-history-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .previous-draw-filter {
    grid-template-columns: 1fr;
  }

  .draw-check-form {
    padding: 20px 14px;
  }

  .draw-check-inputs {
    gap: 8px;
    grid-template-columns: repeat(4, minmax(48px, 64px));
  }

  .draw-check-input {
    font-size: 2.5rem;
    width: 100%;
  }

  .draw-replay-stage {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .draw-replay-digit {
    transition: none;
  }
}
