/* Final interaction and category-art refinements */
.game-art-branded {
  width: min(88%, 190px);
  height: 116px;
  overflow: hidden;
  border-color: hsla(var(--art-hue), 82%, 72%, .48);
  box-shadow: inset 0 -28px 40px rgba(0, 0, 0, .42),
    0 18px 34px rgba(0, 0, 0, .38),
    0 0 28px hsla(var(--art-hue), 82%, 58%, .18);
}

.game-art-casino.game-art-branded {
  background: radial-gradient(circle at 76% 18%, hsla(var(--art-hue), 95%, 75%, .55), transparent 22%),
    radial-gradient(ellipse at 50% 42%, #16834c 0 37%, #075337 38% 61%, transparent 62%),
    linear-gradient(145deg, hsl(var(--art-hue), 58%, 25%), #180609 58%, #05070e);
}

.game-art-fishing.game-art-branded {
  background: radial-gradient(circle at 78% 20%, hsla(var(--art-hue), 95%, 78%, .5), transparent 16%),
    linear-gradient(180deg, hsl(calc(var(--art-hue) + 176), 82%, 53%) 0 36%, #087b83 37% 63%, #043842 100%);
}

.game-art-branded b {
  top: 10px;
  left: 11px;
  z-index: 5;
  width: auto;
  height: auto;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #fff;
  background: rgba(3, 6, 16, .58);
  font: 900 10px/1 Inter, Arial, sans-serif;
  letter-spacing: .9px;
  text-shadow: 0 1px 5px #000;
  backdrop-filter: blur(6px);
}

.game-art-branded em {
  right: 9px;
  bottom: 8px;
  left: 9px;
  z-index: 6;
  width: auto;
  height: auto;
  overflow: hidden;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #fff;
  background: rgba(2, 5, 13, .72);
  font: normal 800 9px/1.25 Inter, Arial, sans-serif;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 5px #000;
  backdrop-filter: blur(7px);
}

.game-card,
.provider-card,
.gameprovider-item {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

.game-card:hover,
.provider-card:hover,
.gameprovider-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 216, 120, .48);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .42), 0 0 22px rgba(212, 175, 55, .1);
}

.loading-screen {
  z-index: 60000;
  background: radial-gradient(circle at 50% 48%, rgba(212, 175, 55, .10), transparent 22%), rgba(2, 4, 10, .82);
  backdrop-filter: blur(10px) saturate(.8);
}

.loader-visual-main {
  width: 58px;
  height: 58px;
  border-width: 4px;
  border-color: rgba(245, 216, 120, .16);
  border-top-color: #f5d878;
  border-right-color: #d4af37;
  box-shadow: 0 0 0 1px rgba(245, 216, 120, .08), 0 0 32px rgba(212, 175, 55, .22);
}

.toast {
  top: 22px !important;
  right: 22px !important;
  left: auto !important;
  bottom: auto !important;
  width: min(390px, calc(100vw - 32px));
  min-height: 70px;
  border-radius: 14px !important;
  transform: translateY(-18px) scale(.98) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .56), 0 0 28px rgba(212, 175, 55, .12) !important;
}

.toast.show {
  transform: translateY(0) scale(1) !important;
}

.toast[data-type="success"] {
  border-color: rgba(34, 197, 94, .5) !important;
}

.toast[data-type="warning"] {
  border-color: rgba(245, 158, 11, .56) !important;
}

.toast[data-type="error"] {
  border-color: rgba(239, 68, 68, .56) !important;
}

.game-transfer-modal:focus-within {
  border-color: rgba(245, 216, 120, .62) !important;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .72), 0 0 56px rgba(212, 175, 55, .18) !important;
}

@media (max-width: 560px) {
  .toast {
    top: 12px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto;
  }

  .game-art-branded {
    width: min(90%, 176px);
    height: 106px;
  }
}

