/* ==========================================================================
   LUCKY 10 / LUCKY 15 GAME PAGE  (lucky-15.html)
   Section colours:  A #c72f31   B #006b2d   C #009fe3
   ========================================================================== */

/* ================================================================
   LUCKY 10 - GAME PAGE
   Updated typography / sizing to match the scale of your existing
   Lucky 10 CSS. Add this file AFTER your main css/style.css.
   ================================================================ */

:root {
  --l10-navy: #061630;
  --l10-dark-blue: #030f24;
  --l10-deep-blue: #091e3d;
  --l10-blue: #0b3b7c;
  --l10-gold: #f5b316;
  --l10-gold-dark: #e5a914;
  --l10-gold-border: #e6b022;
  --l10-yellow: #ffc928;
  --l10-text: #0a1931;
  --l10-muted: #4c5665;
}

/* Base */

.l10-game-page {
  width: 100%;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  color: var(--l10-text);
}

.l10-game-page *,
.l10-game-page *::before,
.l10-game-page *::after {
  box-sizing: border-box;
}

.l10-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   1. ROUND CARDS
   ================================================================ */

.l10-round-area {
  background: #fff;
  padding: 18px 0 0;
  margin-top: 20px;
}

.l10-round-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.l10-round-card {
  min-height: 225px;
  border-radius: 8px;
  border: 1px solid var(--l10-gold-border);
  padding: 14px 13px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(9, 30, 61, .13);

  display: flex;
  flex-direction: column;
}

.l10-card-yellow {
  background: linear-gradient(180deg, #ffca20 0%, #ffd94b 100%);
  color: var(--l10-navy);
}

.l10-card-blue {
  background: linear-gradient(180deg, #061a3d 0%, #073d7e 100%);
  border-color: #061630;
  color: #fff;
}

.l10-card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.l10-title-icon {
  font-size: 27px;
  line-height: 1;
}

.l10-card-heading {
  font-size: 22px;
  line-height: 1.20;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.l10-round-number {
  margin: 18px 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.l10-round-number b {
  display: inline-flex;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--l10-navy);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
}

.l10-card-blue .l10-round-number b {
  background: var(--l10-gold);
  color: var(--l10-navy);
}

.l10-time-box {
  width: 200px;
  margin: 18px auto 6px;
  padding: 5px 5px 5px;
  border: 2px solid #fff;
  border-radius: 7px;
  background: linear-gradient(180deg, #0a3979, #001e4d);
  color: #fff;
}

.l10-time-box strong {
  display: block;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.l10-time-box small {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0px;
  text-transform: uppercase;
}

.l10-small-label {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 10px;
  letter-spacing: .5px;
}

.l10-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 5px;
  min-height: 34px;
  width: 100%;
  padding: 10px 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.0px;
  cursor: pointer;

  margin-top: auto;
}

.l10-dark-btn {
  color: #fff;
  background: var(--l10-navy);
}

.l10-dark-btn:hover {
  color: #fff;
  background: var(--l10-gold);
}

.l10-yellow-btn {
  color: var(--l10-navy);
  background: var(--l10-gold);
}

.l10-yellow-btn:hover {
  color:  var(--l10-gold);
  background:  #fff;
}

.l10-round-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--l10-gold);
  color: var(--l10-navy);
  margin: 18px auto 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
}

.l10-round-period {
  font-size: 22px;
  font-weight: 600;
  margin: 8px 0px;
}

.l10-current-time {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.l10-open-badge {
  display: inline-block;
  background: #47b844;
  border-radius: 4px;
  padding: 7px 7px;
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
}

.l10-close-text {
  font-size: 20px;
  margin: 14px 0 7px;
  Font-weight:700;
  letter-spacing: 1px;
}

.l10-awaiting-time {
  width: 200px;
  margin: 18px auto 4px;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 9px 4px 9px;
}

.l10-awaiting-time strong {
  display: block;
  color: #080f1a;
  font-size: 44px;
  line-height: 1;
}

.l10-awaiting-time small {
  font-size: 15px;
  color: #111;
  font-weight: 600;
}

.awaiting-round {
  margin-top: 3px;
  margin-bottom: 7px;
}

.l10-result-abc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 16px 0px;
}

.l10-result-abc span,
.l10-result-abc b {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-width: 36px;
  border-radius: 5px;
  font-size: 18px;
}

.l10-result-abc span {
  font-weight: 700;
  color: white;
}

.l10-result-abc .a {
  background: #c72f31;
}

.l10-result-abc .b {
  background: #006b2d;
}

.l10-result-abc .c {
  background: #009fe3
}

.l10-result-abc b {
  background: #fff;
  color: #222;
  font-weight: 800;
}

.l10-last-period {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.80;
  margin: 16px 0 7px;
  color: #ffca20;
  border: 2px solid #fff;
  border-radius: 10px;
  padding:10px 0px
}

.l10-last-period span {
  font-weight: 600;
  font-size: 24px;
}

.l10-result-last {
  margin-bottom: 9px;
}

/* ================================================================
   2. NUMBER TABLE + RIGHT COLUMN
   ================================================================ */

.l10-game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 13px;
  margin-top: 14px;
  align-items: stretch;
}

.l10-number-panel {
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  position: relative;
  overflow: hidden;
  padding-bottom: 13px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  width: 93%;
  margin-top: 20px;
}

.l10-panel-head {
  min-height: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
  font-weight: 800;
}

.l10-live-title {
  color: #c64343;
  font-size: 16px;
}

.l10-live-title span {
  font-size: 18px;
  margin-right: 5px;
}

.l10-select-title {
  text-align: center;
  color: #202020;
  font-size: 20px;
  font-weight: 800;
}

.l10-panel-round {
  text-align: right;
  color: #c72f31;
  font-size: 16px;
  font-weight: 600;
}

.l10-ticket-table-wrap {
  padding: 12px 12px;
  overflow-x: auto;
}

.l10-ticket-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 3px 8px;
  table-layout: fixed;
  /* min-width: 760px; */
}

