:root {
  color-scheme: dark;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: #fff3dc;
  background: #19161c;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 30% 0, #52391f, transparent 35rem); min-height: 100vh; }
main { max-width: 860px; padding: 32px 18px; margin: auto; }
h1, h2, p { margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); line-height: 1.15; }
h2 { font-size: 1.18rem; }
p { color: #d3c4b8; }
.masthead { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 32px; }
.masthead p { margin: 0; display: flex; align-items: center; gap: 8px; color: #ffd887; font-weight: 720; }
.flag { display: inline-block; flex: 0 0 23px; height: 15px; border-radius: 2px; background: linear-gradient(#fdb913 33.3%, #006a44 33.3% 66.6%, #c1272d 66.6%); }
#forms:not([hidden]) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; align-items: stretch; margin-top: 20px; }
section { padding: clamp(16px, 3.5vw, 24px); border: 1px solid #62503e; border-radius: 10px; background: #262129; }
section p { font-size: .92rem; }
form, label { display: grid; gap: 8px; }
form { gap: 12px; margin: 12px 0 16px; }
input, button, .button { font: inherit; border: 1px solid #64573f; border-radius: 6px; padding: .65rem .85rem; }
input { min-width: 0; background: #1b1921; color: #fff3dc; }
button, .button { width: fit-content; background: #f0c27b; color: #21180d; text-decoration: none; font-weight: 720; cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
#language { background: #2b2630; color: #fff3dc; font-size: .86rem; }
.shared-login { color: #ffd887; font-size: .86rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
:focus-visible { outline: 2px solid #ffe6aa; outline-offset: 3px; }
#status { margin-top: 12px; color: #ffbaaa; }