/* V24: Live Chat ASEAN777 dengan logo resmi. */
.ai-chat-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 11810;
  min-width: 218px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 8px;
  border: 1px solid rgba(245, 216, 120, .68);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, rgba(18, 23, 40, .98), rgba(5, 8, 18, .98));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .48), 0 0 26px rgba(212, 175, 55, .24);
  font-family: inherit;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, opacity .2s ease;
}
.ai-chat-launcher:hover {
  transform: translateY(-3px);
  border-color: var(--c-gold-light);
}
.ai-chat-launcher.is-open {
  opacity: .32;
  pointer-events: none;
}
.ai-chat-launcher-icon,
.ai-chat-avatar {
  display: grid;
  overflow: hidden;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(245, 216, 120, .72);
  border-radius: 50%;
  background: #050815;
  box-shadow: 0 0 18px rgba(212, 175, 55, .34);
}
.ai-chat-brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.04);
}
.ai-chat-launcher-icon {
  width: 42px;
  height: 42px;
  font-size: 13px;
}
.ai-chat-launcher-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.ai-chat-launcher-copy b {
  font-size: 13px;
}
.ai-chat-launcher-copy small {
  margin-top: 4px;
  color: #86efac;
  font-size: 10px;
}
.ai-chat-notification {
  position: absolute;
  top: -4px;
  right: 3px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 2px solid #080a12;
  border-radius: 50%;
  color: #fff;
  background: #ef4444;
  font-size: 10px;
  font-weight: 1000;
}
.ai-chat-panel {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 11820;
  width: min(386px, calc(100vw - 24px));
  height: min(640px, calc(100vh - 118px));
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(212, 175, 55, .48);
  border-radius: 22px;
  background: radial-gradient(circle at 92% -5%, rgba(212, 175, 55, .20), transparent 34%), linear-gradient(155deg, #111522, #060811 68%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .68), 0 0 42px rgba(212, 175, 55, .12);
  animation: aiChatEnter .24s ease-out both;
}
@keyframes aiChatEnter {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-chat-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-bottom: 1px solid rgba(212, 175, 55, .18);
  background: rgba(255, 255, 255, .025);
}
.ai-chat-avatar {
  width: 44px;
  height: 44px;
  font-size: 13px;
}
.ai-chat-header-copy {
  min-width: 0;
  flex: 1;
}
.ai-chat-header-copy h2 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}
.ai-chat-header-copy p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0 0;
  color: var(--c-muted2);
  font-size: 10px;
}
.ai-chat-online-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 9px #22c55e;
}
.ai-chat-online-dot.is-offline {
  background: #f59e0b;
  box-shadow: 0 0 9px #f59e0b;
}
.ai-chat-header-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  font: 800 17px/1 inherit;
  cursor: pointer;
}
.ai-chat-header-btn:hover {
  border-color: rgba(245, 216, 120, .48);
  color: var(--c-gold-light);
}
.ai-chat-safety-note {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: #fcd34d;
  background: rgba(245, 158, 11, .07);
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, .35) transparent;
}
.ai-chat-message {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 12px;
}
.ai-chat-message.is-user {
  align-items: flex-end;
}
.ai-chat-bubble {
  max-width: 86%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 5px 14px 14px 14px;
  color: #f8fafc;
  background: rgba(255, 255, 255, .065);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ai-chat-message.is-user .ai-chat-bubble {
  border-color: rgba(245, 216, 120, .36);
  border-radius: 14px 5px 14px 14px;
  color: #211500;
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold));
  font-weight: 700;
}
.ai-chat-message small {
  margin-top: 4px;
  padding: 0 3px;
  color: var(--c-muted);
  font-size: 8px;
}
.ai-chat-typing .ai-chat-bubble {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
}
.ai-chat-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold-light);
  animation: aiTyping 1s ease-in-out infinite;
}
.ai-chat-typing i:nth-child(2) { animation-delay: .14s; }
.ai-chat-typing i:nth-child(3) { animation-delay: .28s; }
@keyframes aiTyping {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.ai-chat-quick {
  display: flex;
  overflow-x: auto;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  scrollbar-width: none;
}
.ai-chat-quick::-webkit-scrollbar { display: none; }
.ai-chat-quick button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(212, 175, 55, .30);
  border-radius: 999px;
  color: var(--c-gold-light);
  background: rgba(212, 175, 55, .07);
  font: 800 9px/1 inherit;
  cursor: pointer;
}
.ai-chat-quick button:hover {
  background: rgba(212, 175, 55, .14);
}
.ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 7px;
  padding: 9px 10px;
  border-top: 1px solid rgba(212, 175, 55, .16);
  background: rgba(0, 0, 0, .18);
}
.ai-chat-form input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .055);
  font: 500 12px/1 inherit;
  outline: none;
}
.ai-chat-form input:focus {
  border-color: rgba(245, 216, 120, .58);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .08);
}
.ai-chat-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #1a0f00;
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold));
  font-size: 17px;
  font-weight: 1000;
  cursor: pointer;
}
.ai-chat-form button:disabled,
.ai-chat-form input:disabled {
  cursor: wait;
  opacity: .62;
}
.ai-chat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px 10px;
  color: var(--c-muted);
  font-size: 8px;
}
.ai-chat-footer a {
  color: #86efac;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}
.ai-chat-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .ai-chat-launcher {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .ai-chat-panel {
    bottom: calc(152px + env(safe-area-inset-bottom));
    height: min(620px, calc(100vh - 170px - env(safe-area-inset-bottom)));
  }
}

@media (max-width: 560px) {
  .ai-chat-launcher {
    right: 10px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    min-width: 198px;
    height: 52px;
    padding-right: 12px;
  }
  .ai-chat-launcher-icon {
    width: 38px;
    height: 38px;
  }
  .ai-chat-panel {
    right: 10px;
    bottom: calc(152px + env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    height: min(620px, calc(100vh - 170px - env(safe-area-inset-bottom)));
    border-radius: 18px;
  }
}


/* ===== V7 MOBILE DOCK, CENTER TOAST, ACCOUNT PANEL, LOCAL GAME IMAGES ===== */
.toast {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 65000 !important;
  width: min(430px, calc(100vw - 34px)) !important;
  min-height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 17px 22px !important;
  border: 1px solid rgba(245,216,120,.42) !important;
  border-radius: 16px !important;
  background: radial-gradient(circle at 85% 0%, rgba(212,175,55,.15), transparent 35%), rgba(7,10,19,.97) !important;
  color: #fff !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, -50%) scale(.9) !important;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.68), 0 0 34px rgba(212,175,55,.14) !important;
  backdrop-filter: blur(14px) saturate(1.1) !important;
}
.toast.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

.mobile-dock {
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  min-height: 72px !important;
  padding: 7px max(12px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
  overflow: visible !important;
}
.mobile-dock .dock-btn {
  min-width: 0 !important;
  min-height: 58px !important;
  gap: 4px !important;
  overflow: visible !important;
}
.mobile-dock .dock-btn > small {
  display: block;
  color: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1px;
}
.dock-svg {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}
.dock-svg svg,
.dock-transfer-circle svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.mobile-dock .dock-transfer {
  position: relative;
  z-index: 4;
  padding-top: 0 !important;
  transform: none !important;
}
.dock-transfer-circle {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-top: -32px;
  padding: 17px;
  border: 5px solid #080b14;
  border-radius: 50%;
  color: #1b1203;
  background: linear-gradient(145deg,#fff0a0,#d4af37 58%,#a87513);
  box-shadow: 0 9px 30px rgba(212,175,55,.38), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .2s ease, filter .2s ease;
}
.mobile-dock .dock-transfer:active .dock-transfer-circle {
  transform: scale(.94);
  filter: brightness(1.08);
}
.mobile-dock .dock-transfer small {
  margin-top: -2px;
  color: #f5d878 !important;
}

.provider-logo-box {
  height: 110px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #07101c !important;
}
.provider-logo-box .provider-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
}
#games .game-thumb.has-cover {
  min-height: 155px;
}
#games .game-cover {
  padding: 0 !important;
  object-fit: cover !important;
}

.account-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 64000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
  overflow: auto;
}
.account-panel-card {
  width: min(980px,100%);
  max-height: min(92vh,920px);
  overflow: auto;
  border: 1px solid rgba(212,175,55,.38);
  border-radius: 24px;
  padding: 22px;
  background: radial-gradient(circle at 95% 0%,rgba(212,175,55,.16),transparent 32%), linear-gradient(150deg,#111624,#070a12 58%,#05070d);
  box-shadow: 0 36px 120px rgba(0,0,0,.72), 0 0 42px rgba(212,175,55,.10);
}
.account-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.account-panel-header h2 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: clamp(24px,4vw,34px);
}
.account-panel-header p {
  max-width: 690px;
  margin: 0;
  color: var(--c-muted2,#aab2c5);
  font-size: 12px;
  line-height: 1.55;
}
.account-kicker {
  color: var(--c-gold-light,#f5d878);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.account-panel-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}
.account-summary-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.account-summary-strip > div {
  padding: 13px 15px;
  border: 1px solid rgba(212,175,55,.16);
  border-radius: 13px;
  background: linear-gradient(145deg,rgba(212,175,55,.08),rgba(255,255,255,.03));
}
.account-summary-strip small,
.account-summary-strip b {
  display: block;
}
.account-summary-strip small {
  margin-bottom: 5px;
  color: var(--c-muted,#8f99ae);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .7px;
}
.account-summary-strip b {
  color: var(--c-gold-light,#f5d878);
  font-size: 20px;
}
.account-status-ok { color: #5ee8a3 !important; }
.account-panel-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
}
.account-card-section {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.035);
}
.account-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.account-section-title > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  color: #1a1000;
  background: linear-gradient(135deg,#f5d878,#d4af37);
  font-size: 11px;
  font-weight: 1000;
}
.account-section-title b,
.account-section-title small {
  display: block;
}
.account-section-title b { color: #fff; font-size: 14px; }
.account-section-title small { margin-top: 3px; color: var(--c-muted,#8f99ae); font-size: 10px; }
.account-data-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}
.account-data-list > div {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  background: rgba(0,0,0,.16);
}
.account-data-list dt {
  margin-bottom: 4px;
  color: var(--c-muted,#8f99ae);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.account-data-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #eef2ff;
  font-size: 12px;
  font-weight: 800;
}
.account-password-form {
  display: grid;
  gap: 9px;
}
.account-password-form label,
.account-history-filters label {
  color: var(--c-muted2,#aab2c5);
  font-size: 10px;
  font-weight: 800;
}
.account-password-form input,
.account-history-filters input,
.account-history-filters select {
  width: 100%;
  height: 42px;
  margin-top: 5px;
  padding: 0 11px;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 10px;
  outline: none;
  background: rgba(255,255,255,.055);
  color: #fff;
  font: inherit;
}
.account-history-section { margin-top: 14px; }
.account-history-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 9px;
  align-items: end;
  margin-bottom: 12px;
}
.account-filter-reset {
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.account-transaction-history {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  max-height: 300px;
  overflow: auto;
  padding-right: 3px;
}
.account-history-item {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}
.account-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.account-history-head b {
  color: #fff;
  font-size: 11px;
}
.account-history-status {
  padding: 4px 6px;
  border-radius: 999px;
  color: #f5d878;
  background: rgba(212,175,55,.12);
  font-size: 8px;
  font-weight: 900;
  white-space: nowrap;
}
.account-history-item > strong,
.account-history-item > small {
  display: block;
}
.account-history-item > strong {
  margin: 8px 0 4px;
  color: var(--c-gold-light,#f5d878);
  font-size: 17px;
}
.account-history-item > small { color: var(--c-muted,#8f99ae); font-size: 9px; }
.account-empty-state {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 12px;
  color: var(--c-muted2,#aab2c5);
  text-align: center;
  font-size: 11px;
}

@media (max-width: 760px) {
  .toast {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    width: min(390px, calc(100vw - 28px)) !important;
    min-height: 82px !important;
    padding: 17px 18px !important;
    transform: translate(-50%, -50%) scale(.9) !important;
  }
  .toast.show { transform: translate(-50%, -50%) scale(1) !important; }
  .account-panel-backdrop { padding: 9px; align-items: end; }
  .account-panel-card {
    width: 100%;
    max-height: 94vh;
    padding: 15px;
    border-radius: 22px 22px 0 0;
  }
  .account-panel-grid { grid-template-columns: 1fr; }
  .account-data-list { grid-template-columns: 1fr; }
  .account-history-filters { grid-template-columns: 1fr 1fr; }
  .account-filter-reset { grid-column: 1 / -1; }
  .account-transaction-history { grid-template-columns: 1fr; }
  .provider-logo-box { height: 96px !important; }
}

/* Local fishing provider artwork: avoids blank cards when external image hosts fail. */
#fishing .gameprovider-content .layer-1 {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
#fishing .gameprovider-content .sports-provider-logo {
  display: none !important;
}

/* V16: uploaded artwork for every Fishing Arena provider card. */
#fishing .gameprovider-item {
  background: #030817 !important;
}
#fishing .gameprovider-content {
  padding: 0 !important;
}
#fishing .gameprovider-content .fishing-provider-cover {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  filter: none !important;
  background: #030817 !important;
}


/* V8: Uploaded Live Casino + Togel provider cards */
.provider-uploaded-box {
  position: relative !important;
  height: 128px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: linear-gradient(145deg,#0a1020,#05070d) !important;
}
.provider-uploaded-visual,
.provider-uploaded-bg,
.provider-uploaded-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.provider-uploaded-bg {
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
}
.provider-uploaded-shade {
  background: linear-gradient(180deg,rgba(2,4,10,.04),rgba(2,4,10,.58));
  pointer-events: none;
}
.provider-uploaded-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(76%,200px) !important;
  height: 60px !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: translate(-50%,-50%) !important;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.8));
  z-index: 2;
}
.provider-card-casino .provider-action,
.provider-card-togel .provider-action {
  font-weight: 950;
}
.game-transfer-art-fallback {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.game-transfer-art-fallback small {
  display: block;
  color: #f5d878;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .8px;
}
@media (max-width: 560px) {
  .provider-uploaded-box { height: 104px !important; }
  .provider-uploaded-logo { height: 48px !important; }
}


/* V9 provider wallet gates */
.fishing-section.provider-locked {
  display: none !important;
}
.provider-lock-message {
  display: none;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, .42);
  border-radius: 12px;
  background: rgba(15, 23, 42, .88);
  color: #f8fafc;
  font-size: 13px;
  line-height: 1.5;
}
.fishing-section:not(.provider-locked) .provider-lock-message {
  display: none;
}
.gameprovider-item.active-fishing .gameContent,
.gameprovider-item.active-sportsbook .gameContent {
  outline: 2px solid rgba(245, 158, 11, .95);
  outline-offset: 2px;
  box-shadow: 0 0 20px rgba(245, 158, 11, .28);
}
/* V10: featured uploaded promo banners */
.promo-card img.promo-featured-banner-img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:contain;
  object-position:center;
  background:#050505;
}

/* V18: uploaded 1872x840 promotional artwork. */
.promo-card img.promo-upload-banner-img {
  width: 100%;
  aspect-ratio: 1872 / 840;
  object-fit: contain;
  object-position: center;
  background: #050505;
}

@media (max-width: 560px) {
  .hero-banner-controls {
    gap: 6px !important;
  }
  .hero-banner-dots {
    gap: 4px !important;
  }
  .hero-banner-dot {
    width: 6px !important;
    height: 6px !important;
  }
  .hero-banner-dot.active {
    width: 18px !important;
  }
}

/* V19: side float contacts. */
.side-boost a.boost-btn {
  text-decoration: none;
}
.side-boost .boost-btn-whatsapp {
  color: #86efac;
  border-color: rgba(34, 197, 94, .58);
  box-shadow: 0 0 22px rgba(34, 197, 94, .22);
}
.side-boost .boost-btn-facebook {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, .58);
  box-shadow: 0 0 22px rgba(59, 130, 246, .22);
}
.side-boost .icon-whatsapp::before,
.side-boost .icon-facebook::before {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  line-height: 1;
}
.side-boost .icon-whatsapp::before {
  content: "☎";
  background: linear-gradient(135deg, #4ade80, #16a34a);
  font-size: 15px;
  font-weight: 900;
}
.side-boost .icon-facebook::before {
  content: "f";
  background: linear-gradient(135deg, #60a5fa, #1d4ed8);
  font-size: 20px;
  font-weight: 900;
}

/* V20: detailed promotion rules. */
.promo-subtitle {
  margin: -3px 0 12px;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.promo-terms-title {
  margin: 0 0 9px;
  color: var(--c-gold-light);
  font-size: 13px;
}
.promo-rules-numbered {
  padding-left: 22px;
}
.promo-rule-formula {
  display: block;
  margin-top: 5px;
  padding: 6px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .045);
  color: #f8fafc;
}
.promo-rules a {
  color: var(--c-gold-light);
  overflow-wrap: anywhere;
}

/* V21: compact expandable promotion rules. */
.promo-page-grid {
  align-items: start;
}
.promo-card {
  display: flex;
  flex-direction: column;
}
.promo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.promo-rules-details {
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  transition: border-color .2s ease, background .2s ease;
}
.promo-rules-details[open] {
  border-color: rgba(212, 175, 55, .42);
  background: rgba(212, 175, 55, .045);
}
.promo-rules-details summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: var(--c-gold-light);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.promo-rules-details summary::-webkit-details-marker {
  display: none;
}
.promo-rules-summary-icon {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(245, 216, 120, .38);
  border-radius: 50%;
  background: rgba(212, 175, 55, .10);
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.promo-rules-details[open] .promo-rules-summary-icon {
  transform: rotate(45deg);
  background: rgba(212, 175, 55, .18);
}
.promo-rules-details .promo-rules {
  margin: 0;
  padding: 12px 16px 14px 32px;
  border-top: 1px solid rgba(212, 175, 55, .16);
}
.promo-rules-details .promo-rules-numbered {
  padding-left: 36px;
}
.promo-whatsapp-claim-note {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, .18);
  color: var(--c-muted2);
  font-size: 11px;
  line-height: 1.5;
}
.promo-whatsapp-claim-note a {
  color: #86efac;
  font-weight: 900;
  text-decoration: none;
}
.promo-whatsapp-claim-note a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .promo-rules-details .promo-rules {
    padding-right: 13px;
    padding-left: 29px;
  }
  .promo-rules-details .promo-rules-numbered {
    padding-left: 33px;
  }
}



/* V12: transaction form refinements */
.transaction-minimum-note {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  opacity: .92;
}

.transaction-destination.destination-pulse {
  animation: transactionDestinationPulse 1.15s ease-out;
}

@keyframes transactionDestinationPulse {
  0% { transform: scale(.985); box-shadow: 0 0 0 0 rgba(255, 215, 0, .62); }
  45% { transform: scale(1.01); box-shadow: 0 0 0 8px rgba(255, 215, 0, .12); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}


/* V13: cleaner deposit destination details + fixed 1.5s buffer */
.transaction-destination {
  overflow: hidden;
  padding: 0 !important;
  border-color: rgba(212, 175, 55, .34) !important;
  background: linear-gradient(145deg, rgba(212, 175, 55, .08), rgba(255, 255, 255, .035)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 10px 26px rgba(0, 0, 0, .18);
}
.transaction-destination.danger {
  border-color: rgba(239, 68, 68, .48) !important;
  background: rgba(127, 29, 29, .28) !important;
}
.deposit-destination-card {
  padding: 16px;
}
.deposit-destination-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--c-gold-light);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .35px;
  text-transform: uppercase;
}
.deposit-destination-title::before {
  content: '';
  width: 5px;
  height: 20px;
  flex: 0 0 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--c-gold-light), var(--c-gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, .36);
}
.deposit-destination-rows {
  display: grid;
  gap: 7px;
}
.deposit-destination-row {
  display: grid;
  grid-template-columns: minmax(105px, .78fr) minmax(0, 1.22fr);
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 10px;
  background: rgba(3, 6, 15, .42);
}
.deposit-destination-row span {
  color: var(--c-muted2);
  font-size: 11px;
  font-weight: 750;
}
.deposit-destination-row strong {
  min-width: 0;
  color: #fff7d4;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .25px;
  overflow-wrap: anywhere;
}
.deposit-destination-hint {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, .15);
  color: var(--c-muted2);
  font-size: 11px;
  line-height: 1.55;
}
.deposit-destination-hint b {
  color: var(--c-gold-light);
}
.deposit-destination-message {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 10px;
  background: rgba(3, 6, 15, .42);
  color: var(--c-text);
  font-size: 12px;
  line-height: 1.65;
}
.transaction-destination.danger .deposit-destination-title {
  color: #fff;
}
.transaction-destination.danger .deposit-destination-title::before {
  background: linear-gradient(180deg, #fca5a5, #ef4444);
  box-shadow: 0 0 12px rgba(239, 68, 68, .35);
}
@media (max-width: 560px) {
  .deposit-destination-card { padding: 13px; }
  .deposit-destination-row {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 9px;
    padding: 9px 10px;
  }
  .deposit-destination-row span { font-size: 10.5px; }
  .deposit-destination-row strong { font-size: 12.5px; }
}


/* V16: QRIS deposit method + barcode display */
.transaction-method-qris span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(212,175,55,.16));
  color: #fff7d4;
  font-weight: 900;
  letter-spacing: .6px;
}
.deposit-destination-card-qris .deposit-destination-rows {
  margin-bottom: 12px;
}
.deposit-destination-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 10px 22px rgba(0,0,0,.2);
}
.deposit-destination-qr {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border-radius: 10px;
}
.deposit-destination-card-qris .deposit-destination-hint {
  margin-top: 12px;
  color: #e9e4cf;
  line-height: 1.7;
}
@media (max-width: 560px) {
  .transaction-method-qris span {
    min-width: 76px;
    min-height: 34px;
    font-size: 12px;
  }
  .deposit-destination-qr-wrap {
    padding: 10px;
    border-radius: 12px;
  }
}


/* Provider PNG hover motion animation */
.provider-logo,
.provider-uploaded-logo,
.provider-uploaded-bg {
  transform-origin: center;
  transition: transform .35s ease, filter .35s ease;
  will-change: transform;
}

.provider-card:hover .provider-logo,
.provider-card:hover .provider-uploaded-logo,
.provider-card:hover .provider-uploaded-bg {
  animation: providerLogoFloat .9s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(212,175,55,.65));
}

