:root {
  --header-height: 97px;
  --canvas: #100f12;
  --rail: #1b181f;
  --panel: #211e25;
  --well: #19171d;
  --line: #37313f;
  --bright-line: #5c506b;
  --text: #f8f4fb;
  --muted: #b3a9be;
  --lime: #bd9af8;
  --mint: #c8a9ff;
  --accent: #a76bf0;
  --accent-soft: #dbc1ff;
  --inverse: #1b1228;
}

html { scroll-padding-top: calc(var(--rendered-header-height, var(--header-height)) + 12px); }
.layout { display: block; }
.surface { padding-top: var(--rendered-header-height, var(--header-height)); }
.skip-link { z-index: 13; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 8;
  display: flex;
  gap: 24px;
  align-items: center;
  height: var(--header-height);
  min-height: 0;
  padding: 0 24px;
  background: color-mix(in srgb, #e9d8ff 5%, transparent);
  backdrop-filter: blur(16px);
  border: 0;
  border-radius: 0 0 32px 32px;
}

.topbar .brand {
  position: relative;
  flex: 0 0 50px;
  width: 50px;
  height: 48px;
  margin: 0;
  padding: 0;
  justify-content: center;
  color: #f8efff;
}

.topbar .brand::before { content: ""; position: absolute; inset: 32% -22px -24px; background: radial-gradient(ellipse at 47% 100%, #7636d67d, transparent 72%); pointer-events: none; }
.topbar .brand-flare { position: relative; width: 50px; height: 48px; filter: drop-shadow(0 5px 10px #8b4af27a); }
.topbar .brand:hover .brand-flare { filter: drop-shadow(0 4px 12px #ac70ff); }
.topbar .brand-name { display: none; position: relative; color: #f9f5ff; font: 900 35px/1 var(--font-display, Impact, sans-serif); letter-spacing: .01em; white-space: nowrap; }

#primary-nav {
  display: grid;
  grid-template-columns: minmax(0,71fr) minmax(0,85fr) minmax(0,83fr) minmax(0,92fr) minmax(0,64fr) minmax(0,72fr) minmax(0,147fr);
  flex: 0 1 638px;
  gap: 4px;
  align-items: center;
  align-self: center;
  min-width: 0;
}

.primary-link {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 53px;
  padding: 4px 0;
  border-radius: 12px;
  color: #c5bbcc;
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 740;
  line-height: 1.1;
  white-space: nowrap;
}

.primary-link > span:first-child { display: grid; color: rgb(241 231 255 / .4); }
.primary-link > span:last-child { width: 100%; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.primary-link:hover, .primary-link[aria-current] { background: rgb(233 216 255 / .05); }
.primary-link.rank-link { grid-template-columns: minmax(27px,48px) minmax(0,1fr); align-items: center; gap: 0; height: 45px; min-height: 45px; padding: 0 min(29px,2.1vw) 0 2px; isolation: isolate; background: none; }
.primary-link.rank-link::before { content: ""; position: absolute; z-index: -1; inset: 2px 7px 2px 19px; border-radius: 24px; border: 1px solid #a999c3; background: linear-gradient(165deg, #a19cd7 0%, #75699b 37%, #332b4f 68%, #594879 100%); box-shadow: inset 0 2px 7px #e5efff66, inset 0 -3px 8px #271a45, 0 0 29px #8c73db48; }
.primary-link.rank-link .rank-arrow { position: absolute; right: 15px; top: 50%; translate: 0 -54%; color: #efe5ff; font-size: 23px; pointer-events: none; }
.primary-link.rank-link:hover::before, .primary-link.rank-link[aria-current]::before { border-color: #e0d5ff; box-shadow: inset 0 2px 8px #e5efffa0, 0 0 27px #b99bfd76; }
.primary-link.rank-link > span:first-child { position: relative; width: 48px; height: 48px; }
.primary-link.rank-link .rank-emblem {
  position: absolute;
  inset: -8px auto auto 3px;
  width: 60px;
  height: 60px;
  padding: 2px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px #1014389e);
}

.topbar .account-bar { gap: 8px; margin-inline-start: auto; flex: none; }
.header-credit { display: flex; min-width: 102px; height: 52px; gap: 8px; padding: 0 14px; align-items: center; justify-content: flex-end; white-space: nowrap; border-radius: 20px; background: #e9d8ff0d; }
.header-credit .number { min-width: 0; overflow: hidden; color: #f5edff; font: 650 16px/1.2 var(--font-interface); font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.credit-glyph { display: grid; place-items: center; width: 18px; height: 22px; rotate: 10deg; border: 1px solid #a36fef; border-radius: 5px; color: #c18aff; background: #352248; font-weight: 900; font-size: 13px; box-shadow: inset 0 0 6px #9f63df35; }
.header-credit .credit-glyph { flex: none; width: 21px; height: 26px; font-size: 14px; }
.header-plus, .topbar .avatar { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: #fff6ff; border-radius: 50%; border: 0; }
.header-plus { background: radial-gradient(ellipse at 70% 18%, #604592, #382747 56%, #292433 100%); box-shadow: inset 0 0 0 1px #9672be, inset 0 0 10px #b178ee45; font-size: 27px; line-height: 1; }
.header-plus:hover { background: #6a4894; }
.topbar .avatar { margin-inline-start: 24px; border-radius: 16px; border: 1px solid #514062; font-size: 19px; background: linear-gradient(145deg,#43345382,#181620c9), url('/vault-hero.jpg') 65% 58% / 120px auto; }
.topbar .avatar:hover { background: #503060; }
.topbar .header-signin { display: inline-flex; width: 115px; min-height: 52px; border: 1px solid #9d7ad5; border-radius: 20px; color: #fff; background: linear-gradient(105deg,#65439f,#7144b7); }
.topbar .header-signin:hover:not(:disabled) { color: #fff; background: #8857cc; }
.topbar .avatar[aria-expanded=true] { border-color: #b495de; }
.account-profile-menu {
  position: absolute;
  inset: 100% 0 auto auto;
  z-index: 1;
  width: min(226px,100vw);
  max-height: calc(100dvh - var(--rendered-header-height, var(--header-height)));
  padding: 8px 24px 8px 8px;
  overflow: auto;
  scrollbar-width: thin;
  background: radial-gradient(ellipse at top right,#100f12cc,#100f12a8 40%,transparent 100%);
}
.account-profile-menu-card { display:grid; padding: 3px; border: 1px solid #e9d8ff1a; border-radius: 16px; background: #121014e6; backdrop-filter: blur(14px); }
.account-profile-menu [role=menuitem] { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; padding: 8px; border: 0; border-radius: 10px; color: #f4eef9; background: transparent; text-align: start; white-space: nowrap; font: inherit; font-size: 14px; font-weight: 400; line-height: 20px; }
.account-profile-menu [role=menuitem]:is(:hover,:focus) { background: #292430; }
.account-profile-menu [role=menuitem]:focus-visible { outline-offset: -2px; }
.account-profile-menu [role=menuitem] svg { flex: none; color: #e9d8ff8c; }

.steam-market-link { display:inline-block; color:var(--accent-soft); font-weight:650; text-decoration:underline; text-underline-offset:.23em; }
.game-item-info dd .steam-market-link { display:block; width:fit-content; margin-top:.55rem; }

.live-strip { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px; height: 112px; margin-top: 4px; padding-inline: 8px 0; }
.drop-controls { display: grid; grid-template-rows: 44px minmax(0, 1fr); gap: 4px; }
.drop-live-label, .drop-filter { border-radius: 17px; background: #1e1b22; }
.drop-live-label { display: grid; grid-auto-flow: column; align-items: center; justify-content: center; gap: 5px; color: #adf5d0; border: 1px solid #42c88b43; box-shadow: inset 0 0 18px #13c27b5c, inset 0 0 3px #7cf7be5e; background: linear-gradient(100deg,#103527,#0e5a3d 100%); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.drop-live-label svg { width: 16px; height: 16px; }
.drop-filter { display: grid; align-items: stretch; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 4px; gap: 4px; }
.drop-filter button { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; color: #a49aaf; border: 1px solid transparent; border-radius: 12px; background: transparent; }
.drop-filter button svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.drop-filter button[data-value=expensive] svg { stroke: currentColor; }
.drop-filter button:hover, .drop-filter button[aria-pressed=true] { color: #c095ff; border-color: #55485f; background: #302936; }
.drop-track { position: relative; display: flex; gap: 4px; min-width: 0; height: 100%; overflow: auto; overflow-anchor: none; scrollbar-width: none; mask-image: linear-gradient(90deg,#fff calc(100% - 120px),transparent); }
.drop-track::-webkit-scrollbar { display: none; }
.drop-empty { align-self: center; padding: 0 16px; color: var(--muted); }
.live-drop { --drop-color: #5876ce; position: relative; isolation: isolate; flex: 0 0 164px; min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 20px; color: #f5eff8; text-align: start; background: linear-gradient(0deg,#100e15a8,transparent 49%), radial-gradient(ellipse 28% 97% at 52% 24%,color-mix(in srgb,var(--drop-color) 92%,white) 0%,var(--drop-color) 26%,color-mix(in srgb,var(--drop-color) 60%,transparent) 52%,transparent 100%), radial-gradient(ellipse at 50% 31%,color-mix(in srgb,var(--drop-color) 36%,transparent),transparent 74%), #1b1720; }
.live-drop:hover { background-color: #292330; }
.live-drop:focus-visible { outline-offset: -3px; }
.live-drop[data-tone=blue] { --drop-color: #6b96f1; }
.live-drop[data-tone=purple] { --drop-color: #8d68ec; }
.live-drop[data-tone=pink] { --drop-color: #d26cdf; }
.live-drop[data-tone=red] { --drop-color: #dd7977; }
.live-drop[data-tone=gold] { --drop-color: #ddae55; }
.live-drop .live-drop-art { position: absolute; inset: 8px auto auto 50%; width: 92px; height: 69px; display: block; translate: -50%; pointer-events: none; }
.live-drop .skin-preview > img { padding: 0; object-fit: contain; filter: drop-shadow(0 6px 4px #09070fa6); }
.live-drop-copy { display: grid; position: absolute; inset: 74px 8px auto 16px; text-shadow: 0 1px 5px #0e0b13dc; }
.live-drop-copy > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-drop-copy strong { font-size: 14px; line-height: 16px; }
.live-drop-copy small { color: #c2b4cc; font-size: 12px; line-height: 14px; }
.live-drop[data-arriving] { animation: drop-arrive .25s ease-out; }
@keyframes drop-arrive {
  from { transform: translateY(12px); opacity: .38; }
  to { transform: translateY(0); opacity: 1; }
}
#content[data-route=home], #content[data-route=cases] { width: 100%; padding: 0; }
.button.secondary { background: #302638; }
.button.secondary:hover:not(:disabled) { background: #46374f; }
.button:not(.secondary,.danger):hover { background: #d0affd; color: #201631; }
.button:not(.secondary,.danger):active { background: #ad7be9; }
.form input:not([type=checkbox],[type=radio]), .form select, .form textarea { border-color: var(--bright-line); background: var(--well); }
.notice, .empty { color: var(--muted); }
.dialog-head h2 { overflow-wrap: anywhere; }
dialog::backdrop { background: #100c15cd; }
#dialog.dialog-authorization {
  width: min(768px,100%);
  max-width: 100%;
  max-height: calc(100dvh - 12px);
  background: linear-gradient(150deg,#121015,#211d24);
  border: 1px solid #eee1ff14;
  border-radius: 32px;
  padding: 8px 24px 8px 8px;
}
#dialog.dialog-authorization::backdrop { background: #09070dd4; }
.dialog-authorization #dialog-content {
  display: grid;
  grid-template-columns: minmax(0,.975fr) minmax(0,1fr);
  gap: 20px;
}
.authorization-art {
  min-width: 0;
  height: 260px;
  border-radius: 24px;
  background: linear-gradient(130deg,#100d1985,transparent 53%),#1b1527 url('/ludik-authorization-yard.jpg') center / cover no-repeat;
  overflow: hidden;
}
.authorization-art > span {
  display: flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin: 16px 14px;
  color: #faf4ff;
  font-size: 24px;
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.035em;
  text-shadow: 0 1px 8px #120f1b;
}
.authorization-art .brand-flare { width: 32px; height: 42px; }
.authorization-content { min-width: 0; padding-top: 8px; }
.dialog-authorization .dialog-head {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) 28px;
  gap: 0;
  margin-bottom: 18px;
}
.dialog-authorization .dialog-head h2 {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}
.dialog-authorization .dialog-head button {
  grid-column: 3;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff09;
}
.authorization-caption { margin: 0 0 16px; color: #a39aa9; font-size: 16px; line-height: 21px; text-align: center; }
.authorization-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
.authorization-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  padding: 9px 14px;
  border: 1px solid #a9a3e62b;
  border-radius: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  text-align: start;
  background: linear-gradient(165deg,#554171,#302640 58%,#563c86);
  transition: filter .16s ease, border-color .16s ease;
}
.authorization-login { grid-column: 1/-1; }
.authorization-register { border-color: #65acd547; background: linear-gradient(152deg,#1b4b63,#263749 51%,#274b60); }
.authorization-audio { border-color: #bc706645; background: linear-gradient(152deg,#784541,#3a242b 52%,#69382e); }
.authorization-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: linear-gradient(150deg,#a47afb,#593a91);
}
.authorization-register .authorization-icon { background: linear-gradient(150deg,#53b1df,#207196); }
.authorization-audio .authorization-icon { background: #92564f; }
.authorization-audio[aria-pressed=false] .authorization-icon { opacity: .58; }
.authorization-icon svg { width: 20px; height: 20px; color: #fff; }
.authorization-option:hover { filter: brightness(1.16); border-color: #bd9ae8; }
.dialog-authorization .dialog-feedback { grid-column: 1/-1; margin: 0; }
@media (max-width: 540px) {
  #dialog.dialog-authorization { min-height: min(513px,calc(100dvh - 12px)); padding: 8px 8px 24px; }
  .dialog-authorization #dialog-content { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .authorization-art { height: min(221px,28dvh); }
  .authorization-content { padding-top: 0; }
  .dialog-authorization .dialog-head { margin-bottom: 18px; }
  .authorization-caption { margin-bottom: 16px; }
}
@media (max-width: 360px) {
  .authorization-option { gap: 7px; padding-inline: 10px; font-size: 14px; }
  .authorization-icon { width: 29px; height: 29px; }
}
#dialog[open] { animation: ludik-dialog-in .2s ease; }
#dialog[open]::backdrop { animation: ludik-backdrop-in .2s ease; }
@keyframes ludik-dialog-in {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ludik-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #dialog[open], #dialog[open]::backdrop, .live-drop[data-arriving] { animation: none; }
}
.toast:not(.error) { background: #33243f; border-color: #6d4a89; }
.toast { z-index: 11; }
#mobile-nav { display: none; }
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  margin: 88px 0 0;
  padding: 40px 32px 48px;
  border-top: 1px solid #e9d8ff15;
  background: #100f12;
  font-size: 16px;
}
.footer-columns, .footer-actions { max-width: 1376px; margin-inline: auto; }
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 32px;
}
.footer-identity { display: inline-flex; align-items: center; gap: 3px; align-self: start; justify-self: start; color: var(--text); font: 900 34px/1 var(--font-display); letter-spacing: .025em; }
.footer-identity .brand-flare { width: 34px; height: 41px; }
.footer-links { display: grid; align-content: start; justify-items: start; gap: 7px; }
.footer-links h2 { margin: 0 0 5px; color: var(--text); font-size: 16px; line-height: 19px; }
.footer-links a { min-width: 0; color: var(--muted); font-size: 14px; line-height: 16px; font-weight: 500; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 32px;
}
.footer-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #e9d8ff17;
  border-radius: 16px;
  background: #e9d8ff0d;
  color: var(--text);
  font-weight: 500;
}
.footer-actions a:hover { background: #e9d8ff20; }
.footer-actions a.footer-games-direct {
  margin-inline-end: auto;
  min-height: 36px;
  padding-inline: 12px;
  border-radius: 12px;
  font-size: 14px;
}
.footer-actions svg { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
@media (min-width: 769px) {
  .site-footer::before {
    position: absolute;
    z-index: -1;
    inset: 137px auto auto 17%;
    width: 310px;
    height: 310px;
    background: url('/ludik-bonus-terminal.png') 52% top / 185px auto no-repeat;
    opacity: .74;
    rotate: 11deg;
    pointer-events: none;
    content: "";
  }
  .footer-actions a[href="#support"] { min-width: 152px; justify-content: center; }
  .footer-actions a[href="#support/new/partnership"] { min-width: 188px; justify-content: center; }
}

@media (min-width: 1280px) {
  .topbar:has(.guest-account) { gap: 32px; padding-inline: 32px; }
  .topbar:has(.guest-account) .brand { flex-basis: 221px; width: 221px; height: 42px; justify-content: flex-start; gap: 1px; }
  .topbar:has(.guest-account) .brand-name { display: block; }
  .topbar:has(.guest-account) .brand::before { inset-inline: -22px auto; width: 90px; }
  .topbar:has(.guest-account) #primary-nav { flex-basis: 662px; gap: 8px; }
}

@media (769px <= width <= 1023px) {
  #primary-nav { grid-template-columns: repeat(6,40px) 96px; flex: 0 0 360px; }
  .primary-link:not(.rank-link) { min-height: 40px; }
  .primary-link:not(.rank-link) > span:last-child { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
  .topbar .header-credit { min-width: 82px; max-width: 115px; }
  .header-credit .number { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .topbar .header-credit[data-wide-balance] { max-width: 134px; gap: 4px; padding-inline: 8px; }
  .header-credit[data-wide-balance] .number { font-size: var(--type-body); }
  .credit-glyph { flex: none; }
  .topbar .avatar { margin-inline-start: 8px; }
  .primary-link.rank-link { grid-template-columns: 35px minmax(0,1fr); padding-right: 12px; }
  .primary-link.rank-link > span:first-child { width: 35px; }
  .primary-link.rank-link > span:last-child { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
}

@media (max-width:1023px) {
  .topbar .header-credit { height:auto; min-height:52px; padding-block:4px; }
  .topbar .header-credit .number {
    min-width:0; overflow:visible; overflow-wrap:anywhere; white-space:normal; text-overflow:clip; text-align:end;
    font-size:min(var(--type-title),22px); line-height:1.12;
  }
  .topbar .header-credit[data-compact-balance] .number {
    font-size:min(var(--type-label),16px); font-stretch:92%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 76px;
    --bottom-nav-height: max(94px, calc(52px + 3.5 * var(--type-caption)));
    --dock-space: var(--rendered-dock-height, calc(var(--bottom-nav-height) + env(safe-area-inset-bottom)));
  }
  html { scroll-padding-bottom: calc(var(--dock-space) + 12px); }
  .surface { padding-bottom: var(--dock-space); }
  .topbar {
    height:auto; min-height:var(--header-height);
    gap:7px; padding-inline:16px; border-radius:0 0 32px 32px;
  }
  .topbar .brand { width: 50px; height: 48px; flex-basis: 50px; }
  .topbar .brand-flare { width: 40px; height: 45px; }
  .topbar .brand::before { inset: 32% -8px -9px; }
  .topbar .account-bar { min-width: 0; flex-shrink: 1; gap: 4px; }
  #primary-nav { display: none; }
  .topbar .header-credit { min-width: 0; min-height: 44px; gap: 4px; padding-inline: 12px; border-radius: 22px; background: #e9d8ff0d; }
  .header-credit[data-wide-balance] { padding-inline: 7px; }
  .header-credit .credit-glyph { flex: none; }
  .header-plus { flex: 0 0 46px; width: 46px; height: 44px; }
  .topbar .avatar { flex: 0 0 44px; width: 44px; height: 44px; margin-inline-start: 12px; border-radius: 16px; }
  .account-profile-menu { width: min(218px,100vw); padding-right: 16px; }
  .live-strip { height: max(98px,calc(82px + var(--type-label) * 8 / 7)); grid-template-columns: 96px minmax(0, 1fr); padding-inline: 8px 0; }
  .surface:has(> #content[data-route="fairness"], > #content > .reward-bonus) > #live-strip { display: none; }
  .drop-controls { grid-template-rows: 36px minmax(0, 1fr); }
  .drop-filter button svg { width: 20px; height: 20px; }
  .drop-track { mask-image: linear-gradient(90deg,#fff calc(100% - 60px),transparent); }
  .live-drop { flex-basis: 104px; }
  .live-drop .live-drop-art { top: 6px; width: 72px; height: 54px; }
  .live-drop-copy { inset: 76px 8px auto; }
  .live-drop-copy small { display: none; }
  #mobile-nav {
    position: fixed;
    z-index: 6;
    inset: auto 0 0;
    display: flex;
    justify-content: space-between;
    align-items: start;
    min-height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    height:auto;
    padding: 16px 24px env(safe-area-inset-bottom);
    border: 0;
    border-radius: 32px 32px 0 0;
    background: #17161af0;
    backdrop-filter: blur(16px);
  }
  #mobile-nav > :is(a, button) {
    position: relative;
    display: grid;
    flex: 0 1 62px;
    place-items: center;
    grid-template-rows: 24px minmax(14px,auto);
    align-content: start;
    gap: 4px;
    min-height: 54px;
    min-width: 0;
    padding: 6px 0 0;
    border: 0;
    border-radius: 13px;
    color: #f6f2fa9e;
    background: transparent;
    font-family: var(--font-interface);
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    white-space: normal;
  }
  #mobile-nav > :is(a,button) > span { min-width: 0; text-align: center; overflow-wrap: anywhere; hyphens: auto; }
  #mobile-nav > :is([aria-current], a:hover, button:hover) { color: #f6f2fa; }
  #mobile-nav a[href="#rewards/ranks"] > span { grid-row: 2; }
  #mobile-nav .rank-emblem {
    position: absolute;
    inset: -26px auto auto 50%;
    width: 64px;
    height: 64px;
    translate: -50%;
    object-fit: contain;
    filter: drop-shadow(0 2px 9px #7973fe9a);
  }
  #mobile-nav button[data-action="account"] svg { color: #e9d8ff38; stroke-width: 1; }
  #mobile-nav .mobile-account-emblem {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid #514062;
    border-radius: 8px;
    color: #f6f2fa;
    background: linear-gradient(145deg,#43345382,#181620c9), url('/vault-hero.jpg') 65% 58% / 67px auto;
    font-weight: 700;
  }
  .site-footer { margin-top: 48px; padding: 24px 16px 28px; }
  .footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 16px; }
  .footer-identity { grid-column: 1/-1; font-size: 27px; }
  .footer-identity .brand-flare { width: 27px; height: 34px; }
  .footer-actions { gap: 6px; margin-top: 24px; }
  .footer-actions a, .footer-actions a.footer-games-direct { min-height: 40px; margin: 0; padding-inline: 10px; font-size: 13px; }
  .toast { bottom: calc(var(--dock-space) + 1rem); }
}

@media (max-width:740px) {
  .topbar .header-credit .number { font-size:min(var(--type-body),22px); }
}

.streamer-mask, [data-streamer-mode] .streamer-value > :first-child, [data-streamer-mode] [data-streamer-sensitive] { display:none !important; }
[data-streamer-mode] .streamer-value > .streamer-mask { display:inline !important; }
