html, body {
  margin: 0; padding: 0; height: 100%;
  background: #0b0b0b; color: #eee;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow: hidden;
}
#c { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; cursor: none; }
#hud { position: fixed; left: 10px; top: 10px; z-index: 5; pointer-events: none; }
.row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.pill {
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  padding: 6px 10px;
  font-size: 14px;
  backdrop-filter: blur(6px);
}
.heat { display: flex; gap: 10px; align-items: center; }
.heat .label { width: 42px; opacity: .85; font-size: 13px; }
.heat .bar {
  width: 210px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
}
.heat .fill { height: 100%; width: 0%; background: rgba(255,90,90,.85); }
.heat .small { width: 140px; opacity: .7; font-size: 12px; }

.overlay {
  position: fixed; inset: 0; z-index: 10;
  background: rgba(0,0,0,.55);
  display: grid; place-items: center;
}
.hidden { display: none; }
.card {
  width: min(760px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  overflow: auto;
  background: rgba(15,15,15,.85);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}
.title { font-size: 26px; font-weight: 750; letter-spacing: .2px; }
.sub { opacity: .85; margin-top: 6px; line-height: 1.35; }
.list { margin: 10px 0 0 18px; opacity: .9; }
.actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
button {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 650;
  cursor: pointer;
}
button:hover { background: rgba(255,255,255,.15); }
button.ghost { background: transparent; }
button.ghost:hover { background: rgba(255,255,255,.08); }

.board { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.boardTitle { font-weight: 700; opacity: .9; margin-bottom: 6px; }
ol { margin: 0 0 0 18px; padding: 0; }
li { margin: 4px 0; opacity: .9; }
.tiny { margin-top: 12px; opacity: .55; font-size: 12px; }

.nameRow { display: flex; gap: 10px; margin-top: 12px; align-items: center; flex-wrap: wrap; }
input {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.25);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  min-width: 220px;
}

.pause {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(0,0,0,.72);
  display: grid; place-items: center;
}
.pauseCard {
  background: rgba(15,15,15,.85);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
}
.pauseTitle { font-weight: 900; font-size: 28px; letter-spacing: 2px; }
.pauseSub { opacity: .8; margin-top: 6px; }
