/* こわい・むずかしいゲームの ページ（rakko-games.com/otona/）の 見た目。落ち着いた 暗めの 紺（ダイノの パステルに しない）。絵は 出さない */
:root { --fb: "BIZ UDPGothic", system-ui, sans-serif; --rk-edge: #9fb0d0; }  /* ボタンの ふち（brand/buttons.css）は 暗い 背景に 合わせて 明るく */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #141b2e; }
body {
  touch-action: manipulation;
  margin: 0; min-height: 100vh; min-height: 100dvh; color: #dfe5f2;
  background: linear-gradient(180deg, #141b2e 0%, #1d2740 100%);
  font-family: var(--fb); line-height: 1.6; overflow-wrap: anywhere;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
}
html[lang="ja"] p, html[lang="ja"] li { word-break: auto-phrase; }
main { max-width: 640px; margin: 0 auto; }
#brand { display: block; margin: 0 0 14px; text-align: center; font-size: .9rem; font-weight: 700; color: #a9b7d4; text-decoration: none; }
h1 { margin: 0 0 8px; text-align: center; font-size: 1.35rem; font-weight: 700; color: #f2f5fb; }
.lead { margin: 0 0 20px; padding: 10px 14px; border: 1px solid #46557a; border-radius: 10px; text-align: center; font-size: .85rem; color: #dfe5f2; }
html[lang="ja"] .lead { word-break: keep-all; }  /* 「、」の あとで 改行（ことばの とちゅうで 切らない）。せまい 画面は overflow-wrap で 折る */
.cards { display: grid; gap: 12px; }
.card { padding: 16px 18px; border-radius: 12px; background: #26314d; border: 1px solid #38476b; }
.card h2 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; color: #f2f5fb; }
.card p { margin: 0 0 12px; font-size: .9rem; color: #c8d1e5; }
/* 「PC で遊んでね」は スマホ・タブレット（指で さわる 端末）か せまい 画面だけ */
.card .pc { display: none; color: #f0d9a4; }
@media (pointer: coarse), (max-width: 600px) { .card .pc { display: block; } }
.card .play { padding: 8px 28px; border: 0; border-radius: 8px; font: inherit; font-weight: 700; background: #3d5a94; color: #fff; cursor: pointer; }
.card .soon { display: inline-block; padding: 4px 14px; border-radius: 8px; border: 1px dashed #6d7da3; font-size: .85rem; color: #b5c0d8; }
.to-top { margin: 24px 0; text-align: center; }
.to-top a { color: #c8d1e5; }
/* 確認の 窓 */
#ask { width: min(420px, calc(100vw - 32px)); padding: 20px; border: 1px solid #55658d; border-radius: 14px; background: #1b243b; color: #dfe5f2; }
#ask::backdrop { background: rgba(6, 9, 18, .78); }
#ask h2 { margin: 0 0 10px; font-size: 1.15rem; color: #f2f5fb; }
#ask ul { margin: 0 0 18px; padding-left: 1.3em; font-size: .95rem; }
#ask li { margin: 0 0 6px; }
.ask-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ask-btns > * { flex: 1 1 120px; padding: 10px 16px; border: 0; border-radius: 8px; font: inherit; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
#ask-enter { background: #3d5a94; color: #fff; outline: 2px solid var(--rk-edge); outline-offset: -2px; }
#ask-back { background: #2b3755; color: #f2f5fb; }
#ask button:focus-visible, #ask a:focus-visible, .card .play:focus-visible, a:focus-visible { outline: 3px solid #8fc0ff; outline-offset: 1px; }
footer { text-align: center; font-size: .8rem; color: #a9b7d4; }
footer a { color: inherit; }
footer .site-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin: 0 0 6px; font-size: .9rem; }
footer .site-links a { padding: 6px 2px; }
#langs { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
#langs a { padding: 6px 14px; border-radius: 999px; text-decoration: none; }
