:root{color-scheme:dark;font-family:'Avenir Next',Arial,sans-serif;color:#f3efe5;background:#090909}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:32px 24px}main{width:100%;max-width:360px;min-width:0}.brand{display:flex;align-items:center;gap:12px;width:fit-content;color:#e7c67e;text-decoration:none;margin-bottom:40px}.brand img{display:block;object-fit:contain}.brand span{font-size:13px;font-weight:600;letter-spacing:2.4px}h1{font-size:clamp(25px,6vw,29px);line-height:1.25;font-weight:500;letter-spacing:-.7px;margin:0 0 12px}p{font-size:15px;line-height:1.6;color:#a7a7a2;margin:0 0 30px}label{display:block;font-size:13px;color:#d0cec7;margin-bottom:10px}input{display:block;width:100%;min-height:50px;padding:14px 15px;font:16px/1.4 inherit;font-family:inherit;font-size:16px;line-height:1.4;background:#111;color:#f3efe5;border:1px solid #353530;border-radius:6px}input::placeholder{color:#74746e}button{display:block;width:100%;min-height:50px;margin-top:14px;border:0;border-radius:6px;background:#e7c67e;color:#15130e;font:600 14px/1.4 'Avenir Next',Arial,sans-serif;cursor:pointer}button:hover{background:#eed497}input:focus-visible,button:focus-visible,.brand:focus-visible{outline:2px solid #e7c67e;outline-offset:4px}.error{color:#efb5a7;font-size:13px;line-height:1.5;margin-top:12px}.error:empty{display:none}.foot{margin-top:30px;color:#73736d;font-size:12px}h1,p,.error{overflow-wrap:anywhere}@media(max-height:500px){body{place-items:start center}.brand{margin-bottom:24px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease}}

/* Keep the standalone refresh strip from becoming a second centered grid row. */
body{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr}
body:has(>.pull-refresh){grid-template-rows:auto 1fr}
body>.pull-refresh{align-self:start}
@media(max-width:600px){
 body{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:calc(env(safe-area-inset-top,0px) + clamp(40px,10svh,88px)) 24px max(24px,env(safe-area-inset-bottom,0px))}
 main{flex:none}
 .brand{margin-bottom:28px}
}
@media(max-height:500px){body{padding-top:24px}}

/* Date-based platform release label beneath the wordmark. */
.brand-wordmark{display:inline-flex;flex-direction:column;align-items:flex-start;gap:4px}
.brand-wordmark .platform-version{display:block;font:400 10px/1.2 Arial,sans-serif;letter-spacing:1px;text-transform:none;color:#a99b79;white-space:nowrap}
