/* オンラインの画面だけの見た目。盤・駒・時計の欄は app/style.css を使う。 */

.screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: var(--bg);
  overflow-y: auto;
}
.screen[hidden] { display: none; }
.screen.over-board { background: rgba(0, 0, 0, 0.55); }
.card {
  width: min(380px, 100%);
  padding: 24px 20px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  text-align: center;
}
.card h1 { margin: 0 0 10px; font-size: 20px; line-height: 1.4; }
.card p { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: var(--muted); white-space: pre-line; }
.card p.strong { color: var(--text); font-weight: 700; }
.card .buttons { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-top: 4px; }
.card .buttons button, .card .buttons a.button {
  display: block;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  color: var(--button-text);
  background: var(--button);
  border: 0;
  border-radius: 8px;
}
.card .buttons .secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--panel-border);
}
.url-box {
  width: 100%;
  margin: 0 0 12px;
  padding: 12px 10px;
  font: 14px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  word-break: break-all;
  text-align: left;
  user-select: all;
  -webkit-user-select: all;
}
.google-slot { display: flex; justify-content: center; min-height: 44px; margin-bottom: 12px; }
.dev-field {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
}
.card .note { font-size: 12px; margin-top: 14px; margin-bottom: 0; }
.card .note a { color: inherit; }

.extra { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.extra button.next { min-width: 220px; min-height: 48px; font-size: 16px; }
.extra button.next:disabled { opacity: 0.6; }
.opponent-status { color: var(--check); font-weight: 700; }

/* トップページ・プライバシーポリシー */
.page { width: min(640px, 100%); margin: 0 auto; padding: 24px var(--gutter) 48px; line-height: 1.8; }
.page h1 { font-size: 24px; margin: 8px 0 16px; line-height: 1.4; }
.page h2 { font-size: 18px; margin: 28px 0 8px; line-height: 1.5; }
.page p, .page li { font-size: 15px; }
.page table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.page th, .page td { padding: 8px; border: 1px solid var(--panel-border); text-align: left; vertical-align: top; }
.page th { background: var(--panel); white-space: nowrap; }
.page a { color: inherit; }
.page .cta {
  display: inline-block;
  margin: 12px 0;
  padding: 14px 24px;
  font-weight: 700;
  text-decoration: none;
  color: var(--button-text);
  background: var(--button);
  border-radius: 10px;
}
.page .muted { color: var(--muted); font-size: 13px; }
