/* ============================================================
   RCKT Guess Games — v2 skin
   Loaded after each game's own <style>, so it only overrides the
   shared chrome. Game-specific clue rendering stays untouched.
   ============================================================ */

#status{
  max-width:340px; margin:12px auto 8px; padding:7px 13px; border-radius:999px;
  background:rgba(10,12,17,.82); border:1px solid rgba(255,255,255,.10);
  backdrop-filter:blur(8px); font-family:'Inter',system-ui,sans-serif;
  font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-dim); display:flex; align-items:center; justify-content:center; gap:7px;
  box-shadow:0 8px 22px rgba(0,0,0,.35);
}
#status .dot{ width:6px; height:6px; }
#status.connected{ color:#6ee7a0; border-color:rgba(87,224,123,.35); }
#status.error{ color:#ff9a9a; border-color:rgba(255,120,120,.35); }

#card{
  position:relative; width:340px; margin:10px auto 20px; border-radius:18px; overflow:hidden;
  background:
    radial-gradient(120% 90% at 50% -20%, color-mix(in srgb, var(--red-light) 62%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--red-dark) 55%, #10121a), #0a0b10 78%);
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 24px 60px rgba(0,0,0,.6);
  isolation:isolate;
  animation:gcardIn .4s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes gcardIn{ from{ opacity:0; transform:translateY(8px) scale(.985); } to{ opacity:1; transform:none; } }
#card::before{
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1px; z-index:2;
  background:linear-gradient(150deg, color-mix(in srgb, var(--gold) 60%, transparent), transparent 40%, color-mix(in srgb, var(--red-light) 80%, transparent));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; pointer-events:none;
}

#header{ padding:13px 14px 8px; }
#header h1{
  font-size:13.5px; letter-spacing:.02em; display:flex; align-items:center; gap:8px;
  font-weight:800;
}
#header h1::before{
  content:''; width:3px; height:15px; border-radius:2px; flex:0 0 auto;
  background:linear-gradient(180deg,var(--gold),var(--red));
  box-shadow:0 0 8px color-mix(in srgb, var(--gold) 50%, transparent);
}
#timer{
  font-family:'JetBrains Mono',ui-monospace,monospace; font-size:11.5px; font-weight:700;
  color:var(--gold); padding:5px 9px; border-radius:8px;
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.10);
  display:flex; align-items:center; gap:5px; font-variant-numeric:tabular-nums;
}
#timer::before{ content:''; width:4px; height:4px; border-radius:50%; background:var(--gold); box-shadow:0 0 6px var(--gold); }

#clue{
  padding:22px 14px 18px; text-shadow:0 4px 18px rgba(0,0,0,.55);
}
#clue img{ max-width:100%; height:auto; }

#hintRow{
  font-size:10.5px; letter-spacing:.08em; color:var(--text-dim);
  padding:0 14px 8px; text-transform:none;
}
#cmdRow{
  font-size:10px; letter-spacing:.16em; text-transform:uppercase; font-weight:700;
  color:var(--gold); padding:0 14px 11px; opacity:.9;
}
#msg{ font-size:12px; padding:0 14px 10px; color:var(--gold); font-weight:700; min-height:16px; }

#board{
  margin:0 14px 10px; padding:9px 11px 7px; border-radius:11px;
  background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.07);
}
#board h3{
  margin:0 0 5px; font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:8.5px; letter-spacing:.2em; text-transform:uppercase; color:#8d93a3;
}
#lbList{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
#lbList li{
  font-size:11.5px; font-weight:600; padding:3px 0; color:var(--text-dim);
  border-bottom:1px solid rgba(255,255,255,.05); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
#lbList li:last-child{ border-bottom:0; }
#lbList li:first-child{ color:var(--gold); }

#chatBox{
  background:rgba(0,0,0,.28); border-top:1px solid rgba(255,255,255,.07); padding:10px 14px 11px;
}
#chatBox h3{
  margin:0 0 6px; font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:8.5px; letter-spacing:.2em; text-transform:uppercase; color:#8d93a3;
}
#chatFeed{ max-height:118px; gap:3px; }
#chatFeed .cmsg{
  font-size:11px; line-height:1.4; padding:4px 8px; border-radius:7px;
  background:rgba(255,255,255,.045); border-left:2px solid color-mix(in srgb, var(--gold) 45%, transparent);
  animation:gchatIn .28s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes gchatIn{ from{ opacity:0; transform:translateX(-6px); } to{ opacity:1; transform:none; } }
#chatFeed .cmsg .cname{ color:var(--gold); font-weight:800; }
#chatFeed .cmsg .ctext{ color:var(--text-dim); }

#footerNote{
  font-family:'JetBrains Mono',ui-monospace,monospace; font-size:8.5px;
  letter-spacing:.16em; text-transform:uppercase; opacity:.45; padding:9px 14px 12px;
}

#themePicker button{ width:18px; height:18px; }
#themePicker button.active{ box-shadow:0 0 0 2px rgba(255,255,255,.55); }
