:root {
      --brand: #2f5fa9;
      --brand-dark: #24467a;
      --page-bg: #f4f7fb;
      --card-bg: #ffffff;
      --muted: #5d6778;
      --border: #dbe3ef;
      --warning-bg: #fff6df;
      --warning-border: #f2df9a;
      --ad-bg: #f8f9fb;
      --ad-border: #ccd5e3;
    }

    html, body {
      min-height: 100%;
      background: var(--page-bg);
      color: #1f2937;
    }

    .page-wrap {
      padding: 24px 12px;
    }

    .card-panel {
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
      margin-bottom: 16px;
    }

    .panel-body {
      padding: 18px;
    }

    .info-title {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .muted {
      color: var(--muted);
    }

    .ad-slot {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: 100%;
      min-height: 250px;
      background: var(--ad-bg);
      border: 2px dashed var(--ad-border);
      border-radius: 12px;
      color: #667085;
      font-weight: 700;
      padding: 16px;
      overflow: hidden;
      flex-direction: column;
      gap: 6px;
    }

    .ad-slot-top,
    .ad-slot-bottom {
      min-height: 120px;
      margin-bottom: 16px;
    }

    .game-header {
      display: flex;
      gap: 12px;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .score-box {
      display: flex;
      gap: 28px;
      flex-wrap: wrap;
      font-size: 1rem;
    }

    .score-box strong {
      display: inline-block;
      margin-right: 8px;
    }

    .actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }

    .language-select {
      min-width: 160px;
    }

    #divTableId {
      text-align: center;
    }

    table.game-table {
      margin: 0 auto;
      border-collapse: separate;
      border-spacing: 5px;
    }

    .btnMy {
      width: 70px;
      height: 70px;
      font-size: 28px;
      font-weight: 700;
      background-color: var(--brand);
      color: #fff;
      border: 0;
      border-radius: 10px;
      transition: transform 0.08s ease, background-color 0.2s ease;
    }

    .btnMy:hover {
      background-color: var(--brand-dark);
      transform: scale(1.03);
    }

    .table-sm td,
    .table-sm th {
      vertical-align: middle;
    }

    .score-table-wrap {
      max-height: 420px;
      overflow: auto;
    }

    .mini-note {
      font-size: 0.92rem;
      background: var(--warning-bg);
      border: 1px solid var(--warning-border);
      border-radius: 10px;
      padding: 12px 14px;
    }

    @media (max-width: 1199.98px) {
      .btnMy {
        width: 68px;
        height: 68px;
        font-size: 27px;
      }
    }

    @media (max-width: 991.98px) {
      .desktop-only {
        display: none !important;
      }

      .btnMy {
        width: 64px;
        height: 64px;
        font-size: 24px;
      }
    }

    @media (max-width: 767.98px) {
      .page-wrap {
        padding: 14px 8px;
      }

      .panel-body {
        padding: 14px;
      }

      .game-header {
        align-items: flex-start;
      }

      .btnMy {
        width: 64px;
        height: 64px;
        font-size: 24px;
      }

      .actions {
        width: 100%;
      }

      .language-select {
        width: 100%;
      }
    }

    @media (max-width: 420px) {
      .btnMy {
        width: 56px;
        height: 56px;
        font-size: 21px;
      }

      table.game-table {
        border-spacing: 4px;
      }
    }
