@font-face {
  font-family: "Sunset Header";
  src: url("/frontend/assets/font1.woff") format("woff");
  font-display: swap;
}

.sv-site-header,
.sv-site-header *,
.sv-site-header *::before,
.sv-site-header *::after {
  box-sizing: border-box;
}

.sv-site-header {
  --sv-header-gold-bright: #ffd978;
  --sv-header-paper: #fff0ca;
  --sv-header-muted: #aa9b87;
  position: relative;
  z-index: 100;
  width: 100%;
  color: var(--sv-header-paper);
  border-bottom: 1px solid rgba(233, 184, 79, .36);
  background:
    radial-gradient(circle at 14% -60%, rgba(196, 87, 38, .22), transparent 46%),
    linear-gradient(105deg, rgba(35, 19, 15, .98), rgba(15, 10, 8, .98) 65%, rgba(10, 8, 7, .99));
  box-shadow:
    0 18px 50px rgba(5, 2, 1, .36),
    inset 0 1px rgba(255, 241, 201, .035);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sv-site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent 4%, rgba(233, 184, 79, .72) 50%, transparent 96%);
}

.sv-site-header--overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

.sv-site-header--floating {
  top: 16px;
  right: auto;
  left: 50%;
  width: min(1240px, calc(100% - 28px));
  transform: translateX(-50%);
}

.sv-site-header__inner {
  display: flex;
  width: 100%;
  min-height: 78px;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  margin: 0 auto;
  padding: 10px clamp(12px, 1.5vw, 20px);
}

.sv-site-header--inset {
  padding: 0;
  border: 1px solid rgba(233, 184, 79, .33);
  border-radius: 14px;
  box-shadow:
    0 18px 48px rgba(7, 2, 1, .34),
    inset 0 1px rgba(255, 240, 199, .045);
}

.sv-site-header--inset .sv-site-header__inner {
  min-height: 76px;
  padding-inline: 12px;
}

