:root {
  color-scheme:dark;
  --ink:#f4f0e5;
  --muted:#b8bcae;
  --line:#ffffff22;
  --gold:#edbf65;
  --panel:#17231e;
  --green:#183d2b}
* {
  box-sizing:border-box}
[hidden] {
  display:none!important}
html {
  scroll-behavior:smooth}
body {
  margin:0;
  background:radial-gradient(ellipse at 80% 0,#234a35,transparent 55%),#0c1611;
  color:var(--ink);
  font:16px/1.55 system-ui,-apple-system,"DejaVu Sans",sans-serif}
a {
  color:var(--gold)}
.shell {
  max-width:1280px;
  margin:auto;
  padding:0 24px}
header,nav,.section-head,.welcome {
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between}
header {
  padding:24px 0;
  border-bottom:1px solid var(--line)}
nav {
  flex-wrap:wrap;
  justify-content:flex-end}
nav a {
  text-decoration:none}
.brand {
  font-weight:800;
  letter-spacing:.12em;
  text-decoration:none}
main {
  padding:32px 0}
.welcome {
  align-items:flex-start}
.eyebrow {
  color:var(--gold);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.15em}
h1 {
  font-size:clamp(30px,4vw,48px);
  margin:0}
h2 {
  font-size:23px;
  margin:0 0 16px}
h3 {
  font-size:17px}
p {
  margin:.7em 0}
.welcome>div>p:last-child,.help {
  color:var(--muted)}
.help,small {
  font-size:13px}
button,.button-link {
  border:1px solid var(--line);
  background:#2b3d31;
  color:var(--ink);
  padding:10px 14px;
  border-radius:10px;
  font:inherit;
  font-weight:600;
  cursor:pointer;
  text-decoration:none;
  display:inline-block}
button:disabled {
  opacity:.45;
  cursor:default}
.primary {
  background:var(--gold);
  color:#192316;
  border:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:3px}
.recovery {
  display:flex;
  gap:8px;
  flex-wrap:wrap}
#hub-status {
  padding:12px 16px;
  background:#203429;
  border:1px solid var(--line);
  border-radius:10px;
  min-height:48px}
.error {
  color:#ffc7bd!important;
  background:#492b26!important}
.sections {
  justify-content:flex-start;
  padding:24px 0}
fieldset {
  border:0;
  margin:0;
  padding:0;
  min-width:0}
.grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px}
.wide {
  grid-column:1/-1}
.panel {
  background:var(--panel);
  border:1px solid var(--line);
  padding:24px;
  border-radius:18px;
  min-width:0;
  scroll-margin-top:20px}
.item-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px}
.objective,.cosmetic {
  background:#ffffff05;
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px}
.objective button {
  margin:4px}
.cosmetic {
  text-align:center}
.avatar {
  width:64px;
  height:64px;
  object-fit:cover;
  border-radius:50%}
#profile-summary .avatar {
  float:left;
  margin:0 16px 10px 0}
#profile-summary h2 {
  overflow-wrap:anywhere}
.uuid {
  font:12px ui-monospace,monospace;
  overflow-wrap:anywhere}
.balance {
  color:var(--gold);
  font-size:24px}
progress {
  width:100%;
  accent-color:var(--gold)}
ul,ol {
  padding-left:20px;
  overflow-wrap:anywhere}
li {
  padding:8px 0;
  border-bottom:1px solid var(--line)}
li button,li a {
  margin:5px}
.friend-row {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap}
.friend-row .avatar {
  width:42px;
  height:42px}
.friend-row span {
  flex:1}
.social-grid,.settings-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px}
form {
  display:grid;
  gap:10px}
form button {
  justify-self:start}
label {
  display:grid;
  gap:6px;
  font-size:14px}
input,select,textarea {
  width:100%;
  min-width:0;
  background:#0c1711;
  color:var(--ink);
  border:1px solid #748373;
  border-radius:8px;
  padding:10px 12px;
  font:inherit}
input[type=checkbox] {
  width:auto}
.check {
  display:flex;
  align-items:center;
  gap:10px}
.invite-form {
  grid-template-columns:auto 1fr;
  align-items:center}
.invite-form button {
  grid-column:2}
#chat-messages {
  list-style:none;
  max-height:440px;
  overflow:auto;
  padding:0}
.message p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:3px 0}
.message small {
  color:var(--muted)}
.back-preview {
  width:72px;
  height:104px;
  margin:auto;
  border-radius:8px;
  overflow:hidden}
.back-preview img {
  width:100%;
  height:100%;
  mix-blend-mode:multiply;
  object-fit:contain}
.table-preview {
  height:104px;
  border-radius:50%;
  display:grid;
  place-items:center;
  box-shadow:inset 0 0 18px #0006;
  border:8px solid #604a30;
  font-size:12px;
  color:#fff;
  text-shadow:0 1px 3px #000;
  padding:8px}
.table-preview span {
  background:#0007;
  padding:4px;
  border-radius:4px}
.attribution {
  font-size:11px;
  color:var(--muted);
  margin-top:20px}
details {
  margin-top:14px}
summary {
  cursor:pointer;
  color:var(--gold);
  margin-bottom:12px}
footer {
  text-align:center;
  padding:24px 0;
  border-top:1px solid var(--line);
  font-size:13px}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0}
@media(max-width:800px) {
  .grid,.social-grid {
  grid-template-columns:1fr}
.item-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))}
.wide {
  grid-column:auto}
.welcome,.section-head {
  flex-wrap:wrap}
.shell {
  padding:0 16px}
}
@media(max-width:500px) {
  header {
  align-items:flex-start;
  flex-direction:column;
  gap:12px}
nav {
  justify-content:flex-start;
  gap:14px}
.panel {
  padding:18px}
.item-grid,.settings-grid {
  grid-template-columns:1fr}
.invite-form {
  grid-template-columns:1fr}
.invite-form button {
  grid-column:auto}
.sections {
  gap:12px;
  font-size:14px}
.friend-row button {
  padding:8px}
.welcome .button-link {
  width:100%;
  text-align:center}
}


.request-identity {
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:10px;
  align-items:center;
  overflow-wrap:anywhere;
}
.request-identity .avatar {
  grid-row:1/3;
  width:42px;
  height:42px;
}
.request-identity strong,.request-identity small {
  grid-column:2;
}

#hub-fields[data-guest="true"]:not([data-expanded="true"]) :is(#hub-daily,#hub-wallet,#hub-achievements,#hub-social,#hub-chat,#hub-shop,#hub-settings){display:none}
