/* Tala on the web: the page around the game canvas (docs/design/web-version-plan.md Step A). */
:root { --night: #0d1630; --lantern: #f2c46b; --pearl: #f3eee4; --sky: #3d5fc4; }
html, body { margin: 0; padding: 0; height: 100%; background: var(--night); color: var(--pearl); overflow: hidden;
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#pgd-stage { position: fixed; inset: 0; }
#unity-canvas { width: 100%; height: 100%; display: block; background: var(--night); outline: none; }
#pgd-loading, #pgd-gate, #pgd-error { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; background: var(--night); text-align: center; padding: 0 16px; }
#pgd-loading[hidden], #pgd-gate[hidden], #pgd-error[hidden] { display: none; }
.pgd-brand { font-weight: 300; letter-spacing: 0.5em; font-size: 34px; color: var(--lantern); padding-left: 0.5em; }
.pgd-bar { width: min(320px, 70vw); height: 4px; border-radius: 2px; background: rgba(243, 238, 228, 0.15); overflow: hidden; }
#pgd-bar-fill { width: 0; height: 100%; background: var(--lantern); transition: width 0.2s; }
#pgd-loading-line { font-size: 13px; opacity: 0.7; }
#pgd-gate a { color: var(--lantern); }
#pgd-gate button { background: none; border: 1px solid rgba(243, 238, 228, 0.35); color: var(--pearl); border-radius: 6px;
  padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
#pgd-error { color: var(--pearl); font-size: 14px; }
#pgd-auth-continue { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); padding: 12px 22px;
  border-radius: 10px; border: 1px solid rgba(243, 238, 228, 0.4); background: rgba(13, 22, 48, 0.92); color: var(--pearl);
  font: inherit; font-size: 15px; cursor: pointer; }
#pgd-auth-continue[hidden] { display: none; }
#pgd-callback { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 0 16px; }