@keyframes providerLogoFloat {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  25% { transform: translateY(-6px) scale(1.05) rotate(-2deg); }
  50% { transform: translateY(0) scale(1.08) rotate(2deg); }
  75% { transform: translateY(-4px) scale(1.04) rotate(-1deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}

.provider-card:hover {
  transform: translateY(-6px);
}

/* FINAL SLOT PROVIDER LOGO FIX */
/* Header logo tetap statis, animasi hanya provider slot */
.header-logo .brand-logo-img,
.header-logo img {
  animation: none !important;
  transform: none !important;
}

/* Logo provider menggunakan ukuran proporsional */
.provider-logo-box {
  height: 92px !important;
  padding: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.provider-logo-box .provider-logo {
  width: 88% !important;
  height: 72px !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 4px !important;
}

/* hover hanya pada kartu provider, logo bergerak halus */
.provider-card:hover .provider-logo {
  animation: slotProviderFloat .9s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(212,175,55,.55));
}

@keyframes slotProviderFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.04); }
}

/* logo provider upload tetap proporsional */
.provider-uploaded-logo {
  object-fit: contain !important;
  max-height: 56px !important;
  max-width: 90% !important;
}

/* FINAL PROVIDER BADGE VISIBILITY FIX */
/* Prevent provider logos from covering PROMO / NEW badges */
.provider-card {
  position: relative !important;
  overflow: hidden !important;
}

