:root {
  color-scheme: dark;
  --ink: #170000;
  --blood: #410000;
  --text: #ead0bc;
  --muted: #b49382;
  --line: #ead0bc26;
  --focus: #f0dbcb;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  background: var(--ink);
}
body {
  margin: 0;
  min-height: 100svh;
  color: var(--text);
  font:
    14px/1.5 "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  background: radial-gradient(ellipse at 16% 10%, #41000070, transparent 65%)
    var(--ink);
  overflow-wrap: anywhere;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 8px 0;
  text-align: left;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a:hover,
button:hover {
  color: #fff0e4;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 1px solid var(--focus);
  outline-offset: 5px;
}
input,
textarea {
  background: #12000070;
  border: 0;
  border-bottom: 1px solid #ead0bc66;
  border-radius: 0;
  padding: 10px 0;
  width: 100%;
  outline: none;
  min-width: 0;
}
input:focus,
textarea:focus {
  border-bottom-color: var(--focus);
}
input[type="file"] {
  font-size: 12px;
  max-width: 100%;
}
input[type="file"]::file-selector-button {
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
  margin-right: 10px;
  font: inherit;
}
textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 220px;
}
label {
  display: block;
  margin-top: 16px;
}
.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 36px;
}
.return-link {
  padding: 10px 0;
}
.player-wordmark {
  display: block;
  object-fit: contain;
  width: 110px;
  height: 62px;
}
.player-main {
  max-width: 1120px;
  margin: 24px auto 64px;
  padding: 0 36px;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font-size: 29px;
  font-weight: 400;
  line-height: 1.2;
}
h2 {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
}
.auth-panel {
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: 750px;
  margin: 50px auto 90px;
}
.entry-avatar {
  width: 280px;
  height: 280px;
  object-fit: contain;
  align-self: flex-start;
  margin-top: 55px;
  mix-blend-mode: screen;
}
.auth-copy {
  flex: 1;
  min-width: 0;
}
.auth-copy > p {
  margin-top: 18px;
}
.auth-tabs {
  display: flex;
  gap: 24px;
  margin: 28px 0 8px;
}
.auth-tabs button[aria-pressed="true"] {
  border-bottom: 1px solid var(--text);
}
.auth-tabs button[aria-pressed="false"] {
  color: var(--muted);
}
.action {
  padding: 9px 18px;
  border: 1px solid #ead0bc80;
  text-align: center;
  min-height: 42px;
}
.auth-copy .action {
  margin-top: 26px;
}
.text-button {
  color: var(--muted);
  font-size: 12px;
  min-height: 36px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-copy > .text-button {
  display: block;
  margin-top: 8px;
}
.note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.status {
  font-size: 12px;
  min-height: 20px;
  margin: 10px 0;
}
.status[data-error="true"] {
  color: #f4b6a9;
}
.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.87fr);
  gap: 70px;
}
.identity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.identity h1 {
  font-size: 26px;
}
.identity .text-button {
  margin-right: 16px;
}
.player-avatar {
  width: 130px;
  height: 130px;
  object-fit: cover;
}
.player-avatar[data-default="true"] {
  object-fit: contain;
  mix-blend-mode: screen;
}
.profile-column #profile-form {
  margin: 20px 0 28px;
  max-width: 410px;
}
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.form-actions > button:not(.action) {
  font-size: 12px;
}
.avatar-preview {
  margin-top: 14px;
}
.avatar-preview img {
  object-fit: cover;
}
.progress-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 6px;
}
.progress-heading > img {
  object-fit: contain;
  mix-blend-mode: screen;
  flex: none;
}
.progress-heading h2 {
  font-size: 23px;
}
.points {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 84px;
}
.points img {
  object-fit: contain;
  mix-blend-mode: screen;
}
.points strong {
  font-size: 24px;
  font-weight: 400;
}
.points span {
  font-size: 10px;
  color: var(--muted);
}
.profile-column section {
  margin-top: 30px;
}
.player-stats {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  margin: 16px 0;
}
.player-stats dt {
  color: var(--muted);
  font-size: 13px;
}
.player-stats dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.achievements {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.achievements li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.achievements img {
  width: 28px;
  height: 32px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.achievements .locked {
  opacity: 0.55;
}
.achievements small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.verified-details {
  margin-top: 30px;
  font-size: 12px;
  color: var(--muted);
}
.verified-details summary {
  cursor: pointer;
  padding: 8px 0;
}
.verified-details p {
  margin-top: 8px;
}
.chat-column {
  border-left: 1px solid var(--line);
  padding-left: 34px;
  min-width: 0;
}
.chat-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.chat-messages {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  max-height: 510px;
  min-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ead0bc55 transparent;
}
.chat-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 30px 0;
}
.chat-message {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  margin: 0 0 23px;
}
.chat-avatar {
  width: 28px;
  height: 28px;
  object-fit: cover;
}
.chat-avatar[data-default="true"] {
  object-fit: contain;
  mix-blend-mode: screen;
}
.chat-meta {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 12px;
}
.chat-name {
  font-weight: 400;
}
.chat-time {
  color: var(--muted);
  font-size: 10px;
}
.chat-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  margin-top: 4px;
  font-size: 13px;
}
.delete-message {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
  padding: 5px 0;
  justify-self: start;
}
.chat-compose {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.chat-compose .action {
  font-size: 12px;
}
.player-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 36px 32px;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}
.recovery-panel {
  max-width: 380px;
  margin: 60px auto;
}
.recovery-panel .action {
  margin-top: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (min-width: 1400px) {
  .player-main {
    margin-top: 50px;
  }
  .player-layout {
    gap: 90px;
  }
  .chat-messages {
    max-height: 570px;
  }
}
@media (max-width: 760px) {
  .player-header {
    padding: 12px 22px;
  }
  .player-main {
    padding: 0 22px;
    margin-top: 18px;
  }
  .player-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .chat-column {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
  .auth-panel {
    gap: 24px;
    margin: 22px auto 45px;
    max-width: 400px;
    display: block;
  }
  .entry-avatar {
    display: block;
    margin: 0 auto 20px;
    width: 160px;
    height: 160px;
  }
  .auth-copy h1 {
    font-size: 26px;
  }
  .auth-copy > p {
    margin-top: 12px;
  }
  .auth-tabs {
    margin-top: 24px;
  }
  .player-avatar {
    width: 100px;
    height: 116px;
  }
  .identity {
    gap: 16px;
  }
  .identity h1 {
    font-size: 24px;
  }
  .progress-heading {
    gap: 10px;
  }
  .progress-heading h2 {
    font-size: 21px;
  }
  .progress-heading > img {
    width: 48px;
    height: 48px;
  }
  .progress-heading .note {
    font-size: 10px;
  }
  .chat-messages {
    min-height: 180px;
    max-height: 450px;
  }
  .player-footer {
    padding: 20px 22px 30px;
  }
  .player-wordmark {
    width: 85px;
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.progress-heading > img,
.points img,
.achievements img {
  clip-path: inset(5%);
}
