:root{
  --bg1: 10, 10, 12;
  --bg2: 14, 14, 18;

  --text: 245,245,245;
  --muted: 170,175,185;

  --gold: 255, 190, 90;
  --line: 255,255,255;

  --shadow: 0 18px 70px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgb(var(--text));
  background: rgb(var(--bg1));
  overflow-x:hidden;
}

/* BACKGROUND */
.bg{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 20% 15%, rgba(255,190,90,.10), rgba(0,0,0,0)),
    radial-gradient(900px 600px at 80% 40%, rgba(255,255,255,.07), rgba(0,0,0,0)),
    radial-gradient(800px 600px at 50% 90%, rgba(255,90,90,.07), rgba(0,0,0,0)),
    linear-gradient(to bottom, rgb(var(--bg2)), rgb(var(--bg1)));
  filter: saturate(1.08);
  z-index: -3;
}
.vignette{
  position: fixed;
  inset: 0;
  pointer-events:none;
  background: radial-gradient(closest-side at 50% 45%, rgba(0,0,0,0), rgba(0,0,0,.55));
  z-index:-2;
}

/* TOPBAR */
.topbar{
  padding: 26px 22px 10px;
}
.brand{
  max-width: 1400px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  gap: 14px;
}
.brandLogoWrap{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(var(--line),.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.brandLogo{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brandTitle{
  font-weight: 950;
  letter-spacing: .08em;
  font-size: 34px;
  line-height: 1.0;
}
.brandSub{
  margin-top: 6px;
  color: rgb(var(--muted));
  font-weight: 600;
  font-size: 14px;
}

/* GRID (3 COLUMNS) */
.grid{
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 22px 18px;
  display:grid;
  grid-template-columns: 1fr 1fr .80fr;
  gap: 16px;
}
.col{
  display:flex;
  flex-direction: column;
  gap: 16px;
}
/* Staff Cards container */
#staffCards{
  display:flex;
  flex-direction: column;
  gap: 16px;
}

/* CARDS */
.card{
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(var(--line),.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.cardHead{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.cardTitle{
  font-weight: 950;
  letter-spacing: .06em;
  font-size: 13px;
  opacity: .95;
}

/* STATUS */
.statusRow{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 10px;
}
.dot{
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 4px rgba(255,255,255,.05);
}
.dot.ok{
  background: rgba(0,255,160,.9);
  box-shadow: 0 0 0 4px rgba(0,255,160,.10);
}
.statusText{
  font-weight: 900;
  font-size: 14px;
}
.statusSub{
  margin-top: 2px;
  color: rgb(var(--muted));
  font-size: 12px;
  font-weight: 600;
}

.statusBarOuter{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
}
.statusBarInner{
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(var(--gold), .20), rgba(var(--gold), .95));
}

/* BUTTONS */
.btnRow{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgb(var(--text));
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  font-weight: 800;
}
.btn:hover{
  background: rgba(255,255,255,.09);
}
.btn.primary{
  border-color: rgba(var(--gold), .45);
  background: rgba(var(--gold), .14);
}
.btn.primary:hover{
  background: rgba(var(--gold), .18);
}

/* HINT */
.hint{
  margin-top: 12px;
  color: rgb(var(--muted));
  font-size: 12px;
  opacity: .9;
}

/* RULES */
.rules{
  margin: 0;
  padding-left: 18px;
  color: rgb(var(--muted));
}
.rules li{
  margin: 8px 0;
  font-weight: 600;
}

/* LIST */
.list{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.item{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
}
.itemLeft{
  display:flex;
  align-items:center;
  gap: 12px;
}
.badge{
  width: 38px;
  height: 30px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 950;
  border: 1px solid rgba(var(--gold), .35);
  background: rgba(var(--gold), .12);
  color: rgba(var(--gold), 1);
  letter-spacing: .06em;
  font-size: 12px;
}
.badge.gray{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}
.itemText{
  display:flex;
  flex-direction: column;
  gap: 2px;
}
.itemTitle{
  font-weight: 900;
  font-size: 13px;
}
.itemSub{
  color: rgb(var(--muted));
  font-size: 12px;
  font-weight: 600;
}

/* NOW PLAYING */
.npTitle{
  font-weight: 950;
  font-size: 14px;
  margin-bottom: 8px;
}
.npSub{
  color: rgba(var(--gold), 1);
  font-weight: 900;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(var(--gold), .22);
  background: rgba(0,0,0,.22);
  margin-bottom: 10px;
}
.npControls{
  display:flex;
  gap: 10px;
  margin-top: 12px;
}
.npMeta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
.npTime{
  color: rgb(var(--muted));
  font-size: 12px;
  font-weight: 650;
}
.npSeek{
  width: 100%;
  margin-top: 10px;
}

/* ===========================
   STAFF (TEAM PER CARD)
   =========================== */
.teamCard{
  padding: 14px;
}
.teamHeader{
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.teamTitle{
  font-weight: 950;
  font-size: 15px;
  letter-spacing: .02em;
}
.teamSub{
  margin-top: 4px;
  color: rgb(var(--muted));
  font-size: 12px;
  font-weight: 650;
}

.teamList{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.member{
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  padding: 10px 10px;
}
.memberLeft{
  display:flex;
  align-items:center;
  gap: 10px;
}
.memberIcon{
  width: 40px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(var(--gold), .20);
  background: rgba(0,0,0,.22);
  font-size: 18px;
}
.memberText{
  display:flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.memberName{
  font-weight: 950;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.memberRole{
  color: rgb(var(--muted));
  font-size: 12px;
  font-weight: 650;
}

/* FOOTER */
.footer{
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 22px 20px;
  display:flex;
  justify-content: space-between;
  gap: 12px;
  color: rgb(var(--muted));
  font-size: 12px;
}
.footerRight{
  text-align:right;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .grid{ grid-template-columns: 1fr; }
  .brandTitle{ font-size: 28px; }
}

/* ===========================
   WEEKLY DEV RECAP
   =========================== */

.devRecapWrap{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.devRecapTitle{
  font-weight: 950;
  font-size: 14px;
  margin-bottom: 10px;
  letter-spacing: .02em;
}

.devRecap{
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;

  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.28);

  color: rgba(255,255,255,.85);
  font-size: 13px;
  line-height: 1.55;
}

/* Smooth scrollbar */
.devRecap::-webkit-scrollbar{
  width: 6px;
}

.devRecap::-webkit-scrollbar-thumb{
  background: rgba(255,190,90,.4);
  border-radius: 10px;
}

.devRecap h3{
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,190,90,1);
}

.devRecap ul{
  margin: 0 0 12px 18px;
  padding: 0;
}

.devRecap li{
  margin-bottom: 6px;
}

/* ===========================
   Styled Rules
=========================== */

.rules {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ruleHeader {
  margin-top: 18px;
  font-weight: 900;
  font-size: 15px;
  color: rgba(255,190,90,1);
  letter-spacing: .04em;
}

.ruleSubHeader {
  margin-top: 14px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(255,255,255,.9);
}

.ruleItem {
  margin-left: 10px;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}

.ruleFooter {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  font-style: italic;
}

/* ===========================
   SCROLLABLE RULES
=========================== */

.rulesScroll{
  max-height: 420px;   /* adjust height if you want */
  overflow-y: auto;
  padding-right: 8px;
  margin-top: 8px;
}

/* Smooth scrollbar */
.rulesScroll::-webkit-scrollbar{
  width: 6px;
}

.rulesScroll::-webkit-scrollbar-track{
  background: transparent;
}

.rulesScroll::-webkit-scrollbar-thumb{
  background: rgba(255,190,90,.45);
  border-radius: 10px;
}

.rulesScroll::-webkit-scrollbar-thumb:hover{
  background: rgba(255,190,90,.75);
}