.provider-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 20 !important;
  pointer-events: none;
}

.provider-logo-box {
  margin-top: 18px !important;
  height: 82px !important;
  padding: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.provider-logo-box .provider-logo,
.provider-uploaded-logo {
  max-height: 52px !important;
  max-width: 82% !important;
  object-fit: contain !important;
  position: relative !important;
  z-index: 2 !important;
}

.provider-uploaded-visual {
  padding-top: 12px !important;
}

.provider-card b,
.provider-card small,
.provider-card .provider-code,
.provider-card .provider-action {
  position: relative !important;
  z-index: 3 !important;
}

/* FINAL V10: Live Casino & Togel Provider Badge Protection */
.provider-card-casino,
.provider-card-togel,
.provider-uploaded-box {
  position: relative !important;
  overflow: hidden !important;
}

.provider-card-casino .provider-badge,
.provider-card-togel .provider-badge,
.provider-uploaded-box .provider-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 50 !important;
}

.provider-card-casino .provider-uploaded-logo,
.provider-card-togel .provider-uploaded-logo,
.provider-card-casino .provider-logo,
.provider-card-togel .provider-logo {
  margin-top: 20px !important;
  max-height: 50px !important;
  max-width: 80% !important;
  object-fit: contain !important;
  position: relative !important;
  z-index: 2 !important;
}

