﻿:root {
  color-scheme: dark;
  background: #080808;
  color: #f5f5f5;
  font: 1rem/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 4vw;
  border-bottom: 1px solid #252525;
}
.brand { font-weight: 900; text-decoration: none; }
.brand span { color: #aaa; font-size: .875rem; }
main { width: min(92%, 72rem); margin: 3rem auto; }
h1, h2 { margin: 0 0 1rem; line-height: 1.05; letter-spacing: -.04em; }
h1 { font-size: clamp(2.75rem, 7vw, 6rem); text-transform: uppercase; }
h2 { font-size: 1.65rem; }
h3 { margin-top: 2rem; }
h4, article p { margin: 0 0 .65rem; }
#status:empty { display: none; }
.panel { padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid #303030; background: #141414; }
#access, #verify-panel { max-width: 30rem; }
#access > .actions { margin-bottom: 1.5rem; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 1rem; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; }
form { display: grid; gap: .85rem; }
label { display: grid; gap: .3rem; }
input, button { font: inherit; border: 1px solid #555; padding: .65rem .85rem; border-radius: 2px; }
input { width: 100%; background: #080808; color: inherit; }
button { background: #222; color: inherit; cursor: pointer; }
button.primary, button[aria-pressed="true"] { background: #fff; color: #080808; font-weight: 700; }
button:disabled { background: #1e1e1e; color: #9a9a9a; cursor: default; }
.provider-link { padding: .65rem .85rem; border: 1px solid #555; background: #222; text-decoration: none; }
:focus-visible { outline: 2px solid #ccc; outline-offset: 3px; }
.oauth { margin-top: 1.5rem; border-top: 1px solid #333; color: #aaa; }
#profile-email { overflow-wrap: anywhere; }
#logout { margin-top: 1rem; }
article { padding: 1rem 0; border-bottom: 1px solid #333; }
#refresh { margin-top: 1rem; }
@media (max-width: 680px) { .account-grid { grid-template-columns: 1fr; } }
