/* Member detail layouts, using the same panel and control geometry as the reference. */
.member-content.with-page-tabs { gap: 0; }
.reference-page-tabs { display: flex; align-items: end; padding: 0 30px; height: 46px; flex: 0 0 46px; }
.reference-page-tabs > * { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 175px; height: 46px; padding: 8px 25px; color: #a1c5db; font-size: 15px; }
.reference-page-tabs .active { background: #1e5487; border-radius: 10px 10px 0 0; color: #a1c5db; }
.reference-page-tabs img { width: 28px; height: 28px; object-fit: contain; }
.with-page-tabs > .member-panel { border-top-left-radius: 0; }
.subsection-heading { border-left: 5px solid #58c7ff; padding-left: 7px; font-size: 18px; line-height: 20px; font-weight: 400; margin: 0 0 30px; }
.availability-caption { color: #a1c5db; font-size: 13px; line-height: 20px; margin: 20px 0 0; }
.ref-frontend .button:disabled { cursor: not-allowed; transform: none; filter: none; box-shadow: none; background: #173b5c; border-color: transparent; color: #a1c5db; }
.ref-frontend .amount-presets button:disabled { cursor: not-allowed; }
.balance-label { display: flex; align-items: center; gap: 4px; }
.balance-label img { width: 18px; height: 18px; }
.balance-card .icon-button img { width: 22px; height: 22px; }
.profile-overview > h1 { font-size: 20px; font-weight: 400; line-height: 24px; margin: 0 0 25px; }
.profile-wallet { gap: 30px; }
.ref-frontend .profile-wallet .balance-card { flex-direction: row; align-content: center; padding: 20px; }
.profile-wallet-actions { width: 180px; gap: 20px; justify-content: center; }
.profile-wallet-actions a { font-size: 13px; }
.profile-wallet-actions img { width: 50px; height: 50px; }
.member-profile-details .subsection-heading { margin: 0 0 30px; }
.profile-fields { max-width: 555px; margin-bottom: 40px; }
.profile-fields:last-of-type { margin-bottom: 0; }
.profile-row { display: flex; gap: 0; align-items: center; min-height: 50px; font-size: 15px; line-height: 20px; }
.profile-label { width: 110px; flex: 0 0 110px; padding-right: 12px; }
.profile-value { color: #a1c5db; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ref-frontend .profile-edit { width: 80px; min-width: 80px; height: 30px; min-height: 30px; padding: 2px 12px; font-size: 15px; }
.profile-edit:disabled { opacity: .65; }
.profile-row select { flex: 1; width: auto; min-width: 0; }
.verified-label { font-size: 13px; color: white; background: #4a9f77; border-radius: 20px; padding: 1px 6px; white-space: nowrap; }
.ref-dialog { width: 550px; max-width: calc(100vw - 24px); max-height: calc(100svh - 100px); padding: 0; border: 0; border-radius: 10px; background: #1a314d; color: white; margin: 75px auto auto; box-shadow: 0 12px 60px #00132488; overflow-y: auto; }
.ref-dialog::backdrop { background: #000b; }
.dialog-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: center; min-height: 50px; background: linear-gradient(#8ee4ff,#3495ff); z-index: 1; }
.dialog-heading h2 { font-size: 20px; font-weight: 400; margin: 0; padding: 10px 50px; }
.dialog-heading button { position: absolute; right: 10px; top: 3px; width: 44px; height: 44px; border: 0; background: none; color: white; font-size: 32px; line-height: 1; }
.dialog-form { padding: 35px 30px 30px; display: grid; gap: 20px; }
.dialog-field { display: flex; gap: 0; align-items: center; min-width: 0; }
.dialog-field > label { flex: 0 0 110px; font-size: 15px; padding-right: 12px; }
.ref-frontend .dialog-field input,.ref-frontend .dialog-field select,.ref-frontend .dialog-field textarea { width: 100%; flex: 1; min-width: 0; border: 0; border-bottom: 1px solid #ffffff26; border-radius: 0; background: none; color: white; font: inherit; padding: 10px 0; }
.dialog-field textarea { resize: vertical; }
.dialog-form > .button { width: 100%; margin-top: 10px; }
.withdraw-fields { max-width: 555px; }
.turnover-summary { background: #1a314d; border: 1px solid #ffffff26; border-radius: 8px; overflow: hidden; margin-bottom: 40px; }
.turnover-summary > h2 { font-size: 16px; line-height: 20px; font-weight: 700; padding: 10px 15px; margin: 0; background: linear-gradient(#8ee4ff,#3495ff); }
.turnover-content { padding: 15px 14px 12px; color: #a1c5db; font-size: 13px; }
.turnover-content > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.turnover-content strong { font-size: 26px; color: #58c7ff; }
.turnover-content progress { display: block; width: 100%; height: 6px; border: 0; margin: 10px 0; border-radius: 20px; accent-color: #58c7ff; }
progress::-webkit-progress-bar { background: #153d63; border-radius: 20px; }
progress::-webkit-progress-value { background: #58c7ff; border-radius: 20px; }
.turnover-content p { margin: 0; line-height: 20px; }
.withdraw-fields > .subsection-heading { margin-bottom: 30px; }
.money-field { display: flex; min-width: 0; align-items: center; min-height: 60px; }
.money-field > label { flex: 0 0 110px; font-size: 15px; line-height: 20px; }
.money-field > div { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #ffffff26; }
.money-field > div > span { font-size: 15px; }
.ref-frontend .money-field input { min-width: 0; flex: 1; width: 0; border: 0; background: transparent; text-align: right; font-size: 15px; height: 60px; padding: 10px 0; color: white; }
.money-field input::-webkit-inner-spin-button { appearance: none; }
.money-field select { width: 0; flex: 1; font-size: 15px; }
.amount-clear { width: 24px; height: 30px; padding: 0; background: none; border: 0; color: #a1c5db; font-size: 24px; }
.amount-help { color: #58c7ff; font-size: 14px; margin: 0 0 0 110px; line-height: 24px; }
.amount-help p { margin: 0; line-height: 25px; }
.ref-frontend .withdraw-fields .amount-presets { margin: 10px 0 12px; gap: 8px; }
.ref-frontend .withdraw-fields .amount-presets button { background: linear-gradient(#8ee4ff,#3495ff); border: 0; color: #c2ebff; height: 30px; font-size: 15px; padding: 3px; }
.bank-choice { min-height: 60px; margin-bottom: 10px; }
.withdraw-total { border-radius: 6px; background: #ffffff14; font-size: 15px; margin-bottom: 10px; }
.withdraw-total summary { list-style: none; display: flex; justify-content: space-between; gap: 15px; padding: 10px; min-height: 44px; }
.withdraw-total summary span { color: #e3c478; }
.withdraw-total p { font-size: 13px; padding: 0 12px 12px; color: #a1c5db; }
.withdraw-preview > .button { width: 100%; font-size: 16px; }
.ref-frontend .availability-inline { padding: 0; margin-top: 20px; border: 0; background: none; }
.availability-inline h2 { color: #a1c5db; font-size: 14px; margin-bottom: 5px; }
.availability-inline p { font-size: 13px; line-height: 20px; margin: 0; }
.cashback-notes h2 { font-size: 16px; line-height: 22px; color: #e77eae; margin: 15px 0 8px; }
.cashback-notes p { font-size: 14px; color: #a1c5db; margin: 0 0 5px; line-height: 21px; }
.reference-cashback-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.reference-cashback-card { width: 330px; max-width: 100%; border: 1px solid #ffffff26; border-radius: 6px; overflow: hidden; background: #1e5487; }
.cashback-card-top { display: flex; justify-content: space-between; gap: 10px; height: 28px; }
.cashback-card-top > span { min-width: 100px; padding: 2px 14px; background: linear-gradient(#8ee4ff,#3495ff); border-radius: 0 0 24px 0; font-size: 14px; }
.cashback-card-top small { color: #e77eae; padding: 3px 14px 0 0; }
.cashback-card-content { padding: 12px 20px 15px; font-size: 14px; }
.cashback-card-content h2 { font-size: 14px; margin: 0 0 3px; }
.cashback-card-content p { color: #a1c5db; line-height: 21px; margin: 0 0 10px; }
.cashback-card-content p:last-child { margin-bottom: 0; color: white; }
.cashback-card-content strong { color: #58c7ff; font-weight: 400; }
.deposit-options { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; }
.deposit-option { position: relative; width: 320px; max-width: 100%; min-height: 190px; border: 1px solid #ffffff26; border-radius: 5px; background: #1e5487; padding: 30px 20px 20px; display: flex; flex-direction: column; }
.deposit-option h2 { font-size: 22px; margin: 0 0 10px; }
.deposit-option p { font-size: 14px; color: #a1c5db; margin: 0 0 20px; }
.deposit-option > .button { align-self: flex-end; margin-top: auto; }
.option-ribbon { position: absolute; top: -12px; left: 20px; padding: 3px 20px; border-radius: 20px; color: #523611; background: linear-gradient(#ffffb2,#f4b846); }
.ref-frontend .reference-payment-form { gap: 0; max-width: 555px; }
.reference-payment-form > .money-field { margin: 0; }
.ref-frontend .reference-payment-form .amount-help { margin-left: 110px; font-size: 14px; }
.ref-frontend .reference-payment-form .amount-presets { margin: 12px 0 30px; }
.ref-frontend .reference-payment-form .amount-presets button { background: linear-gradient(#8ee4ff,#3495ff); border: 0; color: white; font-size: 15px; }
.reference-payment-form > .button { width: 100%; margin: 0; font-size: 16px; }
.deposit-history-disclosure { margin-top: 35px; }
.deposit-history-disclosure > summary { min-height: 44px; color: #a1c5db; font-size: 16px; }
.deposit-history-disclosure h2 { font-size: 20px; }
.auth-symbol { font-size: 26px; line-height: 1; color: white; }
.signup-information { font-size: 13px; line-height: 20px; text-align: left; color: #a1c5db; margin: 12px 0 20px; }
.signup-information a { color: #58c7ff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 650px) {
  .reference-page-tabs { padding: 0 12px; height: 48px; flex-basis: 48px; }
  .reference-page-tabs > * { min-width: 0; flex: 1; height: 48px; padding: 8px 15px; font-size: 15px; }
  .reference-page-tabs img { width: 25px; height: 25px; }
  .profile-fields { margin-bottom: 30px; }
  .profile-row { min-height: 56px; font-size: 14px; gap: 8px; flex-wrap: wrap; padding: 8px 0; }
  .profile-label { flex: 0 0 96px; width: 96px; padding-right: 0; }
  .profile-value { flex: 1 1 70px; line-height: 21px; }
  .ref-frontend .profile-edit { min-width: 58px; width: 58px; min-height: 44px; height: 44px; font-size: 14px; }
  .verified-label { margin-left: auto; }
  .profile-overview > h1 { font-size: 21px; }
  .profile-wallet-actions { width: 100%; padding: 14px; }
  .profile-wallet-actions img { width: 42px; height: 42px; }
  .ref-dialog { max-height: calc(100svh - 40px); margin-top: 20px; }
  .dialog-heading h2 { font-size: 18px; padding: 12px 40px; }
  .dialog-form { padding: 24px 18px; gap: 16px; }
  .dialog-field { display: grid; gap: 6px; }
  .dialog-field > label { font-size: 14px; }
  .ref-frontend .dialog-field input,.ref-frontend .dialog-field select,.ref-frontend .dialog-field textarea { font-size: 16px; min-height: 50px; width: 100%; }
  .dialog-form > .button { min-height: 46px; }
  .turnover-summary { margin-bottom: 30px; }
  .turnover-content strong { font-size: 22px; }
  .money-field > label { flex: 0 0 90px; font-size: 14px; }
  .ref-frontend .money-field input { min-height: 60px; font-size: 16px; width: 0; }
  .money-field select { font-size: 16px; }
  .amount-help,.ref-frontend .reference-payment-form .amount-help { margin-left: 90px; font-size: 13px; line-height: 22px; }
  .ref-frontend .withdraw-fields .amount-presets { gap: 10px; margin-top: 15px; }
  .ref-frontend .withdraw-fields .amount-presets button,.ref-frontend .reference-payment-form .amount-presets button { min-height: 44px; font-size: 14px; }
  .reference-cashback-card { width: 100%; }
  .cashback-card-content { padding: 16px 20px; }
  .cashback-card-content h2,.cashback-card-content p { font-size: 15px; }
  .deposit-options { margin-top: 25px; }
  .deposit-option { width: 100%; }
  .ref-frontend .balance-links { gap: 10px; }
}
.profile-action-icon { display: block; width: 50px; height: 56px; background: url('/lumino/reference/site/pc/img/ic-wallet.webp') top center/100% auto no-repeat; }
.profile-action-icon.withdraw { background-position: center bottom; }
body[data-page=level] .member-panel-compact { background: #2065a1 url('/lumino/reference/site/pc/img/vip/member-vip-bg.webp') center/100% 100%; }
.member-level-overview { display: flex; gap: 24px; align-items: center; }
.level-crown { width: 140px; height: 112px; flex: 0 0 140px; position: relative; background: url('/lumino/reference/site/pc/img/vip/img-vipLevel.webp') top center/100% auto no-repeat; }
.level-crown > span { position: absolute; left: 0; right: 0; text-align: center; top: 56px; font-size: 22px; }
.level-exp { flex: 1; border: 1px solid #ffffff26; border-radius: 8px; padding: 20px 28px; background: #ffffff26; color: #a1c5db; }
.level-exp p { text-align: right; margin: 0 0 10px; font-size: 18px; line-height: 24px; }
.level-exp strong { font-weight: 400; color: #58c7ff; }
.level-exp progress { width: 100%; height: 20px; display: block; appearance: none; border: 0; border-radius: 20px; }
.level-exp progress::-webkit-progress-bar { background: #1e5487; border: 1px solid #58c7ff; }
.level-milestone { display: flex; flex-direction: column; align-items: center; font-size: 14px; line-height: 18px; }
.level-milestone .level-crown { width: 90px; height: 74px; flex-basis: 74px; margin: 0 0 10px; }
.level-milestone .level-crown > span { top: 36px; font-size: 15px; }
.level-milestone-track { height: 4px; background: #1e5487; margin: 18px 10% 40px; position: relative; }
.level-milestone-track > span { position: absolute; left: calc(50% - 7px); top: -5px; width: 14px; height: 14px; border: 3px solid #58c7ff80; background: #98e0ff; border-radius: 50%; }
.loyalty-benefits { display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px; overflow: hidden; margin-top: 30px; }
.loyalty-benefits article { display: flex; align-items: center; padding: 20px 24px; background: #ffffff14; gap: 18px; }
.loyalty-benefits article:nth-child(2) { background: #ffffff26; }
.loyalty-benefits h3 { font-size: 15px; line-height: 22px; margin: 0 0 4px; }
.loyalty-benefits p { font-size: 13px; line-height: 17px; color: #a1c5db; margin: 0; }
.loyalty-icon { display: block; flex: 0 0 40px; width: 40px; height: 40px; background: url('/lumino/reference/site/app/img/vip/ic-vip.webp') top center/100% auto; }
.loyalty-icon.extra { background-position: center bottom; }
.ref-frontend .account-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.ref-frontend .destination-card { width: 320px; max-width: 100%; min-height: 160px; background: #1e5487; border: 1px solid #ffffff26; border-radius: 5px; margin-bottom: 20px; }
.ref-frontend .add-account-button { min-width: 220px; }
.announcement-tabs { display: flex; justify-content: space-around; align-items: flex-end; }
.announcement-tabs > a { min-width: 0; flex: 1; max-width: 210px; text-align: center; padding: 10px 8px; font-size: 14px; color: #a1c5db; border-radius: 10px 10px 0 0; }
.announcement-tabs > a.active { background: #1e5487; color: #58c7ff; }
.notice-results { min-height: 370px; border: 1px solid #ffffff14; border-radius: 5px; padding: 0 20px; }
.reference-empty { padding: 140px 0; }
.reference-empty:before { width: 80px; height: 80px; margin-bottom: 10px; }
.reference-empty p { font-size: 14px; color: #a1c5db; line-height: 20px; margin: 0; }
body[data-page=mission] .member-panel { background: none; box-shadow: none; }
body[data-page=mission] .panel-heading { display: none; }
body[data-page=mission] .reference-empty { padding-top: 120px; }
.promotion-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 30px; max-width: 1200px; min-height: calc(100vh - 88px); margin: auto; padding: 170px 0 40px; }
.promotion-sidebar { position: relative; border-radius: 8px; background: #1e5487; min-height: 330px; align-self: start; box-shadow: inset 0 0 3px #5488b3; }
.promotion-decoration { position: absolute; left: 0; right: 0; bottom: 100%; height: 170px; background: url('/lumino/reference/site/pc/img/discount/nav-top.webp') bottom center/100% auto no-repeat; }
.promotion-sidebar h1 { position: absolute; bottom: calc(100% - 1px); margin: 0; width: 100%; padding: 8px 15px; font-size: 15px; line-height: 20px; font-weight: 400; text-align: center; }
.promotion-sidebar nav { padding: 24px 20px; }
.promotion-sidebar nav a { border-radius: 30px; background: linear-gradient(#8ee4ff,#3495ff); min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.promotion-sidebar nav img { width: 18px; height: 18px; }
.promotion-results { min-width: 0; }
.promotion-entry { background: #12436d; border-radius: 8px; overflow: hidden; margin-bottom: 25px; }
.promotion-entry > img { width: 100%; height: auto; display: block; }
.promotion-entry > div { padding: 20px; }
.promotion-entry h2 { font-size: 22px; }
@media (max-width: 1250px) { .promotion-layout { padding-left: 30px; padding-right: 30px; } }
@media (max-width: 650px) {
  .member-level-overview { gap: 16px; flex-wrap: wrap; }
  .level-crown { width: 100px; height: 80px; flex-basis: 100px; }
  .level-crown > span { top: 40px; font-size: 18px; }
  .level-exp { min-width: 130px; padding: 15px 12px; }
  .level-exp p { font-size: 15px; }
  .level-exp progress { height: 14px; }
  .loyalty-benefits { grid-template-columns: 1fr; }
  .loyalty-benefits article { padding: 20px 16px; }
  .announcement-tabs { overflow-x: auto; justify-content: flex-start; }
  .announcement-tabs > a { flex: 0 0 auto; min-height: 48px; padding: 12px 16px; }
  .notice-results { min-height: 320px; padding: 0 12px; }
  .reference-empty { padding: 110px 0; }
  .ref-frontend .add-account-button { width: 100%; }
  .promotion-layout { display: flex; flex-direction: column; gap: 20px; min-height: calc(100vh - 132px); padding: 150px 12px 30px; }
  .promotion-sidebar { width: 100%; min-height: 0; }
  .promotion-decoration { left: calc(50% - 110px); right: auto; width: 220px; height: 150px; }
  .promotion-sidebar nav { padding: 16px; }
  .promotion-sidebar nav a { min-height: 48px; }
  .promotion-results { width: 100%; }
}
.ref-frontend .profile-row { font-size: 14px; }
.ref-frontend .profile-label { padding-right: 0; }
.ref-frontend .profile-wallet .balance-card { height: 120px; min-height: 120px; }
.ref-frontend .profile-wallet-actions { height: 120px; }
.member-sidebar .menu-group-start { position: relative; margin-top: 30px; }
.member-sidebar .menu-group-start:before { content: ''; position: absolute; left: 0; right: 0; top: -15px; border-top: 1px solid #ffffff26; }
body[data-page=transaction] .panel-heading { justify-content: flex-start; align-items: baseline; gap: 10px; }
.transaction-caption { font-size: 14px; line-height: 20px; color: #a1c5db; margin: 0; }
.ref-frontend .reference-transaction-filters { display: block; margin: 20px 0 25px; }
.ref-frontend .type-filter { display: flex; align-items: center; gap: 0; font-size: 15px; }
.type-filter select { width: 330px; margin-left: 80px; }
.transaction-filter-bottom { display: flex; align-items: center; gap: 30px; margin-top: 16px; }
.period-buttons { display: grid; grid-template-columns: repeat(3,1fr); width: 330px; flex: 0 0 330px; border: 1px solid #ffffff26; border-radius: 5px; overflow: hidden; }
.period-buttons button { min-width: 0; padding: 12px 5px; height: 48px; color: #a1c5db; background: transparent; border: 0; border-right: 1px solid #ffffff26; font-size: 14px; }
.period-buttons button:last-child { border-right: 0; }
.period-buttons button.active { background: linear-gradient(#8ee4ff,#3495ff); color: white; }
.ref-frontend .status-filter { display: flex; gap: 30px; align-items: center; font-size: 15px; }
.status-filter select { width: 330px; }
.message-results { min-height: 768px; }
@media (max-width: 1350px) { .transaction-filter-bottom { flex-wrap: wrap; } .status-filter select { max-width: 100%; } }
@media (max-width: 650px) {
  .ref-frontend .member-sidebar .menu-group-start { margin-top: 0; }
  .member-sidebar .menu-group-start:before { display: none; }
  body[data-page=transaction] .panel-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ref-frontend .reference-transaction-filters { display: flex; flex-direction: column; gap: 16px; margin-bottom: 0; }
  .ref-frontend .type-filter,.ref-frontend .status-filter { display: flex; width: 100%; gap: 12px; }
  .type-filter select { margin: 0; flex: 1; width: 0; }
  .transaction-filter-bottom { width: 100%; margin: 0; gap: 16px; }
  .period-buttons { width: 100%; flex: 1 0 100%; }
  .period-buttons button { min-height: 48px; font-size: 14px; }
  .status-filter select { width: 0; min-width: 0; flex: 1; }
  .message-results { min-height: 420px; }
}
.ref-frontend .member-card { gap: 10px; }
.ref-frontend .member-card > strong { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 400; }
.ref-frontend .member-sidebar nav>a.active>img { filter: brightness(1.6); }
.vip-status { display: inline-flex; align-items: center; gap: 1px; vertical-align: middle; }
.vip-status > span { width: 20px; height: 16px; background: url('/lumino/reference/site/pc/img/vip/img-vipLevel.webp') top center/100% auto no-repeat; }
.vip-status > small { color: #fff6e2; font: italic 700 10px/12px Arial,sans-serif; background: linear-gradient(#e6c5a4,#a26643); padding: 0 2px; border: 1px solid #deb995; }
@media (max-width:650px) { .header-user .vip-status { display: none; } }
.reference-cashback-grid { margin-top: 16px; }
.footer-network { width: 420px; max-width: 35%; flex-shrink: 0; }
.footer-network strong { font-size: 16px; font-weight: 400; color: white; }
.footer-network p { display: flex; align-items: center; gap: 5px; color: #65bb66; }
.footer-network p.offline { color: #e18c98; }
.footer-network img { width: 18px; height: 18px; object-fit: contain; }
@media (min-width: 1400px) {
  .footer-inner,.footer-bankline { margin-left: auto; margin-right: auto; width: 100%; }
  .footer-inner { gap: 0; }
}
@media (max-width: 650px) { .footer-network { max-width: 100%; width: 100%; } }
.turnstile-container { width: 100%; min-height: 65px; margin: 15px 0 10px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.verification-message { font-size: 13px; line-height: 20px; color: #a1c5db; margin: 0; text-align: center; }
.verification-message[hidden] { display: none; }
.member-level-details > .subsection-heading { margin-bottom: 18px; }
.level-milestone-track { margin-top: 15px; margin-bottom: 35px; }
.loyalty-benefits article { min-height: 113px; }

#password-help { scroll-margin-top: 108px; }
@media(max-width:1350px) { #password-help { scroll-margin-top: 152px; } }
.footer-inner { flex-wrap: wrap; }
@media (min-width: 651px) { .ref-frontend .game-grid { grid-template-columns: repeat(auto-fill,140px); } }
@media (min-width: 1400px) { .ref-frontend .catalog-section { padding-left: 0; padding-right: 0; } .catalog-toolbar { padding-left: max(0px,calc((100vw - 1440px)/2)); padding-right: max(0px,calc((100vw - 1440px)/2)); } }
.chat-launcher { position: fixed; right: 20px; bottom: 50px; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: #3f5ee8; box-shadow: 0 3px 12px #00163155; z-index: 35; }
.chat-launcher svg { width: 28px; height: 28px; fill: white; }
.chat-launcher:hover { background: #4a6df5; }
@media (min-width:651px) { .header-user>div { max-width: 180px; } .header-username { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width:650px) { .chat-launcher { width: 56px; height: 56px; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom,0px)); } body:not(.ref-auth) .support-float { display: none; } }
.wallet-history-tabs { display: flex; gap: 30px; margin: 0 0 15px; border-bottom: 1px solid #ffffff14; }
.wallet-history-tabs a { min-height: 40px; padding: 8px 2px; font-size: 15px; color: #a1c5db; border-bottom: 3px solid transparent; }
.wallet-history-tabs a.active { color: #58c7ff; border-bottom-color: #58c7ff; }
@media(max-width:650px) { .wallet-history-tabs { gap: 18px; overflow-x: auto; } .wallet-history-tabs a { min-height: 44px; font-size: 14px; white-space: nowrap; } }

/* Keep mobile gestures on the page to scrolling, with a subtle field focus. */

.persistent-turnover {
  position: sticky;
  top: 0;
  z-index: 19;
  padding: 9px clamp(16px, 3vw, 48px);
  border-bottom: 1px solid #5eaad055;
  background: #102b4ef5;
  box-shadow: 0 8px 24px #0313294d;
  backdrop-filter: blur(12px);
}
.persistent-turnover[hidden] { display: none; }
.turnover-progress-inner {
  display: grid;
  grid-template-columns: minmax(190px, .75fr) minmax(340px, 2fr) auto;
  align-items: center;
  gap: 22px;
  max-width: 1300px;
  margin: auto;
}
.turnover-progress-copy { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 12px; }
.turnover-progress-kicker { grid-column: 1 / -1; color: #88cdec; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.turnover-progress-kicker b { color: #a9e8ff; }
.turnover-progress-copy strong { color: #f3faff; font-size: 16px; }
.turnover-progress-copy small { color: #91aec8; font-variant-numeric: tabular-nums; }
.turnover-pulse { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #66e0c1; box-shadow: 0 0 0 4px #66e0c119; }
.turnover-progress-track-wrap { min-width: 0; }
.turnover-progress-track-wrap progress { display: block; width: 100%; height: 8px; margin: 5px 0; overflow: hidden; border: 0; border-radius: 20px; background: #071c35; }
.turnover-progress-track-wrap progress::-webkit-progress-bar { background: #071c35; border-radius: 20px; }
.turnover-progress-track-wrap progress::-webkit-progress-value { border-radius: 20px; background: linear-gradient(90deg, #65aef1, #7ee4d1); transition: width .35s ease; }
.turnover-progress-track-wrap progress::-moz-progress-bar { border-radius: 20px; background: linear-gradient(90deg, #65aef1, #7ee4d1); }
.turnover-progress-meta { display: flex; justify-content: space-between; gap: 16px; color: #91aec8; font-size: 10px; white-space: nowrap; }
.turnover-progress-meta b { color: #d4ecfa; font-weight: 600; }
.turnover-progress-remaining b { color: #9fe7d5; }
.turnover-progress-link { color: #a6ddf7; font-size: 11px; font-weight: 700; white-space: nowrap; }

@media (max-width: 760px) {
  .persistent-turnover { padding: 8px 14px; }
  .turnover-progress-inner { grid-template-columns: 1fr auto; gap: 5px 12px; }
  .turnover-progress-copy { grid-column: 1; gap: 0 8px; }
  .turnover-progress-copy strong { font-size: 14px; }
  .turnover-progress-copy small { font-size: 10px; }
  .turnover-progress-track-wrap { grid-column: 1 / -1; grid-row: 2; }
  .turnover-progress-link { grid-column: 2; grid-row: 1; font-size: 0; }
  .turnover-progress-link span { font-size: 18px; }
  .turnover-progress-meta { font-size: 9px; }
  .turnover-progress-meta:first-child span:last-child { max-width: 45vw; overflow: hidden; text-overflow: ellipsis; }
}
html { touch-action: pan-x pan-y; }
.ref-frontend .auth-field input { font-size: 16px; }
.ref-frontend .auth-field input:focus { outline: none; box-shadow: 0 1px 0 #8ee4ff; border-bottom-color: #8ee4ff; }
.ref-frontend .auth-field.has-error input { border-bottom-color: #ffb7b7; }
.auth-field-help,.auth-form-status { color: #c4e3f5; font-size: 13px; line-height: 20px; margin: 0 0 0 44px; }
.auth-form-status:empty { display: none; }
.auth-form-status { color: #ffdbb7; }