.provider-card-casino .provider-uploaded-visual,
.provider-card-togel .provider-uploaded-visual {
  padding-top: 18px !important;
}

/* Fishing provider badge safe area */
.provider-card{position:relative;overflow:hidden;}
.provider-card .badge,.provider-card .tag,.provider-card [class*=badge]{z-index:20!important;}
.provider-card img{position:relative;z-index:1;}
.provider-card .provider-logo{padding-top:32px;}

.provider-card img,
.fishing-provider-card img,
.provider-item img {
    width:100%;
    height:100%;
    object-fit:contain;
}

/* =========================================================
   V25 - FORM PENDAFTARAN MEMBER LENGKAP
   ========================================================= */
#auth.modal {
  padding: 18px;
  overflow: hidden;
}

.auth-modal-box {
  width: min(440px, 94vw);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(212, 175, 55, .16), transparent 35%),
    linear-gradient(150deg, rgba(18, 21, 34, .99), rgba(7, 9, 17, .99));
}

.auth-modal-box.is-register {
  width: min(1080px, 96vw);
}

.auth-modal-box .modal-close {
  z-index: 5;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  top: 16px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(0, 0, 0, .24);
  color: #fff;
}

.auth-heading {
  padding: 24px 62px 18px 26px;
  border-bottom: 1px solid rgba(212, 175, 55, .18);
  background: linear-gradient(90deg, rgba(212, 175, 55, .09), transparent 72%);
}

