body { background: radial-gradient(circle at top, #1c1917, #020617); font-family: "Trebuchet MS", sans-serif; color: #f8fafc; display: flex; justify-content: center; align-items: flex-start; padding-top: 12px; min-height: 100vh; } #game-frame { background: linear-gradient(#292524, #0c0a09); border: 6px solid #a16207; border-radius: 14px; box-shadow: 0 0 30px rgba(0, 0, 0, 0.8); margin-top: 2vh; width: min(520px, 96vw); } #top-banner, #bottom-banner { display: flex; justify-content: space-between; padding: 10px 14px; background: linear-gradient(#44403c, #1c1917); border-bottom: 2px solid #a16207; font-weight: bold; } #bottom-banner { border-top: 2px solid #a16207; border-bottom: none; } #progress-container { height: 14px; background: #1c1917; margin: 6px 12px; border-radius: 10px; overflow: hidden; } #progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #facc15, #fde047); transition: width 0.3s ease; } canvas { width: 100%; height: auto; aspect-ratio: 1 / 1; display: block; margin: 0 auto; touch-action: none; } @media (max-width: 480px) { #top-banner, #bottom-banner { padding: 6px 8px; font-size: 13px; } #progress-container { margin: 4px 8px; height: 12px; } #game-frame { border-width: 4px; border-radius: 10px; } }