/* CheatGameiOS customer UI. Admin assets intentionally use a separate entry point. */
:root {
  --bg: #0b0f0d;
  --surface: #141a16;
  --elevated: #1c241e;
  --border: #2a352d;
  --control-border: #65756a;
  --lime: #c6ff00;
  --text: #f4f7f5;
  --muted: #a7b3aa;
  --danger: #ff9b9b;
  --warning: #f3ce78;
  --success: #a9e9ba;
  --radius: 12px;
  --heading: "Chakra Petch", sans-serif;
  --body: "Be Vietnam Pro", sans-serif;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}
body.client-ui {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}
body.client-ui * {
  box-sizing: border-box;
}
.client-ui [hidden] {
  display: none !important;
}
.client-ui a {
  color: inherit;
  text-decoration: none;
}
.client-ui button,
.client-ui input,
.client-ui select,
.client-ui textarea {
  font: inherit;
}
.client-ui button,
.client-ui a {
  -webkit-tap-highlight-color: transparent;
}
.client-ui button {
  cursor: pointer;
}
.client-ui img {
  max-width: 100%;
  height: auto;
}
.client-ui h1,
.client-ui h2,
.client-ui h3,
.client-ui h4 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text);
  letter-spacing: -0.025em;
}
.client-ui h1 {
  font-size: clamp(32px, 4vw, 48px);
}
.client-ui h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}
.client-ui h3 {
  font-size: 22px;
}
.client-ui p {
  color: var(--muted);
}
.client-ui
  :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.ui-icon {
  flex-shrink: 0;
  vertical-align: middle;
}
.site-container {
  width: 100%;
  max-width: 1264px;
  padding: 0 32px;
  margin: 0 auto;
}
.button {
  min-height: 48px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  line-height: 1.4;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
  white-space: normal;
  text-align: center;
}
.client-ui .button-primary {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
}
.client-ui .button-primary:hover {
  background: #d5ff4d;
  border-color: #d5ff4d;
  color: var(--bg);
}
.client-ui .button-secondary {
  background: var(--elevated);
  color: var(--text);
  border-color: var(--control-border);
}
.client-ui .button-secondary:hover {
  background: #29362d;
  border-color: var(--muted);
}
.client-ui .button-quiet {
  background: transparent;
  border-color: var(--control-border);
  color: var(--muted);
}
.client-ui .button-quiet:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.button-icon {
  padding: 10px;
  width: 48px;
  min-width: 48px;
  background: transparent;
  border-color: var(--control-border);
  color: var(--text);
}
.button-full {
  width: 100%;
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.client-ui .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-weight: 500;
  min-height: 44px;
}
.client-ui .text-link:hover {
  text-decoration: underline;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  padding: 12px 20px;
  background: var(--lime);
  color: var(--bg) !important;
  z-index: 1500;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  height: 88px;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 13, 0.97);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}
.brand img {
  width: auto;
  max-width: 170px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}