.auth-heading h2 {
  margin: 3px 0 6px;
  color: var(--c-text);
  font-size: 25px;
  line-height: 1.2;
}

.auth-heading p {
  margin: 0;
  color: var(--c-muted2);
  font-size: 12px;
  line-height: 1.55;
}

.auth-kicker {
  color: var(--c-gold-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.auth-form {
  max-height: calc(92vh - 103px);
  padding: 22px 26px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, .38) rgba(255, 255, 255, .04);
}

.auth-login-fields {
  display: grid;
  gap: 15px;
}

.auth-register-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.auth-section {
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.auth-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, .14);
}

.auth-section-title > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #171006;
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold));
  font-size: 11px;
  font-weight: 1000;
}

.auth-section-title b,
.auth-section-title small {
  display: block;
}

.auth-section-title b {
  color: var(--c-text);
  font-size: 13px;
}

.auth-section-title small {
  margin-top: 2px;
  color: var(--c-muted);
  font-size: 10px;
  line-height: 1.35;
}

.auth-field {
  margin-bottom: 13px;
}

.auth-field:last-child {
  margin-bottom: 0;
}

.auth-field > label {
  display: block;
  margin-bottom: 6px;
  color: var(--c-muted2);
  font-size: 11px;
  font-weight: 800;
}

