/* gf-playtest capture shell (ticket #1430) — minimal, dependency-free styling for the
   per-candidate wrapper page. Deliberately plain: this page's job is to get consent, then get
   out of the way of the game. */
:root {
  --gf-bg: #0b0c10;
  --gf-fg: #f4f4f6;
  --gf-muted: #9aa0ab;
  --gf-accent: #5ad1c7;
  --gf-panel: #16181f;
  --gf-border: #2a2d36;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: var(--gf-bg);
  color: var(--gf-fg);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.gf-capture-error { padding: 2rem; color: var(--gf-fg); }

dialog#gfConsent {
  border: 1px solid var(--gf-border);
  border-radius: 12px;
  background: var(--gf-panel);
  color: var(--gf-fg);
  max-width: 30rem;
  width: min(92vw, 30rem);
  padding: 1.5rem;
}
dialog#gfConsent::backdrop { background: rgba(0, 0, 0, 0.7); }
#gfConsent h1 { font-size: 1.1rem; margin: 0 0 0.25rem; }
#gfConsent p { color: var(--gf-muted); margin: 0 0 1rem; font-size: 0.9rem; }
.gf-consent-choices { display: grid; gap: 0.6rem; }
.gf-consent-choices button {
  text-align: left;
  border: 1px solid var(--gf-border);
  background: #1c1f28;
  color: var(--gf-fg);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  font: inherit;
}
.gf-consent-choices button:hover, .gf-consent-choices button:focus-visible { border-color: var(--gf-accent); }
.gf-consent-choices b { display: block; }
.gf-consent-choices small { color: var(--gf-muted); }

#gfStage { position: fixed; inset: 0; display: flex; flex-direction: column; }
#gfStage[hidden] { display: none; }
.gf-frame-wrap { position: relative; flex: 1; min-height: 0; }
#gfFrame { width: 100%; height: 100%; border: 0; display: block; background: #000; }

#gfRotateHint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  color: var(--gf-fg);
  text-align: center;
  padding: 2rem;
  z-index: 5;
}
#gfRotateHint[hidden] { display: none; }

.gf-feedback-bar {
  border-top: 1px solid var(--gf-border);
  background: var(--gf-panel);
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.gf-chip {
  border: 1px solid var(--gf-border);
  background: #1c1f28;
  color: var(--gf-fg);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.gf-chip.is-selected { background: var(--gf-accent); color: #04231f; border-color: var(--gf-accent); }
.gf-replay { display: flex; gap: 0.35rem; }
.gf-replay button {
  border: 1px solid var(--gf-border);
  background: #1c1f28;
  color: var(--gf-fg);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.gf-replay button.is-selected { background: var(--gf-accent); color: #04231f; border-color: var(--gf-accent); }
#gfFeedbackSubmit {
  margin-left: auto;
  border: 1px solid var(--gf-accent);
  background: var(--gf-accent);
  color: #04231f;
  border-radius: 6px;
  padding: 0.35rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
#gfFeedbackSubmit:disabled { opacity: 0.4; cursor: not-allowed; }
#gfFeedbackStatus { color: var(--gf-muted); font-size: 0.8rem; margin: 0; flex-basis: 100%; }
