/* ============================================================================
   BCRC Scoring — public tables (slate + gold light theme)
   Same tokens as the site's bcrc-wpdatatables.css, namespaced .bcrc-sc-.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

.bcrc-sc{
  --bcrc-slate:#33475a;
  --bcrc-gold:#b07d2a;
  --bcrc-gold-bright:#c8922f;
  --bcrc-gold-soft:#9a6a22;
  --bcrc-ink:#211c18;
  --bcrc-paper-2:#fffdf8;
  --bcrc-paper-3:#ede7da;
  --bcrc-card:#ffffff;
  --bcrc-muted:#5f574c;
  --bcrc-line:rgba(51,71,90,.16);
  --bcrc-disp:'Oswald','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --bcrc-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-family:var(--bcrc-sans);
  color:var(--bcrc-ink);
}

/* ---------- Headings ---------- */
.bcrc-sc-h2{
  font-family:var(--bcrc-disp);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-size:clamp(1.25rem,3vw,1.6rem);
  color:var(--bcrc-slate);
  margin:38px 0 14px;
  padding-bottom:8px;
  border-bottom:1px solid var(--bcrc-line);
  position:relative;
}
.bcrc-sc-h2::after{
  content:"";position:absolute;left:0;bottom:-1px;width:54px;height:3px;
  background:var(--bcrc-gold-bright);
}
.bcrc-sc-day-head{
  font-family:var(--bcrc-disp);
  font-weight:600;
  font-size:1.2rem;
  color:var(--bcrc-slate);
  margin:30px 0 4px;
}
.bcrc-sc-dist{
  color:var(--bcrc-gold-soft);
  font-weight:500;
  margin-left:6px;
}
.bcrc-sc-sub{
  font-family:var(--bcrc-disp);
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.85rem;
  color:var(--bcrc-gold-soft);
  margin:18px 0 8px;
}

/* ---------- Tables ---------- */
.bcrc-sc-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.bcrc-sc-table{
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  background:var(--bcrc-card);
  border:1px solid var(--bcrc-line);
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(40,55,70,.06);
  font-size:.92rem;
  margin:0 0 10px;
}
.bcrc-sc-table thead th{
  background:var(--bcrc-slate);
  color:#fff;
  font-family:var(--bcrc-disp);
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:.74rem;
  border:0;
  padding:11px 12px;
  text-align:left;
  vertical-align:middle;
  cursor:pointer;
  white-space:nowrap;
}
.bcrc-sc-table thead th.bcrc-sorted-asc::after{content:" \25B4";color:var(--bcrc-gold-bright);}
.bcrc-sc-table thead th.bcrc-sorted-desc::after{content:" \25BE";color:var(--bcrc-gold-bright);}
.bcrc-sc-table tbody td{
  padding:9px 12px;
  border-bottom:1px solid var(--bcrc-line);
  background:var(--bcrc-card);
  vertical-align:middle;
}
.bcrc-sc-table tbody tr:nth-child(even) td{background:var(--bcrc-paper-2);}
.bcrc-sc-table tbody tr:hover td{background:var(--bcrc-paper-3);}
.bcrc-sc-table tbody tr:last-child td{border-bottom:0;}

.bcrc-sc-total{
  font-weight:600;
  color:var(--bcrc-slate);
  white-space:nowrap;
}
.bcrc-sc-rank{
  width:2.4em;
  text-align:center;
  font-family:var(--bcrc-disp);
  font-weight:600;
  color:var(--bcrc-slate);
}
.bcrc-sc-name{white-space:nowrap;}
.bcrc-sc-none{color:var(--bcrc-muted);text-align:center;}
.bcrc-sc-scores{line-height:1.45;}
.bcrc-sc-stack{display:block;white-space:nowrap;}
.bcrc-sc-stack + .bcrc-sc-stack{color:var(--bcrc-muted);}
.bcrc-sc-champ td{white-space:nowrap;}
.bcrc-sc-leader td{
  background:linear-gradient(0deg, rgba(200,146,47,.08), rgba(200,146,47,.08)), var(--bcrc-card) !important;
}
.bcrc-sc-leader .bcrc-sc-rank{color:var(--bcrc-gold-soft);}

/* ---------- Notes / empty ---------- */
.bcrc-sc-note{
  font-size:.8rem;
  color:var(--bcrc-muted);
  margin:6px 0 24px;
}
.bcrc-sc-empty{
  background:var(--bcrc-paper-2);
  border:1px solid var(--bcrc-line);
  border-radius:6px;
  padding:14px 16px;
  color:var(--bcrc-muted);
}

/* ---------- Archive ---------- */
.bcrc-sc-details{
  border:1px solid var(--bcrc-line);
  border-radius:6px;
  background:var(--bcrc-card);
  margin:0 0 10px;
  padding:0;
}
.bcrc-sc-details summary{
  cursor:pointer;
  padding:12px 16px;
  font-family:var(--bcrc-disp);
  font-weight:500;
  color:var(--bcrc-slate);
  list-style-position:inside;
}
.bcrc-sc-details summary:hover{background:var(--bcrc-paper-2);}
.bcrc-sc-details[open] summary{border-bottom:1px solid var(--bcrc-line);}
.bcrc-sc-details .bcrc-sc-day{padding:0 16px 14px;}
.bcrc-sc-details .bcrc-sc-day-head{margin-top:14px;font-size:1.05rem;}
.bcrc-sc-count{
  color:var(--bcrc-muted);
  font-family:var(--bcrc-sans);
  font-weight:400;
  font-size:.85rem;
  margin-left:8px;
}