.auth-field > label span,
.auth-choice + span {
  color: #f87171;
}

#auth .modal-input,
#auth .modal-select {
  min-height: 44px;
  margin: 0;
  border-color: rgba(255, 255, 255, .10);
  background: rgba(4, 7, 14, .72);
}

#auth .modal-input::placeholder {
  color: rgba(203, 213, 225, .45);
}

#auth .modal-input:focus,
#auth .modal-select:focus {
  border-color: rgba(245, 216, 120, .72);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .09);
}

#auth .modal-input.auth-invalid,
#auth .modal-select.auth-invalid,
#auth input.auth-invalid {
  border-color: rgba(248, 113, 113, .92) !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .10) !important;
}

.auth-field > small {
  display: block;
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.password-field {
  position: relative;
}

.password-field .modal-input {
  padding-right: 86px !important;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  min-width: 58px;
  height: 30px;
  padding: 0 8px;
  transform: translateY(-50%);
  border: 1px solid rgba(212, 175, 55, .24);
  border-radius: 8px;
  color: var(--c-gold-light);
  background: rgba(212, 175, 55, .08);
  font: 800 9px/1 inherit;
  cursor: pointer;
}

.phone-field {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 8px;
}

.country-code-select {
  padding-left: 10px !important;
  padding-right: 8px !important;
  font-size: 11px !important;
}

.auth-choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 13px;
}

