/* The Godot web loader uses the same paper palette as the game. */
body { color: #201b26; background: #faf5e5; }
#status { background: #faf5e5; color: #201b26; font-family: system-ui, sans-serif; }
#status::before { content: "HOLY DICE"; font-size: 30px; font-weight: 900; letter-spacing: 2px; margin-bottom: 22px; }
#status::after { content: "惊奇骰子"; font-size: 18px; font-weight: 700; margin-top: 12px; }
#status-splash { content: url("index.icon.png"); position: static; display: block !important; width: 112px !important; height: 112px !important; margin: 0; border: 2px solid #201b26; border-radius: 8px; box-shadow: 4px 4px #201b26; }
#status-progress { position: static; width: min(240px, 70vw); height: 12px; margin: 28px 0 0; border: 1px solid #201b26; border-radius: 2px; background: #dfdbd2; color: #a3ceb0; accent-color: #a3ceb0; appearance: none; }
#status-progress::-webkit-progress-bar { background: #dfdbd2; }
#status-progress::-webkit-progress-value { background: #a3ceb0; }
#status-progress::-moz-progress-bar { background: #a3ceb0; }
#status-notice { background: #f9d8d0; color: #201b26; border: 2px solid #201b26; border-radius: 3px; box-shadow: 3px 3px #201b26; font-family: inherit; margin-top: 24px; }
/* Filing links added by holy-dice-boot.js inside #status: out of the centred flex column, pinned
   to the bottom, and removed with the overlay when the game starts. One line with a separator
   from 400 px; narrower screens stack the two links so nothing overflows at 320 px. */
#holy-dice-filing { position: absolute; left: 0; right: 0; bottom: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; padding: 0 16px; text-align: center; font-size: 11px; line-height: 22px; color: #6b655d; }
#holy-dice-filing a { color: inherit; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
#holy-dice-filing a:hover { color: #c4433b; text-decoration: underline; }
/* Separate rule: browsers without :focus-visible would drop a combined selector list. */
#holy-dice-filing a:focus-visible { color: #c4433b; text-decoration: underline; }
#holy-dice-filing a:active { color: #201b26; }
#holy-dice-filing .separator { margin: 0 6px; }
@media (max-width: 399.98px) {
	#holy-dice-filing a { display: table; margin: 0 auto; }
	#holy-dice-filing .separator { display: none; }
}
/* Keep the centred column clear of the footer: two 22 px lines plus the 10 px offset below
   400 px wide, one line from 400 px. Short screens (old small iPhones with browser bars,
   landscape) also tighten the column so a start-failure notice cannot run into the links. */
#status { box-sizing: border-box; padding-bottom: 60px; padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 400px) {
	#status { padding-bottom: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-height: 560px) {
	#status::before { font-size: 22px; margin-bottom: 10px; }
	#status::after { font-size: 15px; margin-top: 6px; }
	#status-splash { width: 72px !important; height: 72px !important; }
	#status-progress { margin-top: 14px; }
	#status-notice { margin-top: 12px; }
}