.brand-wordmark {
  font: 700 21px/1.2 var(--heading);
  letter-spacing: -0.7px;
  white-space: nowrap;
  color: var(--text);
}
.brand-wordmark span {
  color: var(--lime);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.desktop-nav > a,
.desktop-nav .nav-dropdown > button,
.login-link,
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.desktop-nav > a:hover,
.desktop-nav .nav-dropdown > button:hover,
.login-link:hover {
  color: var(--lime);
}
.desktop-nav .ui-icon {
  width: 16px;
  height: 16px;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > button:not(.button) {
  background: none;
  border: 0;
  padding: 0;
}
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--control-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 224px;
  box-shadow: 0 16px 40px #0006;
}
.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--muted);
}
.nav-dropdown-panel a:hover {
  background: var(--elevated);
  color: var(--lime);
}
.account-dropdown .nav-dropdown-panel {
  right: 0;
  left: auto;
}
.dropdown-caption {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--border);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.balance-chip {
  display: inline-flex;
  gap: 8px;
  color: var(--lime) !important;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-height: 44px;
  align-items: center;
}
.account-name {
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-menu-trigger {
  display: none;
}
.back-link {
  margin-left: auto;
}
.back-link:hover {
  color: var(--lime);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.accent-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--lime);
}
.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 75% 55%, #21331980, transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  min-height: 564px;
  align-items: center;
  gap: 24px;
}
.hero-copy {
  padding: 60px 0;
  position: relative;
  z-index: 1;
}
.hero-copy h1 {
  font-size: clamp(40px, 4.7vw, 64px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 24px;
}
.hero-copy h1 span {
  color: var(--lime);
}
.hero-copy > p {
  max-width: 500px;
  margin-bottom: 28px;
  line-height: 1.8;
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-notes {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-notes span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-notes .ui-icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}
.hero-art {
  height: 100%;
  min-height: 540px;
  position: relative;
  isolation: isolate;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 30px -32px 20px 0;
  background-image:
    linear-gradient(#c6ff0008 1px, transparent 1px),
    linear-gradient(90deg, #c6ff0008 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 75%);
  z-index: -1;
}
.hero-art > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  inset: 0;
  z-index: 1;
  filter: drop-shadow(0 24px 25px #0005);
}
.hero-orbit {
  width: 360px;
  height: 360px;
  border: 1px solid #c6ff0033;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #c6ff0015, transparent 65%);
}
.hero-orbit:after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed #c6ff0024;
  border-radius: 50%;
}
.hero-art-type {
  position: absolute;
  top: 65px;
  left: 18px;
  font: 700 64px/0.95 var(--heading);
  color: transparent;
  -webkit-text-stroke: 1px #a7b3aa32;
  letter-spacing: -0.03em;
  z-index: -1;
}
.hero-art-label {
  position: absolute;
  bottom: 24px;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #c6ff0045;
  padding-top: 12px;
  font: 500 10px/1.5 var(--body);
  letter-spacing: 0.16em;
  color: var(--muted);
  background: linear-gradient(transparent, #0b0f0dc0);
}
.art-cross {
  position: absolute;
  color: var(--lime);
  font: 300 26px monospace;
}
.cross-one {
  top: 30px;
  right: 40px;
}
.cross-two {
  bottom: 105px;
  left: 15px;
}
.promo-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 1px solid #c6ff0040;
  border-radius: 12px;
  background: #c6ff0008;
  margin-top: 32px;
}
.promo-strip > .ui-icon {
  color: var(--lime);
}
.promo-strip > div {
  flex: 1;
  min-width: 0;
}
.promo-strip strong {
  display: block;
  font-size: 14px;
}
.promo-strip span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.promo-strip a {
  font-size: 13px;
  color: var(--lime);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.section-block {
  padding: 64px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading h2 span {
  color: var(--muted);
}
.section-caption {
  max-width: 210px;
  color: var(--muted);
  font-size: 13px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.category-card,
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition:
    border-color 0.18s,
    background 0.18s;
}
.category-card:hover {
  border-color: #8cad42;
  background: #19221a;
}
.game-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, #45622555, transparent 70%),
    var(--elevated);
}
.game-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 0.18s;
}
.media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  position: absolute;
  inset: 0;
  text-align: center;
  font-family: var(--heading);
  color: var(--muted);
}
.media-fallback > .ui-icon {
  width: 40px;
  height: 40px;
  color: var(--lime);
}
.category-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-index {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.category-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.category-card p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
  min-height: 24px;
}
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.steps-grid li {
  position: relative;
  padding: 24px 0 0;
  border-top: 1px solid var(--control-border);
}
.step-number {
  position: absolute;
  right: 0;
  top: 16px;
  color: #68786b;
  font: 600 36px var(--heading);
}
.steps-grid li > .ui-icon {
  color: var(--lime);
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
}
.steps-grid h3 {
  font-size: 22px;
}
.steps-grid p {
  font-size: 14px;
  max-width: 300px;
  margin: 12px 0 0;
}
.support-section {
  padding: 48px 0 64px;
}
.support-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.support-symbol {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--lime);
  flex-shrink: 0;
}
.support-symbol .ui-icon {
  width: 28px;
  height: 28px;
}
.support-banner > div:nth-child(2) {
  flex: 1;
}
.support-banner .eyebrow {
  font-size: 10px;
  margin-bottom: 8px;
}
.support-banner h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.support-banner p {
  font-size: 13px;
  margin: 0;
}
.site-footer {
  background: #080c09;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-grid p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 290px;
}
.footer-grid h2 {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0;
  margin: 0 0 16px;
}
.footer-grid > div > a:not(.brand-wordmark) {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  min-height: 44px;
  overflow-wrap: anywhere;
}
.footer-grid > div > a:hover {
  color: var(--lime);
}
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
}
.footer-bottom > span:last-child {
  font-family: var(--heading);
}
.site-main {
  padding: 40px 0 80px;
  min-height: 65vh;
}
.page-heading {
  margin-bottom: 32px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.breadcrumb-link:hover {
  color: var(--lime);
}
.breadcrumb-separator {
  margin: 0 12px;
  color: var(--control-border);
}
.page-heading h1 {
  margin: 20px 0 12px;
  overflow-wrap: anywhere;
}
.page-heading > p {
  font-size: 14px;
  max-width: 680px;
  margin-bottom: 0;
}
.catalog-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.catalog-intro span,
.catalog-intro a {
  display: flex;
  gap: 8px;
  align-items: center;
}
.catalog-intro a {
  min-height: 44px;
  color: var(--lime);
}
.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body > .eyebrow {
  font-size: 10px;
  margin-bottom: 10px;
}
.product-body h2 {
  font-size: 24px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.buy-form {
  margin-top: auto;
}
.form-field {
  margin-bottom: 20px;
  min-width: 0;
}
.client-ui label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.client-ui
  :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.client-ui select {
  padding-right: 28px;
}
.client-ui input::placeholder {
  color: #9eaaa0;
  opacity: 1;
}
.client-ui [aria-invalid="true"] {
  border-color: var(--danger) !important;
}
.purchase-summary {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}
.purchase-summary .form-field {
  margin: 0;
}
.quantity-field {
  width: 92px;
  flex-shrink: 0;
}
.total-field {
  flex: 1;
  text-align: right;
  padding-bottom: 7px;
  min-width: 0;
}
.total-field span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.total-field strong {
  font: 700 26px/1.2 var(--heading);
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.product-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted) !important;
}
.product-guide:hover {
  color: var(--lime) !important;
}
.product-guide .ui-icon:last-child {
  width: 16px;
  margin-left: auto;
}
.field-error {
  font-size: 12px;
  color: var(--danger) !important;
  margin: 8px 0 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.help-text {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 16px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  min-width: 0;
}
.panel h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
.section-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-tabs a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.section-tabs a[aria-current] {
  color: var(--lime);
  border-color: var(--lime);
}
.section-tabs a:hover {
  color: var(--lime);
}
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.guide-sidebar {
  display: grid;
  gap: 24px;
}
.rich-content {
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.rich-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
}
.rich-content :where(iframe, video) {
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  min-height: 200px;
  border: 0;
  border-radius: 8px;
}
.rich-content table {
  display: block;
  max-width: 100%;
  overflow: auto;
}
.rich-content a {
  color: var(--lime);
  text-decoration: underline;
}
.rich-content h2,
.rich-content h3 {
  margin-top: 28px;
}
.rich-content [style*="color: rgb(0, 0, 0)"],
.rich-content [style*="color: #000"] {
  color: var(--text) !important;
}
.download-actions {
  display: grid;
  gap: 12px;
  margin: 24px 0 12px;
}
.support-card > .ui-icon {
  width: 28px;
  height: 28px;
  color: var(--lime);
  margin-bottom: 16px;
}
.support-card h3 {
  font-size: 22px;
}
.support-card p {
  font-size: 13px;
}
.recharge-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}
.qr-panel {
  text-align: center;
}
.qr-surface {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  max-width: 340px;
  margin: 0 auto 20px;
  color: #111;
  color-scheme: light;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-surface img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}
.qr-panel p {
  font-size: 12px;
}
.bank-details {
  margin: 0;
}
.bank-detail-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.bank-detail-row:first-child {
  padding-top: 0;
}
.bank-detail-row:last-child {
  border-bottom: 0;
}
.bank-detail-row dt {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 6px;
}
.bank-detail-row dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.bank-detail-row dd strong {
  font-family: var(--heading);
  font-size: 24px;
  color: var(--lime);
  min-width: 0;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.button-copy {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 11px;
  flex-shrink: 0;
}
.notice {
  padding: 16px 20px;
  border: 1px solid #6c8050;
  border-radius: 8px;
  background: #c6ff0007;
  color: var(--muted);
  font-size: 13px;
  margin: 24px 0;
}
.notice strong {
  color: var(--text);
}
.notice-warning {
  border-color: #8f7843;
  background: #f3ce7808;
}
.notice ol {
  padding-left: 20px;
  margin: 10px 0 0;
}
.history-section {
  margin-top: 48px;
}
.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.history-heading h2 {
  margin: 0;
  font-size: 26px;
}
.history-heading .button {
  min-height: 44px;
  font-size: 12px;
}
.history-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 24px;
  min-width: 0;
}
.client-table {
  width: 100% !important;
  border-collapse: collapse;
  font-size: 12px;
  color: var(--text);
  table-layout: auto;
}
.client-table th {
  font-weight: 500;
  color: var(--muted);
  font-size: 11px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--control-border);
  text-align: left;
  white-space: normal;
}
.client-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  max-width: 360px;
  overflow-wrap: anywhere;
}
.cell-value {
  min-width: 0;
}
.client-table tbody tr:last-child td {
  border-bottom: 0;
}
.client-table td:first-child {
  color: var(--muted);
}
.client-table code {
  font:
    400 12px/1.7 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: var(--text);
}
.key-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.key-cell code {
  flex: 1;
}
.key-cell .button-copy span {
  display: none;
}
.key-cell .button-copy {
  width: 44px;
}
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.download-links .button {
  min-height: 44px;
  font-size: 11px;
  padding: 8px 12px;
}
.status-tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #607466;
  border-radius: 5px;
  padding: 4px 8px;
  color: var(--success);
  font-size: 11px;
  line-height: 1.5;
}
.client-ui .badge {
  font-size: 11px;
  padding: 6px 8px;
  white-space: normal;
  line-height: 1.5;
}
.client-ui .badge-success,
.client-ui .bg-success {
  background: #254632 !important;
  color: #c2f3d3;
}
.client-ui .badge-danger,
.client-ui .bg-danger {
  background: #552b30 !important;
  color: #ffd1d1;
}
.client-ui .badge-warning,
.client-ui .bg-warning {
  background: #493c21 !important;
  color: #ffe3a3;
}
.client-ui .badge-info,
.client-ui .bg-info {
  background: #203f4a !important;
  color: #c4eaff;
}
.client-ui .badge-primary,
.client-ui .bg-primary {
  background: #2d3c1c !important;
  color: #d9ff9c;
}
.client-ui .badge-dark {
  background: var(--elevated);
  color: var(--text);
}
.amount-positive {
  color: var(--success);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-direction: column;
}
.empty-state > .ui-icon {
  width: 36px;
  height: 36px;
  color: var(--lime);
}
.empty-state p {
  margin: 0;
}
.dataTables_wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.dataTables_wrapper > .client-table {
  flex: 0 0 100%;
  margin: 0;
}
.dataTables_length {
  font-size: 12px;
  color: var(--muted);
}
.dataTables_length select {
  width: auto !important;
  min-height: 44px !important;
  padding: 6px 26px 6px 10px !important;
  font-size: 12px !important;
  margin: 0 8px;
}
.dataTables_length label,
.dataTables_filter label {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dataTables_filter {
  margin-left: auto;
}
.dataTables_filter input {
  max-width: 220px;
  min-height: 44px !important;
  font-size: 12px !important;
}
.dataTables_info {
  font-size: 11px;
  color: var(--muted);
}
.dataTables_paginate {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
  font-size: 12px;
}
.dataTables_paginate > span {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.paginate_button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted) !important;
}
.paginate_button.current {
  background: var(--lime);
  color: var(--bg) !important;
  border-color: var(--lime);
}
.paginate_button.disabled {
  opacity: 0.5;
  cursor: default;
}
.sorting,
.sorting_asc,
.sorting_desc {
  cursor: pointer;
}
.sorting_asc:after {
  content: " ↑";
  color: var(--lime);
}
.sorting_desc:after {
  content: " ↓";
  color: var(--lime);
}
.client-table .dataTables_empty {
  text-align: center;
  padding: 32px;
  color: var(--muted);
}
.auth-main {
  min-height: calc(100vh - 180px);
  padding: 56px 16px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 20%, #c6ff0008, transparent 65%);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
}
.auth-card-wide {
  max-width: 620px;
}
.auth-symbol {
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #c6ff000a;
  border: 1px solid #c6ff0030;
  border-radius: 12px;
  margin-bottom: 24px;
}
.auth-card h1 {
  font-size: 32px;
  margin: 0 0 12px;
}
.auth-card > p {
  font-size: 13px;
  margin-bottom: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-grid .full-width {
  grid-column: 1/-1;
}
.password-control {
  position: relative;
}
.password-control input {
  padding-right: 55px !important;
}
.password-toggle {
  position: absolute;
  right: 2px;
  top: 2px;
  min-height: 44px;
  width: 44px;
  background: none;
  border: 0;
  color: var(--muted);
  border-radius: 6px;
}
.auth-form-link {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--lime) !important;
  min-height: 44px;
  align-items: center;
  margin-top: -10px;
  margin-bottom: 12px;
}
.auth-bottom {
  text-align: center;
  margin: 24px 0 0 !important;
  font-size: 12px !important;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.auth-bottom a {
  color: var(--lime);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.form-message {
  padding: 14px 16px;
  font-size: 13px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #a76565;
  color: var(--danger);
  background: #ff9b9b08;
  overflow-wrap: anywhere;
}
.form-message.is-success {
  color: var(--success);
  border-color: #66866c;
}
.captcha-control {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.captcha-control input {
  flex: 1;
  min-width: 100px !important;
}
.captcha-control img {
  width: 100px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.captcha-control .button {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
}
.compact-layout .site-footer {
  padding: 0;
}
.compact-layout .footer-bottom {
  border: 0;
}
.copy-status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--elevated);
  color: var(--text);
  border: 1px solid var(--control-border);
  border-radius: 8px;
  padding: 12px 20px;
  z-index: 1400;
  box-shadow: 0 8px 24px #0004;
  font-size: 13px;
  max-width: calc(100vw - 32px);
  width: max-content;
}
.copy-status:empty {
  display: none;
}
.client-ui .client-modal {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--control-border);
  border-radius: 16px;
  padding: 28px;
  max-width: calc(100vw - 32px);
}
.client-ui .client-modal .swal2-title {
  color: var(--text);
  font: 700 28px/1.25 var(--heading);
  padding: 12px 0;
}
.client-ui .client-modal .swal2-html-container {
  color: var(--muted);
  font: 400 14px/1.7 var(--body);
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}
.client-ui .client-modal .swal2-actions {
  gap: 12px;
  margin-top: 24px;
}
.quote-list {
  margin: 0;
  text-align: left;
}
.quote-list > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.quote-list dt {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}
.quote-list dd {
  text-align: right;
  color: var(--text);
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
  max-width: 65%;
}
.quote-list .quote-total dd {
  color: var(--lime);
  font-size: 24px;
  font-family: var(--heading);
}
.quote-note {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 0;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 1090;
}
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, calc(100vw - 24px));
  background: var(--surface);
  z-index: 1100;
  border-left: 1px solid var(--control-border);
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}
.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font: 700 24px var(--heading);
}
.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-drawer nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 8px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
}
.mobile-drawer nav a:hover {
  background: var(--elevated);
  color: var(--lime);
}
.drawer-account {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}
.drawer-account strong {
  font: 700 28px var(--heading);
  color: var(--lime);
  margin-top: 8px;
}
.drawer-bottom {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 32px;
}
.drawer-open {
  overflow: hidden;
}
.standalone-main {
  max-width: 1000px;
  margin: auto;
  padding: 40px 24px 64px;
}
.standalone-main .panel {
  margin: 24px 0;
}
.download-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.download-hero > img {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
}
.download-hero h1 {
  font-size: 36px;
  margin: 0 0 8px;
}
.download-hero p {
  margin: 0;
  font-size: 14px;
}
.standalone-steps {
  display: grid;
  gap: 24px;
  list-style: none;
  padding: 0;
  counter-reset: install;
}
.standalone-steps > li {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  counter-increment: install;
}
.standalone-steps h3:before {
  content: counter(install, decimal-leading-zero) " / ";
  color: var(--lime);
}
.standalone-steps img {
  width: auto;
  max-height: 620px;
  object-fit: contain;
  display: block;
  margin: 20px auto 0;
  border-radius: 12px;
}
.embedded-frame {
  width: 100%;
  height: 650px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.standalone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
}
.standalone-nav > a:last-child {
  font-size: 13px;
  color: var(--lime);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.standalone-footer {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 768px) and (max-width: 991px) {
  .site-container {
    padding: 0 24px;
  }
}
@media (max-width: 1199px) {
  .header-inner {
    gap: 24px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .header-actions {
    gap: 12px;
  }
  .desktop-register {
    padding: 11px 14px;
  }
  .account-name {
    max-width: 90px;
  }
  .hero-copy h1 {
    font-size: 56px;
  }
  .game-grid {
    gap: 20px;
  }
  .product-body {
    padding: 20px;
  }
  .footer-grid {
    gap: 24px;
  }
  .client-table td {
    padding: 16px 8px;
  }
  .client-table th {
    padding: 14px 8px;
  }
}
@media (max-width: 991px) {
  .desktop-nav,
  .desktop-register,
  .header-actions > .login-link,
  .account-dropdown {
    display: none;
  }
  .mobile-menu-trigger {
    display: flex;
  }
  .site-header {
    height: 76px;
  }
  .hero-grid {
    min-height: 470px;
    grid-template-columns: 1.15fr 1fr;
  }
  .hero-art {
    min-height: 470px;
  }
  .hero-copy {
    padding: 48px 0;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .hero-copy > p {
    font-size: 13px;
  }
  .hero-art-type {
    font-size: 46px;
    left: 0;
    top: 80px;
  }
  .hero-orbit {
    width: 280px;
    height: 280px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 11px 14px;
  }
  .hero-notes {
    gap: 16px;
    font-size: 10px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-caption {
    display: none;
  }
  .section-block {
    padding: 48px 0;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  .footer-grid > div:last-child h2 {
    margin: 0;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .recharge-layout {
    gap: 24px;
  }
  .history-panel {
    padding: 20px;
  }
  .client-table,
  .client-table tbody {
    display: block;
    width: 100%;
  }
  .client-table thead {
    display: none;
  }
  .client-table tbody {
    display: grid;
    gap: 16px;
  }
  .client-table tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    background: var(--bg);
  }
  .client-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    max-width: none;
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
  }
  .client-table td:before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    flex: 0 0 100px;
    padding-top: 3px;
  }
  .client-table .cell-value {
    flex: 1;
    text-align: right;
    min-width: 0;
  }
  .client-table td:first-child {
    font-size: 11px;
  }
  .client-table td:last-child {
    border: 0;
  }
  .client-table .key-cell {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .client-table code {
    font-size: 13px;
  }
  .client-table .download-links {
    justify-content: flex-end;
  }
  .client-table .dataTables_empty {
    display: block;
  }
  .client-table .dataTables_empty:before {
    display: none;
  }
  .dataTables_wrapper {
    gap: 16px;
  }
  .dataTables_wrapper > .client-table {
    flex-basis: 100%;
  }
  .dataTables_length {
    order: 1;
  }
  .dataTables_filter {
    order: 0;
    width: 100%;
    margin: 0;
  }
  .dataTables_filter input {
    max-width: none;
    flex: 1;
  }
  .dataTables_filter label {
    width: 100%;
  }
  .dataTables_wrapper > table {
    order: 2;
  }
  .dataTables_info {
    order: 3;
  }
  .dataTables_paginate {
    order: 4;
    margin: 0 0 0 auto;
  }
  .support-banner {
    flex-wrap: wrap;
  }
  .support-banner > .button {
    margin-left: 88px;
  }
  .client-ui .qr-surface {
    padding: 16px;
    min-height: 220px;
  }
}
@media (max-width: 767px) {
  .site-container {
    padding: 0 16px;
  }
  .header-inner {
    gap: 16px;
  }
  .site-header {
    height: 72px;
  }
  .brand img {
    max-width: 145px;
    max-height: 38px;
  }
  .brand-wordmark {
    font-size: 20px;
  }
  .header-actions {
    gap: 12px;
  }
  .balance-chip {
    font-size: 12px;
    gap: 6px;
  }
  .balance-chip .ui-icon {
    width: 16px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
  }
  .hero-copy {
    padding: 40px 0 0;
    width: 100%;
  }
  .hero-copy h1 {
    font-size: clamp(40px, 8vw, 56px);
    margin-bottom: 20px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 520px;
    margin-bottom: 24px;
  }
  .hero-actions .button {
    font-size: 13px;
  }
  .hero-notes {
    font-size: 11px;
    margin-top: 24px;
  }
  .hero-art {
    min-height: 310px;
    height: 310px;
    width: 100%;
    max-width: 460px;
    align-self: center;
    margin-top: 10px;
  }
  .hero-art img {
    object-fit: contain;
    object-position: center 65%;
    height: 120%;
    top: -20%;
    width: 100%;
    mask-image: linear-gradient(#000 75%, transparent);
  }
  .hero-orbit {
    width: 240px;
    height: 240px;
    top: 50%;
  }
  .hero-art-type {
    font-size: 52px;
    top: 28px;
    left: 12px;
  }
  .hero-art-label {
    bottom: 12px;
    font-size: 8px;
    left: 8px;
    right: 8px;
  }
  .cross-one {
    top: 12px;
    right: 16px;
  }
  .cross-two {
    bottom: 80px;
    left: 12px;
  }
  .promo-strip {
    padding: 16px;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .promo-strip strong {
    font-size: 13px;
  }
  .promo-strip > div {
    flex-basis: calc(100% - 36px);
  }
  .promo-strip a {
    margin-left: 32px;
    min-height: 44px;
    font-size: 12px;
  }
  .section-block {
    padding: 40px 0;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .section-heading .eyebrow {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .section-heading h2 {
    font-size: 28px;
    max-width: 480px;
  }
  .game-grid {
    gap: 16px;
  }
  .category-card-body {
    padding: 20px;
  }
  .category-card h3 {
    font-size: 24px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps-grid li {
    padding: 20px 60px 0 48px;
    min-height: 120px;
  }
  .steps-grid li > .ui-icon {
    position: absolute;
    left: 0;
    top: 24px;
    width: 24px;
    height: 24px;
  }
  .steps-grid h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .steps-grid p {
    font-size: 13px;
    max-width: none;
    margin-top: 0;
  }
  .step-number {
    font-size: 28px;
    top: 16px;
  }
  .support-section {
    padding: 32px 0 40px;
  }
  .support-banner {
    padding: 24px;
    gap: 16px;
  }
  .support-symbol {
    display: none;
  }
  .support-banner > div:nth-child(2) {
    flex-basis: 100%;
  }
  .support-banner h2 {
    font-size: 26px;
  }
  .support-banner > .button {
    margin-left: 0;
    width: 100%;
  }
  .site-footer {
    padding-top: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    display: block;
  }
  .footer-grid > div:last-child h2 {
    margin-bottom: 12px;
  }
  .footer-grid > div > a:not(.brand-wordmark) {
    min-height: 44px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
  .site-main {
    padding: 28px 0 48px;
  }
  .page-heading {
    margin-bottom: 24px;
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 32px;
    margin-top: 16px;
  }
  .page-heading > p {
    font-size: 13px;
  }
  .catalog-intro {
    font-size: 11px;
    gap: 8px;
  }
  .catalog-intro .ui-icon {
    width: 16px;
  }
  .product-body {
    padding: 24px;
  }
  .product-body h2 {
    font-size: 26px;
  }
  .guide-sidebar {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 24px;
  }
  .guide-content {
    padding: 24px 20px;
  }
  .rich-content {
    font-size: 14px;
  }
  .section-tabs {
    gap: 4px;
  }
  .section-tabs a {
    padding: 12px 10px;
    font-size: 12px;
  }
  .section-tabs .ui-icon {
    width: 16px;
  }
  .recharge-layout {
    grid-template-columns: 1fr;
  }
  .qr-surface {
    max-width: 310px;
  }
  .history-section {
    margin-top: 32px;
  }
  .history-heading h2 {
    font-size: 24px;
  }
  .history-panel {
    padding: 16px;
  }
  .dataTables_length label {
    font-size: 11px;
  }
  .dataTables_info {
    flex-basis: 100%;
  }
  .dataTables_paginate {
    margin: 0;
  }
  .client-table tbody tr {
    padding: 12px;
  }
  .client-table td {
    gap: 10px;
  }
  .client-table td:before {
    flex-basis: 90px;
  }
  .auth-main {
    padding: 32px 16px 48px;
    min-height: calc(100vh - 180px);
  }
  .auth-card {
    padding: 28px 24px;
  }
  .auth-card h1 {
    font-size: 30px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-symbol {
    margin-bottom: 20px;
  }
  .compact-layout .back-link {
    font-size: 11px;
  }
  .standalone-main {
    padding: 24px 16px 48px;
  }
  .download-hero {
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .download-hero h1 {
    font-size: 30px;
  }
  .download-hero > img {
    width: 72px;
    height: 72px;
  }
  .standalone-steps > li {
    padding: 24px 20px;
  }
  .embedded-frame {
    height: 580px;
  }
  .standalone-nav .brand-wordmark {
    font-size: 18px;
  }
}
@media (max-width: 575px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions .button {
    padding: 12px 8px;
    font-size: 12px;
    gap: 6px;
  }
  .hero-actions .ui-icon {
    width: 17px;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
  }
  .balance-chip .ui-icon {
    display: none;
  }
  .catalog-intro {
    align-items: flex-start;
  }
  .catalog-intro span {
    max-width: 60%;
    align-items: flex-start;
  }
  .catalog-intro a {
    white-space: nowrap;
  }
  .qr-panel {
    padding: 20px;
  }
  .bank-detail-row dd {
    gap: 10px;
    font-size: 14px;
  }
  .bank-detail-row dd strong {
    font-size: 22px;
  }
  .button-copy span {
    display: none;
  }
  .button-copy {
    min-width: 44px;
  }
  .client-ui .client-modal {
    padding: 20px;
  }
  .client-ui .client-modal .swal2-title {
    font-size: 24px;
  }
  .client-ui .client-modal .swal2-actions {
    width: 100%;
    flex-direction: column;
  }
  .client-ui .client-modal .swal2-actions .button {
    width: 100%;
  }
  .history-heading {
    flex-wrap: wrap;
  }
  .client-table .cell-value {
    overflow-wrap: anywhere;
  }
  .client-table td:before {
    flex-basis: 76px;
  }
  .footer-grid p {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .client-ui *,
  .client-ui *:before,
  .client-ui *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.footer-grid .brand-wordmark,
.standalone-nav .brand-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.mobile-drawer {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.copy-status {
  bottom: calc(24px + env(safe-area-inset-bottom));
}

/* The bundled DataTables build uses Bootstrap pagination markup. */
.client-ui .dataTables_paginate ul.pagination {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.client-ui .dataTables_paginate li.paginate_button {
  padding: 0;
  border: 0;
  min-width: 0;
  min-height: 0;
  opacity: 1;
  background: transparent;
}
.client-ui .dataTables_paginate .page-link {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--control-border);
  border-radius: 6px;
  background: var(--elevated);
  color: var(--muted);
  line-height: 1.4;
  font-size: 12px;
}
.client-ui .dataTables_paginate .page-item.active .page-link {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}
.client-ui .dataTables_paginate .page-item.disabled .page-link {
  color: var(--muted);
  background: var(--surface);
  border-color: var(--border);
}
.client-ui .dataTables_paginate .page-item:not(.disabled) .page-link:hover {
  border-color: var(--lime);
  color: var(--text);
}
.client-ui .dataTables_paginate .page-item.active .page-link:hover {
  color: var(--bg);
}
/* Preserve the Bootstrap row structure emitted by this DataTables bundle. */
.client-ui .dataTables_wrapper {
  display: block;
  padding: 0;
}
.client-ui .dataTables_wrapper > .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  align-items: center;
}
.client-ui .dataTables_wrapper > .row + .row {
  margin-top: 20px;
}
.client-ui .dataTables_wrapper > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
  min-width: 0;
}
.client-ui .dataTables_filter label {
  justify-content: flex-end;
  white-space: nowrap;
}
.client-ui .dataTables_filter input {
  flex: 1;
  width: auto;
}
.client-ui .dataTables_paginate {
  justify-content: flex-end;
}
@media (max-width: 991px) {
  .client-ui .dataTables_wrapper > .row:first-child {
    gap: 16px;
  }
  .client-ui .dataTables_wrapper > .row:first-child > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .client-ui
    .dataTables_wrapper
    > .row:first-child
    > [class*="col-"]:first-child {
    order: 2;
  }
  .client-ui
    .dataTables_wrapper
    > .row:first-child
    > [class*="col-"]:last-child {
    order: 1;
  }
  .client-ui .dataTables_wrapper > .row:last-child {
    gap: 16px;
  }
  .client-ui .dataTables_wrapper > .row:last-child > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .client-ui .dataTables_filter label {
    justify-content: flex-start;
  }
  .client-ui .dataTables_paginate {
    justify-content: flex-start;
  }
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 5px;
  color: var(--muted);
}
.language-switch a[aria-current] {
  background: var(--elevated);
  color: var(--lime);
}
.language-switch a:hover {
  color: var(--lime);
}
.compact-layout .header-inner > .language-switch {
  margin-left: auto;
}
.compact-layout .back-link {
  margin-left: 0;
}
@media (max-width: 767px) {
  .header-actions {
    gap: 8px;
  }
  .header-actions .language-switch a {
    min-width: 44px;
    font-size: 10px;
  }
  .client-ui .header-actions > .balance-chip {
    display: none;
  }
  .standalone-nav {
    flex-wrap: wrap;
  }
  .standalone-nav .language-switch {
    margin-left: auto;
  }
  .compact-layout .back-link .ui-icon {
    display: none;
  }
  .compact-layout .header-inner {
    gap: 8px;
  }
  .compact-layout .brand {
    max-width: 145px;
  }
}
.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}
.payment-layout .panel > p {
  font-size: 14px;
}
.payment-instructions {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.payment-instructions li + li {
  margin-top: 16px;
}
.payment-layout code {
  color: var(--text);
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}
.payment-layout .bank-detail-row dd {
  flex-wrap: wrap;
}
.payment-layout .bank-detail-row dd code {
  flex: 1;
  min-width: 140px;
}
.payment-state {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--elevated);
  border: 1px solid var(--control-border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}
.payment-state[data-state="completed"] {
  color: var(--success);
  border-color: #64816d;
}
.payment-state[data-state="review"],
.payment-state[data-state="expired"] {
  color: var(--warning);
  border-color: #8f7843;
}
.payment-unavailable {
  max-width: 720px;
}
.payment-unavailable > .ui-icon {
  color: var(--lime);
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
}
.payment-layout .form-message {
  margin-top: 24px;
}
.payment-layout .qr-surface {
  margin-top: 24px;
  min-height: 0;
  aspect-ratio: 1;
}
.payment-layout .qr-surface svg {
  display: block;
  width: 100%;
  height: auto;
}
#payment-state:focus {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
@media (max-width: 767px) {
  .payment-layout {
    grid-template-columns: 1fr;
  }
  .payment-layout .panel {
    padding: 24px 20px;
  }
  .section-tabs a {
    font-size: 11px;
    padding: 12px 8px;
  }
  .section-tabs .ui-icon {
    display: none;
  }
}
@media (max-width: 575px) {
  .recharge-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 0;
    gap: 8px;
  }
  .recharge-tabs a {
    border: 1px solid var(--border);
    border-radius: 8px;
    min-height: 48px;
    font-size: 12px;
    padding: 10px;
  }
  .recharge-tabs a[aria-current] {
    border-color: var(--lime);
    background: var(--elevated);
  }
}
