/* Phoenix product UI refinement — restrained surfaces, clear actions, consistent control sizing. */
:root {
  --ui-surface: #15110f;
  --ui-surface-raised: #1a1411;
  --ui-border: #342821;
  --ui-border-strong: #4a3729;
  --ui-muted: #a3968a;
  --ui-text: #f1e5d9;
  --ui-accent: #c8753e;
  --ui-accent-hover: #d6854d;
}

/* Header and account controls */
.site-header {
  background: rgba(13, 10, 9, .96);
  border-bottom-color: #28201b;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner { height: 70px; gap: clamp(18px, 2.4vw, 32px); }
.main-nav { gap: clamp(17px, 2vw, 26px); }
.main-nav a { color: #a79b91; font-size: 12px; font-weight: 600; }
.main-nav a:hover, .main-nav a.active { color: #f7e8d8; }
.main-nav a.active:after { width: 18px; height: 2px; margin-top: 8px; background: #d48b52; box-shadow: none; }
.header-actions { gap: 8px; }
.auth-actions, .account-actions { gap: 7px; }
.auth-header-button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #3a2e26;
  border-radius: 8px;
  background: #171210;
  color: #e4d6ca;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  box-shadow: none;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.auth-header-button:hover {
  transform: none;
  border-color: #72503a;
  background: #211812;
  color: #fff3e7;
}
.auth-register-button {
  border-color: #b66b39;
  background: #bf713b;
  color: #fff7ef;
  font-weight: 700;
  box-shadow: none;
}
.auth-register-button:hover {
  border-color: #d18a55;
  background: #d08047;
  color: #fffaf5;
}
.auth-logout-button { min-height: 34px; }
.account-name { color: #e8d8c8; font-weight: 650; }
.header-balance-button {
  min-height: 36px;
  padding: 5px 10px;
  border-color: #2d4031;
  border-radius: 8px;
  background: #151b16;
  color: #f0f2ed;
  box-shadow: none;
}
.header-balance-button:hover { border-color: #47664d; background: #1b251c; }
.header-balance-label { color: #9eaa9f; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.header-balance-button strong { font-size: 11px; font-weight: 750; }
.header-balance-button small { color: #a7c7ad; font-size: 8px; font-weight: 650; }
.account-profile-trigger { gap: 7px; }
.account-avatar {
  width: 21px; height: 21px; border: 1px solid #49372a; border-radius: 6px;
  background: #2b2019; color: #df9c61;
}
.account-avatar svg { display: block; width: 15px; height: 15px; }
.language-picker { position: relative; }
.language-trigger {
  min-height: 36px;
  padding: 0 10px;
  gap: 7px;
  border: 1px solid #352a23;
  border-radius: 8px;
  background: #15110f;
  color: #d6c7b9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .025em;
  box-shadow: none;
}
.language-trigger:hover, .language-trigger[aria-expanded="true"] {
  border-color: #6b4b34;
  background: #1d1612;
  box-shadow: none;
}
.language-globe { display: grid; place-items: center; color: #c9a17b; font-size: 14px; }
.language-globe svg { display: block; width: 15px; height: 15px; }
.language-chevron { color: #8d7a6d; font-size: 12px; }
.language-menu {
  border-color: #3b2d24;
  border-radius: 10px;
  background: #17120f;
  box-shadow: 0 12px 28px rgba(0,0,0,.38);
  backdrop-filter: none;
}
.language-menu button { border-radius: 7px; color: #cbbbad; }
.language-menu button:hover, .language-menu button.is-current { background: #2a1d15; color: #ffe2c6; }
.language-menu button b { color: #9c8069; }

/* Keep calls to action solid and legible rather than glossy. */
.button { min-height: 46px; border-radius: 9px; font-size: 11px; font-weight: 700; letter-spacing: .025em; }
.button:hover { transform: translateY(-1px); }
.button-primary {
  border-color: #c77740;
  background: #bd6d38;
  color: #fff8f1;
  box-shadow: none;
}
.button-primary:hover { background: #d07a42; box-shadow: none; }
.button-ghost { border-color: #403129; background: #171210; color: #d9c9ba; }
.button-ghost:hover { border-color: #694934; background: #211812; }

/* Account workspace: one surface system, fewer decorative effects. */
.workspace-heading { margin-bottom: 25px; }
.workspace-heading h1 { margin-top: 10px; margin-bottom: 8px; }
.workspace-heading p { color: #a89b90; font-size: 13px; }
.workspace-secure {
  gap: 8px; margin-bottom: 5px; padding: 8px 10px;
  border: 1px solid #3a2c23; border-radius: 7px;
  background: #17120f; color: #c8b6a5; font-size: 10px; font-weight: 600;
}
.workspace-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #c68a56; }
.account-overview-grid, .account-work-grid { gap: 16px; }
.wallet-hero-card, .profile-card, .wallet-panel, .transactions-panel {
  border: 1px solid #33271f;
  border-radius: 14px;
  background: #15110f;
  box-shadow: none;
}
.wallet-hero-card {
  padding: clamp(21px, 2.8vw, 29px);
  border-color: #4a3223;
  background: #19120f;
}
.wallet-hero-card:before {
  position: absolute; inset: 0 auto 0 0; width: 3px;
  background: #b87543; content: "";
}
.wallet-hero-card:after { content: none; }
.wallet-card-kicker, .profile-card-kicker, .panel-eyebrow {
  color: #c08a5c; font-size: 9px; font-weight: 700; letter-spacing: .1em;
}
.wallet-usdt-mark {
  width: 32px; height: 32px; border: 1px solid #354637; border-radius: 8px;
  background: #19231a; color: #a9c8af; font-size: 18px;
}
.wallet-card-amount { gap: 9px; margin: 25px 0 9px; }
.wallet-card-amount strong { color: #f4eade; font-size: clamp(36px, 4vw, 48px); font-weight: 650; letter-spacing: -.035em; }
.wallet-card-amount>span { color: #a8c6ad; font-size: 12px; font-weight: 700; }
.wallet-card-copy { color: #a2968a; font-size: 12px; }
.wallet-card-bottom {
  gap: 9px; margin-top: 23px; padding-top: 14px;
  border-top-color: #34271f; color: #a99b8f; font-size: 10px;
}
.wallet-live-dot { background: #81b98b; box-shadow: none; }
.wallet-small-link { gap: 6px; color: #e4b68b; font-size: 11px; font-weight: 650; }
.wallet-small-link:hover { color: #ffcfaa; }
.wallet-small-link b { font-size: 14px; }
.profile-card { padding: 23px; }
.profile-card-heading { gap: 11px; margin-bottom: 18px; }
.profile-avatar-large {
  width: 42px; height: 42px; flex-basis: 42px; border: 1px solid #433126;
  border-radius: 9px; background: #231912; color: #d49b67; font-size: 20px;
}
.profile-avatar-large svg { display: block; width: 21px; height: 21px; }
.profile-card-heading h2 { margin-top: 4px; font-size: 17px; font-weight: 700; }
.profile-verified {
  margin-left: auto; padding: 5px 8px; border: 1px solid #403127; border-radius: 6px;
  background: #1b1511; color: #beab99; font-size: 9px; font-weight: 600;
}
.profile-verified.is-verified { border-color: #2d4732; background: #172219; color: #add2b2; }
.profile-detail-row { gap: 14px; padding: 12px 0; border-top-color: #2b221c; }
.profile-detail-row>span { color: #a19387; font-size: 11px; }
.profile-detail-row>strong { color: #e2d2c3; font-size: 11px; font-weight: 650; }
.wallet-panel, .transactions-panel { padding: clamp(19px, 2.5vw, 25px); }
.panel-heading-row { align-items: flex-start; margin-bottom: 22px; }
.panel-heading-row h2 { margin: 7px 0 6px; color: #f0e3d6; font-size: clamp(20px, 2vw, 23px); font-weight: 700; letter-spacing: -.02em; }
.panel-heading-row p { color: #a19488; font-size: 12px; }
.xrocket-brand {
  gap: 7px; margin-top: 2px; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: #d9cbbd; font-size: 12px; font-weight: 650;
}
.xrocket-brand b { color: #d99a62; font-weight: 700; }
.xrocket-symbol {
  display: grid; place-items: center; width: 23px; height: 23px;
  border: 1px solid #4b3627; border-radius: 7px; background: #211710;
  color: #e1a36a; font-size: 15px; font-style: normal; font-weight: 700;
}
.deposit-form { gap: 13px; }
.deposit-label { color: #e4d4c5; font-size: 12px; font-weight: 650; }
.deposit-label>span:last-child { color: #9b8d81; font-size: 10px; font-weight: 500; }
.deposit-input-wrap {
  min-height: 55px; padding: 0 14px; border: 1px solid #3b2c23;
  border-radius: 9px; background: #0e0c0b; box-shadow: none;
}
.deposit-input-wrap:focus-within { border-color: #b77b4e; box-shadow: 0 0 0 2px rgba(183,123,78,.12); }
.deposit-input-wrap input { color: #f2e4d6; font-size: 23px; font-weight: 650; }
.deposit-input-wrap>span { color: #aabfae; font-size: 11px; font-weight: 700; }
.deposit-presets { gap: 7px; }
.deposit-presets button {
  min-height: 36px; border: 1px solid #342820; border-radius: 8px;
  background: #1a1411; color: #c7b7a8; font-size: 11px; font-weight: 650;
}
.deposit-presets button:hover, .deposit-presets button:focus-visible,
.deposit-presets button.is-selected {
  border-color: #8b5937; background: #2a1c14; color: #f1c398;
}
.deposit-submit {
  display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center;
  min-height: 49px; margin-top: 2px; padding: 0 8px 0 17px;
  border: 1px solid #b66a38; border-radius: 9px;
  background: #bd6e39; color: #fff8f0; font-size: 12px; font-weight: 700;
  box-shadow: none; transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.deposit-submit > span:first-child { justify-self: center; }
.deposit-submit:hover { transform: none; filter: none; border-color: #d08a56; background: #cb7b43; }
.deposit-submit:active { background: #ae6030; }
.deposit-submit:disabled { opacity: .65; transform: none; cursor: wait; }
.deposit-submit .deposit-submit-arrow {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-left: 1px solid rgba(255,245,233,.25); color: #fff4e8; font-size: 17px;
}
.deposit-secure-note {
  gap: 9px; padding-top: 10px; border-top: 1px solid #2b211b;
  color: #a2968b; font-size: 11px; line-height: 1.55;
}
.secure-note-icon { flex: 0 0 15px; color: #9db8a2; }
.secure-note-icon svg { display: block; width: 15px; height: 15px; }
.deposit-feedback { border-color: #4b3929; border-radius: 9px; background: #211811; color: #e5c7a9; font-size: 11px; }
.deposit-feedback[data-kind="error"] { border-color: #58332c; background: #241311; color: #efb5a9; }
.deposit-feedback[data-kind="success"] { border-color: #2e4934; background: #172019; color: #c2dfc6; }
.deposit-created {
  grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 12px;
  border-color: #2f4834; border-radius: 10px; background: #151e17;
}
.deposit-created-icon {
  width: 34px; height: 34px; border: 1px solid #34513a; border-radius: 8px;
  background: #1b2a1e; color: #b5d9bc; font-size: 18px;
}
.deposit-created-copy strong { color: #d0e6d4; font-size: 12px; }
.deposit-created-copy span { color: #a0b5a3; font-size: 10px; }
.deposit-pay-link {
  min-height: 40px; padding: 0 12px; border: 1px solid #35543c; border-radius: 8px;
  background: #213427; color: #d5ead8; font-size: 11px; font-weight: 650;
}
.deposit-pay-link:hover { background: #2a4230; }
.testnet-note {
  gap: 9px; margin-top: 18px; padding: 7px 0 7px 11px;
  border: 0; border-left: 2px solid #8b6747; border-radius: 0; background: transparent;
}
.testnet-note-icon {
  display: grid; place-items: center; width: 16px; height: 16px; flex-basis: 16px;
  border: 1px solid #6d523b; border-radius: 50%; color: #c4a07c; font-size: 10px; font-weight: 700;
}
.testnet-note p { color: #a29589; font-size: 11px; line-height: 1.55; }
.refresh-transactions {
  flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid #3a2c23;
  border-radius: 8px; background: #1a1411; color: #d7b18b; font-size: 20px;
}
.refresh-transactions:hover { border-color: #775038; background: #241a13; transform: rotate(30deg); }
.transactions-empty {
  min-height: 175px; gap: 0; padding: 20px 12px;
  border: 1px solid #2d231d; border-radius: 10px; background: #110e0c;
}
.transactions-empty>span {
  width: auto; height: auto; margin-bottom: 10px; border: 0; border-radius: 0;
  background: transparent; color: #9a8270; font-size: 22px;
}
.transactions-empty strong { color: #e1d2c4; font-size: 12px; font-weight: 650; }
.transactions-empty p { color: #a09488; font-size: 11px; line-height: 1.6; }
.transaction-row {
  grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; padding: 12px 10px;
  border-color: #30261f; border-radius: 9px; background: #181310;
}
.transaction-icon { border-color: #2e4934; border-radius: 8px; background: #172019; color: #a5c9ac; }
.transaction-main strong { color: #e5d7ca; font-size: 11px; font-weight: 650; }
.transaction-main small { color: #a09387; font-size: 9px; }
.transaction-amount { color: #bcd8c0; font-size: 11px; font-weight: 700; }
.transaction-status { padding: 4px 7px; border-color: #403127; border-radius: 5px; color: #c2ad99; font-size: 8px; }
.transaction-status[data-status="paid"] { border-color: #2d4932; background: #172019; color: #b8d9be; }
.transaction-status[data-status="failed"], .transaction-status[data-status="cancelled"], .transaction-status[data-status="expired"] { border-color: #56352e; color: #e1aaa0; }
.transaction-pay { color: #e5b990; font-size: 10px; font-weight: 650; }
.account-footnote { gap: 8px; margin-top: 17px; color: #93867b; font-size: 10px; }
.footnote-mark { display: inline-grid; place-items: center; width: 14px; height: 14px; flex: 0 0 14px; border: 1px solid #514031; border-radius: 50%; color: #bba084; font-size: 9px; font-weight: 700; }

/* Future sections should feel intentionally quiet, not like promotional placeholder cards. */
.future-card {
  max-width: 780px; min-height: 205px; align-items: flex-start; justify-content: center;
  padding: 28px; border: 1px solid #31251e; border-radius: 14px;
  background: #15110f; text-align: left; box-shadow: none;
}
.future-icon {
  width: 38px; height: 38px; margin-bottom: 17px; border: 1px solid #443126;
  border-radius: 9px; background: #211812; color: #c99769; font-size: 20px; box-shadow: none;
}
.future-icon svg { width: 19px; height: 19px; }
.coming-soon-label { color: #bb926d; font-size: 9px; font-weight: 650; letter-spacing: .11em; }
.future-card h2 { margin: 9px 0 6px; color: #e8dace; font-size: 21px; font-weight: 650; }
.future-card p { max-width: 500px; color: #a3978b; font-size: 12px; line-height: 1.65; }
.future-card-line { display: none; }

/* Auth dialog follows the same restrained component language. */
.auth-dialog {
  border-color: #473327; border-radius: 15px; background: #17120f;
  box-shadow: 0 24px 70px rgba(0,0,0,.58);
}
.auth-dialog::backdrop { background: rgba(5,4,3,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.auth-dialog-shell { padding: 27px; }
.auth-close { top: 13px; right: 13px; width: 32px; height: 32px; border-color: #392b22; border-radius: 8px; background: #211813; color: #cbb8a7; }
.auth-close:hover { border-color: #755137; color: #fff2e5; }
.auth-dialog h2 { color: #f1e3d6; font-size: clamp(24px, 5vw, 29px); font-weight: 650; }
.auth-dialog-subtitle { color: #a5978b; font-size: 12px; }
.auth-tabs { gap: 3px; padding: 3px; border-color: #30251e; border-radius: 9px; background: #100d0b; }
.auth-tab { min-height: 36px; border-radius: 7px; color: #a39689; font-size: 11px; font-weight: 650; }
.auth-tab.is-active { border-color: #493225; background: #2a1d15; color: #efc7a4; }
.auth-form { gap: 13px; }
.auth-field { gap: 7px; color: #d8c8b9; font-size: 11px; font-weight: 650; }
.auth-field input { height: 44px; border-color: #392b22; border-radius: 8px; background: #0f0c0b; color: #f0e1d3; }
.auth-field input:focus { border-color: #ac734a; box-shadow: 0 0 0 2px rgba(172,115,74,.12); }
.auth-submit {
  min-height: 46px; margin-top: 3px; padding: 0 11px 0 16px;
  border: 1px solid #b76a39; border-radius: 8px; background: #bd6e39;
  color: #fff7ef; font-size: 12px; font-weight: 700; box-shadow: none;
}
.auth-submit:hover { border-color: #d28a55; background: #cb7b43; }
.auth-submit span:first-child { margin: auto; }
.auth-submit span:last-child { display: grid; place-items: center; width: 28px; height: 28px; border-left: 1px solid rgba(255,245,233,.25); font-size: 16px; }
.auth-google-button { min-height: 43px; border-color: #3a2c23; border-radius: 8px; background: #1b1511; color: #eadfd4; font-weight: 650; }
.auth-google-button:hover { border-color: #6b4b34; background: #231912; }
.auth-privacy { color: #93867b; font-size: 10px; }
.auth-message { border-color: #493729; border-radius: 8px; background: #211811; color: #e5c8a8; font-size: 11px; }
.auth-resend { color: #d7a273; font-weight: 650; }
.site-toast { border-color: #433125; border-radius: 9px; background: #191310; box-shadow: 0 12px 32px rgba(0,0,0,.38); color: #eee0d2; }

/* Mobile spacing: keep controls tap-friendly without letting the header feel crowded. */
@media (max-width: 820px) {
  .header-inner { height: 66px; gap: 10px; }
  .auth-header-button { min-height: 34px; padding-inline: 10px; font-size: 10px; }
  .language-trigger { min-height: 34px; }
  .workspace-heading { align-items: flex-start; }
}
@media (max-width: 560px) {
  .header-inner { height: 60px; gap: 6px; }
  .brand { flex: 1 1 auto; min-width: 82px; gap: 6px; }
  .brand-copy strong { font-size: 13px; letter-spacing: .07em; }
  .brand-copy small { font-size: 5px; letter-spacing: .32em; }
  .header-actions { gap: 5px; }
  .auth-actions, .account-actions { gap: 4px; }
  .auth-header-button { min-height: 32px; padding-inline: 8px; border-radius: 7px; font-size: 9px; }
  .auth-logout-button { width: 32px; min-width: 32px; }
  .header-balance-button { min-height: 32px; padding: 4px 7px; }
  .header-balance-button strong { font-size: 10px; }
  .account-profile-trigger { width: 32px; min-width: 32px; }
  .account-avatar { width: 19px; height: 19px; }
  .language-trigger { min-height: 32px; padding-inline: 7px !important; gap: 5px !important; border-radius: 7px; font-size: 9px; }
  .language-globe svg { width: 13px; height: 13px; }
  .workspace-heading { display: block; }
  .workspace-secure { display: inline-flex; margin-top: 12px; }
  .wallet-hero-card, .profile-card, .wallet-panel, .transactions-panel { border-radius: 12px; }
  .wallet-hero-card { padding: 20px; }
  .profile-card { padding: 19px; }
  .wallet-panel, .transactions-panel { padding: 17px; }
  .panel-heading-row { gap: 10px; margin-bottom: 19px; }
  .panel-heading-row h2 { font-size: 19px; }
  .xrocket-brand { font-size: 10px; }
  .xrocket-symbol { width: 21px; height: 21px; }
  .deposit-label { gap: 8px; font-size: 11px; }
  .deposit-label>span:last-child { font-size: 9px; }
  .deposit-input-wrap { min-height: 52px; }
  .deposit-submit { min-height: 47px; }
  .deposit-secure-note { font-size: 10px; }
  .testnet-note p { font-size: 10px; }
  .future-card { min-height: 195px; padding: 22px 19px; border-radius: 12px; }
  .auth-dialog-shell { padding: 24px 20px 21px; }
}
@media (max-width: 385px) {
  .brand-copy { max-width: 76px; }
  .brand-copy strong { font-size: 12px; }
  .header-actions { gap: 4px; }
  .auth-header-button { padding-inline: 6px; font-size: 8px; }
  .language-trigger { padding-inline: 6px !important; }
  .language-globe { display: none; }
  .xrocket-brand { gap: 5px; font-size: 9px; }
  .deposit-label>span:last-child { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-view, .auth-dialog[open] { animation: none; }
  .auth-header-button, .deposit-submit, .button { transition: none; }
}

/* Main catalogue controls and bottom navigation: flat active states and consistent hit areas. */
.filter-chip {
  min-height: 36px; padding: 0 13px; border-color: #352820; border-radius: 8px;
  background: #15110f; color: #a99a8e; font-size: 11px; font-weight: 600;
}
.filter-chip:hover { border-color: #6b4b34; background: #1d1612; color: #f1dfce; }
.filter-chip.active {
  border-color: #6e4a31; background: #291c14; color: #f1c39b; box-shadow: none;
}
.filter-chip span { color: #d3a078; }
.search-box {
  height: 39px; border-color: #352820; border-radius: 8px; background: #15110f; color: #b6a08e;
}
.search-box:focus-within { border-color: #8b5c3a; }
.search-box > span { transform: none; color: #ae9782; }
.search-box input { color: #f0e3d6; font-size: 11px; }
.search-box input::placeholder { color: #8e8074; }
.search-box kbd { border-color: #3b2d24; border-radius: 4px; color: #9c8979; }
.shelf-controls {
  gap: 5px !important; padding: 0 !important; border: 0 !important;
  border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
}
.shelf-controls button {
  width: 32px !important; height: 32px !important; border: 1px solid #3a2b22 !important;
  border-radius: 8px !important; background: #17120f !important; color: #cba780 !important;
  font-family: inherit; font-size: 19px !important;
}
.shelf-controls button:hover, .shelf-controls button:focus-visible {
  border-color: #775137 !important; background: #251912 !important; color: #f0c49c !important;
}
.shelf-controls button:active { transform: translateY(0) !important; }
.game-card {
  border-color: #332720; border-radius: 13px; background: #15110f; box-shadow: none;
}
.game-card:hover { border-color: #5c402d; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.game-launch, .game-demo {
  border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0;
}
.game-launch { border: 1px solid #b66b39; background: #bd6e39; color: #fff7ef; }
.game-launch:hover { background: #cb7b43; }
.game-demo { border-color: #453226; background: #1a1411; color: #dfc7b2; }
.game-demo:hover { border-color: #775137; background: #251912; }
.bottom-dock {
  min-height: 62px; padding: 5px; gap: 3px; border: 1px solid #30251e;
  border-radius: 14px; background: rgba(18,14,12,.97);
  box-shadow: 0 10px 30px rgba(0,0,0,.34); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.dock-item {
  padding: 5px 7px 4px; gap: 3px; border-radius: 9px; color: #98887c;
  font-size: 10px; font-weight: 600; transition: background .15s ease, color .15s ease;
}
.dock-icon { color: #aa9481; }
.dock-item:hover { color: #e8d3bf; background: #1f1712; }
.dock-item.is-active {
  border-color: #493225; background: #281b13; color: #edc39d;
}
.dock-item.is-active .dock-icon { color: #d7965d; transform: none; text-shadow: none; }
.site-footer { border-top-color: #28201b; background: #0d0a09; }
.footer-inner { min-height: 75px; }
.footer-inner > p { color: #88786b; font-weight: 650; }
.back-to-top { color: #ba9272; font-weight: 650; letter-spacing: .08em; }
.footer-bottom { border-top-color: #211a16; color: #79695e; }
@media (max-width: 560px) {
  .bottom-dock { left: 8px; right: 8px; bottom: calc(7px + env(safe-area-inset-bottom)); width: auto; min-height: 62px; gap: 2px; padding: 4px; border-radius: 12px; }
  .dock-item { padding: 4px 1px 3px; gap: 2px; border-radius: 8px; font-size: 8px; }
  .dock-icon { height: 21px; }
  .filter-chip { min-height: 34px; padding-inline: 11px; }
  .game-launch, .game-demo { border-radius: 7px; }
}
.logout-icon svg { display: block; width: 15px; height: 15px; }

/* Product pass 2026-10-22: a quiet, task-focused header and a stepped deposit flow. */
.site-header {
  background: rgba(13, 10, 9, .97);
  border-bottom: 1px solid #2a211c;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  width: min(1280px, calc(100% - 48px));
  height: 68px;
  gap: clamp(16px, 2.3vw, 30px);
}
.main-nav { gap: clamp(17px, 2vw, 25px); }
.main-nav a {
  position: relative;
  padding: 7px 0;
  color: #a89b90;
  font-size: 12px;
  font-weight: 550;
  transition: color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: #f1e5da; }
.main-nav a.active:after {
  width: 16px;
  height: 2px;
  margin-top: 8px;
  border-radius: 0;
  background: #bd8153;
  box-shadow: none;
}
.header-actions { gap: 11px; }
.auth-actions, .account-actions { gap: 10px; }
.auth-header-button {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #d6c9bd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
  transition: color .14s ease, background .14s ease, border-color .14s ease;
}
.auth-header-button:hover {
  transform: none;
  border-color: #3a2d24;
  background: #1a1411;
  color: #fff0e2;
}
.auth-login-button { border-color: transparent; }
.auth-login-button:hover { border-color: transparent; background: transparent; color: #f7cfaa; }
.auth-register-button {
  padding-inline: 15px;
  border: 1px solid #a96338;
  border-radius: 6px;
  background: #b66c3b;
  color: #fff8f1;
  font-weight: 650;
  box-shadow: none;
}
.auth-register-button:hover {
  border-color: #cb8657;
  background: #c17845;
  color: #fffaf5;
}
.auth-logout-button { min-height: 33px; padding-inline: 8px; color: #a99a8e; }
.auth-logout-button:hover { color: #f1dfcf; }
.account-name { color: #dfd0c2; font-weight: 600; font-size: 11px; }
.header-balance-button {
  min-height: 34px;
  padding: 3px 11px 3px 0;
  border: 0;
  border-right: 1px solid #342820;
  border-radius: 0;
  background: transparent;
  color: #e9e0d6;
}
.header-balance-button:hover { border-color: #4c392b; background: transparent; }
.header-balance-label { color: #93867b; font-size: 8px; letter-spacing: .09em; }
.header-balance-button strong { color: #f0e7de; font-size: 11px; font-weight: 650; }
.header-balance-button small { color: #a6b8aa; font-size: 8px; }
.account-profile-trigger { gap: 7px; padding-inline: 4px 7px; }
.account-avatar {
  width: 27px; height: 27px;
  border: 1px solid #493a2e;
  border-radius: 50%;
  background: #241b16;
  color: #d8b38f;
}
.account-avatar svg { width: 15px; height: 15px; }
.language-trigger {
  min-height: 34px;
  padding: 0 5px 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #b9aa9d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .025em;
}
.language-trigger:hover, .language-trigger[aria-expanded="true"] {
  border-color: #3a2c23;
  background: #1a1411;
  box-shadow: none;
}
.language-globe { color: #aa9a8e; }
.language-chevron { color: #8e8176; }
.language-menu { border-radius: 8px; background: #17120f; }

/* Deposit starts with one clear action. The provider and amount are revealed in sequence. */
.deposit-panel-heading { align-items: flex-start; margin-bottom: 17px; }
.deposit-panel-heading .panel-eyebrow { display: block; margin-bottom: 8px; color: #b38a68; letter-spacing: .12em; }
.deposit-panel-heading h2 { margin: 0 0 6px; font-size: clamp(19px, 2vw, 22px); letter-spacing: -.025em; }
.deposit-panel-heading p { max-width: 430px; margin: 0; color: #9c9085; font-size: 12px; line-height: 1.55; }
.deposit-environment {
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 6px 8px;
  border: 1px solid #3a2d24;
  border-radius: 4px;
  background: #181310;
  color: #a79788;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}
.deposit-wizard { min-width: 0; }
.deposit-step[hidden], .deposit-created[hidden], .deposit-feedback[hidden], .testnet-note[hidden] { display: none !important; }
.deposit-step { min-width: 0; animation: deposit-step-in .16s ease-out both; }
@keyframes deposit-step-in { from { opacity: .55; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.deposit-start-row { display: flex; align-items: flex-start; gap: 12px; padding: 3px 0 17px; }
.deposit-start-icon {
  display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center;
  border: 1px solid #392c23; border-radius: 8px;
  background: #1b1511; color: #b99a7e;
}
.deposit-start-icon svg { display: block; width: 20px; height: 20px; }
.deposit-start-copy { min-width: 0; padding-top: 1px; }
.deposit-start-copy strong { display: block; color: #e9ddd1; font-size: 13px; font-weight: 650; line-height: 1.45; }
.deposit-start-copy p { margin: 4px 0 0; color: #9c8f83; font-size: 11px; line-height: 1.6; }
.deposit-start-button {
  display: flex; width: 100%; min-height: 45px; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 14px 0 15px;
  border: 1px solid #a96439; border-radius: 7px;
  background: #b66c3b; color: #fff8f1;
  font: inherit; font-size: 12px; font-weight: 650; text-align: left;
  cursor: pointer; transition: background .14s ease, border-color .14s ease;
}
.deposit-start-button svg { display: block; width: 17px; height: 17px; flex: 0 0 17px; }
.deposit-start-button:hover { border-color: #c58051; background: #c07845; }
.deposit-start-button:active { background: #a65e32; }
.deposit-step-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.deposit-back-button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 5px 0 0;
  border: 0; background: transparent; color: #b5a293; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer;
}
.deposit-back-button svg { display: block; width: 16px; height: 16px; }
.deposit-back-button:hover { color: #f2d0b0; }
.deposit-step-count { color: #83766b; font-size: 8px; font-weight: 750; letter-spacing: .1em; }
.deposit-step-heading { margin: 0 0 16px; }
.deposit-step-heading h3 { margin: 0 0 6px; color: #eee1d5; font-size: 19px; font-weight: 650; letter-spacing: -.025em; line-height: 1.25; }
.deposit-step-heading p { margin: 0; color: #9c8f83; font-size: 11px; line-height: 1.55; }
.deposit-method-option {
  display: grid; width: 100%; min-width: 0; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 72px; padding: 12px;
  border: 1px solid #352a23; border-radius: 9px;
  background: #171310; color: #eee2d7; text-align: left; cursor: pointer;
  transition: border-color .14s ease, background .14s ease;
}
.deposit-method-option:hover, .deposit-method-option:focus-visible { border-color: #446476; background: #171a1b; outline-offset: 2px; }
.provider-avatar { display: block; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.provider-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.provider-copy strong { color: #eee6df; font-size: 13px; font-weight: 700; }
.provider-copy small { overflow-wrap: anywhere; color: #9f958c; font-size: 10px; line-height: 1.45; }
.provider-trailing { display: inline-flex; align-items: center; gap: 11px; }
.provider-trailing svg { display: block; width: 16px; height: 16px; color: #8b9ba3; }
.provider-currency { display: inline-flex; align-items: center; min-height: 23px; padding: 0 7px; border: 1px solid #324550; border-radius: 4px; background: #172229; color: #94cfee; font-size: 8px; font-weight: 700; letter-spacing: .03em; }
.deposit-selected-provider {
  display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0 0 20px; padding: 0 0 15px;
  border-bottom: 1px solid #30251e;
}
.deposit-selected-provider img { display: block; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.deposit-selected-provider > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.deposit-selected-provider strong { color: #e8ddd2; font-size: 12px; font-weight: 700; }
.deposit-selected-provider small { color: #92857a; font-size: 9px; }
.deposit-selected-provider .provider-currency { margin-left: auto; }
.amount-step-heading { margin-bottom: 17px; }
.deposit-form { display: grid; gap: 12px; }
.deposit-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; color: #dcd0c4; font-size: 11px; font-weight: 650; }
.deposit-label > span:last-child { color: #93867b; font-size: 9px; font-weight: 500; }
.deposit-input-wrap {
  min-height: 52px; padding: 0 13px; border: 1px solid #3a2d24; border-radius: 7px;
  background: #100d0b; box-shadow: none;
}
.deposit-input-wrap:focus-within { border-color: #287eb1; box-shadow: 0 0 0 2px rgba(40,126,177,.12); }
.deposit-input-wrap input { color: #f1e9e1; font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.deposit-input-wrap > span { color: #93c7e2; font-size: 10px; font-weight: 700; }
.deposit-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.deposit-presets button {
  min-height: 35px; border: 1px solid #382c24; border-radius: 6px;
  background: #191411; color: #c7b7a8; font-size: 11px; font-weight: 600;
  cursor: pointer; transition: border-color .12s ease, background .12s ease, color .12s ease;
}
.deposit-presets button:hover, .deposit-presets button:focus-visible { border-color: #4b6c7d; color: #c4e7f7; outline-offset: 2px; }
.deposit-presets button.is-selected { border-color: #327da7; background: #172630; color: #c0e4f7; }
.deposit-submit {
  display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 10px;
  margin-top: 3px; padding: 0 14px; border: 1px solid #197db8; border-radius: 7px;
  background: #1684c4; color: #fff; font: inherit; font-size: 12px; font-weight: 650;
  box-shadow: none; transition: background .14s ease, border-color .14s ease, opacity .14s ease; cursor: pointer;
}
.deposit-submit > span:first-child { justify-self: auto; margin: 0; }
.deposit-submit svg { display: block; width: 17px; height: 17px; flex: 0 0 17px; }
.deposit-submit:hover { transform: none; border-color: #349bd3; background: #1176b3; filter: none; }
.deposit-submit:active { background: #0d689f; }
.deposit-submit:disabled { opacity: .65; cursor: wait; }
.deposit-secure-note { gap: 8px; margin: 2px 0 0; padding-top: 10px; border-top: 1px solid #2b211b; color: #968a7f; font-size: 10px; line-height: 1.55; }
.deposit-secure-note .secure-note-icon { color: #7aa7bf; }
.deposit-feedback { margin-top: 13px; padding: 10px 12px; border-color: #3a3028; border-radius: 7px; background: #1b1511; color: #d9c6b4; font-size: 11px; line-height: 1.5; }
.deposit-feedback[data-kind="error"] { border-color: #5a332c; background: #241412; color: #efb7aa; }
.deposit-feedback[data-kind="success"] { border-color: #28503b; background: #142019; color: #b7d8c0; }
.deposit-created { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 14px; padding: 13px; border: 1px solid #2e4735; border-radius: 8px; background: #151e18; }
.deposit-created-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #203d2b; color: #a6d6b1; }
.deposit-created-icon svg { display: block; width: 16px; height: 16px; }
.deposit-created-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.deposit-created-copy strong { color: #d7eadb; font-size: 11px; font-weight: 700; }
.deposit-created-copy span { color: #a5b9a9; font-size: 10px; line-height: 1.45; }
.deposit-pay-link { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border: 1px solid #28503b; border-radius: 6px; background: #1b3022; color: #d1e8d7; font-size: 11px; font-weight: 650; }
.deposit-pay-link svg { display: block; width: 16px; height: 16px; }
.deposit-pay-link:hover { border-color: #3c7550; background: #203c29; }
.testnet-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #2b211b; color: #918479; }
.testnet-note-icon { display: grid; flex: 0 0 15px; width: 15px; height: 15px; place-items: center; margin-top: 1px; border: 1px solid #4d4033; border-radius: 50%; color: #b49b7e; font-size: 9px; font-weight: 700; }
.testnet-note p { margin: 0; font-size: 9px; line-height: 1.55; }

@media (max-width: 820px) {
  .header-inner { height: 62px; width: calc(100% - 30px); gap: 8px; }
  .header-actions { gap: 6px; }
  .auth-actions, .account-actions { gap: 5px; }
  .auth-header-button { min-height: 33px; padding-inline: 9px; font-size: 10px; }
  .auth-register-button { padding-inline: 11px; }
  .language-trigger { min-height: 32px; padding-inline: 6px; }
}
@media (max-width: 560px) {
  .header-inner { height: 59px; width: calc(100% - 22px); gap: 4px; }
  .brand { min-width: 0; flex: 1 1 auto; gap: 4px; }
  .brand-mark { flex-basis: 35px; width: 35px; height: 38px; }
  .brand-mark img { width: 43px !important; height: 43px !important; transform: translateX(-3px); }
  .brand-copy strong { font-size: 12px; letter-spacing: .06em; }
  .brand-copy small { margin-top: 4px; font-size: 5px; letter-spacing: .29em; }
  .header-actions { flex: 0 0 auto; gap: 3px; }
  .auth-actions, .account-actions { gap: 2px; }
  .auth-header-button { min-height: 31px; padding-inline: 7px; border-radius: 5px; font-size: 9px; }
  .auth-register-button { padding-inline: 8px; }
  .auth-logout-button { width: 30px; min-width: 30px; padding: 0; }
  .auth-logout-button .logout-label { display: none; }
  .header-balance-button { min-height: 30px; padding-right: 6px; }
  .header-balance-label { display: none; }
  .header-balance-button strong { font-size: 9px; }
  .account-profile-trigger { width: 30px; min-width: 30px; padding: 0; }
  .account-profile-trigger .account-name { display: none; }
  .account-avatar { width: 26px; height: 26px; }
  .language-trigger { min-height: 30px; gap: 3px; padding-inline: 5px; font-size: 9px; }
  .language-globe { display: none; }
  .deposit-panel-heading { gap: 8px; }
  .deposit-environment { padding: 5px 6px; font-size: 7px; }
  .deposit-start-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .deposit-start-row { gap: 10px; padding-bottom: 14px; }
  .deposit-method-option { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 9px; padding: 10px; }
  .provider-avatar { width: 42px; height: 42px; }
  .provider-trailing { gap: 7px; }
  .deposit-selected-provider { margin-bottom: 17px; }
  .deposit-panel-heading p { font-size: 11px; }
}
@media (max-width: 380px) {
  .brand-copy { max-width: 72px; }
  .header-inner { width: calc(100% - 14px); }
  .auth-header-button { padding-inline: 5px; font-size: 8px; }
  .auth-register-button { padding-inline: 7px; }
  .header-actions { gap: 2px; }
  .deposit-environment { display: none; }
  .provider-trailing .provider-currency { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .deposit-step { animation: none; }
  .deposit-start-button, .deposit-method-option, .deposit-submit, .auth-header-button { transition: none; }
}

/* Small icon polish in account activity. */
.refresh-transactions {
  display: grid; place-items: center;
  border-color: #392d24; border-radius: 7px; background: #181310; color: #b6a28e;
}
.refresh-transactions svg { display: block; width: 16px; height: 16px; }
.refresh-transactions:hover { transform: none; border-color: #64503d; background: #211912; color: #ead4bd; }
.refresh-transactions:disabled { opacity: .55; cursor: wait; }
.transactions-empty { border-style: solid; border-color: #2e251f; border-radius: 9px; background: #14100e; }
.transactions-empty > span.transactions-empty-icon {
  width: 36px; height: 36px; margin-bottom: 12px; border-color: #382b23;
  border-radius: 8px; background: #1a1411; color: #aa9887; font-size: 0;
}
.transactions-empty-icon svg { display: block; width: 19px; height: 19px; }
.transaction-icon { border-color: #3a3027; border-radius: 8px; background: #1b1713; color: #b9a18b; font-size: 0; }
.transaction-icon svg { display: block; width: 16px; height: 16px; }
.transaction-icon.is-paid { border-color: #2d4934; background: #172219; color: #9fc6a7; }
#depositMethodTitle:focus, #depositAmountStepTitle:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .deposit-step { animation: none; }
}

/* Phoenix UI polish: restrained contrast, consistent controls and stable filtered catalog. */
:root {
  --surface-main: #111214;
  --surface-raised: #17181b;
  --surface-border: rgba(255, 225, 196, .12);
  --text-secondary: #a49b93;
  --phoenix-accent: #e7a05c;
}
body {
  background:
    radial-gradient(ellipse at 50% -18%, rgba(113, 52, 30, .15), transparent 54%),
    linear-gradient(180deg, #0d0e11 0%, #0b0c0e 58%, #090a0c 100%);
}
body:before { opacity: .035; background-size: 18px 18px; }
.ambient { opacity: .055; filter: blur(110px); }
.site-header { background: rgba(12, 13, 15, .94); border-bottom-color: rgba(255, 255, 255, .075); }
.brand-mark img { filter: none; }
.brand-copy small, .footer-brand small { color: #d7a16b; }
.main-nav a.active:after { box-shadow: none; background: #cf8550; }
.hero h1 .text-fire { filter: none; background-image: linear-gradient(100deg, #f4d5a7 0%, #dc9d5e 52%, #bf6440 100%); }
.hero-phoenix { filter: drop-shadow(0 12px 30px rgba(155, 71, 36, .13)); }
.eyebrow-line { background: #c47a4d; box-shadow: none; }
.button-primary, .auth-register-button {
  background: linear-gradient(180deg, #e6ad70, #ce8750);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.button-primary:hover, .auth-register-button:hover { background: linear-gradient(180deg, #edb980, #d68d55); box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }
.filter-chip { border-color: #29292b; background: #141518; color: #b6ada5; }
.filter-chip:hover { border-color: #5e4939; background: #19191b; color: #f1e6d8; }
.filter-chip.active { border-color: #a56b45; background: #302016; color: #f0c598; box-shadow: inset 0 1px rgba(255,255,255,.03); }
.game-card { background: #141518; border-color: #29282a; box-shadow: 0 7px 18px rgba(0,0,0,.14); }
.game-card:hover, .game-card.is-open { border-color: #66503f; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.game-card-featured { border-color: #5f4130; }
.game-card .game-art::before { opacity: .13; }
.game-card.is-open .game-art::before { opacity: .58; }
.game-card .art-link:focus-visible { outline: 2px solid #e5b17d; outline-offset: -4px; }
.game-card .game-launch { background: #d99a5b; color: #19120d; box-shadow: none; }
.game-card .game-launch:hover { background: #e7ad70; filter: none; }
.game-card .game-demo { border-color: rgba(238, 212, 185, .32); background: rgba(18, 18, 20, .94); }
.site-footer { border-top-color: rgba(255,255,255,.075); background: #0a0b0d; }
.footer-bottom { border-top-color: rgba(255,255,255,.055); }

/* Filtering used to collapse the catalog to a single rail and visibly pull the footer upward.
   Keep a stable catalog floor on short results, especially on compact touch screens. */
.catalog-section.is-filtered { min-height: 540px; }
@media (min-width: 1000px) {
  .catalog-section.is-filtered { min-height: 555px; }
}
@media (max-width: 820px) {
  .catalog-section.is-filtered { min-height: 510px; }
  .deposit-method-option { min-height: 76px; }
}
@media (max-width: 560px) {
  .catalog-section.is-filtered { min-height: 505px; }
  .hero-phoenix { animation-duration: 10s; }
  .deposit-method-option { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; padding: 10px; min-height: 70px; }
  .provider-avatar { width: 42px; height: 42px; }
}

.deposit-method-option {
  min-height: 78px;
  padding: 13px;
  border-color: #2a2b2e;
  border-radius: 12px;
  background: #141518;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.deposit-method-option:hover, .deposit-method-option:focus-visible {
  border-color: #57504a;
  background: #191a1d;
}
.deposit-method-option:active { transform: scale(.995); }
.deposit-method-option.is-selected {
  border-color: #a16e49;
  background: #201912;
  box-shadow: inset 3px 0 #c98b55;
}
.deposit-method-option.deposit-method-crypto.is-selected {
  border-color: #4278b8;
  background: #131b28;
  box-shadow: inset 3px 0 #5792d7;
}
.deposit-method-option .provider-trailing svg { color: #837f79; }
.deposit-method-crypto .provider-currency { border-color: #294c73; background: #15283c; color: #a9d0fb; }
.deposit-selected-provider { border-bottom-color: #2b2c30; }
.deposit-selected-provider.is-cryptopay .provider-currency { border-color: #294c73; background: #15283c; color: #a9d0fb; }
.deposit-selected-provider.is-live { border-bottom-color: rgba(217, 145, 77, .35); }
.deposit-environment { border-color: rgba(130, 189, 143, .22); background: rgba(58, 105, 68, .12); color: #a8d7b1; letter-spacing: .08em; }
.deposit-environment:empty { display: none; }
.deposit-input-wrap { border-radius: 10px; border-color: #343438; background: #0f1012; }
.deposit-input-wrap:focus-within { border-color: #c08a59; box-shadow: 0 0 0 3px rgba(192,138,89,.12); }
.deposit-input-wrap > span { color: #c5a17d; }
.deposit-presets button { border-radius: 9px; background: #17181a; border-color: #303034; }
.deposit-presets button:hover, .deposit-presets button:focus-visible { border-color: #8a6444; color: #f0c99e; }
.deposit-presets button.is-selected { border-color: #8c6546; background: #2a1d14; color: #f1c99e; }
.deposit-submit { border-color: #276eb0; border-radius: 10px; background: #216eac; }
.deposit-submit:hover { border-color: #3689ca; background: #287fc0; }
.deposit-secure-note { border-top-color: #292a2d; }
.deposit-feedback { border-radius: 10px; }
.deposit-created { border-radius: 11px; }
.transactions-panel, .wallet-panel, .account-profile-card, .wallet-hero-card {
  box-shadow: 0 10px 34px rgba(0,0,0,.12);
}
button:focus-visible, a:focus-visible, input:focus-visible { outline-color: #d7a16b; }
@media (prefers-reduced-motion: reduce) {
  .game-card, .deposit-method-option, .deposit-submit, .button { transition: none !important; }
}


/* Lobby repair: the script groups cards into horizontal shelves, so the catalogue
   itself must be a vertical flow (not a grid of shelves). Cards keep a fixed,
   responsive width; this prevents avatar artwork being squeezed into narrow strips. */
.catalog-section { scroll-margin-top: 88px; }
.game-grid {
  display: block !important;
  width: 100%;
  min-width: 0;
  gap: 0;
}
.game-grid[hidden] { display: none !important; }
.game-grid > .game-shelf {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 clamp(28px, 3.2vw, 40px);
}
.game-grid > .game-shelf[hidden] { display: none !important; }
.shelf-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 13px;
}
.shelf-heading h3 {
  margin: 0;
  color: #f1e9e1;
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.shelf-controls { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.shelf-controls button {
  display: grid;
  place-items: center;
  width: 34px !important;
  height: 34px !important;
  padding: 0;
  border: 1px solid rgba(231, 160, 92, .21) !important;
  border-radius: 9px !important;
  background: #171513 !important;
  color: #d0a47d !important;
  font-family: inherit;
  font-size: 20px !important;
  font-weight: 500;
  line-height: 1;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.shelf-controls button:hover,
.shelf-controls button:focus-visible {
  border-color: rgba(231, 160, 92, .56) !important;
  background: #211a15 !important;
  color: #f0ca9f !important;
}
.game-rail {
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.35vw, 15px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  box-sizing: border-box;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(166, 91, 49, .45) transparent;
}
.game-rail::-webkit-scrollbar { height: 4px; }
.game-rail::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(166, 91, 49, .5); }
.game-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(205px, 21vw, 264px);
  align-self: stretch;
  width: auto;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid #2b2b2f;
  border-radius: 13px;
  background: #141518;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .16);
  scroll-snap-align: start;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.game-card:before { display: none !important; }
.game-card:hover,
.game-card.is-open {
  transform: none;
  border-color: #65503d;
  background: #17181b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.game-card-featured { border-color: #5f4130; }
.game-card[hidden] { display: none !important; }
.game-card .game-art {
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  background: #101114;
}
.game-card .game-art > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0 !important;
  transition: transform .32s ease, filter .24s ease;
}
.game-card:not(.is-open):hover .game-art > img { transform: scale(1.025); }
.game-card .game-art:after {
  z-index: 1;
  opacity: .22;
  pointer-events: none;
  transition: opacity .2s ease;
}
.game-card .game-art:before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 8, 10, .18) 0%, rgba(7, 8, 10, .34) 48%, rgba(7, 8, 10, .78) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.game-card.is-open .game-art > img { transform: scale(1.035); filter: brightness(.46) saturate(.76) contrast(1.03); }
.game-card.is-open .game-art:before { opacity: 1; }
.game-card.is-open .game-art:after { opacity: .72; }
.game-card.cover-first .game-info { display: none !important; }
.game-card.cover-first .game-art > h3 {
  position: absolute;
  z-index: 3;
  top: 19%;
  left: 10px;
  right: 10px;
  margin: 0;
  color: #fff0e0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .8);
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.game-card.cover-first.is-open .game-art > h3 { opacity: 1; transform: translateY(0); }
.game-card .art-link {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
.game-card .art-link:after {
  content: "+";
  position: absolute;
  right: 10px;
  bottom: 10px;
  top: auto;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 235, 217, .28);
  border-radius: 9px;
  background: rgba(16, 15, 15, .88);
  color: #f0d3b8;
  font-family: inherit;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  opacity: .98;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  backdrop-filter: blur(8px);
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.game-card.is-open .art-link:after {
  content: "×";
  top: 10px;
  bottom: auto;
  border-color: rgba(238, 194, 155, .35);
  background: rgba(18, 17, 17, .92);
  color: #f5dfca;
}
.game-card .art-link:hover:after,
.game-card .art-link:focus-visible:after {
  border-color: rgba(231, 160, 92, .7);
  background: #29201a;
}
.game-card .game-launch,
.game-card .game-demo {
  position: absolute;
  z-index: 4;
  left: 12px;
  right: 12px;
  display: none;
  width: auto;
  min-height: 39px;
  height: 39px;
  margin: 0;
  padding: 0 12px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: none;
  text-align: left;
}
.game-card .game-launch span,
.game-card .game-demo span { color: inherit; font-size: inherit; }
.game-card .game-launch { bottom: 59px; border: 1px solid #d49a65; background: #dba16b; color: #20140e; }
.game-card .game-launch:hover { border-color: #edbb8a; background: #e7b17e; filter: none; }
.game-card .game-demo { bottom: 12px; border: 1px solid rgba(237, 220, 204, .25); background: rgba(19, 19, 21, .94); color: #eee0d3; }
.game-card .game-demo:hover { border-color: rgba(231, 160, 92, .52); background: #24201c; }
.game-card.is-open .game-launch,
.game-card.is-open .game-demo { display: flex; }
.catalog-toolbar { align-items: center; }
.catalog-section.is-filtered { min-height: 0; }
/* A filtered catalogue reserves its measured full height from JS. Keep the footer
   on the same background as the page rather than revealing a separate block. */
.site-footer { background: transparent !important; border-top-color: rgba(255, 225, 196, .07); }
.footer-bottom { background: transparent !important; border-top-color: rgba(255, 225, 196, .045); }

/* More considered entry actions and form controls. */
.auth-login-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(235, 205, 177, .19);
  border-radius: 8px;
  background: linear-gradient(180deg, #1b1917, #131211);
  color: #e7d9cc;
  font-weight: 650;
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.auth-login-button:hover {
  border-color: rgba(218, 165, 117, .48);
  background: #211a15;
  color: #fff1e1;
}
.auth-register-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(245, 200, 151, .66);
  border-radius: 8px;
  background: linear-gradient(180deg, #e8b982 0%, #cd8953 100%);
  color: #24170f;
  font-weight: 750;
  box-shadow: inset 0 1px rgba(255,255,255,.27), 0 3px 10px rgba(0,0,0,.14);
}
.auth-register-button:hover {
  border-color: #f2c999;
  background: linear-gradient(180deg, #f0c58f 0%, #d9965d 100%);
  color: #1d120c;
}
.auth-dialog { border-color: rgba(204, 151, 104, .3); border-radius: 18px; background: linear-gradient(155deg, #1b1714 0%, #121110 58%, #0e0e0f 100%); }
.auth-dialog::backdrop { background: rgba(5, 5, 6, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auth-submit {
  min-height: 48px;
  border: 1px solid rgba(245, 198, 148, .65);
  border-radius: 9px;
  background: linear-gradient(180deg, #e6b47d 0%, #c9844c 100%);
  color: #23170f;
  font-weight: 750;
  box-shadow: inset 0 1px rgba(255,255,255,.24), 0 6px 15px rgba(0,0,0,.14);
}
.auth-submit:hover { background: linear-gradient(180deg, #efc28b 0%, #d29258 100%); }
.auth-field input { border-radius: 9px; background: #0f0f10; border-color: #34302c; }
.auth-field input:focus { border-color: #bf8a5b; box-shadow: 0 0 0 3px rgba(191, 138, 91, .12); }
@media (max-width: 1080px) {
  .game-card { flex-basis: clamp(195px, 27vw, 235px); }
}
@media (max-width: 820px) {
  .game-card { flex-basis: clamp(185px, 31vw, 220px); }
  .game-card .game-art { aspect-ratio: 1.04 / 1; }
  .game-card .game-launch, .game-card .game-demo { left: 9px; right: 9px; min-height: 36px; height: 36px; font-size: 10px; }
  .game-card .game-launch { bottom: 52px; }
  .game-card .game-demo { bottom: 8px; }
  .game-card .art-link:after { right: 8px; bottom: 8px; width: 27px; height: 27px; }
  .game-card.is-open .art-link:after { top: 8px; bottom: auto; }
  .auth-header-button { min-height: 35px; }
  .auth-login-button { padding-inline: 12px; }
  .auth-register-button { padding-inline: 13px; }
}
@media (max-width: 560px) {
  .game-shelf { margin-bottom: 27px !important; }
  .shelf-heading { margin-bottom: 10px; }
  .shelf-heading h3 { font-size: 19px; }
  .shelf-controls { gap: 4px; }
  .shelf-controls button { width: 30px !important; height: 30px !important; border-radius: 8px !important; }
  .game-card { flex-basis: clamp(160px, 44vw, 190px); border-radius: 11px; }
  .game-card .game-art { aspect-ratio: 1 / 1; }
  .game-card .game-launch, .game-card .game-demo { left: 8px; right: 8px; min-height: 35px; height: 35px; padding-inline: 9px; border-radius: 8px; font-size: 10px; }
  .game-card .game-launch { bottom: 49px; }
  .game-card .game-demo { bottom: 8px; }
  .game-card.cover-first .game-art > h3 { left: 8px; right: 8px; font-size: 14px; }
  .auth-header-button { min-height: 33px; padding-inline: 7px; font-size: 9px; }
  .auth-login-button { padding-inline: 8px; }
  .auth-register-button { padding-inline: 9px; }
  .auth-actions { gap: 4px; }
}
@media (max-width: 360px) {
  .game-card { flex-basis: 154px; }
  .shelf-heading h3 { font-size: 18px; }
  .shelf-controls button { width: 28px !important; height: 28px !important; }
  .auth-header-button { padding-inline: 6px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-card, .game-card .game-art > img, .game-card .art-link:after,
  .game-card.cover-first .game-art > h3, .auth-header-button, .auth-submit { transition: none !important; }
}


/* 2026-10-25 polish: clearer game-card hierarchy, tactile controls, and compact short views. */
.game-card.cover-first.is-open .game-art > h3 {
  top: 19% !important;
  left: 10px !important;
  right: 10px !important;
  font-size: clamp(13px, 1.28vw, 17px) !important;
  line-height: 1.2 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.95), 0 0 17px rgba(0,0,0,.75) !important;
}
.game-card.cover-first .game-art > h3 { max-width: calc(100% - 20px); margin-inline: auto !important; }
.game-card.is-open .game-launch,
.game-card.is-open .game-demo {
  top: 40% !important;
  bottom: auto !important;
  left: 9px !important;
  right: 9px !important;
  width: auto !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 11px 0 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  border-radius: 13px 9px 13px 9px !important;
  font-size: clamp(10px, 1.05vw, 12px) !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  text-align: center;
  text-decoration: none;
  letter-spacing: -.01em;
  box-shadow: 0 4px 0 rgba(84, 37, 16, .82), 0 8px 14px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.55) !important;
  transform: translateY(0);
  transition: top .18s ease, filter .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.game-card.is-open .game-launch {
  top: 40% !important;
  color: #3a1a0b !important;
  border: 1px solid #ffe0a0 !important;
  background: linear-gradient(180deg, #ffe9a9 0%, #ffc56e 50%, #f4a447 100%) !important;
  box-shadow: 0 4px 0 #824220, 0 8px 14px rgba(0,0,0,.37), inset 0 1px rgba(255,255,255,.72) !important;
}
.game-card.is-open .game-demo {
  top: calc(40% + 49px) !important;
  color: #f5e4ff !important;
  border: 1px solid rgba(207,174,255,.9) !important;
  background: linear-gradient(180deg, rgba(83,57,119,.98), rgba(47,31,77,.98)) !important;
  box-shadow: 0 4px 0 #25143f, 0 8px 14px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.18) !important;
}
.game-card.is-open .game-launch::before,
.game-card.is-open .game-demo::before {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-52%);
  line-height: 1;
  font-size: 15px;
  font-weight: 900;
  pointer-events: none;
}
.game-card.is-open .game-launch::before { content: "▶"; font-size: 11px; left: 12px; }
.game-card.is-open .game-demo::before { content: "✦"; font-size: 17px; left: 11px; color: #e4caff; }
.game-card.is-open .game-launch:hover,
.game-card.is-open .game-demo:hover { filter: brightness(1.08) !important; transform: translateY(-1px); }
.game-card.is-open .game-launch:active,
.game-card.is-open .game-demo:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(37,20,15,.8), inset 0 1px rgba(255,255,255,.25) !important; }
.game-card.is-open .art-link:after {
  top: 9px !important;
  right: 9px !important;
  bottom: auto !important;
  width: 31px !important;
  height: 31px !important;
  border: 1px solid rgba(255,224,192,.76) !important;
  border-radius: 11px 8px 11px 8px !important;
  background: linear-gradient(155deg, #5b3827, #231711) !important;
  color: #ffead6 !important;
  font-size: 23px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.12) !important;
}

/* Auth actions: a centered label and a separately aligned arrow badge. */
.auth-login-button, .auth-register-button {
  border-radius: 10px 7px 10px 7px !important;
  transition: transform .16s ease, border-color .16s ease, background .16s ease !important;
}
.auth-login-button { border-color: rgba(211,169,130,.3) !important; }
.auth-register-button {
  border-color: rgba(255,215,165,.68) !important;
  background: linear-gradient(180deg, #e7b77e 0%, #c8854d 100%) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.24), 0 3px 0 #754629 !important;
}
.auth-login-button:active, .auth-register-button:active { transform: translateY(1px); }
.auth-submit {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 49px !important;
  padding: 0 52px !important;
  border: 1px solid #f0bb80 !important;
  border-radius: 13px 9px 13px 9px !important;
  background: linear-gradient(180deg, #f4c783 0%, #e8a55f 50%, #d88947 100%) !important;
  color: #32190c !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: -.01em !important;
  box-shadow: 0 4px 0 #79401f, 0 8px 18px rgba(0,0,0,.23), inset 0 1px rgba(255,255,255,.5) !important;
  transition: transform .16s ease, filter .16s ease !important;
}
.auth-submit > span:first-child { margin: 0 !important; text-align: center; }
.auth-submit .auth-submit-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(106,55,25,.23);
  border-radius: 9px 7px 9px 7px;
  background: rgba(255,245,225,.24);
  color: #50250f;
}
.auth-submit .auth-submit-icon svg { display: block; width: 17px; height: 17px; }
.auth-submit:hover { filter: brightness(1.045); }
.auth-submit:active { transform: translateY(2px); box-shadow: 0 2px 0 #79401f, inset 0 1px rgba(255,255,255,.35) !important; }
.auth-google-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  min-height: 47px !important;
  padding: 8px 14px !important;
  border: 1px solid #5f6266 !important;
  border-radius: 10px !important;
  background: #17181a !important;
  color: #f0f1f2 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .005em;
  text-decoration: none !important;
}
.auth-google-button:hover { border-color: #8c8e91 !important; background: #202124 !important; }
.google-g-icon {
  display: block;
  flex: 0 0 25px;
  width: 25px !important;
  height: 25px !important;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

/* History and bonuses have short content; do not force an oversized scrollable pane. */
.workspace-view.future-view,
#historyView.future-view,
#bonusesView.future-view {
  min-height: 0 !important;
  padding-bottom: 24px !important;
}
.future-card { min-height: 260px; }

@media (max-width: 820px) {
  .game-card.is-open .game-launch,
  .game-card.is-open .game-demo { left: 8px !important; right: 8px !important; height: 35px !important; min-height: 35px !important; font-size: 10px !important; }
  .game-card.is-open .game-launch { top: 39% !important; }
  .game-card.is-open .game-demo { top: calc(39% + 43px) !important; }
  .game-card.cover-first.is-open .game-art > h3 { top: 19% !important; font-size: 14px !important; }
  .game-card.is-open .art-link:after { top: 8px !important; right: 8px !important; }
  .future-card { min-height: 220px; padding: 24px 20px; }
}
@media (max-width: 380px) {
  .game-card.is-open .game-launch,
  .game-card.is-open .game-demo { left: 6px !important; right: 6px !important; padding-left: 25px !important; padding-right: 7px !important; font-size: 9px !important; }
  .game-card.is-open .game-launch::before { left: 9px; }
  .game-card.is-open .game-demo::before { left: 8px; }
  .auth-submit { padding-left: 35px !important; padding-right: 44px !important; }
}
