html, body { margin: 0; height: 100%; background: #fff; color: #000; font-family: Arial, Helvetica, sans-serif; }
main { display: flex; align-items: center; justify-content: center; min-height: 100%; }
h1 { font-size: 2rem; font-weight: bold; margin: 0; }

#feedback { position: fixed; right: 1rem; bottom: 1rem; text-align: right; font-size: 0.9rem; }
#feedback summary { cursor: pointer; list-style: none; color: #000; text-decoration: underline; }
#feedback summary::-webkit-details-marker { display: none; }
#feedback button.option { display: block; margin: 0.4rem 0 0 auto; font: inherit; background: none; border: 0; padding: 0; color: #000; text-decoration: underline; cursor: pointer; }

dialog { border: 1px solid #000; padding: 1.5rem; width: min(30rem, calc(100% - 3rem)); max-height: calc(100% - 2rem); overflow: auto; box-sizing: border-box; font: inherit; }
dialog::backdrop { background: rgba(255, 255, 255, 0.85); }
dialog h2 { margin: 0 0 1rem; font-size: 1.2rem; }
label { display: block; margin-top: 0.8rem; font-size: 0.9rem; }
input, textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 0.25rem; font: inherit; padding: 0.4rem; border: 1px solid #000; border-radius: 0; }
textarea { min-height: 5rem; resize: vertical; }
.bug-only { display: none; }
form[data-type="bug"] .bug-only { display: block; }
.hp { position: absolute; left: -10000px; }
.actions { display: flex; gap: 1rem; justify-content: flex-end; margin-top: 1rem; }
.actions button { font: inherit; padding: 0.4rem 1rem; background: #fff; border: 1px solid #000; cursor: pointer; }
.actions button[type="submit"] { background: #000; color: #fff; }
#status { margin-top: 0.8rem; font-size: 0.9rem; min-height: 1.2em; }

#funding { position: fixed; left: 1rem; bottom: 1rem; font-size: 0.9rem; max-width: calc(100% - 10rem); }
#funding summary { cursor: pointer; list-style: none; }
#funding summary::-webkit-details-marker { display: none; }
#funding summary .more { text-decoration: underline; }
#funding table { border-collapse: collapse; margin: 0.4rem 0; }
#funding td { padding: 0.1rem 1rem 0.1rem 0; }
#funding td.n { text-align: right; padding-right: 0; }
#funding tr.total td { border-top: 1px solid #000; }
#funding a { color: #000; }
.cf-turnstile { margin-top: 1rem; }
.privacy { font-size: 0.8rem; margin: 0.8rem 0 0; }
.confirm { text-align: center; padding: 1rem; max-width: 30rem; }
.confirm h1 { margin-bottom: 1.5rem; }
.confirm button { font: inherit; padding: 0.5rem 1.2rem; background: #000; color: #fff; border: 1px solid #000; cursor: pointer; }
.confirm a { color: #000; }
