/* このゲームについて（全ゲーム共通。2026-11-12。仕組みは /about.js）。どのゲームの上でも読めるよう、生成りの紙に黒い字 */
.about-panel {
  position: fixed; inset: 0; z-index: 2147483000; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: #f7f3ec; color: #231a16; text-align: left;
  font: 400 14px/1.85 "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif; letter-spacing: 0;
  user-select: text; -webkit-user-select: text; touch-action: pan-x pan-y; pointer-events: auto; /* pan-x も：雪合戦は縦持ちで画面ごと90度回すので、指の向きが入れ替わる */
}
.about-panel[hidden] { display: none; }
/* 上の余白は × の高さ（40px）＋余白。× が見出しの字に重ならないように（幅 320 でも） */
.about-panel .about-in { max-width: 560px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 64px) calc(env(safe-area-inset-right, 0px) + 18px) calc(env(safe-area-inset-bottom, 0px) + 40px) calc(env(safe-area-inset-left, 0px) + 18px); }
/* 見出し・本文・問いは、色・大きさ・字間をはっきり決める（水切りのゲーム側の dt { color: 半透明の白 } が効いて、問いが読めなかった） */
.about-panel h2 { margin: 0 0 12px; font-size: 21px; font-weight: 700; line-height: 1.4; color: #231a16; letter-spacing: 0; }
.about-panel h3 { margin: 22px 0 6px; font-size: 15.5px; font-weight: 700; color: #8a3b22; letter-spacing: 0; }
.about-panel p { margin: 0 0 10px; font-size: 14px; color: #231a16; letter-spacing: 0; }
.about-panel dl { margin: 0; }
.about-panel dt { margin-top: 8px; font-size: 14px; font-weight: 700; color: #231a16; letter-spacing: 0; }
.about-panel dd { margin: 0 0 4px; font-size: 14px; color: #5a4a40; letter-spacing: 0; }
.about-panel a { color: #8a3b22; }
.about-panel .about-more { margin-top: 20px; }
.about-panel .about-close {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); right: calc(env(safe-area-inset-right, 0px) + 14px);
  width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid rgba(35, 26, 22, .25); background: rgba(255, 255, 255, .7);
  color: #231a16; font: 400 22px/1 system-ui, sans-serif; cursor: pointer;
}
/* 開くボタン：タイトルの中に小さく。色はまわりの字に合わせる */
.about-link {
  display: inline-block; margin: 6px auto 0; padding: 4px 8px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 12px; color: inherit; opacity: .75; text-decoration: underline; text-underline-offset: 3px;
  pointer-events: auto; touch-action: manipulation;
}
