* {
  box-sizing: border-box;
}
:root {
  /* Core palette */
  --bg: #151820;
  --panel: #1f232e;

  --text: #E6E8EF;
  --text-muted: #6c757d;

  --primary: #5035a1;
  --primary-700: #563ba5;

  --border: #2E3342;
  --input-bg: #1F2330;
  --input-border: #3A4155;

  --link-underline: #BDA8FF;
  --error: #FF5722;

  --shadow: rgba(0, 0, 0, 0.45);
}
html, body {
  padding: 0;
  margin: 0;
  min-width: 320px;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 26px;
  color-scheme: dark;
}

a {
  color: var(--primary);
  text-decoration-color: var(--link-underline);
}
a:hover {
  color: var(--text);
}

label {
  cursor: pointer;
  color: var(--text);
}

h1, h2, h3, h4 { font-weight: bold; }
h1 { font-size: 1.45em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1.1em; }

.section {
  margin-bottom: 45px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  padding: 10px 15px;
  border-radius: 3px;
  width: 100%;
  font-size: 1em;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  box-shadow: none;
}
input:focus {
  border-color: var(--primary);
  outline: 0;
}

input::placeholder {
  color: var(--text-muted);
}
input:focus::placeholder {
  color: transparent;
}

input[disabled] {
  opacity: 0.5;
}

.center {
  text-align: center;
}
.right {
  text-align: right;
}

.error {
  color: var(--error);
}

.button {
  background: var(--primary);
  padding: 15px 30px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  min-width: 150px;
  font-size: 1.1em;
  text-align: center;
}
.button:hover {
  background: var(--primary-700);
  color: #fff;
}
.button.button-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.button.button-outline:hover {
  border-color: var(--primary-700);
  background-color: var(--primary-700);
  color: #fff;
}

.container {
  margin: 0px auto;
  padding: 40px 80px;
  max-width: 550px;
}

.wrap {
  background: var(--panel);
  padding: 40px 80px;
  box-shadow: 0 8px 24px var(--shadow);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
  margin-bottom: 30px;
}
.header .logo {
  text-align: center;
}
.header .logo img {
  width: auto;
  max-width: 150px;
  filter: drop-shadow(3px 4px 4px rgb(0 0 0/.4))
}

.unsub-all {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.row {
  margin-bottom: 20px;
}
.lists {
  list-style-type: none;
  padding: 0;
}
.lists li {
  margin: 0 0 5px 0;
}
.lists .description {
  margin: 0 0 15px 0;
  font-size: 0.875em;
  line-height: 1.3rem;
  color: var(--text-muted);
  margin-left: 25px;
}
.form .nonce {
  display: none;
}
.form .captcha {
  margin-top: 30px;
}

.archive {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}
.archive .date {
  display: block;
  color: var(--text-muted);
  font-size: 0.875em;
}
.archive li {
  margin-bottom: 15px;
}
.feed {
  margin-right: 15px;
}

.home-options {
  margin-top: 30px;
}
.home-options a {
  margin: 0 7px;
}

.pagination {
  margin-top: 30px;
  text-align: center;
}
.pg-page {
  display: inline-block;
  padding: 0 10px;
  text-decoration: none;
}
.pg-page.pg-selected {
  text-decoration: underline;
  font-weight: bold;
}

.login .submit {
  margin-top: 20px;
}
.login button {
  width: 100%;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login button img {
  max-width: 24px;
  margin-right: 10px;
}

#btn-back {
  display: none;
}

footer.container {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.775em;
}
footer a {
  color: var(--text-muted);
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}

@media screen and (max-width: 650px) {
  .wrap {
    margin: 0;
    padding: 30px;
    max-width: none;
  }
}