:root {
  --bg: #08111a;
  --panel: rgba(10, 18, 28, 0.78);
  --line: rgba(220, 205, 158, 0.18);
  --ink: #f3ead8;
  --muted: rgba(200, 189, 166, 0.78);
  --gold: #b89f5c;
  --cyan: #4cdbff;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(140deg, rgba(8, 17, 26, 0.96), rgba(8, 17, 26, 0.72)),
    url("../mytikas-bg-night.png") center / cover fixed;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-shell {
  width: min(420px, calc(100vw - 32px));
}

.auth-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(10, 18, 28, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 28px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.auth-card h1 {
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 4px;
}

.auth-note,
.auth-error,
.auth-success {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.auth-error {
  color: #ffb0a5;
}

.auth-success {
  margin-bottom: 12px;
  color: #9ee9c2;
}

label {
  display: grid;
  gap: 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(220, 205, 158, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  letter-spacing: 0;
}

button,
.small-button {
  min-height: 42px;
  border: 1px solid rgba(220, 205, 158, 0.32);
  background: rgba(184, 159, 92, 0.22);
  color: var(--ink);
  padding: 0 16px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}

.small-button {
  min-height: 36px;
}

.status-shell {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 42px 0;
}

.status-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

header {
  margin-bottom: 26px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.wide-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.card {
  min-height: 178px;
  padding: 20px;
}

.label,
dt {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

strong {
  display: block;
  margin-top: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.bar {
  height: 5px;
  margin-top: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: width 450ms ease;
}

.wide-card {
  margin-top: 14px;
  padding: 22px;
}

.wide-card h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.auth-settings form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.auth-settings button {
  justify-self: start;
}

@media (max-width: 820px) {
  .grid,
  dl,
  .auth-settings form {
    grid-template-columns: 1fr;
  }

  .status-top {
    display: grid;
  }

  h1 {
    letter-spacing: 4px;
  }
}
