/* ── Briefing Overlay (Daily Memo — tipo Papers Please) ────────── */
#briefing-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 450;
  display: none;
  align-items: center;
  justify-content: center;
}
#briefing-overlay.show { display: flex; }
.briefing-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .8);
}
.briefing-header {
  padding: 16px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: .08em;
}
.briefing-content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.briefing-line {
  font-size: 11px;
  color: var(--text2);
  line-height: 1.6;
}
.briefing-dismiss {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 16px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface3);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s;
}
.briefing-dismiss:hover { border-color: var(--text3); }

/* ── Sleep Overlay ─────────────────────────────────────────────── */
#sleep-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .97);
  z-index: 400;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#sleep-overlay.show { display: flex; }

.sleep-title {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text3);
}
.sleep-sub {
  font-size: 12px;
  color: var(--text3);
}
.sleep-options {
  display: flex;
  gap: 10px;
}
.sleep-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--text2);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  transition: all .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.sleep-btn:hover {
  border-color: var(--border2);
  color: var(--text);
}
.sleep-btn.rec {
  border-color: var(--green);
  color: var(--green);
}
.sleep-btn small {
  font-size: 9px;
  opacity: .7;
}
.sleep-hint {
  font-size: 10px;
  color: var(--text3);
  max-width: 300px;
  text-align: center;
  line-height: 1.5;
}

/* ── Game Over ────────────────────────────────────────────────── */
#gameover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .98);
  z-index: 500;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
#gameover.show { display: flex; }

.go-title {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
}
.go-sub {
  font-size: 14px;
  color: var(--text2);
  max-width: 360px;
  text-align: center;
  line-height: 1.6;
}
.go-stats {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 11px;
  line-height: 2;
  color: var(--text2);
}
.go-stats span {
  color: var(--text);
  font-weight: 700;
}
.go-restart {
  background: var(--surface3);
  border: 1px solid var(--border2);
  padding: 10px 24px;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}
.go-restart:hover { border-color: var(--text); }
