:root {
  color-scheme: dark;
  --gold: #d1a543;
  --text: #f6edd8;
  --muted: #aaa393;
  --line: #d1a54324;
  --surface: #171713;
  --panel: #22221c;
  --radius: 10px;
  --space: 20px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--text);
  font:
    14px "Segoe UI",
    sans-serif;
  background: var(--surface);
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff08;
  padding: 11px 16px;
  transition:
    background 130ms,
    color 130ms;
}
button:hover {
  background: #ffffff13;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
a {
  color: var(--gold);
}
button.gold {
  color: #241c10;
  background: linear-gradient(110deg, #e0ba62, #c99d3e);
  border: 0;
  font-weight: 650;
}
button.gold:hover {
  background: #e8c87b;
}
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.danger {
  color: #df9494;
}
.shell {
  display: grid;
  grid-template-columns: 84px 1fr;
}
.rail {
  background: #12130f;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 25px 10px;
  gap: 14px;
}
.seal {
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
}
.seal img {
  width: 100%;
  height: 100%;
}
.rail button {
  border: 0;
  background: none;
  padding: 9px;
  width: 56px;
  color: #929292;
  font-size: 10px;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.rail svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.rail button.active {
  background: #d8aa5817;
  color: var(--gold);
}
.main {
  padding: 0 28px 24px;
  min-width: 0;
}
.top,
.links {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font:
    19px Georgia,
    serif;
  letter-spacing: 0.3px;
}
.brand small {
  display: block;
  font:
    8px "Segoe UI",
    sans-serif;
  letter-spacing: 2px;
  color: #c2ad79;
  margin-top: 4px;
}
.links {
  color: var(--muted);
  font-size: 12px;
}
.online-toggle {
  padding: 7px 10px;
  color: #a9c3ab;
  font-size: 11px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #83ba90;
  border-radius: 50%;
  margin-right: 7px;
}
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 262px;
  gap: var(--space);
}
.panel,
.card {
  background: linear-gradient(145deg, #25241e, #1b1c18);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel {
  padding: 22px;
}
.hero {
  border: 1px solid #b48e4930;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: url("assets/hero.jpg") 70% 38% / cover;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #141510f5, #141510a8 47%, #1415100a),
    linear-gradient(0deg, #141510c9, transparent 55%);
}
.hero-copy {
  position: relative;
  max-width: 410px;
}
.logo {
  width: 245px;
  max-width: 100%;
  display: block;
  margin: -9px 0 5px;
}
.hero h1 {
  font:
    32px Georgia,
    serif;
  letter-spacing: -0.8px;
  margin: 15px 0 10px;
}
.hero p {
  font-size: 13px;
  color: #c5c2bd;
  line-height: 1.7;
  max-width: 270px;
}
.hero .tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: #efdab9;
  background: #151411ad;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: 1px;
}
.account {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.account h2 {
  font:
    24px Georgia,
    serif;
  margin: 0 0 7px;
}
.account button {
  width: 100%;
  margin-top: 15px;
}
.divider {
  height: 1px;
  background: var(--line);
  width: 100%;
  margin: 20px 0 14px;
}
.status {
  font-size: 12px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 27px 0 14px;
}
.section-title h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.section-title button {
  font-size: 12px;
  color: var(--muted);
}
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.thumb {
  width: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.card .copy {
  padding: 13px 15px 16px;
}
.date {
  font-size: 10px;
  color: #928778;
}
.card h3 {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 550;
  margin: 7px 0 0;
}
.playbar {
  display: flex;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.update {
  flex: 1;
  min-width: 0;
}
.update-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.track {
  height: 4px;
  background: #ffffff0d;
  border-radius: 5px;
  margin: 10px 0 7px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: linear-gradient(90deg, #94713e, #e7be78);
}
.subline {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #84868a;
}
.play {
  min-width: 204px;
  height: 54px;
  font-size: 16px;
}
.play small {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  margin-top: 3px;
  font-weight: 500;
}
.gear {
  height: 54px;
}
.page[hidden] {
  display: none;
}
.page h1 {
  font-size: 27px;
  font-weight: 550;
  margin: 16px 0 8px;
}
.setting-row,
.key-row,
.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.setting-row strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 4px;
}
select,
input:not([type="checkbox"]):not([type="range"]) {
  color: #eee;
  background: #111215;
  border: 1px solid #ffffff20;
  border-radius: 6px;
  padding: 10px;
  min-width: 190px;
}
.keybinds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
}
.key-row button {
  font-size: 12px;
  min-width: 95px;
  background: #10110e;
}
.binding-note {
  color: var(--gold);
  font-size: 12px;
}
.player-row button {
  padding: 7px 12px;
}
.player-row strong {
  font-weight: 550;
}
.player-row .muted {
  font-size: 11px;
}
dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 14px;
  width: 420px;
  padding: 28px;
  box-shadow: 0 20px 80px #0008;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-weight: 550;
  margin: 0 0 8px;
}
dialog .actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin-top: 24px;
}
dialog p {
  line-height: 1.7;
  color: var(--muted);
  font-size: 13px;
}
.footer {
  font-size: 10px;
  color: #707276;
  text-align: center;
}
#toast {
  position: fixed;
  bottom: 24px;
  background: #292722;
  border: 1px solid #b99a5d66;
  padding: 14px 22px;
  border-radius: 9px;
  box-shadow: 0 8px 35px #0008;
  max-width: 90vw;
  font-size: 13px;
  z-index: 20;
}
#toast:empty {
  display: none;
}
.release-info {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 15px 0;
}
.release-info dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  font-size: 12px;
}
.release-info dt {
  color: var(--muted);
}
.release-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.release-info code {
  font-size: 11px;
}
.release-info h2 {
  font-size: 16px;
  margin: 0;
}