@media (max-width:640px){
  .bcrc-sc-table{font-size:.85rem;}
  .bcrc-sc-table thead th,.bcrc-sc-table tbody td{padding:8px 9px;}
}

/* ---------- Page hero (dynamic member title) ---------- */
.bcrc-sc-hero{
  background:var(--bcrc-paper-2);
  padding:54px 0 0;
  margin:0 0 34px;
}
.bcrc-sc-kicker{
  display:flex;align-items:center;gap:13px;
  font-family:var(--bcrc-disp);font-weight:600;
  letter-spacing:.26em;text-transform:uppercase;
  font-size:.74rem;color:var(--bcrc-gold);
}
.bcrc-sc-kicker::before{content:"";width:36px;height:2px;background:var(--bcrc-gold-bright);flex:none;}
.bcrc-sc-h1{
  font-family:var(--bcrc-disp);font-weight:700;text-transform:uppercase;
  letter-spacing:.005em;font-size:clamp(2.2rem,6vw,3.7rem);line-height:1.01;
  color:var(--bcrc-slate);margin:18px 0 0;max-width:20ch;
}
.bcrc-sc-hero-line{margin-top:38px;height:1px;background:var(--bcrc-line);position:relative;}
.bcrc-sc-hero-line::after{content:"";position:absolute;left:0;top:-1px;width:92px;height:3px;background:var(--bcrc-gold-bright);}

/* ---------- Trophies + chart toggle ---------- */
.bcrc-sc-trophies{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px;}
.bcrc-sc-trophy{
  display:inline-block;
  background:#faf3e4;
  border:1px solid var(--bcrc-gold-bright);
  border-radius:4px;
  padding:6px 14px;
  font-family:var(--bcrc-disp);
  font-weight:600;
  letter-spacing:.04em;
  font-size:.85rem;
  color:var(--bcrc-gold-soft);
}
.bcrc-sc-toggle button{
  font-family:var(--bcrc-sans);
  font-size:.82rem;
  padding:6px 12px;
  border:1px solid var(--bcrc-line);
  background:var(--bcrc-card);
  color:var(--bcrc-ink);
  cursor:pointer;
}
.bcrc-sc-toggle button:first-child{border-radius:4px 0 0 4px;}
.bcrc-sc-toggle button:last-child{border-radius:0 4px 4px 0;border-left:0;}
.bcrc-sc-toggle button.on{background:var(--bcrc-slate);color:#fff;border-color:var(--bcrc-slate);}

/* ---------- Members area ---------- */
.bcrc-sc-cards{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0 0 24px;
}
.bcrc-sc-card{
  background:var(--bcrc-card);
  border:1px solid var(--bcrc-line);
  border-radius:6px;
  padding:14px 18px;
  min-width:150px;
  box-shadow:0 8px 22px rgba(40,55,70,.06);
}
.bcrc-sc-card-label{
  font-family:var(--bcrc-disp);
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.72rem;
  color:var(--bcrc-gold-soft);
}
.bcrc-sc-card-value{
  font-family:var(--bcrc-disp);
  font-weight:600;
  font-size:1.5rem;
  color:var(--bcrc-slate);
  margin:2px 0;
}
.bcrc-sc-card-sub{
  font-size:.78rem;
  color:var(--bcrc-muted);
}
.bcrc-sc-filters{margin:0 0 12px;display:flex;gap:10px;flex-wrap:wrap;}
.bcrc-sc-filters select{
  font-family:var(--bcrc-sans);
  font-size:.9rem;
  padding:6px 10px;
  border:1px solid var(--bcrc-line);
  border-radius:4px;
  background:var(--bcrc-card);
  color:var(--bcrc-ink);
}
.bcrc-sc-chart{
  background:var(--bcrc-card);
  border:1px solid var(--bcrc-line);
  border-radius:6px;
  padding:14px;
  margin:0 0 8px;
  box-shadow:0 8px 22px rgba(40,55,70,.06);
}
.bcrc-sc-counting{color:var(--bcrc-gold-bright);font-size:.7em;vertical-align:middle;}

/* ---------- Per-shot detail (ShotMarker) ---------- */
.bcrc-sc-shots-toggle{
  font-family:var(--bcrc-sans);
  font-size:.72rem;
  padding:2px 9px;
  margin-left:6px;
  border:1px solid var(--bcrc-gold-bright);
  border-radius:3px;
  background:#faf3e4;
  color:var(--bcrc-gold-soft);
  cursor:pointer;
}
.bcrc-sc-shots-row td{background:var(--bcrc-paper-2)!important;}
.bcrc-sc-shotdetail{display:flex;gap:22px;flex-wrap:wrap;align-items:flex-start;padding:6px 2px;}
.bcrc-sc-shotstage{display:flex;gap:12px;align-items:center;}
.bcrc-sc-shotplot{width:96px;height:96px;flex:none;}
.bcrc-sc-shotmeta{font-size:.82rem;color:var(--bcrc-ink);max-width:280px;}
