/* 共通色・カーソルを再利用し、ゲーム用の拡大と固定画面から文章を切り離す。 */
html {
  zoom: 1;
}

body {
  background: #030312;
  font-family: 'DotGothic16', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  overflow: visible;
}

.privacy-page {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 32px 24px 48px;
  overflow-wrap: anywhere;
}

.privacy-page h1 {
  margin: 24px 0 16px;
  font-size: 1.75rem;
  line-height: 1.5;
}

.privacy-section {
  margin-top: 32px;
}

.privacy-section h2 {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3b485d;
  font-size: 1.2rem;
  line-height: 1.6;
}

.privacy-section ul {
  padding-left: 1.5em;
}

.privacy-section li + li {
  margin-top: 12px;
}

.privacy-page a {
  color: #b4d6ff;
  text-underline-offset: 0.2em;
}

.privacy-page a:hover {
  color: var(--ui-text-main);
}

.privacy-page a:focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: 3px;
}

.privacy-date {
  margin: 32px 0 24px;
  color: var(--ui-text-subtle);
}

.privacy-page .privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--ui-text-main);
  letter-spacing: 2px;
  text-decoration: none;
}

/* 通常フローでカーソルの幅を残し、クエストの戻る操作と同じ表現にする。 */
.privacy-back > .menu-cursor {
  position: static;
  height: auto;
  font: inherit;
  color: inherit;
  transform: none;
}

.privacy-page .privacy-back:focus-visible {
  outline: none;
}

.privacy-debug-log {
  margin-top: 16px;
}

.privacy-debug-copy {
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid #b4d6ff;
  border-radius: 4px;
  background: #141c2d;
  color: var(--ui-text-main);
  font: inherit;
  line-height: 1.6;
  cursor: pointer;
}

.privacy-debug-copy:hover {
  background: #25334b;
}

.privacy-debug-copy:focus-visible,
.privacy-debug-manual textarea:focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: 3px;
}

.privacy-debug-result {
  min-height: 1.9em;
  margin-top: 8px;
  color: var(--ui-text-subtle);
}

.privacy-debug-manual {
  margin-top: 8px;
}

.privacy-debug-manual label {
  display: block;
  margin-bottom: 8px;
}

.privacy-debug-manual textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #66738b;
  border-radius: 4px;
  background: #0b1020;
  color: var(--ui-text-main);
  font: 0.9rem/1.6 monospace;
  resize: vertical;
}
