  [x-cloak] { display:none!important; }

  /* Hero */
  .draws-hero {
    background: var(--blue-light);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .draws-hero-text h1 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
  .draws-hero-text p { font-size: 14px; color: var(--text-muted); }
  .draws-hero-stats { display: flex; gap: 16px; flex-shrink: 0; }
  .hero-stat {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #E4E8EF;
    padding: 14px 20px;
    text-align: center;
    min-width: 100px;
  }
  .hero-stat-num { font-size: 22px; font-weight: 800; color: var(--blue); display: block; }
  .hero-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

  /* Filter card */
  .filter-card {
    background: #fff;
    border: 1px solid #E4E8EF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
  }
  .filter-row {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #F0F2F5;
  }
  .filter-input {
    flex: 1;
    min-width: 180px;
    padding: 9px 14px 9px 38px;
    border: 1.5px solid #D0D6E2;
    border-radius: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    background: #F5F7FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23B0B8C5' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 12px center;
    outline: none;
    transition: border-color .15s;
  }
  .filter-input:focus { border-color: var(--blue); background-color: #fff; }
  .filter-date {
    padding: 9px 12px;
    border: 1.5px solid #D0D6E2;
    border-radius: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    background: #F5F7FA;
    outline: none;
    transition: border-color .15s;
    cursor: pointer;
  }
  .filter-date:focus { border-color: var(--blue); }
  .filter-select {
    padding: 9px 12px;
    border: 1.5px solid #D0D6E2;
    border-radius: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    background: #F5F7FA;
    outline: none;
    cursor: pointer;
    transition: border-color .15s;
  }
  .filter-select:focus { border-color: var(--blue); }
  .filter-reset-btn {
    padding: 9px 14px;
    border: 1.5px solid #D0D6E2;
    border-radius: 8px;
    background: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
  }
  .filter-reset-btn:hover { border-color: var(--blue); color: var(--blue); }

  .view-toggle { display: flex; gap: 4px; margin-left: auto; }
  .view-btn {
    width: 34px; height: 34px;
    border: 1.5px solid #D0D6E2;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all .15s;
    font-size: 15px;
  }
  .view-btn.active { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }
  .view-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

  /* Tabs */
  .filter-tabs { padding: 0 20px; display: flex; gap: 0; }
  .filter-tab {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    transition: color .15s, border-color .15s;
    margin-bottom: -1px;
    display: flex; align-items: center; gap: 6px;
  }
  .filter-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
  .tab-count {
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 10px;
  }
  .filter-tab.active .tab-count { background: var(--blue-light); color: var(--blue); }

  /* Status badges */
  .status-dot { width:7px; height:7px; border-radius:50%; display:inline-block; flex-shrink:0; }
  .status-dot.live { background:#E53935; animation: dot-pulse 1.4s infinite; }
  .status-dot.active { background: var(--blue); }
  .status-dot.done { background: var(--text-hint); }
  @keyframes dot-pulse {
    0%,100%{box-shadow:0 0 0 3px rgba(229,57,53,.25)}
    50%{box-shadow:0 0 0 6px rgba(229,57,53,.08)}
  }

  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .status-badge.live { background: #E53935; color: #fff; }
  .status-badge.active { background: var(--blue-light); color: var(--blue); }
  .status-badge.done { background: #F0F2F5; color: var(--text-muted); }

  /* Grid view */
  .draws-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
  }
  .draw-card {
    background: #fff;
    border: 1px solid #E4E8EF;
    border-radius: var(--radius-lg);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
  }
  .draw-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  .draw-date { font-size: 12px; color: var(--text-hint); font-weight: 600; }
  .draw-name { font-size: 14px; font-weight: 800; margin-bottom: 6px; line-height: 1.35; }
  .draw-organizer {
    font-size: 12px;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 5px;
    margin-bottom: 14px;
  }
  .draw-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #F0F2F5;
  }
  .draw-stats {
    display: flex; gap: 12px;
    font-size: 12px; color: var(--text-muted); font-weight: 600;
  }
  .draw-stat { display: flex; align-items: center; gap: 4px; }

  .btn-sm {
    padding: 6px 14px;
    border-radius: 7px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    border: 1.5px solid #D0D6E2;
    background: #fff;
    cursor: pointer;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    transition: all .15s;
    white-space: nowrap;
  }
  .btn-sm:hover { border-color: var(--blue); color: var(--blue); }

  /* Table view */
  .draws-table-wrap {
    background: #fff;
    border: 1px solid #E4E8EF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
  }
  .draws-table { width: 100%; border-collapse: collapse; }
  .draws-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    border-bottom: 1px solid #E4E8EF;
    background: #F5F7FA;
  }
  .draws-table td {
    padding: 13px 16px;
    font-size: 13px;
    border-bottom: 1px solid #F0F2F5;
    vertical-align: middle;
  }
  .draws-table tr:last-child td { border-bottom: none; }
  .draws-table tr:hover td { background: #FAFBFC; }
  .td-name { font-weight: 700; color: var(--text); font-size: 14px; }
  .td-muted { color: var(--text-muted); }

  /* Empty state */
  .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
  }
  .empty-state-icon { font-size: 48px; margin-bottom: 12px; }
  .empty-state h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; color: var(--text); }
  .empty-state p { font-size: 14px; }

  /* Pagination */
  .pagination {
    display: flex; align-items: center; justify-content: center;
    gap: 4px; padding: 20px 0;
  }
  .page-btn {
    min-width: 34px; height: 34px; padding: 0 8px;
    border: 1.5px solid #D0D6E2; border-radius: 8px;
    background: #fff; font-family: 'Nunito Sans', sans-serif;
    font-size: 13px; font-weight: 700; color: var(--text-muted);
    cursor: pointer; transition: all .12s; line-height: 1;
  }
  .page-btn:hover:not(:disabled):not(.active) { border-color: var(--blue); color: var(--blue); }
  .page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; cursor: default; }
  .page-btn:disabled { opacity: .35; cursor: default; }
  .page-btn.ellipsis { border-color: transparent; background: transparent; cursor: default; color: var(--text-hint); }

  /* CTA */
  .cta-block {
    background: linear-gradient(135deg, #2155C4 0%, #4A80F0 100%);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
  }
  .cta-block h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
  .cta-block p { font-size: 15px; opacity: .85; margin-bottom: 24px; }
  .btn-white {
    background: #fff;
    color: var(--blue);
    padding: 12px 28px;
    border-radius: 9px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity .15s;
  }
  .btn-white:hover { opacity: .92; }

  @media (max-width: 780px) {
    .draws-grid { grid-template-columns: 1fr 1fr; }
    .draws-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
  }
  @media (max-width: 540px) {
    .draws-grid { grid-template-columns: 1fr; }
    .draws-hero-stats { width: 100%; }
    .hero-stat { flex: 1; }
  }
  .btn-link { background: none; border: none; color: var(--blue); font-weight: 700; cursor: pointer; font-family: inherit; font-size: inherit; }
