/* SPDX-License-Identifier: GPL-2.0-or-later */
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; background: #101510; color: #eef3eb; font: 16px/1.5 system-ui, sans-serif; }
body { display: grid; place-items: center; overflow: auto; }
#setup { width: min(660px, 100%); padding: 24px; }
h1 { font-size: clamp(22px, 4vw, 30px); line-height: 1.2; }
p { margin: 12px 0; }
a { color: #d3e7bb; }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
label { display: block; flex: 1 1 230px; }
input { display: block; width: 100%; padding: 8px 0; font: inherit; }
input::file-selector-button, button { min-height: 44px; padding: 10px 14px; border: 1px solid #a1b18e; border-radius: 8px; background: #d3e7bb; color: #172414; font: inherit; cursor: pointer; }
button:disabled, input:disabled { opacity: .5; cursor: wait; }
button:focus-visible, input:focus-visible, a:focus-visible, canvas:focus-visible { outline: 3px solid #d3e7bb; outline-offset: 3px; }
#begin { margin: 12px 0; }
#limits { font-size: 13px; color: #b5c4ac; }
canvas { display: block; touch-action: none; outline-offset: -3px; }
[hidden] { display: none !important; }
@media (max-width: 500px) { #setup { padding: 16px; } p, label { font-size: 14px; } }
