/* css/style.css — 全画面の横向きゲーム。文字や部品はすべて Canvas に描くので、ここは器だけ。 */
:root { color-scheme: dark; --bg: #0d0f14; --paper: #f3ead6; --ink: #1c2233; --vermilion: #c8402e; }
html, body { height: 100%; margin: 0; padding: 0; background: var(--bg); overflow: hidden; overscroll-behavior: none; }
body { position: fixed; inset: 0; width: 100%; height: 100%; font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; color: var(--paper); }
#stage { position: absolute; top: 0; bottom: env(safe-area-inset-bottom, 0px); left: env(safe-area-inset-left, 0px); right: env(safe-area-inset-right, 0px); background: var(--bg); }
#game { display: block; width: 100%; height: 100%; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#fb-text { position: absolute; box-sizing: border-box; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 10px; background: rgba(243,234,214,0.96); color: var(--ink); font-family: inherit; line-height: 1.5; resize: none; z-index: 5; }
#fb-text[hidden] { display: none; }
#msg { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: 20px; letter-spacing: 0.1em; }
#msg[hidden] { display: none; }
#rotate { display: none; position: absolute; inset: 0; background: var(--bg); align-items: center; justify-content: center; z-index: 10; }
#rotate .card { text-align: center; font-size: 22px; letter-spacing: 0.08em; padding: 32px 40px; border: 2px solid var(--paper); border-radius: 12px; }
#rotate .icon { font-size: 56px; color: var(--vermilion); margin-bottom: 12px; }
@media (orientation: portrait) and (max-width: 900px) { #rotate { display: flex; } }