.l10-ticket-table th {
  height: 48px;
  background: linear-gradient(180deg, #ffd12d, #f0b900);
  color: #17253a;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.l10-ticket-table th:first-child {
  width: 115px;
  border-radius: 8px 0 0 8px;
}

.l10-ticket-table th:nth-child(2) {
  width: 58px;
}

.l10-ticket-table th:nth-last-child(2) {
  width: 48px;
}

.l10-ticket-table th:last-child {
  width: 68px;
  border-radius: 0 8px 8px 0;
}

.l10-ticket-table td {
  height: 42px;
  text-align: center;
  padding: 2px 1px;
}

.l10-period {
  height: 50px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.l10-period small {
  font-size: 10px;
  margin-top: 3px;
  font-weight: 600;
}

.l10-period-a {
  background: #b72d31;
}

.l10-period-b {
  background: #006b2d;
}

.l10-period-c {
  background: #009fe3;
}

.l10-win {
  background: #ffc51b;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #17253a;
  font-size: 14px;
  font-weight: 800;
}

.l10-ticket-table input {
  width: 100%;
  height: 38px;
  border: 1px solid #cfcfcf;
  outline: 0;
  text-align: center;
  font-size: 12px;
}

/* ================================================================
   NUMBER INPUT FIELDS
   ================================================================ */

.l10-ticket-table .l10-ticket-input {
  width: 100%;
  height: 50px;

  display: block;
  margin: 0 auto;
  padding: 2px;

  border: 1px solid #d8d8d8;
  border-radius: 4px;

  background: #f8f8f8;
  color: #737373;

  outline: 0;

  text-align: center;

  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1;

  font-weight: 600;

  box-sizing: border-box;

  appearance: none;
  -webkit-appearance: none;

  transition: all 0.2s ease;
}

/* ------------------------------------------------
   NUMBER INPUT - HOVER
------------------------------------------------ */

.l10-ticket-table .l10-ticket-input:hover {
  border-color: #bdbdbd;
  background: #ffffff;
}

/* ------------------------------------------------
   NUMBER INPUT - FOCUS
------------------------------------------------ */

.l10-ticket-table .l10-ticket-input:focus {
  border-color: #f0b900;

  background: #ffffff;

  color: #17253a;

  box-shadow: 0 0 0 2px rgba(240, 185, 0, 0.18);
}

/* ------------------------------------------------
   SELECTED NUMBER - SECTION A
------------------------------------------------ */

.l10-ticket-table .l10-ticket-input.l10-selected-a {
  background: #c72f31;
  border-color: #c72f31;

  color: #ffffff;

  font-size: 12px;
  font-weight: 800;
}

/* ------------------------------------------------
   SELECTED NUMBER - SECTION B
------------------------------------------------ */

.l10-ticket-table .l10-ticket-input.l10-selected-b {
  background: #006b2d;
  border-color: #006b2d;

  color: #ffffff;

  font-size: 12px;
  font-weight: 800;
}

/* ------------------------------------------------
   SELECTED NUMBER - SECTION C
------------------------------------------------ */

/* ================================================================
   QTY / AMOUNT INPUTS
   ================================================================ */

.l10-ticket-table .l10-qty-input,
.l10-ticket-table .l10-amount-input {
  width: 100%;
  height: 50px;

  padding: 2px 4px;

  border: 1px solid #cfcfcf;
  border-radius: 4px;

  background: #ffffff;

  outline: 0;

  color: #222;

  text-align: center;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;

  box-sizing: border-box;

  appearance: none;
  -webkit-appearance: none;
}

/* QTY / AMOUNT FOCUS */

.l10-ticket-table .l10-qty-input:focus,
.l10-ticket-table .l10-amount-input:focus {
  border-color: #f0b900;

  box-shadow: 0 0 0 2px rgba(240, 185, 0, 0.15);
}

/* ================================================================
   REMOVE NUMBER INPUT SPINNERS
   ================================================================ */

.l10-ticket-table input[type="number"]::-webkit-inner-spin-button,
.l10-ticket-table input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.l10-ticket-table input[type="number"] {
  -moz-appearance: textfield;
}

.l10-ticket-table button.l10-selected-a,
.l10-ticket-table button.l10-selected-b {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.l10-ticket-table button.l10-selected-a {
  background: #c72f31;
  border-color: #c72f31;
}

.l10-ticket-table button.l10-selected-b {
  background: #006b2d;
  border-color: #006b2d;
}

.l10-ticket-table input {
  width: 100%;
  height: 38px;
  border: 1px solid #cfcfcf;
  outline: 0;
  text-align: center;
  font-size: 12px;
}

.l10-selected-heading {
  padding: 7px 15px 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
}

.l10-selected-rows {
  padding: 0 15px;
}

.l10-selected-row {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 34px;
}

.l10-section-label {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-right: 2px;
}

.l10-section-label.l10-a,
.l10-total-tickets b.l10-a,
.label-a .filled {
  background: #bd2e33;
}

.l10-section-label.l10-b,
.l10-total-tickets b.l10-b,
.label-b .filled {
  background: #006b2d;
}

.l10-section-label.l10-c,
.l10-total-tickets b.l10-c,
.label-c .filled {
  background: #009fe3;
}

.l10-selected-row i {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 1px solid #dfc4c4;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  font-style: normal;
  font-size: 12px;
}

.l10-selected-row i.filled {
  border-color: #999;
  font-weight: 800;
}

.l10-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 8px 14px;
}

.l10-stat-box {
  min-height: 67px;
  border: 1px solid #d3d3d3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 6px;
}

.l10-stat-green {
  background: #eef7c9;
}

.l10-stat-yellow {
  background: #fff3a5;
}

.l10-stat-cyan {
  background: #d8f4f6;
}

.l10-stat-icon {
  font-size: 25px;
}

.l10-stat-box > div {
  display: flex;
  flex-direction: column;
}

.l10-stat-box small {
  font-size: 12px;
  font-weight: 800;
}

.l10-stat-box strong {
  font-size: 19px;
  line-height: 1.1;
}

.l10-stat-box em {
  font-size: 10px;
  font-style: normal;
}

.l10-ticket-footer {
  display: grid;
  grid-template-columns: 1.05fr 1.7fr 1.3fr;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}

.l10-total-tickets > span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}

.l10-total-tickets > div {
  display: flex;
  align-items: center;
}

.l10-total-tickets b,
.l10-total-tickets strong {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l10-total-tickets b {
  width: 31px;
  color: #fff;
  font-size: 13px;
}

.l10-total-tickets strong {
  width: 35px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.l10-success-msg {
  border: 1px solid #d6c679;
  background: #fffef0;
  color: #5b9c3b;
  text-align: center;
  padding: 7px 4px;
  font-size: 12px;
  line-height: 1.4;
}

.l10-submit-btn {
  border: 0;
  background: var(--l10-gold);
  color: var(--l10-navy);
  /* min-height: 38px; */
  padding: 14px 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.l10-submit-btn:hover {
  background: var(--l10-navy);
  color: var(--l10-gold);
}

.l10-clear-all {
  text-align: right;
  padding: 4px 15px 0;
  font-size: 12px;
  font-weight: 700;
}

/* ================================================================
   RIGHT SIDEBAR
   ================================================================ */

.l10-side-column {
  display: grid;
  /* grid-template-rows: 1fr auto auto; */
  gap: 16px;
  justify-content: start;
  position: relative;
  right: 64px;
  top:20px;
}

.l10-image-placeholder {
  /* border: 1px solid #d5d5d5;
  background:
  linear-gradient(135deg, rgba(245,179,22,.14) 25%, transparent 25%) 0 0/18px 18px,
  linear-gradient(315deg, rgba(6,22,48,.08) 25%, transparent 25%) 0 0/18px 18px,
  #fff; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--l10-navy);
}

.l10-image-placeholder span {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.l10-image-placeholder small {
  font-size: 9px;
  margin-top: 7px;
}

.l10-side-promo {
  min-height: 185px;
  background-color: #071c43;
  color: #fff;
}

.l10-side-promo span {
  color: var(--l10-gold);
  font-size: 17px;
}

.l10-side-promo small {
  color: #fff;
}

.l10-side-timer {
  border: 3px solid #e2bf30;
  border-radius: 10px;
  text-align: center;
  background: #fff;
}

.l10-side-timer strong {
  display: block;
  color: var(--l10-navy);
  font-size: 46px;
  line-height: 1;
  padding-top: 18px;
}

.l10-side-timer span {
  display: block;
  color: #444;
  font-size: 20px;
  font-weight:500;
  margin: 3px 0 6px;
}

.l10-side-timer small {
  color: #6a6a6a;
  font-size: 18px;
  position: relative;
  top: 20px;
}

.l10-side-timer small b {
  color: #111;
}

.l10-start-box {
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd72e, #ffc319);
  padding: 12px 10px 0px;
  text-align: center;
  max-height: 162px;
}

.l10-start-box > strong {
  display: block;
  color: var(--l10-navy);
  font-size: 20px;
  margin-bottom: 9px;
}

.l10-start-box button {
  display: block;
  width: 90%;
  margin: 6px auto 0;
  height: 40px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--l10-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}

.l10-start-box button:hover {
  background: var(--l10-navy);
  color:white;
}

/* ================================================================
   3. BOOST BANNER
   ================================================================ */

.l10-boost-banner {
  padding: 40px 0px;
  background: none;
}

.l10-boost-banner span {
  color: var(--l10-navy);
  font-size: 22px;
  font-weight: 800;
}

.l10-boost-banner small {
  font-size: 10px;
}

/* ================================================================
   5. PREVIOUS & UPCOMING ROUNDS
   ================================================================ */

.l10-round-history-section {
  padding: 34px 0 32px;
  /* background:
  repeating-linear-gradient(
  45deg,
  rgba(0,0,0,.018) 0,
  rgba(0,0,0,.018) 1px,
  transparent 1px,
  transparent 10px
  ),
  #fafafa; */
}

.l10-history-box {
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,.10);
  padding: 18px 30px 15px;
  position: relative;
}

.l10-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.l10-history-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .8px;
  color: #242424;
}

.l10-history-head span {
  font-size: 17px;
  font-weight: 700;
}

.l10-carousel-prev,
.l10-carousel-next {
  width: 28px;
  opacity: 1;
  color: #555;
  top: 50%;
  transform: translateY(-50%);
}

.l10-carousel-prev {
  left: -25px;
}

.l10-carousel-next {
  right: -25px;
}

.l10-carousel-prev span,
.l10-carousel-next span {
  color: #333;
  font-size: 36px;
  line-height: 1;
}

.l10-view-all {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin: 18px 0px;
  color: #3b3b3b;
}

.l10-view-all b {
  font-size: 18px;
  margin-left: 5px;
}

.l10-view-all a {
  color: #000;
}

.l10-view-all a:hover {
  color:  var(--gold-primary);
  border: 2px solid var(--gold-primary);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1199px) {
  .l10-container {
    max-width: 94%;
  }

  .l10-game-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .l10-selected-row {
    overflow-x: auto;
  }

}

@media (max-width: 991px) {
  .l10-round-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .l10-game-grid {
    grid-template-columns: 1fr;
  }

  .l10-side-column {
    grid-template-columns: 1.5fr .8fr .8fr;
    grid-template-rows: 1fr;
  }

  .l10-side-promo {
    min-height: 140px;
  }

  .l10-panel-head {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 9px 12px;
    text-align: center;
  }

  .l10-panel-round {
    text-align: center;
  }

  .l10-ticket-footer {
    grid-template-columns: 1fr;
  }

  .l10-success-msg,
  .l10-submit-btn {
    min-height: 38px;
  }

}

@media (max-width: 767px) {
  .l10-container {
    max-width: 94%;
  }

  .l10-round-cards {
    gap: 8px;
  }

  .l10-round-card {
    min-height: 210px;
  }

  .l10-card-title,
  .l10-card-heading {
    font-size: 12px;
  }

  .l10-game-grid {
    margin-top: 10px;
  }

  .l10-side-column {
    grid-template-columns: 1fr;
  }

  .l10-side-promo {
    min-height: 190px;
  }

  .l10-boost-banner {
    min-height: 105px;
  }

  .l10-boost-banner span {
    font-size: 16px;
  }

  .l10-history-box {
    padding-left: 20px;
    padding-right: 20px;
  }

}

@media (max-width: 575px) {
  .l10-round-cards {
    grid-template-columns: 1fr;
  }

  .l10-round-card {
    min-height: 205px;
  }

  .l10-stat-row {
    grid-template-columns: 1fr;
  }

  .l10-selected-row {
    overflow-x: auto;
  }

  .l10-carousel-prev {
    left: -17px;
  }

  .l10-carousel-next {
    right: -17px;
  }

}

/* =========================================
   SELECTED NUMBERS + STATISTICS
========================================= */

.l10-selection-summary {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

/* =========================================
   LEFT - SELECTED NUMBERS
========================================= */

.l10-selected-section {
  width: 60%;
  min-width: 0;
  margin-left: 14px;
}

.l10-selected-heading {
  width: 100%;
  padding: 12px 15px;
  background: #1d1d1d;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
  border-radius: 5px 5px 0 0;
}

.l10-selected-rows {
  width: 100%;
  border: 1px solid #ddd;
  border-top: none;
  background: #ffffff;
}

.l10-selected-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 6px 10px;
  gap: 7px;
  border-bottom: 1px solid #e5e5e5;
}

.l10-selected-row:last-child {
  border-bottom: none;
}

/* Section A/B/C label */

.l10-section-label {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 16px;
  font-weight: 700;

  border-radius: 4px;
  margin-right: 5px;
}

/* Number boxes */

.l10-selected-row i {
  flex: 1;
  min-width: 25px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #f1f1f1;
  border: 1px solid #d7d7d7;
  border-radius: 4px;

  color: #999;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}

.l10-selected-row i.filled {
  /* background: #fff3c4;
  border-color: #e3b900; */
  color: white;
}

/* =========================================
   RIGHT - STATISTICS
========================================= */

.l10-stat-row {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0px;
}

/* Individual stat box */

.l10-stat-box {
  flex: 1;

  display: flex;
  align-items: center;

  min-height: 65px;
  padding: 10px 15px;

  border-radius: 5px;
  border: 1px solid #ddd;
  background: #fff;
}

/* Icon */

.l10-stat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
}

.total-stat {
  width: 45%;
  margin-left: 8px;
}

/* Stat content */

.l10-stat-box > div {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.l10-stat-box small {
  display: block;
  margin-bottom: 3px;

  font-size: 11px;
  font-weight: 700;
  color: #555;
  letter-spacing: 0.4px;
}

.l10-stat-box strong {
  display: block;

  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  color: #111;
}

.l10-stat-box em {
  display: block;
  margin-top: 3px;

  font-size: 10px;
  font-style: normal;
  color: #777;
}

/* =========================================
   STAT COLORS
========================================= */

.l10-stat-green {
  border-left: 5px solid #28a745;
}

.l10-stat-green .l10-stat-icon {
  background: #e3f6e8;
  color: #28a745;
}

.l10-stat-yellow {
  border-left: 5px solid #f0b400;
}

.l10-stat-yellow .l10-stat-icon {
  background: #fff4d2;
  color: #d99d00;
}

.l10-stat-cyan {
  border-left: 5px solid #00aeca;
}

.l10-stat-cyan .l10-stat-icon {
  background: #ddf8fc;
  color: #00aeca;
}

/* =========================================
   SECTION LABEL COLORS
========================================= */

.l10-section-label.l10-a {
  background: #b72d31;
}

.l10-section-label.l10-b {
  background: #006b2d;
}

.l10-section-label.l10-c {
  background: #009fe3;
}

.l10-selected-row.label-a i {
  border: 1px solid #b72d31;
}

.l10-selected-row.label-b i {
  border: 1px solid #006b2d;
}

.l10-selected-row.label-c i {
  border: 1px solid #009fe3;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
  .l10-selection-summary {
    gap: 15px;
  }

  .l10-selected-section {
    width: 60%;
  }

  .l10-stat-row {
    width: 40%;
  }

  .l10-selected-row {
    gap: 4px;
    padding: 5px;
  }

  .l10-section-label {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 14px;
  }

  .l10-selected-row i {
    height: 30px;
    min-width: 20px;
    font-size: 13px;
  }

  .l10-stat-box {
    padding: 8px 10px;
  }

  .l10-stat-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    margin-right: 8px;
    font-size: 16px;
  }

  .l10-stat-box strong {
    font-size: 18px;
  }

}

@media (max-width: 767px) {
  .l10-selection-summary {
    flex-direction: column;
  }

  .l10-selected-section,
  .l10-stat-row {
    width: 100%;
  }

  .l10-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .l10-stat-box {
    min-height: 75px;
  }

}

@media (max-width: 575px) {
  .l10-stat-row {
    grid-template-columns: 1fr;
  }

  .l10-selected-row {
    overflow-x: auto;
  }

  .l10-selected-row i {
    flex: 0 0 28px;
  }

  .l10-selected-heading {
    font-size: 14px;
  }

}

/* ==========================================================================
   PREVIOUS & UPCOMING ROUNDS CAROUSEL (96 rounds, built by js/lucky10.js)
   ========================================================================== */

/* =====================================================================
   PREVIOUS & UPCOMING ROUNDS CAROUSEL  (used with js/round-history.js)
   ===================================================================== */

#roundHistoryCarousel {
  position: relative;
}

.rh-track {
  display: grid;
  grid-template-columns: repeat(var(--rh-per, 5), minmax(0, 1fr));
  gap: 10px;
  padding: 5px 2px 4px;
}

.rh-card {
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  padding: 20px 10px 16px;
  text-align: center;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
}

/* ---------- status badge ---------- */

.rh-status {
  display: inline-block;
  border-radius: 20px;
  padding: 8px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .8px;
}

.rh-title {
  margin-top: 12px;
  font-size: 25px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.rh-round {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
}

.rh-time {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 0;
}

.rh-line {
  border: 0;
  border-top: 2px solid #9a9a9a;
  opacity: 1;
  width: 87%;
  margin: 11px auto;
}

.rh-label {
  font-size: 14px;
  font-weight: 700;
  color: #b89a00;
  letter-spacing: .3px;
}

/* ---------- state colours ---------- */

/* Passed round → green */

.rh-passed {
  border-color: #bfe3bf;
}

.rh-passed .rh-status {
  background: #3aa83a;
}

.rh-passed .rh-round {
  color: #138a13;
}

/* Live round → orange */

.rh-live {
  border-color: #e0b96a;
  box-shadow: inset 0 0 0 1px #f0e0c0;
}

.rh-live .rh-status {
  background: #f0aa27;
}

.rh-live .rh-round {
  color: #f5a623;
}

/* Upcoming round → blue */

.rh-upcoming {
  border-color: #83d7df;
}

.rh-upcoming .rh-status {
  background: #14adf9;
}

.rh-upcoming .rh-round {
  color: #14adf9;
}

/* ---------- A / B / C boxes (same colours as the result cards above) ---------- */

.rh-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 14px 0 2px;
}

.rh-numbers .rh-key,
.rh-numbers .rh-val {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
}

.rh-numbers .rh-key {
  color: #fff;
}

.rh-numbers .rh-a {
  background: #c72f31;
}

/* A = red   */

.rh-numbers .rh-b {
  background: #006b2d;
}

/* B = green */

.rh-numbers .rh-c {
  background: #009fe3;
}

/* C = blue  */

.rh-numbers .rh-val {
  background: #fff;
  color: #222;
  border: 1px solid #cfcfcf;
  font-weight: 800;
}

/* ---------- arrows ---------- */

#roundHistoryCarousel .l10-carousel-prev,
#roundHistoryCarousel .l10-carousel-next {
  width: 28px;
  height: 40px;
}

@media (max-width: 1399px) {
  .rh-round {
    font-size: 52px;
  }

  .rh-status {
    padding: 7px 14px; font-size: 13px;
  }

  .rh-time {
    font-size: 15px;
  }

}

@media (max-width: 575px) {
  .rh-round {
    font-size: 56px;
  }

  .l10-history-head {
    flex-wrap: wrap; gap: 6px;
  }

  .l10-history-head h2 {
    font-size: 17px;
  }

}
