
*{box-sizing:border-box}
body{
  margin:0;
  background:#070a12;
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
}
/* when running inside the katage theme, bg-dark supplies the dark bg */
#main.bg-dark{
  background:#070a12 !important;
  min-height:60vh;
}
.rd-site-header{
  min-height:82px;
  padding:22px 48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#050505;
  border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky;
  top:0;
  z-index:20;
}
.rd-brand{
  color:#ff243d;
  font-weight:900;
  letter-spacing:1px;
}
.rd-site-header nav{
  display:flex;
  gap:28px;
}
.rd-site-header a{
  color:#eee;
  text-decoration:none;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:3px;
}
.rd-site-footer{
  padding:28px 48px;
  background:#050505;
  border-top:1px solid rgba(255,255,255,.08);
  color:#aaa;
  display:flex;
  justify-content:space-between;
}
.rd-wrap{
  max-width:1240px;
  margin:0 auto;
  padding:44px 24px 70px;
}
.rd-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:26px;
}
.rd-topbar h1{
  font-size:40px;
  margin:0;
  font-weight:500;
}
.rd-controls{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.rd-search,.rd-select{
  height:48px;
  border-radius:999px;
  border:1px solid rgba(214,166,72,.35);
  background:#11131c;
  color:#fff;
  padding:0 18px;
}
.rd-search{width:280px}
.rd-btn{
  height:48px;
  border-radius:999px;
  border:1px solid rgba(214,166,72,.45);
  background:linear-gradient(135deg,#d6a648,#8a5a1c);
  color:#111;
  font-weight:800;
  padding:0 20px;
  cursor:pointer;
}
/* ── day group ──────────────────────────────────────── */
.rd-sched-day{
  margin-bottom:12px;
}
.rd-sched-day-hdr{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 24px;
  background:#0e1018;
  border:1px solid rgba(255,255,255,.07);
  border-radius:14px;
  cursor:pointer;
  user-select:none;
  transition:background .15s;
}
.rd-sched-day-hdr:hover{background:#111420}
.rd-day-badge{
  background:linear-gradient(135deg,#d6a648,#8a5a1c);
  color:#111;
  font-size:11px;
  font-weight:900;
  letter-spacing:2px;
  padding:5px 12px;
  border-radius:999px;
}
.rd-day-chev{
  color:#556;
  font-size:13px;
  transition:transform .2s;
}
.rd-sched-events{
  padding:6px 0 4px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* ── event card ─────────────────────────────────────── */
.rd-sc-card{
  display:grid;
  grid-template-columns:1fr 200px 200px;
  align-items:center;
  background:linear-gradient(135deg,#131722,#0d1018);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  color:#fff;
  text-decoration:none;
  overflow:hidden;
  transition:border-color .18s, transform .15s;
  position:relative;
}
.rd-sc-card::after{
  content:"♠";
  position:absolute;
  right:220px;
  top:50%;
  transform:translateY(-50%);
  font-size:120px;
  opacity:.025;
  pointer-events:none;
  line-height:1;
}
.rd-sc-card:hover{
  border-color:rgba(214,166,72,.45);
  transform:translateY(-1px);
}
.rd-sc-card--live{
  border-color:rgba(66,133,255,.55);
  box-shadow:0 0 0 1px rgba(66,133,255,.2);
}
.rd-sc-card--live:hover{border-color:rgba(66,133,255,.8)}
.rd-sc-card--done{border-color:rgba(255,255,255,.05)}

/* left section */
.rd-sc-main{
  padding:20px 24px;
}
.rd-sc-title{
  font-size:17px;
  font-weight:700;
  margin-bottom:8px;
  line-height:1.3;
}
.rd-sched-time-row{
  font-size:13px;
  color:#8d94a5;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
}
.rd-reg-closed{color:#e55;font-size:12px}

/* middle stats */
.rd-sc-stats{
  padding:20px 16px;
  border-left:1px solid rgba(255,255,255,.06);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.rd-sc-stat{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:8px;
}
.rd-sc-stat span{
  color:#8d94a5;
  font-size:13px;
  white-space:nowrap;
}
.rd-sc-stat strong{
  font-size:14px;
  text-align:right;
}

/* right status panel */
.rd-sc-status{
  padding:20px 20px;
  border-left:1px solid rgba(255,255,255,.06);
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  font-size:13px;
}
.rd-sc-count{
  color:#556;
  font-size:12px;
  margin-top:2px;
}
.rd-sc-live{color:#4ade80;font-weight:700}
.rd-sc-concluded{color:#8d94a5}
.rd-sc-sched{color:#aab0bf}
.rd-sc-winner{}
.rd-sc-trophy{font-size:18px;line-height:1}
.rd-sc-winner-name{
  color:#d6a648;
  font-weight:700;
  font-size:14px;
  line-height:1.3;
}
.rd-sc-winner-prize{
  color:#aab0bf;
  font-size:12px;
}

/* keep old classes still used elsewhere */
.rd-label{
  color:#ffe08f;
  font-size:12px;
  font-weight:900;
  letter-spacing:2px;
}
.rd-muted{
  color:#aab0bf;
  font-size:14px;
  line-height:1.45;
}
.rd-results-hero,.rd-event-hero{
  background:linear-gradient(135deg,#1b0308,#111827 55%,#050505);
  border:1px solid rgba(214,166,72,.28);
  border-radius:26px;
  padding:34px;
  margin-bottom:28px;
}
.rd-results-hero h1,.rd-event-hero h1{
  margin:0 0 8px;
  font-size:42px;
}
.rd-results-table{
  width:100%;
  border-collapse:collapse;
  background:rgba(255,255,255,.03);
  border-radius:20px;
  overflow:hidden;
}
.rd-results-table th,.rd-results-table td{
  padding:16px;
  border-bottom:1px solid rgba(255,255,255,.09);
  text-align:left;
}
.rd-results-table th{
  color:#ffe08f;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
}
.rd-results-table .date{
  color:#ff334f;
  font-weight:900;
}
.rd-results-table .prize{
  font-weight:900;
}
.rd-tabs{
  display:flex;
  gap:10px;
  margin:24px 0;
  flex-wrap:wrap;
}
.rd-tabs button{
  border:1px solid rgba(214,166,72,.3);
  background:#11131c;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  cursor:pointer;
}
.rd-tabs button.active{
  background:linear-gradient(135deg,#d6a648,#8a5a1c);
  color:#111;
  font-weight:900;
}
/* ── event page header ────────────────────────────────── */
.rd-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  margin-bottom:20px;
  flex-wrap:wrap;
}
.rd-breadcrumb a{color:#ffe08f;text-decoration:none}
.rd-breadcrumb a:hover{text-decoration:underline}
.rd-bc-sep{color:#555}
.rd-event-hdr{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:20px;
}
.rd-event-banner{
  width:100%;
  max-height:220px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:24px;
  display:block;
}
/* status badges */
.rd-badge-live{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(74,222,128,.12);
  border:1px solid rgba(74,222,128,.4);
  color:#4ade80;
  border-radius:999px;
  padding:8px 16px;
  font-size:12px;
  font-weight:900;
  letter-spacing:2px;
  white-space:nowrap;
}
.rd-ping{
  width:8px;height:8px;
  border-radius:50%;
  background:#4ade80;
  display:inline-block;
  animation:rdPing 1.2s ease-in-out infinite;
  flex-shrink:0;
}
@keyframes rdPing{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.7);opacity:.35}
}
.rd-badge-scheduled{
  display:inline-block;
  background:rgba(214,166,72,.15);
  border:1px solid rgba(214,166,72,.4);
  color:#ffe08f;
  border-radius:999px;
  padding:8px 16px;
  font-size:12px;
  font-weight:900;
  letter-spacing:2px;
  white-space:nowrap;
}
.rd-badge-done{
  display:inline-block;
  background:rgba(148,163,184,.1);
  border:1px solid rgba(148,163,184,.3);
  color:#94a3b8;
  border-radius:999px;
  padding:8px 16px;
  font-size:12px;
  font-weight:900;
  letter-spacing:2px;
  white-space:nowrap;
}
/* ── live clock panel ─────────────────────────────────── */
.rd-live-panel{
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  gap:24px;
  align-items:center;
  background:linear-gradient(135deg,rgba(22,101,52,.55),rgba(5,46,22,.3) 55%,rgba(7,10,18,.85));
  border:1px solid rgba(74,222,128,.22);
  border-radius:24px;
  padding:28px 32px;
  margin-bottom:24px;
}
.rd-live-side{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.rd-live-right{text-align:right}
.rd-live-stat span{
  display:block;
  color:#8d94a5;
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:4px;
}
.rd-live-stat strong{font-size:19px;font-weight:700}
.rd-live-center{text-align:center}
.rd-level-label{
  color:#4ade80;
  font-size:11px;
  font-weight:900;
  letter-spacing:3px;
  text-transform:uppercase;
  margin-bottom:2px;
}
.rd-clock{
  font-size:84px;
  font-weight:900;
  color:#4285ff;
  margin:4px 0;
  font-variant-numeric:tabular-nums;
  line-height:1;
  letter-spacing:-2px;
}
.rd-blinds-now{
  font-size:20px;
  font-weight:700;
  margin:10px 0 6px;
  letter-spacing:.5px;
}
.rd-progress-bar{
  height:4px;
  background:rgba(255,255,255,.1);
  border-radius:2px;
  overflow:hidden;
  margin:10px auto;
  max-width:340px;
}
.rd-progress-fill{
  height:100%;
  background:linear-gradient(90deg,#4285ff,#4ade80);
  border-radius:2px;
  width:0%;
  transition:width 1s linear;
}
.rd-players-row{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#8d94a5;
  margin-top:6px;
  gap:8px;
}
.rd-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.rd-stat{
  background:#11131c;
  border:1px solid rgba(255,255,255,.1);
  padding:18px;
  border-radius:18px;
}
.rd-stat span{
  color:#8d94a5;
  display:block;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:12px;
  margin-bottom:7px;
}
.rd-stat strong{
  font-size:24px;
}
.rd-box{
  background:#11131c;
  border:1px solid rgba(255,255,255,.1);
  border-radius:20px;
  padding:24px;
}
@media(max-width:900px){
  .rd-site-header,.rd-site-footer{padding:20px;flex-direction:column;gap:14px}
  .rd-topbar{align-items:stretch;flex-direction:column}
  .rd-search{width:100%}
  .rd-stat-grid{grid-template-columns:repeat(2,1fr)}
  .rd-results-table{font-size:13px}
  .rd-results-table th,.rd-results-table td{padding:10px}
  /* live event panel */
  .rd-live-panel{grid-template-columns:1fr;padding:20px;gap:16px}
  .rd-live-side{flex-direction:row;flex-wrap:wrap;gap:12px;justify-content:space-between}
  .rd-live-right{text-align:left}
  .rd-live-stat strong{font-size:16px}
  .rd-clock{font-size:64px;letter-spacing:-1px}
  .rd-blinds-now{font-size:16px}
  .rd-event-hdr{flex-direction:column;gap:10px}
  /* schedule cards */
  .rd-sc-card{grid-template-columns:1fr}
  .rd-sc-stats{border-left:none;border-top:1px solid rgba(255,255,255,.06);flex-direction:row;flex-wrap:wrap;gap:12px;padding:14px 20px}
  .rd-sc-stat{flex-direction:column;gap:2px;align-items:flex-start}
  .rd-sc-stat strong{text-align:left}
  .rd-sc-status{border-left:none;border-top:1px solid rgba(255,255,255,.06);flex-direction:row;align-items:center;gap:12px;padding:14px 20px}
  .rd-sched-day-hdr{padding:14px 16px}
}