.auth-choice {
  position: relative;
  cursor: pointer;
}

.auth-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auth-choice > span {
  min-height: 39px;
  display: grid;
  place-items: center;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  color: var(--c-muted2);
  background: rgba(255, 255, 255, .035);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.auth-choice input:checked + span {
  border-color: rgba(245, 216, 120, .62);
  color: var(--c-gold-light);
  background: rgba(212, 175, 55, .12);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .10);
}

.auth-subscribe-check,
.auth-terms-check {
  margin: 9px 0 0;
  padding: 10px 11px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  background: rgba(0, 0, 0, .16);
  font-size: 10px;
}

.auth-error-summary {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(248, 113, 113, .34);
  border-radius: 10px;
  color: #fecaca;
  background: rgba(127, 29, 29, .22);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.45;
}

#auth .captcha-register {
  grid-template-columns: 112px 40px minmax(0, 1fr);
  margin: 4px 0 0;
}

#auth .captcha-code {
  min-height: 44px;
  font-size: 19px;
  letter-spacing: 4px;
}

#auth .captcha-refresh {
  min-height: 44px;
}

.auth-submit-wrap {
  margin-top: 16px;
}

.auth-submit-button {
  width: 100%;
  min-height: 46px;
  font-weight: 950;
  letter-spacing: .4px;
}

.auth-modal-box.is-register .auth-submit-wrap {
  display: flex;
  justify-content: flex-end;
}

.auth-modal-box.is-register .auth-submit-button {
  width: min(320px, 100%);
}

#auth .auth-switch {
  margin: 13px 0 0;
}

@media (max-width: 920px) {
  .auth-register-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-section-bank {
    grid-column: 1 / -1;
  }

  .auth-section-bank {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
  }

  .auth-section-bank .auth-section-title,
  .auth-section-bank .captcha-register,
  .auth-section-bank .auth-terms-check {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  #auth.modal {
    align-items: end;
    padding: 8px;
  }

  .auth-modal-box,
  .auth-modal-box.is-register {
    width: 100%;
    max-height: 96vh;
    border-radius: 18px 18px 12px 12px;
  }

  .auth-heading {
    padding: 20px 56px 14px 18px;
  }

  .auth-heading h2 {
    font-size: 21px;
  }

  .auth-form {
    max-height: calc(96vh - 91px);
    padding: 16px;
  }

  .auth-register-layout,
  .auth-section-bank {
    grid-template-columns: 1fr;
  }

  .auth-section-bank {
    grid-column: auto;
    display: block;
  }

  .auth-section {
    padding: 14px;
  }

  .phone-field {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  #auth .captcha-register {
    grid-template-columns: 1fr 42px;
  }

  #auth .captcha-input {
    grid-column: 1 / -1;
  }

  .auth-modal-box.is-register .auth-submit-button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .phone-field,
  .auth-choice-row {
    grid-template-columns: 1fr;
  }
}
