:root {
  color-scheme: dark;
  --bg: #100d1b;
  --panel: #1b1528;
  --border: #352942;
  --muted: #aca1bd;
  --pink: #fa78d5;
  --cyan: #61ebd8;
  --gold: #f3d478;
  --text: #f6f1fc;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 75% 0%, #48204e44, transparent 45%), var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.preview {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-bottom: 1px solid #6e4e223b;
  background: #261e22;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 750;
}
.preview span {
  color: #c5b3ad;
  font-weight: 450;
  letter-spacing: 0.1px;
}
.shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: calc(100vh - 32px);
}
.sidebar {
  padding: 32px 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: #100d1bcc;
  position: sticky;
  top: 0;
  height: calc(100vh - 32px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 23px;
  padding: 0 4px 34px;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px #ef6bd444);
}
.brand-sub {
  display: block;
  font-size: 7px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 4px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
nav a {
  padding: 13px 12px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 19px;
  border-radius: 10px;
}
nav a span {
  font-size: 12px;
  font-weight: 650;
}
nav a:hover {
  background: #261a30;
  color: white;
}
nav a.active {
  color: var(--pink);
  background: linear-gradient(90deg, #fa78d515, #fa78d504);
  border-color: #fa78d52b;
}
.sidebar-note {
  margin-top: auto;
  padding: 28px 10px 6px;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--cyan);
}
.sidebar-note p {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.7;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 5px;
  box-shadow: 0 0 8px #61ebd8;
}
.workspace {
  min-width: 0;
}
header {
  min-height: 82px;
  padding: 20px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb > span:last-child {
  color: #e1d8eb;
  letter-spacing: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
main {
  padding: 35px 38px 40px;
  max-width: 1440px;
  margin: auto;
  min-height: calc(100vh - 180px);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 38px;
  letter-spacing: -1.4px;
  line-height: 1.18;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
  font-size: 13px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
}
.tiny {
  font-size: 11px;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.hero h1 span {
  color: var(--pink);
}
.hero p {
  margin-bottom: 0;
}
.hero-art {
  width: 108px;
  height: 108px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px #fa78d536);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #f88cd4;
  border-radius: 8px;
  background: var(--pink);
  color: #251126;
  padding: 11px 17px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}
.button:hover {
  filter: brightness(1.08);
}
.button.small {
  padding: 8px 12px;
  font-size: 11px;
}
.button.secondary {
  background: #fa78d50a;
  color: #eed3e7;
  border-color: #684355;
}
.button.quiet {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}
.button.cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #102623;
}
.wide {
  width: 100%;
}
.icon-button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}
.stat {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(140deg, #28203477, #1b1528);
}
.stat .label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}
.stat .number {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 750;
  display: block;
}
.stat .note {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.stat:first-child {
  border-color: #61ebd83a;
}
.stat:first-child .number {
  color: var(--cyan);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 16px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading a {
  font-size: 11px;
  color: var(--pink);
}
.play-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.play-card {
  --accent: var(--cyan);
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 90% 0%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 90%
    ),
    var(--panel);
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 184px;
  transition: transform 0.15s;
}
.play-card:hover {
  transform: translateY(-3px);
}
.play-card:nth-child(2) {
  --accent: var(--pink);
}
.play-card:nth-child(3) {
  --accent: var(--gold);
}
.play-card:nth-child(4) {
  --accent: #9b9bff;
}
.game-icon {
  height: 65px;
  width: 100%;
  object-fit: contain;
  object-position: left;
}
.play-card h3 {
  margin: 0;
  color: var(--accent);
}
.play-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.play-card .card-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--panel);
}
.panel p:last-child {
  margin-bottom: 0;
}
.empty {
  padding: 28px;
  text-align: center;
  background: linear-gradient(110deg, #25203066, #181421);
  border: 1px dashed #55415f;
  border-radius: 12px;
}
.empty-icon {
  font-size: 25px;
  color: var(--gold);
  margin-bottom: 12px;
}
.empty h3 {
  margin-bottom: 8px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 15px;
}
.tag {
  display: inline-block;
  border: 1px solid #61ebd83a;
  color: var(--cyan);
  font-size: 9px;
  padding: 5px 8px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  font-weight: 700;
}
.tag.warn {
  color: var(--gold);
  border-color: #f3d47833;
}
.tag.off {
  color: var(--muted);
  border-color: var(--border);
}
.notice {
  border: 1px solid #f3d47833;
  background: #f3d47808;
  padding: 15px 18px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: #d9cdb2;
  margin: 18px 0;
}
.notice.good {
  border-color: #61ebd833;
  background: #61ebd808;
  color: #afe2d9;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.account-id {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  word-break: break-all;
  color: var(--muted);
}
label {
  display: block;
  font-size: 11px;
  color: #d1c3dc;
  font-weight: 650;
  margin: 14px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  background: #110d1b;
  color: var(--text);
  border: 1px solid #45344f;
  border-radius: 7px;
  margin-top: 7px;
  font-size: 13px;
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 2px #fa78d512;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.error {
  color: #ff9dab;
  font-size: 12px;
  min-height: 0;
  margin: 12px 0 0;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  background: #1b1528;
}
td,
th {
  padding: 15px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.amount {
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}
.event {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event h3 {
  margin: 0;
}
.event p {
  margin: 0;
}
.event time {
  font-size: 11px;
  color: var(--muted);
}
.event-rules {
  white-space: pre-wrap;
  word-break: break-word;
}
.security-list > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.security-list > div:last-child {
  border: 0;
}
.security-list p {
  margin: 3px 0 0;
  font-size: 11px;
}
.qr {
  background: white;
  padding: 10px;
  border-radius: 10px;
  width: 190px;
  height: 190px;
}
.codes {
  word-break: break-all;
  line-height: 2;
  font:
    12px ui-monospace,
    monospace;
  background: #100d1b;
  padding: 16px;
  border-radius: 8px;
}
.code {
  word-break: break-all;
  font:
    11px ui-monospace,
    monospace;
}
.mfa-panel {
  max-width: 480px;
  margin: 30px auto;
}
footer {
  border-top: 1px solid var(--border);
  padding: 18px 38px;
  color: #776984;
  font-size: 9px;
  display: flex;
  justify-content: space-between;
}
dialog {
  background: #1b1528;
  color: var(--text);
  border: 1px solid #684355;
  border-radius: 15px;
  max-width: 440px;
  width: calc(100% - 32px);
  padding: 25px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 100px #0008;
}
dialog::backdrop {
  background: #08050dcc;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-heading h2 {
  margin: 0;
}
.tabs {
  display: flex;
  background: #100d1b;
  border-radius: 8px;
  padding: 4px;
  margin: 18px 0;
}
.tabs button {
  width: 50%;
  padding: 10px;
  background: none;
  border: 0;
  color: var(--muted);
  border-radius: 5px;
  font-size: 12px;
}
.tabs button.active {
  background: #3a243d;
  color: var(--pink);
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  margin: 20px 0 14px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--border);
  flex: 1;
}
.providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #33243b;
  color: var(--text);
  padding: 14px 24px;
  border: 1px solid #90638c;
  border-radius: 10px;
  max-width: calc(100% - 30px);
  font-size: 12px;
  box-shadow: 0 8px 30px #0005;
  z-index: 100;
}
.wallet-focus {
  max-width: 560px;
  margin: 24px auto;
}
.flow-status {
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.7;
}
.two-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.pill-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pill-title h2 {
  margin: 0;
}
.spaced {
  margin-top: 20px;
}
.balance-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.list-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.list-item:last-child {
  border: 0;
}
.wrap {
  overflow-wrap: anywhere;
}
@media (min-width: 1600px) {
  main {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .play-card {
    min-height: 210px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 12px;
  }
  .brand {
    font-size: 20px;
    letter-spacing: 2px;
  }
  .brand img {
    width: 30px;
  }
  .brand-sub {
    font-size: 6px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .play-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  main {
    padding: 26px;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  header {
    padding: 18px 26px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .preview {
    height: auto;
    min-height: 32px;
    font-size: 8px;
    gap: 8px;
    padding: 7px;
  }
  .preview span {
    font-size: 8px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 17px 16px 0;
  }
  .brand {
    padding: 0 0 16px;
    font-size: 23px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .brand-sub {
    font-size: 7px;
  }
  .sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 3px;
    padding-bottom: 8px;
  }
  .sidebar nav a {
    padding: 9px;
    white-space: nowrap;
    gap: 6px;
    font-size: 14px;
  }
  .sidebar nav a span {
    font-size: 10px;
  }
  .sidebar-note {
    display: none;
  }
  header {
    min-height: 64px;
    padding: 14px 17px;
  }
  .breadcrumb {
    font-size: 8px;
    gap: 8px;
  }
  .header-actions {
    font-size: 10px;
    gap: 8px;
  }
  main {
    padding: 25px 17px;
  }
  h1 {
    font-size: 31px;
  }
  .hero {
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero-art {
    width: 65px;
    height: 65px;
  }
  .hero p {
    font-size: 12px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 24px;
  }
  .stat {
    padding: 15px;
  }
  .stat .number {
    font-size: 25px;
  }
  .play-grid {
    gap: 10px;
  }
  .play-card {
    padding: 14px;
    min-height: 180px;
  }
  .game-icon {
    height: 54px;
  }
  .panel {
    padding: 18px;
  }
  .row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .grid {
    gap: 14px;
  }
  h2 {
    font-size: 18px;
  }
  footer {
    padding: 18px;
    font-size: 8px;
    gap: 12px;
  }
  .section-heading {
    margin-top: 25px;
  }
  .section-heading a {
    font-size: 10px;
  }
  .button {
    font-size: 11px;
    padding: 10px 14px;
  }
  .empty {
    padding: 22px;
  }
  .table-wrap {
    max-width: 100%;
  }
  td,
  th {
    padding: 12px;
  }
  .header-actions #memberName {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mfa-panel {
    margin: 10px auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