.sv-site-header__identity {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sv-site-header__back {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #cbb992;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 244, 213, .035);
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.sv-site-header__back .sv-header-icon { width: 19px; height: 19px; }

.sv-site-header__back:hover {
  color: var(--sv-header-paper);
  border-color: rgba(233, 184, 79, .28);
  background: rgba(233, 184, 79, .09);
  transform: translateX(-1px);
}

.sv-site-header__brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: var(--sv-header-paper);
  text-decoration: none;
}

.sv-site-header__mark {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #3b180e;
  border: 1px solid #ffe294;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fff0ae, #e8b548 50%, #8d5117 100%);
  box-shadow:
    inset 0 0 0 3px rgba(87, 39, 12, .22),
    0 0 0 4px rgba(233, 184, 79, .055),
    0 7px 18px rgba(0, 0, 0, .3);
  font: 900 14px/1 "Sunset Header", Georgia, serif;
  letter-spacing: -.03em;
  text-shadow: 0 1px rgba(255, 255, 255, .4);
  transition: filter .16s ease, transform .16s ease;
}

.sv-site-header__brand:hover .sv-site-header__mark {
  filter: brightness(1.08);
  transform: rotate(-3deg);
}

.sv-site-header__brand-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.sv-site-header__brand-copy strong {
  overflow: hidden;
  color: var(--sv-header-paper);
  font: 700 17px/1 "Sunset Header", Georgia, serif;
  letter-spacing: .035em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.sv-site-header__brand-copy small {
  overflow: hidden;
  color: #9f8f7c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.sv-header-session,
.sv-header-session__connected,
.sv-header-session__guest {
  display: flex;
  min-width: 0;
  align-items: center;
}

.sv-header-session {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(10px, 1.3vw, 18px);
  margin-left: auto;
}

.lobby-wallet.sv-header-session {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

/* The lobby header has a fixed content width, so preserve account columns and
   use the existing icon buttons for its secondary actions. */
.lobby-header .sv-header-account { flex: 0 0 auto; }
.lobby-header .sv-header-stat--wallet { flex: 0 0 190px; }
.lobby-header .sv-header-stat--balance { flex: 0 0 108px; }
.lobby-header .sv-header-action--utility { width: 42px; padding: 0; }
.lobby-header .sv-header-action--utility .sv-header-action__label { display: none; }

.sv-header-session__connected,
.sv-header-session__guest {
  gap: 14px;
}

.sv-header-session__connected[hidden],
.sv-header-session__guest[hidden] {
  display: none;
}

.sv-header-account {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0;
  min-height: 52px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 240, 202, .075);
  border-radius: 11px;
  background:
    linear-gradient(110deg, rgba(255, 245, 218, .052), rgba(255, 245, 218, .018));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.sv-header-stat {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.sv-header-stat--wallet {
  width: clamp(152px, 13vw, 190px);
  padding-right: 16px;
}

.sv-header-stat--balance {
  min-width: 100px;
  padding-left: 16px;
  border-left: 1px solid rgba(233, 184, 79, .14);
}

.sv-header-stat--total .sv-header-label { color: #d7a64d; }
.sv-header-stat--total .sv-header-balance { color: #f0cf88; }

.sv-header-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--sv-header-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .045em;
  line-height: 1;
  white-space: nowrap;
}

.sv-header-label > .sv-header-icon {
  width: 12px;
  height: 12px;
  color: #bea67a;
}

.sv-header-network {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #82d79c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sv-header-network::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
  content: "";
}

.sv-header-address {
  min-width: 0;
  overflow: hidden;
  color: #eee2ce;
  font: 650 11px/1.15 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-header-balance {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 5px;
  color: #8be0a5;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1;
  white-space: nowrap;
}

.sv-header-balance em {
  color: #b9a78f;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sv-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.sv-player-inbox-host {
  display: contents;
}

.sv-header-actions__utilities,
.sv-header-actions__cashier {
  display: flex;
  align-items: center;
}

.sv-header-actions__utilities {
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 240, 202, .07);
  border-radius: 11px;
  background: rgba(255, 244, 216, .03);
}

.sv-header-actions__cashier { gap: 7px; }


.sv-header-actions__utilities:not(:has(.sv-header-action:not([hidden]))),
.sv-header-actions__cashier:not(:has(.sv-header-action:not([hidden]))) {
  display: none;
}

.sv-header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, filter .18s ease, transform .18s ease;
}

.sv-header-action[hidden],
.sv-header-disconnect[hidden] {
  display: none;
}

.sv-header-icon {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.sv-header-action--primary {
  min-width: 92px;
  color: #1a0e08;
  border: 1px solid var(--sv-header-gold-bright);
  background: linear-gradient(180deg, #ffd978, #e8ad3d);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .5),
    0 6px 16px rgba(116, 63, 12, .24);
}

.sv-header-action--secondary {
  color: #dfc99d;
  border: 1px solid rgba(233, 184, 79, .3);
  background: rgba(233, 184, 79, .045);
}

.sv-header-action--utility {
  color: #c5b79f;
  border: 1px solid transparent;
  background: transparent;
}

.sv-header-action--profile .sv-header-icon { color: #d9b863; }
.sv-header-action--notices { position: relative; }
.sv-header-action--notices .sv-header-icon { color: #8ec9a0; }
.sv-header-action--notices b { position: absolute; top: -5px; right: -4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; color: #261208; border: 2px solid #18100d; border-radius: 999px; background: #f2bf54; box-shadow: 0 3px 8px rgba(0, 0, 0, .32); font-size: 8px; }
.sv-header-action--notices b[hidden] { display: none; }

.sv-header-action--utility:hover {
  color: var(--sv-header-paper);
  border-color: rgba(233, 184, 79, .16);
  background: rgba(233, 184, 79, .08);
}

.sv-header-action--primary:hover {
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .5),
    0 8px 20px rgba(139, 77, 16, .32);
  transform: translateY(-1px);
}

.sv-header-action--secondary:hover {
  color: var(--sv-header-paper);
  border-color: rgba(233, 184, 79, .62);
  background: rgba(233, 184, 79, .1);
  transform: translateY(-1px);
}

.sv-header-disconnect {
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #9f9383;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.wallet-disconnect-button.sv-header-disconnect {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.sv-header-disconnect:hover {
  color: #ffad9c;
  border-color: rgba(255, 120, 96, .2);
  background: rgba(188, 55, 38, .1);
}

.sv-site-header :is(a, button):focus-visible {
  outline: 3px solid rgba(255, 226, 148, .95);
  outline-offset: 3px;
}

.sv-header-mode {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 10px;
  color: #d8bd8c;
  border: 1px solid rgba(227, 166, 47, .34);
  border-radius: 999px;
  background: rgba(227, 166, 47, .06);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sv-player-inbox-backdrop,
.sv-player-inbox-backdrop *,
.sv-player-inbox-backdrop *::before,
.sv-player-inbox-backdrop *::after {
  box-sizing: border-box;
}

.sv-player-inbox-backdrop {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  padding: 28px;
  overflow-y: auto;
  place-items: center;
  background: rgba(2, 7, 5, .82);
  backdrop-filter: blur(12px) saturate(.7);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

.sv-player-inbox-backdrop[hidden] { display: none; }

.sv-player-inbox {
  position: relative;
  width: min(720px, 100%);
  max-height: min(820px, calc(100dvh - 56px));
  overflow: hidden;
  color: #f5e3bd;
  border: 1px solid rgba(227, 166, 47, .44);
  border-radius: 18px;
  background:
    radial-gradient(circle at 86% 0, rgba(164, 67, 27, .16), transparent 32%),
    linear-gradient(155deg, #1d100c, #0c0907 70%);
  box-shadow: 0 36px 110px rgba(0, 0, 0, .7), inset 0 1px rgba(255, 239, 198, .05);
}

.sv-player-inbox__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px 22px;
}

.sv-player-inbox__heading > span {
  color: #e3a62f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sv-player-inbox__header h2 {
  margin: 6px 0 5px;
  color: #fff1c9;
  font-family: "Sunset Header", Georgia, serif;
  font-size: clamp(28px, 4vw, 34px);
  line-height: .98;
  text-transform: uppercase;
}

.sv-player-inbox__header p {
  margin: 0;
  color: #aa9b87;
  font-size: 12px;
  line-height: 1.5;
}

.sv-player-inbox__close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #cfbea0;
  border: 1px solid rgba(227, 166, 47, .2);
  border-radius: 50%;
  background: rgba(0, 0, 0, .2);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.sv-player-inbox__close:hover {
  color: #fff1c9;
  border-color: rgba(227, 166, 47, .58);
  background: rgba(227, 166, 47, .08);
}

.sv-player-inbox__close:focus-visible,
.sv-player-inbox__toolbar button:focus-visible,
.sv-player-inbox__meta button:focus-visible {
  outline: 2px solid #ffd978;
  outline-offset: 2px;
}

.sv-player-inbox__toolbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 30px;
  border-block: 1px solid rgba(227, 166, 47, .14);
  background: rgba(255, 240, 202, .025);
}

.sv-player-inbox__toolbar p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.sv-player-inbox__toolbar strong {
  color: #f4dfb4;
  font-size: 12px;
  font-weight: 800;
}

.sv-player-inbox__toolbar span {
  color: #817765;
  font-size: 10px;
}

.sv-player-inbox__toolbar button,
.sv-player-inbox__meta button {
  min-height: 36px;
  padding: 8px 12px;
  color: #f3cf76;
  border: 1px solid rgba(227, 166, 47, .3);
  border-radius: 8px;
  background: rgba(227, 166, 47, .06);
  font: 800 10px/1 "Avenir Next", "Segoe UI", sans-serif;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.sv-player-inbox__toolbar button:hover,
.sv-player-inbox__meta button:hover {
  color: #fff0c8;
  border-color: rgba(227, 166, 47, .6);
  background: rgba(227, 166, 47, .13);
  transform: translateY(-1px);
}

.sv-player-inbox__list {
  display: grid;
  gap: 10px;
  max-height: min(58vh, 560px);
  padding: 14px;
  overflow-y: auto;
  scrollbar-color: rgba(227, 166, 47, .42) transparent;
  scrollbar-width: thin;
}

.sv-player-inbox__message {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid rgba(213, 186, 137, .1);
  border-radius: 11px;
  background: rgba(255, 245, 220, .025);
  transition: border-color .18s ease, background .18s ease;
}

.sv-player-inbox__message.is-unread {
  border-color: rgba(227, 166, 47, .28);
  background: linear-gradient(105deg, rgba(227, 166, 47, .105), rgba(255, 245, 220, .025) 55%);
}

.sv-player-inbox__message:hover {
  border-color: rgba(227, 166, 47, .3);
  background-color: rgba(255, 245, 220, .045);
}

.sv-player-inbox__message-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: #968b75;
  border: 1px solid rgba(213, 186, 137, .13);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
  place-items: center;
}

.sv-player-inbox__message.is-unread .sv-player-inbox__message-mark {
  color: #f2bd4b;
  border-color: rgba(227, 166, 47, .32);
  background: rgba(227, 166, 47, .1);
}

.sv-player-inbox__message-mark svg {
  width: 18px;
  height: 18px;
}

.sv-player-inbox__message-content {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.sv-player-inbox__message-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sv-player-inbox__category,
.sv-player-inbox__read-state {
  color: #a9997d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sv-player-inbox__read-state.is-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #f2bd4b;
}

.sv-player-inbox__read-state.is-new::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(227, 166, 47, .1);
  content: "";
}

.sv-player-inbox__message-content > strong {
  color: #f5e3bd;
  font: 700 16px/1.3 Georgia, serif;
}

.sv-player-inbox__message-content > p {
  margin: 0;
  max-width: 64ch;
  color: #b8aa91;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.sv-player-inbox__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sv-player-inbox__meta time {
  color: #817760;
  font-size: 10px;
}

.sv-player-inbox__toolbar button:disabled,
.sv-player-inbox__meta button:disabled {
  cursor: wait;
  opacity: .58;
}

.sv-player-inbox__empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0;
  padding: 52px 22px;
  color: #9e9278;
  text-align: center;
}

.sv-player-inbox__empty-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
  color: #d3a23f;
  border: 1px solid rgba(227, 166, 47, .23);
  border-radius: 14px;
  background: rgba(227, 166, 47, .07);
  place-items: center;
}

.sv-player-inbox__empty-icon svg { width: 22px; height: 22px; }
.sv-player-inbox__empty strong { color: #ead7b1; font: 700 16px Georgia, serif; }
.sv-player-inbox__empty p { margin: 0; font-size: 11px; }

.sv-player-inbox__empty--error { color: #ffb3a6; }

.sv-player-inbox__footer {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  color: #7f755f;
  border-top: 1px solid rgba(227, 166, 47, .15);
  font-size: 9px;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}

.sv-player-inbox__footer svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #9b875f;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.sv-player-profile-backdrop,
.sv-player-profile-backdrop *,
.sv-player-profile-backdrop *::before,
.sv-player-profile-backdrop *::after {
  box-sizing: border-box;
}

.sv-player-profile-backdrop {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  padding: 20px;
  overflow-y: auto;
  place-items: center;
  background:
    radial-gradient(circle at 50% 25%, rgba(170, 94, 28, .24), transparent 34%),
    rgba(3, 7, 6, .92);
  backdrop-filter: blur(10px);
  font-family: Arial, sans-serif;
}

.sv-player-profile-backdrop[hidden] { display: none; }

.sv-player-promotions-backdrop { position: fixed; z-index: 2000; inset: 0; display: grid; padding: 20px; overflow-y: auto; place-items: center; background: radial-gradient(circle at 50% 25%, rgba(170, 94, 28, .24), transparent 34%), rgba(3, 7, 6, .92); backdrop-filter: blur(10px); }
.sv-player-promotions-backdrop[hidden] { display: none; }
.sv-player-promotions { position: relative; display: grid; width: min(430px, 100%); gap: 18px; padding: 30px; overflow: hidden; color: #f5e3bd; border: 1px solid rgba(227, 166, 47, .55); border-radius: 14px; background: linear-gradient(150deg, #2a1510, #0c0807 72%); box-shadow: 0 34px 100px rgba(0, 0, 0, .68); }
.sv-player-promotions::before { position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #895019, #f2c453, #895019); content: ""; }
.sv-player-promotions__close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; padding: 0; color: #eed39b; border: 1px solid rgba(227,166,47,.3); border-radius: 50%; background: rgba(0,0,0,.2); font-size: 20px; cursor: pointer; }
.sv-player-promotions__mark { display: grid; width: 38px; height: 38px; place-items: center; color: #32200c; border-radius: 50%; background: linear-gradient(#ffe296, #d99b2d); font-size: 19px; }
.sv-player-promotions__heading { display: grid; gap: 5px; }
.sv-player-promotions__heading > span { color: #d9a94d; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sv-player-promotions__heading h2 { margin: 0; font: 700 28px/1 Georgia, serif; }
.sv-player-promotions__heading p { margin: 0; color: #bba182; font-size: 11px; line-height: 1.5; }
.sv-player-promotions__content { display: grid; gap: 8px; color: #cbb18f; font-size: 11px; line-height: 1.45; }
.sv-player-promotions__content article { display: grid; gap: 4px; padding: 12px; border: 1px solid rgba(117,214,154,.28); border-radius: 8px; background: linear-gradient(110deg, rgba(117,214,154,.10), rgba(227,166,47,.07)); }
.sv-player-promotions__content strong { color: #9de1b7; font: 700 14px/1.2 Georgia, serif; }

.sv-player-profile {
  position: relative;
  display: grid;
  width: min(470px, 100%);
  gap: 20px;
  padding: 32px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #f5e3bd;
  border: 1px solid rgba(227, 166, 47, .55);
  border-radius: 14px;
  background: linear-gradient(150deg, #2a1510, #0c0807 72%);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .68);
}

.sv-player-profile::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #895019, #f2c453, #895019);
  content: "";
}

.sv-player-profile__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  color: #cfbea0;
  border: 1px solid rgba(227, 166, 47, .24);
  border-radius: 50%;
  background: rgba(0, 0, 0, .22);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sv-player-profile__close[hidden] { display: none; }

.sv-player-profile__close:hover {
  color: #fff1c9;
  border-color: rgba(227, 166, 47, .58);
}

.sv-player-profile__mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #1d0e09;
  border: 2px solid rgba(255, 238, 190, .55);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe290, #c88119);
  box-shadow: 0 0 0 7px rgba(227, 166, 47, .08);
  font: 900 15px/1 Georgia, serif;
}

.sv-player-profile__heading > span {
  color: #e3a62f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sv-player-profile__heading h2 {
  margin: 7px 0 8px;
  color: #fff1c9;
  font: 700 28px/1.08 "Sunset Header", Georgia, serif;
  text-transform: uppercase;
}

.sv-player-profile__heading p {
  margin: 0;
  color: #b8a58b;
  font-size: 12px;
  line-height: 1.6;
}

.sv-player-profile__wallet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #9d8d74;
  border: 1px solid rgba(227, 166, 47, .18);
  border-radius: 7px;
  background: rgba(0, 0, 0, .2);
}

.sv-player-profile__wallet span {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sv-player-profile__wallet code {
  overflow: hidden;
  color: #e8ce98;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-player-profile__balances { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid rgba(227, 166, 47, .2); border-radius: 8px; background: rgba(227, 166, 47, .12); }
.sv-player-profile__balances > div { display: grid; gap: 4px; padding: 10px; background: rgba(13, 7, 5, .78); }
.sv-player-profile__balances span { color: #a99270; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.sv-player-profile__balances strong { color: #f2ddb8; font: 700 14px/1 Georgia, serif; }
.sv-player-profile__balances .sv-player-profile__requirements, .sv-player-profile__balances .sv-player-profile__stacks, .sv-player-profile__balances .sv-player-profile__cashback { grid-column: 1 / -1; gap: 7px; }
.sv-player-profile__requirements > strong { color: #f4c965; font: 800 10px/1 Metropolis, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.sv-player-profile__requirements > span { color: #c3a47f; font-size: 9px; letter-spacing: 0; text-transform: none; }
.sv-player-profile__progress { display: grid; gap: 4px; }
.sv-player-profile__progress > span { display: flex; justify-content: space-between; gap: 8px; color: #bca37c; font-size: 8px; }
.sv-player-profile__progress b { color: #f2ddb8; font-weight: 800; letter-spacing: 0; text-transform: none; }
.sv-player-profile__progress progress { width: 100%; height: 5px; accent-color: #e3a62f; }
.sv-player-profile__stacks:empty { display: none; }
.sv-player-profile__stacks > div { display: grid; gap: 3px; padding: 8px; border: 1px solid rgba(227, 166, 47, .13); border-radius: 5px; background: rgba(227, 166, 47, .06); }
.sv-player-profile__stacks strong { font: 700 10px/1.2 Metropolis, Arial, sans-serif; }
.sv-player-profile__stacks span { color: #c3a47f; font-size: 9px; letter-spacing: 0; text-transform: none; }
.sv-player-profile__cashback { padding: 10px !important; border: 1px solid rgba(117, 214, 154, .28); background: linear-gradient(110deg, rgba(117, 214, 154, .10), rgba(227, 166, 47, .06)) !important; }.sv-player-profile__cashback > strong { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #9de1b7; font: 800 10px/1 Metropolis, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; }.sv-player-profile__cashback > strong b { color: #f2ddb8; font-size: 8px; }.sv-player-profile__cashback > span, .sv-player-profile__cashback-total small { color: #c3a47f; font-size: 9px; line-height: 1.4; letter-spacing: 0; text-transform: none; }.sv-player-profile__cashback-total { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }.sv-player-profile__cashback-total span { color: #a99270; font-size: 8px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }.sv-player-profile__cashback-total strong { color: #9de1b7; font: 700 14px/1 Georgia, serif; }

.sv-player-profile__form { display: grid; gap: 9px; }

.sv-player-profile__form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  color: #e8d8b6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sv-player-profile__form label b {
  color: #aa9678;
  font-size: 8px;
  letter-spacing: .1em;
}

.sv-player-profile__form label:first-child b { color: #e3a62f; }

.sv-player-profile__form input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: #fff1c9;
  border: 1px solid rgba(227, 166, 47, .3);
  border-radius: 8px;
  outline: 0;
  background: rgba(0, 0, 0, .28);
  font: 600 14px/1 Arial, sans-serif;
}

.sv-player-profile__form input::placeholder { color: #776b5d; }

.sv-player-profile__form input:focus {
  border-color: #e3a62f;
  box-shadow: 0 0 0 3px rgba(227, 166, 47, .14);
}
.sv-player-kyc-status { display: grid; gap: 3px; padding: 10px; border-left: 3px solid #d59b2d; background: rgba(227, 166, 47, .08); }
.sv-player-kyc-status > span { color: #d9a94d; font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sv-player-kyc-status strong { color: #f6dfaa; font-size: 12px; }
.sv-player-kyc-status p { margin: 0; color: #bca889; font-size: 10px; line-height: 1.4; }
.sv-player-kyc-status[data-status="approved"] { border-color: #6dbb80; background: rgba(109, 187, 128, .1); }
.sv-player-kyc-status[data-status="rejected"] { border-color: #df735f; background: rgba(223, 115, 95, .1); }
.sv-kyc-upload { display: grid; gap: 12px; padding: 14px; border: 1px solid rgba(227, 166, 47, .34); border-radius: 9px; background: linear-gradient(135deg, rgba(227, 166, 47, .13), rgba(0, 0, 0, .16)); }
.sv-kyc-upload__heading { display: grid; gap: 3px; }
.sv-kyc-upload__heading span, .sv-kyc-capture__copy > span { color: #d9a94d; font-size: 8px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.sv-kyc-upload__heading strong { color: #f6dfaa; font-size: 13px; }
.sv-kyc-upload__heading p { margin: 0; color: #bca889; font-size: 10px; line-height: 1.4; }
.sv-kyc-document-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.sv-kyc-document-types legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sv-kyc-document-types label { display: block !important; margin: 0 !important; cursor: pointer; }
.sv-kyc-document-types input { position: absolute; width: 1px !important; min-height: 1px !important; padding: 0 !important; overflow: hidden; opacity: 0; }
.sv-kyc-document-types label span { display: grid; min-height: 70px; align-content: center; gap: 4px; padding: 10px; color: #cbb895; border: 1px solid rgba(227, 166, 47, .22); border-radius: 7px; background: rgba(0, 0, 0, .2); }
.sv-kyc-document-types label b { color: #f2ddb8; font-size: 10px; letter-spacing: .02em; text-transform: none; }
.sv-kyc-document-types label small { color: #9f8a6a; font-size: 8px; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.sv-kyc-document-types input:checked + span { color: #2a1509; border-color: #f0c35b; background: linear-gradient(145deg, #f4ca67, #d89429); box-shadow: 0 5px 15px rgba(0, 0, 0, .2); }
.sv-kyc-document-types input:checked + span b { color: #2a1509; }
.sv-kyc-document-types input:checked + span small { color: #674316; }
.sv-kyc-document-types input:focus-visible + span { outline: 3px solid rgba(255, 216, 116, .42); outline-offset: 2px; }
.sv-kyc-document-types:disabled { opacity: .72; }
.sv-kyc-upload__steps { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 7px; align-items: center; color: #987b4e; font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sv-kyc-upload__steps span { white-space: nowrap; }
.sv-kyc-upload__steps b { color: #d5c19a; font-weight: 800; }
.sv-kyc-upload__steps i { height: 1px; background: rgba(227, 166, 47, .3); }
.sv-kyc-photo-slots { display: grid; gap: 8px; }
.sv-kyc-photo-slot { display: grid !important; grid-template-columns: 31px minmax(0, 1fr) auto; gap: 10px; align-items: center !important; margin: 0 !important; padding: 10px; color: #bba985 !important; border: 1px dashed rgba(227, 166, 47, .42); border-radius: 7px; background: rgba(0, 0, 0, .18); cursor: pointer; }
.sv-kyc-photo-slot input { position: absolute; width: 1px !important; min-height: 1px !important; padding: 0 !important; overflow: hidden; opacity: 0; }
.sv-kyc-photo-slot__icon { display: grid; place-items: center; width: 30px; height: 30px; color: #e7b652; border: 1px solid rgba(227, 166, 47, .35); border-radius: 50%; background: rgba(227, 166, 47, .1); font-size: 13px; font-weight: 900; }
.sv-kyc-photo-slot__copy { display: grid; min-width: 0; gap: 2px; }
.sv-kyc-photo-slot__copy b { color: #f2ddb8; font-size: 10px; letter-spacing: .02em; text-transform: none; }
.sv-kyc-photo-slot__copy small, .sv-kyc-photo-slot__copy em { overflow: hidden; color: #9f8a6a; font-size: 8px; font-style: normal; letter-spacing: 0; line-height: 1.3; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.sv-kyc-photo-slot__copy em { color: #d9ba7b; }
.sv-kyc-photo-slot > strong { padding: 8px 9px; color: #2a1509; border-radius: 4px; background: #e6ad41; font-size: 8px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.sv-kyc-photo-slot.is-selected { border-style: solid; border-color: #e6ad41; background: rgba(227, 166, 47, .12); }
.sv-kyc-photo-slot.is-selected .sv-kyc-photo-slot__icon { color: #2a1509; border-color: #f0c35b; background: #e6ad41; }
.sv-kyc-photo-slot.is-complete { pointer-events: none; border-style: solid; border-color: rgba(109, 187, 128, .6); background: rgba(109, 187, 128, .1); }
.sv-kyc-photo-slot.is-complete .sv-kyc-photo-slot__icon { color: #d8f1dc; border-color: #6dbb80; background: #397249; font-size: 0; }
.sv-kyc-photo-slot.is-complete .sv-kyc-photo-slot__icon::after { font-size: 15px; content: "✓"; }
.sv-kyc-photo-slot.is-complete > strong { color: #d8f1dc; background: #397249; }
.sv-kyc-photo-slot:has(input:focus-visible) { outline: 3px solid rgba(255, 216, 116, .42); outline-offset: 2px; }
.sv-profile-dropdown { position: relative; z-index: 1; margin: 0; }
.sv-profile-dropdown[open] { z-index: 2; }
.sv-profile-dropdown summary { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 10px 38px 10px 12px; color: #f2ddb8; border: 1px solid rgba(227, 166, 47, .3); border-radius: 6px; background: rgba(0, 0, 0, .28); font-size: 11px; font-weight: 800; letter-spacing: .02em; list-style: none; cursor: pointer; }
.sv-profile-dropdown summary::-webkit-details-marker { display: none; }
.sv-profile-dropdown summary::after { position: absolute; top: 15px; right: 14px; width: 7px; height: 7px; border-right: 1px solid #e8bf62; border-bottom: 1px solid #e8bf62; transform: rotate(45deg); content: ""; transition: transform .15s ease; }
.sv-profile-dropdown[open] summary { border-color: #e3a62f; box-shadow: 0 0 0 3px rgba(227, 166, 47, .14); }
.sv-profile-dropdown[open] summary::after { transform: translateY(4px) rotate(225deg); }
.sv-profile-dropdown summary:focus-visible { outline: 3px solid rgba(255, 216, 116, .42); outline-offset: 2px; }
.sv-profile-dropdown input { display: none; }
.sv-profile-dropdown__menu { position: absolute; top: calc(100% + 5px); right: 0; left: 0; display: grid; gap: 2px; padding: 5px; border: 1px solid rgba(227, 166, 47, .4); border-radius: 6px; background: #1b0c07; box-shadow: 0 14px 30px rgba(0, 0, 0, .42); }
.sv-profile-dropdown__menu button { min-height: 35px !important; padding: 8px 10px !important; color: #cdbb95 !important; border: 0 !important; border-radius: 4px !important; background: transparent !important; box-shadow: none !important; font-size: 10px !important; font-weight: 750 !important; letter-spacing: .02em !important; text-align: left; text-transform: none !important; }
.sv-profile-dropdown__menu button:hover, .sv-profile-dropdown__menu button[aria-selected="true"] { color: #251208 !important; background: linear-gradient(180deg, #f4c95e, #d89225) !important; }
.sv-kyc-file-picker { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; min-height: 48px; gap: 10px; margin: 0 !important; padding: 7px 8px 7px 12px; align-items: center !important; color: #bba985 !important; border: 1px dashed rgba(227, 166, 47, .46); border-radius: 6px; background: rgba(0, 0, 0, .18); cursor: pointer; }
.sv-kyc-file-picker input { position: absolute; width: 1px !important; min-height: 1px !important; padding: 0 !important; overflow: hidden; opacity: 0; }
.sv-kyc-file-picker span { overflow: hidden; font-size: 10px; font-weight: 700; letter-spacing: 0; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.sv-kyc-file-picker strong { padding: 9px 10px; color: #2a1509; border-radius: 4px; background: #e6ad41; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.sv-kyc-file-picker:has(input:focus-visible) { outline: 3px solid rgba(255, 216, 116, .42); outline-offset: 2px; }
.sv-kyc-photo-slots { display: grid; gap: 8px; }
.sv-kyc-file-picker.is-complete { pointer-events: none; border-style: solid; border-color: rgba(109, 187, 128, .7); background: rgba(109, 187, 128, .1); }
.sv-kyc-file-picker.is-complete strong { color: #d8f1dc; background: #397249; }
.sv-kyc-upload__hint { color: #9f8a6a; font-size: 9px; line-height: 1.4; }
.sv-kyc-upload__guidance { margin: -2px 0 0; color: #9f8a6a; font-size: 9px; line-height: 1.45; }

.sv-kyc-upload { gap: 14px; padding: 16px; border-color: rgba(227, 166, 47, .25); border-radius: 8px; background: linear-gradient(135deg, rgba(66, 28, 12, .58), rgba(15, 6, 3, .46)); }
.sv-kyc-upload h3 { margin: 0 0 3px; color: #fff1c9; font: 700 17px/1 "Sunset Header", Georgia, serif; }
.sv-kyc-upload > label, .sv-kyc-upload-slot > span { color: #cdbb95; font-size: 10px; font-weight: 800; letter-spacing: 0; text-transform: none; }
.sv-kyc-upload > label b, .sv-kyc-upload-slot > span b { color: #ff8b8b; }
.sv-player-profile__form .sv-kyc-upload-drop { justify-content: center; align-content: center; justify-items: center; align-items: center; }
.sv-kyc-photo-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sv-kyc-photo-slots[data-required-sides="photo_page"] .sv-kyc-upload-slot { grid-column: 1 / -1; }
.sv-kyc-upload-slot { display: grid; gap: 8px; min-width: 0; }
.sv-kyc-upload-drop { display: grid !important; min-height: 194px; place-content: center; justify-items: center; gap: 10px; margin: 0 !important; padding: 18px; color: #cdbb95 !important; border: 1px solid rgba(227, 166, 47, .32); border-radius: 7px; background: rgba(0, 0, 0, .2); cursor: pointer; text-align: center; }
.sv-kyc-upload-drop input { position: absolute; width: 1px !important; min-height: 1px !important; padding: 0 !important; overflow: hidden; opacity: 0; }
.sv-kyc-upload-icon { display: grid; width: 100px; height: 66px; color: #55321d; }
.sv-kyc-upload-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.sv-kyc-upload-icon svg rect { fill: #3a2112; stroke: none; }
.sv-kyc-upload-icon svg circle { fill: #170b06; stroke: none; }
.sv-kyc-upload-icon .sv-kyc-upload-icon__arrow { stroke: #e3a62f; }
.sv-kyc-upload-drop small { color: #bca889; font-size: 10px; letter-spacing: 0; text-transform: none; }
.sv-kyc-upload-drop strong { padding: 11px 17px; color: #f2ddb8; border: 1px solid rgba(227, 166, 47, .3); border-radius: 7px; background: #482313; font-size: 11px; letter-spacing: 0; text-transform: none; }
.sv-kyc-upload-slot.is-selected .sv-kyc-upload-drop { border-color: #e3a62f; background: rgba(227, 166, 47, .08); }
.sv-kyc-upload-slot.is-selected .sv-kyc-upload-drop strong { color: #2a1509; background: #e6ad41; }
.sv-kyc-upload-slot.is-complete .sv-kyc-upload-drop { pointer-events: none; border-color: #62b879; background: rgba(81, 167, 105, .12); }
.sv-kyc-upload-slot.is-complete .sv-kyc-upload-drop strong { background: #397249; }
.sv-kyc-upload-drop:has(input:focus-visible) { outline: 3px solid rgba(255, 216, 116, .42); outline-offset: 2px; }
.sv-player-profile__form .sv-kyc-upload > button { min-height: 44px; color: #1d0e09; border-color: #f1c04e; background: linear-gradient(180deg, #f9ce62, #d99224); box-shadow: 0 8px 22px rgba(176, 92, 17, .24); font-size: 12px; letter-spacing: 0; text-transform: none; }
.sv-player-profile__form .sv-kyc-upload > button:hover { background: linear-gradient(180deg, #ffda78, #e6a536); }

@media (max-width: 520px) {
  .sv-kyc-document-types { grid-template-columns: 1fr; }
  .sv-kyc-document-types label span { min-height: 54px; }
  .sv-kyc-upload__steps { grid-template-columns: auto 1fr auto; }
  .sv-kyc-upload__steps i:last-of-type, .sv-kyc-upload__steps span:last-child { display: none; }
  .sv-kyc-photo-slot { grid-template-columns: 31px minmax(0, 1fr); }
  .sv-kyc-photo-slot > strong { grid-column: 2; justify-self: start; }
  .sv-kyc-photo-slots { grid-template-columns: 1fr; gap: 12px; }
}

.sv-player-profile__state {
  min-height: 17px;
  margin: 3px 0 0;
  color: #ffaaa0;
  font-size: 10px;
}

.sv-player-profile__form button {
  min-height: 48px;
  color: #1d0e09;
  border: 1px solid #f1c04e;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9ce62, #d99224);
  box-shadow: 0 8px 22px rgba(176, 92, 17, .24);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.sv-player-profile__form button:hover { filter: brightness(1.06); }
.sv-player-profile__form button:disabled { cursor: wait; opacity: .65; }

.sv-player-profile__form > small {
  color: #817560;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.sv-player-profile__affiliate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(227, 166, 47, .26);
  border-radius: 9px;
  background: linear-gradient(100deg, rgba(227, 166, 47, .1), rgba(0, 0, 0, .16));
}

.sv-player-profile__affiliate[hidden] { display: none; }

.sv-player-profile__affiliate span,
.sv-player-profile__affiliate strong { display: block; }

.sv-player-profile__affiliate span {
  color: #e3a62f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sv-player-profile__affiliate strong {
  margin-top: 3px;
  color: #dfcda9;
  font-size: 11px;
}

.sv-player-profile__affiliate button {
  min-height: 44px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: #f0cb79;
  border: 1px solid rgba(227, 166, 47, .42);
  border-radius: 7px;
  background: rgba(0, 0, 0, .24);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sv-player-profile__affiliate button:hover {
  color: #fff0c5;
  border-color: rgba(248, 211, 105, .78);
  background: rgba(227, 166, 47, .14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
  transform: translateY(-1px);
}

.sv-player-profile__affiliate button:active { transform: translateY(0); }

.sv-player-affiliate-backdrop,
.sv-player-affiliate-backdrop *,
.sv-player-affiliate-backdrop *::before,
.sv-player-affiliate-backdrop *::after {
  box-sizing: border-box;
}

.sv-player-affiliate-backdrop {
  position: fixed;
  z-index: 2010;
  inset: 0;
  display: grid;
  padding: 20px;
  overflow-y: auto;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0, rgba(208, 128, 36, .28), transparent 34rem),
    rgba(3, 5, 4, .95);
  backdrop-filter: blur(12px);
  font-family: "Avenir Next", Avenir, sans-serif;
}

.sv-player-affiliate-backdrop[hidden] { display: none; }

.sv-player-affiliate {
  position: relative;
  width: min(1020px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  color: #f6e7c7;
  border: 1px solid rgba(227, 166, 47, .5);
  border-radius: 16px;
  background:
    repeating-linear-gradient(112deg, transparent 0 42px, rgba(255, 255, 255, .011) 43px 44px),
    linear-gradient(145deg, #25130e, #0d0a08 62%);
  box-shadow: 0 38px 120px rgba(0, 0, 0, .72);
}

.sv-player-affiliate::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #6d3512, #f4c754, #6d3512);
  content: "";
}

.sv-player-affiliate__header {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 25px;
  border-bottom: 1px solid rgba(227, 166, 47, .18);
  background: rgba(21, 10, 8, .94);
  backdrop-filter: blur(12px);
}

.sv-player-affiliate__header span,
.sv-player-affiliate__eyebrow {
  color: #e6aa35;
  font: 900 9px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sv-player-affiliate__header h2 {
  margin: 4px 0 2px;
  color: #fff0ca;
  font: 700 27px/1 "Sunset Header", Georgia, serif;
  text-transform: uppercase;
}

.sv-player-affiliate__header p {
  margin: 0;
  color: #9c8669;
  font-size: 11px;
}

.sv-player-affiliate__close {
  width: 44px;
  height: 44px;
  display: grid;
  padding: 0;
  place-items: center;
  flex: 0 0 44px;
  color: #d8c4a0;
  border: 1px solid rgba(227, 166, 47, .26);
  border-radius: 50%;
  background: rgba(0, 0, 0, .24);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.sv-player-affiliate__close:hover {
  color: #fff1c9;
  border-color: rgba(248, 211, 105, .66);
  background: rgba(227, 166, 47, .1);
  transform: rotate(4deg);
}

.sv-player-affiliate__content { min-height: 410px; padding: 26px; }

.sv-player-affiliate__loading {
  margin: 0;
  padding: 120px 20px;
  color: #a99170;
  text-align: center;
}

.sv-player-affiliate__join {
  width: min(850px, 100%);
  margin: 0 auto;
  padding: 28px 12px 24px;
}

.sv-player-affiliate__join-hero { max-width: 680px; }
.sv-player-affiliate__join h3 {
  margin: 13px 0 14px;
  color: #fff0ca;
  font: 700 clamp(38px, 6vw, 62px)/.92 "Sunset Header", Georgia, serif;
  text-transform: uppercase;
}
.sv-player-affiliate__join h3 em { color: #efbb4e; font-style: normal; }

.sv-player-affiliate__join-hero > p {
  max-width: 650px;
  margin: 0;
  color: #bea886;
  font-size: 14px;
  line-height: 1.7;
}

.sv-player-affiliate__join-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 27px 0 13px;
  padding: 0;
  list-style: none;
}
.sv-player-affiliate__join-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 15px; border: 1px solid rgba(227, 166, 47, .15); border-radius: 11px; background: rgba(0, 0, 0, .18); }
.sv-player-affiliate__join-steps li > span { width: 32px; height: 32px; display: grid; place-items: center; color: #251208; border-radius: 50%; background: #e9ae3d; font: 900 10px/1 ui-monospace, monospace; }
.sv-player-affiliate__join-steps strong,
.sv-player-affiliate__join-steps small { display: block; }
.sv-player-affiliate__join-steps strong { margin: 1px 0 5px; color: #ead6ad; font-size: 11px; }
.sv-player-affiliate__join-steps small { color: #8f7c61; font-size: 9px; line-height: 1.5; }

.sv-player-affiliate__offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 18px; align-items: center; margin: 12px 0 20px; padding: 18px 20px; border: 1px solid rgba(235, 181, 66, .34); border-radius: 12px; background: linear-gradient(115deg, rgba(111, 42, 18, .48), rgba(0, 0, 0, .22)); }
.sv-player-affiliate__offer > div > span { display: block; margin-bottom: 6px; color: #aa9270; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.sv-player-affiliate__offer > div > strong { display: block; color: #f2d89e; font-size: 13px; line-height: 1.5; }
.sv-player-affiliate__offer dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; overflow: hidden; border: 1px solid rgba(227, 166, 47, .13); border-radius: 8px; background: rgba(227, 166, 47, .12); }
.sv-player-affiliate__offer dl div { padding: 11px; background: rgba(12, 8, 6, .78); }
.sv-player-affiliate__offer dt { color: #7e6c57; font-size: 8px; text-transform: uppercase; }
.sv-player-affiliate__offer dd { margin: 5px 0 0; color: #e4c789; font-size: 10px; font-weight: 800; }

.sv-player-affiliate__primary {
  min-height: 50px;
  padding: 12px 28px;
  color: #251208;
  border: 1px solid #f8d369;
  border-radius: 9px;
  background: linear-gradient(180deg, #f8d46a, #d89021);
  box-shadow: 0 12px 28px rgba(168, 83, 16, .28);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sv-player-affiliate__primary:not(:disabled):hover {
  filter: brightness(1.1);
  box-shadow: 0 16px 34px rgba(168, 83, 16, .38);
  transform: translateY(-2px);
}

.sv-player-affiliate__primary:not(:disabled):active { transform: translateY(0); }
.sv-player-affiliate__primary:disabled { cursor: not-allowed; filter: grayscale(.6); opacity: .6; }
.sv-player-affiliate__fine-print { display: block; max-width: 630px; margin-top: 12px; color: #796a56; font-size: 9px; line-height: 1.5; }
.sv-player-affiliate__state { min-height: 19px; margin: 10px 0 0 !important; color: #8adbb0 !important; font-size: 10px !important; }

.sv-player-affiliate__welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}
.sv-player-affiliate__welcome h3 { margin: 10px 0 5px; color: #fff0ca; font: 700 clamp(25px, 4vw, 36px)/1 "Sunset Header", Georgia, serif; text-transform: uppercase; }
.sv-player-affiliate__welcome p { margin: 0; color: #9d896d; font-size: 11px; }
.sv-player-affiliate__welcome > small { max-width: 360px; color: #cfb783; font-size: 10px; line-height: 1.5; text-align: right; }

.sv-player-affiliate__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: #8fe0b7;
  border: 1px solid rgba(72, 192, 125, .32);
  border-radius: 999px;
  background: rgba(38, 125, 80, .12);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sv-player-affiliate__status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.sv-player-affiliate__status.is-review { color: #ffc37b; border-color: rgba(255, 169, 76, .35); }
.sv-player-affiliate__status.is-blocked { color: #ff9c88; border-color: rgba(255, 116, 90, .35); }

.sv-player-affiliate__share {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(237, 183, 66, .42);
  border-radius: 13px;
  background: linear-gradient(120deg, rgba(113, 41, 17, .45), rgba(0, 0, 0, .25));
}

.sv-player-affiliate__share > div:first-child span,
.sv-player-affiliate__share > div:first-child strong { display: block; }
.sv-player-affiliate__share > div:first-child span { color: #ac8f68; font-size: 9px; text-transform: uppercase; }
.sv-player-affiliate__share > div:first-child strong { margin-top: 4px; color: #f5db9e; font: 700 17px Georgia, serif; }

.sv-player-affiliate__link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 7px;
  margin-top: 13px;
  padding: 7px;
  border: 1px solid rgba(227, 166, 47, .2);
  border-radius: 9px;
  background: rgba(0, 0, 0, .32);
}

.sv-player-affiliate__link input {
  min-width: 0;
  min-height: 44px;
  padding: 9px;
  color: #eed49e;
  border: 0;
  outline: 0;
  background: transparent;
  font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.sv-player-affiliate__link button {
  min-height: 44px;
  padding: 9px 13px;
  color: #251208;
  border: 1px solid #e9b74d;
  border-radius: 7px;
  background: #e9ab37;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sv-player-affiliate__link button:last-child { color: #e9c67d; background: transparent; }
.sv-player-affiliate__link button:not(:disabled):hover {
  border-color: #ffd66f;
  background: #f1bd4d;
  box-shadow: 0 7px 18px rgba(179, 92, 18, .25);
  transform: translateY(-1px);
}
.sv-player-affiliate__link button:last-child:not(:disabled):hover { color: #fff0c6; background: rgba(227, 166, 47, .12); }
.sv-player-affiliate__link button:not(:disabled):active { transform: translateY(0); }
.sv-player-affiliate__link button:disabled { cursor: not-allowed; filter: grayscale(.7); opacity: .45; }
.sv-player-affiliate__share > p { min-height: 16px; margin: 6px 0 0; color: #82d3a8; font-size: 9px; }

.sv-player-profile__affiliate button:focus-visible,
.sv-player-affiliate__close:focus-visible,
.sv-player-affiliate__primary:focus-visible,
.sv-player-affiliate__link button:focus-visible {
  outline: 3px solid rgba(255, 215, 119, .5);
  outline-offset: 3px;
}

.sv-player-affiliate__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 13px 0;
}

.sv-player-affiliate__stats article {
  min-height: 102px;
  padding: 15px;
  border: 1px solid rgba(227, 166, 47, .15);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
}
.sv-player-affiliate__stats article.is-pending { border-color: rgba(229, 170, 53, .32); background: rgba(94, 52, 16, .2); }

.sv-player-affiliate__stats span,
.sv-player-affiliate__stats small { display: block; color: #937d60; font-size: 9px; }
.sv-player-affiliate__stats strong { display: block; margin: 10px 0 5px; color: #f5db9e; font: 800 23px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }

.sv-player-affiliate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sv-player-affiliate__panel { padding: 17px; border: 1px solid rgba(227, 166, 47, .15); border-radius: 11px; background: rgba(0, 0, 0, .2); }
.sv-player-affiliate__panel > header { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.sv-player-affiliate__panel h3 { margin: 0; color: #f1d8a3; font: 700 15px Georgia, serif; }
.sv-player-affiliate__panel header p { margin: 4px 0 0; color: #81705a; font-size: 9px; line-height: 1.4; }
.sv-player-affiliate__panel header span { color: #7f6d55; font-size: 9px; }

.sv-player-affiliate__funnel { display: grid; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid rgba(227, 166, 47, .12); }
.sv-player-affiliate__funnel > div { display: grid; grid-template-columns: 96px 1fr 28px; gap: 8px; align-items: center; }
.sv-player-affiliate__funnel span { color: #ad9675; font-size: 9px; }
.sv-player-affiliate__funnel i { height: 7px; overflow: hidden; border-radius: 99px; background: #3e2418; }
.sv-player-affiliate__funnel b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ad6017, #f1bf4b); }
.sv-player-affiliate__funnel strong { color: #dfc38a; font: 700 10px ui-monospace, monospace; text-align: right; }

.sv-player-affiliate__activity-list,
.sv-player-affiliate__earnings { display: grid; gap: 0; margin-top: 8px; }
.sv-player-affiliate__activity,
.sv-player-affiliate__earning { min-height: 48px; padding: 9px 0; border-bottom: 1px solid rgba(227, 166, 47, .09); }
.sv-player-affiliate__activity:last-child,
.sv-player-affiliate__earning:last-child { border: 0; }
.sv-player-affiliate__activity { display: grid; grid-template-columns: 7px 1fr; gap: 9px; }
.sv-player-affiliate__activity i { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #dda435; }
.sv-player-affiliate__activity strong,
.sv-player-affiliate__activity span,
.sv-player-affiliate__earning strong,
.sv-player-affiliate__earning span { display: block; }
.sv-player-affiliate__activity strong,
.sv-player-affiliate__earning strong { color: #d8c5a1; font-size: 10px; }
.sv-player-affiliate__activity span,
.sv-player-affiliate__earning span { margin-top: 2px; color: #776751; font-size: 9px; text-transform: capitalize; }
.sv-player-affiliate__earning { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sv-player-affiliate__earning b { color: #e8bd60; font: 800 10px ui-monospace, monospace; white-space: nowrap; }
.sv-player-affiliate__empty { margin: 0; padding: 28px 12px; color: #766651; text-align: center; }
.sv-player-affiliate__empty strong,
.sv-player-affiliate__empty span { display: block; }
.sv-player-affiliate__empty strong { color: #b9a17d; font-size: 10px; }
.sv-player-affiliate__empty span { margin-top: 5px; font-size: 9px; line-height: 1.5; }

/* Refer & Earn: keep the player view focused on reward, requirement, and next action. */
.sv-player-affiliate__join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 34px;
  align-items: center;
}

.sv-player-affiliate__reward-ticket {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(248, 211, 105, .52);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(113, 48, 17, .8), rgba(37, 17, 10, .92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.sv-player-affiliate__reward-ticket::after {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(248, 211, 105, .16);
  border-radius: 50%;
  content: "";
}

.sv-player-affiliate__reward-ticket span,
.sv-player-affiliate__reward-ticket strong,
.sv-player-affiliate__reward-ticket p { position: relative; z-index: 1; display: block; }
.sv-player-affiliate__reward-ticket span { color: #d9b56c; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sv-player-affiliate__reward-ticket strong { margin: 12px 0 5px; color: #ffe3a0; font: 800 38px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sv-player-affiliate__reward-ticket p { margin: 0; color: #c7b28d; font-size: 12px; line-height: 1.5; }

.sv-player-affiliate__join-action { display: flex; align-items: center; gap: 18px; }
.sv-player-affiliate__join-action .sv-player-affiliate__fine-print { max-width: 410px; margin: 0; font-size: 10px; }

.sv-player-affiliate__dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.sv-player-affiliate__dashboard-head h3 {
  margin: 8px 0 6px;
  color: #fff0ca;
  font: 700 clamp(25px, 4vw, 36px)/1 "Sunset Header", Georgia, serif;
  text-transform: uppercase;
}

.sv-player-affiliate__dashboard-head p { max-width: 610px; margin: 0; color: #a99475; font-size: 12px; line-height: 1.55; }

.sv-player-affiliate__reward-overview {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(237, 183, 66, .3);
  border-radius: 13px;
  background: rgba(0, 0, 0, .2);
}

.sv-player-affiliate__reward-main { padding: 22px; background: linear-gradient(135deg, rgba(118, 47, 18, .62), rgba(67, 30, 15, .34)); }
.sv-player-affiliate__reward-main span { color: #d4ad62; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sv-player-affiliate__reward-main strong { display: block; margin: 9px 0 6px; color: #ffe2a0; font: 800 36px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sv-player-affiliate__reward-main p { margin: 0; color: #c9b48d; font-size: 12px; line-height: 1.45; }

.sv-player-affiliate__reward-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.sv-player-affiliate__reward-rules > div { padding: 21px 18px; border-left: 1px solid rgba(227, 166, 47, .12); }
.sv-player-affiliate__reward-rules dt { color: #8f7b60; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.sv-player-affiliate__reward-rules dd { margin: 8px 0 0; color: #dec79d; font-size: 11px; line-height: 1.55; }

.sv-player-affiliate__account-alert {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  margin-bottom: 14px;
  padding: 16px;
  color: #ffc07f;
  border: 1px solid rgba(255, 169, 76, .28);
  border-radius: 11px;
  background: rgba(104, 58, 20, .18);
}

.sv-player-affiliate__account-alert.is-blocked { color: #ffad99; border-color: rgba(255, 116, 90, .3); background: rgba(108, 34, 23, .18); }
.sv-player-affiliate__account-alert > svg { width: 22px; height: 22px; margin: 2px auto 0; }
.sv-player-affiliate__account-alert strong { display: block; color: currentColor; font-size: 12px; }
.sv-player-affiliate__account-alert p { margin: 5px 0 0; color: #b69a7e; font-size: 11px; line-height: 1.5; }

.sv-player-affiliate__dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.sv-player-affiliate__dashboard-metrics article { min-height: 112px; padding: 17px; border: 1px solid rgba(227, 166, 47, .14); border-radius: 11px; background: rgba(0, 0, 0, .2); }
.sv-player-affiliate__dashboard-metrics article.is-sun { border-color: rgba(237, 183, 66, .36); background: linear-gradient(135deg, rgba(100, 43, 17, .42), rgba(0, 0, 0, .2)); }
.sv-player-affiliate__dashboard-metrics span,
.sv-player-affiliate__dashboard-metrics small { display: block; color: #927d61; font-size: 10px; }
.sv-player-affiliate__dashboard-metrics strong { display: block; margin: 10px 0 7px; color: #f5db9e; font: 800 25px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.sv-player-affiliate__dashboard-metrics article.is-sun strong { color: #ffd777; }

.sv-player-affiliate__getting-started {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 23px;
  border: 1px dashed rgba(227, 166, 47, .25);
  border-radius: 12px;
  background: rgba(0, 0, 0, .16);
}

.sv-player-affiliate__getting-started span { color: #d5a94e; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.sv-player-affiliate__getting-started h3 { margin: 7px 0 5px; color: #ead5aa; font: 700 18px Georgia, serif; }
.sv-player-affiliate__getting-started p { max-width: 520px; margin: 0; color: #8f7c62; font-size: 11px; line-height: 1.55; }
.sv-player-affiliate__getting-started ol { display: flex; gap: 9px; margin: 0; padding: 0; list-style: none; }
.sv-player-affiliate__getting-started li { display: flex; align-items: center; gap: 7px; color: #bda682; font-size: 10px; white-space: nowrap; }
.sv-player-affiliate__getting-started li b { width: 25px; height: 25px; display: grid; place-items: center; color: #2a1409; border-radius: 50%; background: #dca239; font: 900 9px ui-monospace, monospace; }

.sv-player-affiliate__error { max-width: 430px; margin: 80px auto; text-align: center; }
.sv-player-affiliate__error strong { color: #ffc0ae; }
.sv-player-affiliate__error p { color: #9b8468; }
.sv-player-affiliate__error button { min-height: 44px; padding: 9px 15px; color: #1f1008; border: 0; border-radius: 7px; background: #e3a62f; font-weight: 900; }

@media (max-width: 1120px) {
  .sv-site-header__inner { gap: 14px; }
  .sv-site-header__brand-copy strong { font-size: 15px; }
  .sv-header-stat--wallet { width: 142px; padding-right: 12px; }
  .sv-header-stat--balance { min-width: 90px; padding-left: 12px; }
  .sv-header-network { gap: 0; font-size: 0; }
  .sv-header-action { padding-inline: 11px; }
}

@media (max-width: 980px) {
  .sv-site-header__brand-copy { display: none; }
  .sv-header-action--utility {
    width: 42px;
    padding: 0;
  }
  .sv-header-action--utility .sv-header-action__label { display: none; }
  .sv-player-affiliate__join-layout { grid-template-columns: minmax(0, 1fr) 210px; }
  .sv-player-affiliate__reward-overview { grid-template-columns: 220px 1fr; }
  .sv-player-affiliate__reward-rules { grid-template-columns: 1fr; }
  .sv-player-affiliate__reward-rules > div { padding: 12px 16px; border-bottom: 1px solid rgba(227, 166, 47, .1); }
  .sv-player-affiliate__reward-rules > div:last-child { border-bottom: 0; }
  .sv-player-affiliate__getting-started { grid-template-columns: 1fr; gap: 18px; }
  .sv-player-affiliate__grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .sv-site-header--floating {
    top: 8px;
    width: calc(100% - 16px);
  }

  .sv-site-header__inner,
  .sv-site-header--inset .sv-site-header__inner {
    min-height: 64px;
    gap: 8px;
    padding: 7px 8px;
  }

  .sv-site-header__back {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .sv-site-header__mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .sv-header-session,
  .sv-header-session__connected,
  .sv-header-session__guest { gap: 7px; }
  .sv-header-account { min-height: 46px; padding: 6px 10px; }
  .sv-header-stat--wallet { display: none; }
  .sv-header-stat--balance { min-width: 78px; padding: 0; border-left: 0; }
  .sv-header-stat--total { padding-left: 9px; border-left: 1px solid rgba(233, 184, 79, .14); }
  .sv-header-label { font-size: 8px; }
  .sv-header-balance { font-size: 15px; }
  .sv-header-balance em { font-size: 8px; }
  .sv-header-actions { gap: 5px; }
  .sv-header-actions__cashier { gap: 5px; }
  .sv-header-action { min-height: 42px; padding-inline: 10px; font-size: 10px; }
  .sv-header-action--secondary {
    width: 42px;
    padding: 0;
  }
  .sv-header-action--secondary .sv-header-action__label { display: none; }
  .sv-header-action--primary { min-width: 84px; }
  .sv-header-disconnect,
  .wallet-disconnect-button.sv-header-disconnect {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
  .sv-player-affiliate__join-steps { grid-template-columns: 1fr; }
  .sv-player-affiliate__join-layout { grid-template-columns: 1fr; gap: 20px; }
  .sv-player-affiliate__reward-ticket { max-width: 300px; }
  .sv-player-affiliate__dashboard-metrics { grid-template-columns: 1fr 1fr; }
  .sv-player-affiliate__dashboard-metrics article.is-sun { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .sv-site-header__identity { gap: 4px; }
  .sv-site-header__back + .sv-site-header__brand .sv-site-header__mark { display: none; }
  .sv-header-session { flex: 1 1 auto; justify-content: flex-end; }
  .sv-header-session__connected,
  .sv-header-session__guest { flex: 1 1 auto; justify-content: flex-end; }
  .sv-header-account { padding-inline: 8px; }
  .sv-header-stat--balance { min-width: 70px; }
  .sv-header-action { padding-inline: 8px; }
  .sv-player-inbox-backdrop { align-items: end; padding: 8px; }
  .sv-player-inbox { max-height: calc(100dvh - 16px); border-radius: 15px 15px 6px 6px; }
  .sv-player-inbox__header { padding: 20px 18px 17px; }
  .sv-player-inbox__header p { max-width: 240px; }
  .sv-player-inbox__toolbar { min-height: 58px; padding: 10px 18px; }
  .sv-player-inbox__toolbar span { display: none; }
  .sv-player-inbox__toolbar button { min-height: 40px; }
  .sv-player-inbox__list { gap: 8px; padding: 10px; }
  .sv-player-inbox__message { grid-template-columns: 32px minmax(0, 1fr); gap: 11px; padding: 15px 13px; }
  .sv-player-inbox__message-mark { width: 32px; height: 32px; border-radius: 8px; }
  .sv-player-inbox__message-mark svg { width: 16px; height: 16px; }
  .sv-player-inbox__message-content > strong { font-size: 15px; }
  .sv-player-inbox__message-content > p { font-size: 11px; }
  .sv-player-inbox__meta { align-items: flex-end; }
  .sv-player-inbox__meta button { min-height: 40px; }
  .sv-player-profile-backdrop { align-items: end; padding: 8px; }
  .sv-player-profile { gap: 17px; padding: 24px 20px; border-radius: 13px 13px 6px 6px; }
  .sv-player-profile__heading h2 { font-size: 24px; }
  .sv-player-profile__affiliate { align-items: stretch; flex-direction: column; }
  .sv-player-affiliate-backdrop { align-items: end; padding: 8px; }
  .sv-player-affiliate { max-height: calc(100dvh - 16px); border-radius: 13px 13px 6px 6px; }
  .sv-player-affiliate__header { padding: 17px; }
  .sv-player-affiliate__content { padding: 15px; }
  .sv-player-affiliate__join { padding: 18px 2px 12px; }
  .sv-player-affiliate__join h3 { font-size: 40px; }
  .sv-player-affiliate__join-hero > p { font-size: 12px; }
  .sv-player-affiliate__join-steps small { font-size: 10px; }
  .sv-player-affiliate__join-action { align-items: stretch; flex-direction: column; }
  .sv-player-affiliate__dashboard-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .sv-player-affiliate__reward-overview { grid-template-columns: 1fr; }
  .sv-player-affiliate__reward-rules > div { border-left: 0; }
  .sv-player-affiliate__link { grid-template-columns: 1fr 1fr; }
  .sv-player-affiliate__link input { grid-column: 1 / -1; }
  .sv-player-affiliate__dashboard-metrics { grid-template-columns: 1fr; }
  .sv-player-affiliate__dashboard-metrics article.is-sun { grid-column: auto; }
  .sv-player-affiliate__getting-started ol { align-items: flex-start; flex-direction: column; }
  .sv-player-affiliate__panel > header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .sv-site-header__inner,
  .sv-site-header--inset .sv-site-header__inner {
    gap: 5px;
    padding-inline: 6px;
  }
  .sv-header-account { min-height: 42px; }
  .sv-header-stat--total,
  .sv-header-actions__utilities,
  .sv-header-actions__cashier .sv-header-action--secondary,
  .sv-header-disconnect { display: none !important; }
  .sv-header-label { display: none; }
  .sv-header-balance { font-size: 14px; }
  .sv-header-balance em { display: none; }
  .sv-header-action,
  .sv-header-action--primary,
  .sv-header-action--secondary {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
  }
  .sv-header-action .sv-header-action__label { display: none; }
  .sv-header-disconnect,
  .wallet-disconnect-button.sv-header-disconnect {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .sv-player-affiliate__reward-ticket { max-width: none; }
}

@media (max-width: 350px) {
  .sv-header-account { display: none; }
  .sv-header-mode { display: none; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .sv-site-header--floating {
    top: 6px;
    width: calc(100% - 16px);
  }

  .sv-site-header__inner,
  .sv-site-header--inset .sv-site-header__inner {
    min-height: 50px;
    gap: 7px;
    padding: 4px 6px;
  }

  .sv-site-header__mark {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .sv-header-account {
    min-height: 38px;
    padding: 4px 8px;
  }

  .sv-header-stat {
    gap: 3px;
  }

  .sv-header-label {
    font-size: 8px;
  }

  .sv-header-balance {
    font-size: 14px;
  }

  .sv-header-actions {
    gap: 4px;
  }

  .sv-header-actions__utilities {
    padding: 2px;
  }

  .sv-header-actions__cashier {
    gap: 5px;
  }

  .sv-header-action {
    min-height: 36px;
    padding: 7px 9px;
    border-radius: 8px;
  }

  .sv-header-action--utility {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }

  .sv-header-action--primary {
    min-width: 78px;
  }

  .sv-header-disconnect,
  .wallet-disconnect-button.sv-header-disconnect {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv-site-header *,
  .sv-site-header *::before,
  .sv-site-header *::after,
  .sv-player-profile *,
  .sv-player-affiliate * {
    transition-duration: .01ms !important;
  }
}
