/* FLY88 Modern Icon & Polish System */

/* Global SVG Icons */
.fly-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Star Icon Interactive State */
._circle-star_1pwjc_99, ._favorite-area_uepmx_91 {
  cursor: pointer !important;
  transition: transform 0.2s ease;
  z-index: 10;
}

._circle-star_1pwjc_99:hover, ._favorite-area_uepmx_91:hover {
  transform: scale(1.18);
}

.star-active svg {
  fill: #f59e0b !important;
  stroke: #f59e0b !important;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
}

.star-active {
  color: #f59e0b !important;
}

/* Subgame View Layout */
#subgameView {
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

#subgameView header.lobby-base-header {
  height: 46px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 12px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

/* Category Header in Subgame */
#subgameView ._category-header_1gck0_91 {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  cursor: pointer !important;
}

/* Category Dropdown */
.fly-category-dropdown {
  position: absolute;
  top: 46px;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  display: none;
  border-bottom: 1px solid #e2e8f0;
  animation: flyFadeIn 0.2s ease;
}

.fly-category-dropdown.active {
  display: block !important;
}

.fly-cat-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.fly-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fly-cat-item:hover, .fly-cat-item.active {
  background: #02A9DC !important;
  color: #ffffff !important;
  border-color: #02A9DC !important;
}

.fly-cat-item-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

/* Subgame Search Bar */
#subgameView ._search-bar-layout_1g7gk_96 {
  padding: 8px 12px !important;
  background: #ffffff !important;
}

#subgameView ._searchBar_1082z_91 {
  width: 100% !important;
}

#subgameView .ui-input {
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  background: #f8fafc !important;
  padding: 6px 14px !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#subgameView .ui-input__input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 13px !important;
  width: 100% !important;
  color: #1e293b !important;
}

/* Subgame Content Split: Left Sidebar & Right Grid */
#subgameView ._core-area-layout_1fnhl_91 {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: calc(100vh - 100px) !important;
  overflow: hidden !important;
}

#subgameView .core-area-left {
  width: 1.5rem !important;
  min-width: 1.5rem !important;
  max-width: 1.5rem !important;
  flex-shrink: 0 !important;
  margin-right: .2rem !important;
  background: transparent !important;
  border-right: none !important;
  overflow-y: auto !important;
  padding: .1rem 0 .6rem 0 !important;
  scrollbar-width: none !important;
}

#subgameView .core-area-left::-webkit-scrollbar {
  display: none !important;
}

#subgameView .core-area-left .ui-tabs__wrap,
#subgameView .core-area-left .ui-tabs__nav {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

#subgameView ._slide-tab-list_1029s_91 .ui-tab + .ui-tab {
  margin-top: .2rem !important;
}

#subgameView ._tab-platform-title_1oe2v_92 {
  display: flex !important;
  width: 1.5rem !important;
  height: 1.05rem !important;
  padding: 0 .05rem !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: .18rem !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border: none !important;
  box-shadow: 0 .03rem .07rem 0 var(--skin__web_left_bg_shadow, rgba(0,0,0,0.12)) !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  word-break: break-word !important;
}

#subgameView ._tab-platform-title_1oe2v_92:hover {
  transform: none !important;
}

#subgameView ._tab-platform-title_1oe2v_92 ._icon-logo_1oe2v_103 {
  width: .5rem !important;
  height: auto !important;
  max-height: .5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  object-fit: contain !important;
  z-index: 2 !important;
}

#subgameView ._tab-platform-title_1oe2v_92 ._text-box_1oe2v_109 {
  position: relative !important;
  width: 100% !important;
  margin: .04rem auto 0 auto !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  font-size: .17rem !important;
  line-height: .21rem !important;
  text-align: center !important;
  word-break: break-word !important;
  white-space: normal !important;
  color: var(--skin__leftnav_def, #66c6ec) !important;
  font-weight: 400 !important;
  z-index: 6 !important;
}

#subgameView ._tab-platform-title_1oe2v_92._is-active_1oe2v_139 ._text-box_1oe2v_109 {
  color: var(--skin__leftnav_active, #ffffff) !important;
  font-weight: 700 !important;
}

#subgameView .core-area-right {
  flex: 1 !important;
  width: calc(100% - 1.7rem) !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  overflow-y: auto !important;
  height: 100% !important;
}

/* Scene Switcher / Filter Pills */
#subgameView ._scene-switcher_170da_91 {
  padding: 8px 8px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
}

#subgameView ._scene-switcher_170da_91 .ui-tabs__nav {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  white-space: nowrap !important;
  padding: 0 4px !important;
}

#subgameView ._scene-switcher_170da_91 .ui-tab {
  flex-shrink: 0 !important;
}

#subgameView ._scene-switcher_170da_91 button,
#subgameView ._scene-switcher_170da_91 ._button_170da_105 {
  width: auto !important;
  min-width: 68px !important;
  height: 32px !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #64748b !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#subgameView ._scene-switcher_170da_91 button._is-active_170da_121,
#subgameView ._scene-switcher_170da_91 .ui-tab--active button {
  background: #02A9DC !important;
  color: #ffffff !important;
  border-color: #02A9DC !important;
  font-weight: 700 !important;
}

/* 3-Column Games Grid */
#subgameView ._tab-game-list-scroll-box_c3hlq_110 {
  flex: 1 !important;
  overflow-y: auto !important;
  padding-bottom: 60px !important;
}

#subgameView ._list-ordinary-layout_1d56v_94 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  padding: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-content: start !important;
}

#subgameView .name-img-layout {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  position: relative !important;
  transition: transform 0.2s ease !important;
}

#subgameView .name-img-layout:hover {
  transform: translateY(-2px) !important;
}

#subgameView .name-img-layout ._game-box_326y6_91,
#subgameView .name-img-layout ._lazy-image_lret0_91 {
  width: 100% !important;
  min-width: 0 !important;
}

#subgameView .name-img-layout img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  display: block !important;
}

#subgameView .name-img-layout h4,
#subgameView .name-inner._name-inner_326y6_99 {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  margin-top: 4px !important;
  text-align: center !important;
  width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.25 !important;
  height: 28px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Authentic Live-Site Responsive Desktop Container Alignment */
html[data-ui-contain="1"] {
  background: #eef2f6 !important;
  max-width: var(--lobby__max-width) !important;
  margin: 0 auto !important;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08) !important;
  height: 100% !important;
  position: relative !important;
}

html[data-ui-contain="1"] body {
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#app {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  position: relative !important;
  margin: 0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.desktop-device-toggle, .fly-scroll-top-btn {
  display: none !important;
}

/* Banner Slider Full-Width Track & Responsive Slides */
._banner-box-7_j0bje_187 .ui-swipe__track {
  display: flex !important;
  width: 600% !important;
  transition: transform 0.4s ease !important;
}

._banner-box-7_j0bje_187 .ui-swipe-item {
  width: 16.666667% !important;
  flex-shrink: 0 !important;
}

._banner-box-7_j0bje_187 ._banner-item_1e3d3_92,
._banner-box-7_j0bje_187 .lobby-image--use-bg {
  width: 100% !important;
  background-size: cover !important;
  background-position: center !important;
}


/* Modal Popup Transitions */
.fly-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.fly-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.fly-modal-card {
  width: 90%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fly-modal-backdrop.active .fly-modal-card {
  transform: scale(1);
}

.fly-modal-header {
  background: linear-gradient(135deg, #02A9DC 0%, #0284c7 100%);
  color: #fff;
  padding: 16px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fly-modal-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.fly-modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.fly-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Auth Tabs */
.fly-auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.fly-auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.fly-auth-tab.active {
  color: #02A9DC;
  background: #ffffff;
  border-bottom: 2px solid #02A9DC;
}

.fly-auth-body {
  padding: 20px;
}

.fly-input-group {
  margin-bottom: 14px;
  text-align: left;
}

.fly-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.fly-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.fly-input-icon {
  position: absolute;
  left: 12px;
  pointer-events: none;
}

.fly-input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 38px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fly-input:focus {
  border-color: #02A9DC;
  box-shadow: 0 0 0 3px rgba(2, 169, 220, 0.15);
}

.fly-eye-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: color 0.2s;
}

.fly-eye-btn:hover {
  color: #02A9DC;
}

.fly-submit-btn {
  width: 100%;
  height: 44px;
  background: linear-gradient(90deg, #02A9DC 0%, #0ea5e9 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 12px rgba(2, 169, 220, 0.35);
  transition: all 0.2s;
}

.fly-submit-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* CSKH Channel Item */
.fly-cskh-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.2s;
  background: #f8fafc;
}

.fly-cskh-item:hover {
  background: #f0fdf4;
  border-color: #02A9DC;
  transform: translateX(4px);
}

.fly-cskh-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.fly-cskh-info h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.fly-cskh-info p {
  font-size: 12px;
  color: #64748b;
}

/* Toast Notification */
.fly-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.fly-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Enhanced Footer */
.fly-enhanced-footer {
  padding: 20px 16px 80px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid #e2e8f0;
}

.fly-footer-banner {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.fly-footer-desc {
  margin-bottom: 20px;
  text-align: justify;
  color: #64748b;
  font-size: 11px;
}

.fly-footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fly-footer-logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.fly-footer-logo-img {
  max-height: 32px;
  object-fit: contain;
  filter: grayscale(0.2) contrast(1.1);
  transition: filter 0.2s;
}

.fly-footer-logo-img:hover {
  filter: grayscale(0);
}

.fly-shield-badge {
  background: #ffffff;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  font-weight: 700;
  color: #0f172a;
  font-size: 11px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.fly-social-links {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.fly-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fly-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.fly-social-yt { background: #ff0000; }
.fly-social-fb { background: #1877f2; }
.fly-social-tg { background: #229ed9; }

.fly-18-badge {
  border: 1.5px solid #ef4444;
  color: #ef4444;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
}

.fly-copyright {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

/* Scroll To Top Button */
.fly-scroll-top-btn {
  position: fixed;
  bottom: 75px;
  right: 16px;
  z-index: 99;
  background: linear-gradient(135deg, #02A9DC 0%, #0284c7 100%);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 169, 220, 0.45);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.fly-scroll-top-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 18px rgba(2, 169, 220, 0.6);
}

/* Category Dropdown Modal */
.fly-category-dropdown {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 90%;
  max-width: 380px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(2, 169, 220, 0.3);
  border-radius: 16px;
  padding: 12px;
  z-index: 10050;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(2, 169, 220, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.fly-category-dropdown.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.fly-cat-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.fly-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.fly-cat-item:hover, .fly-cat-item.active {
  background: linear-gradient(135deg, rgba(2, 169, 220, 0.35) 0%, rgba(14, 165, 233, 0.15) 100%);
  border-color: #02A9DC;
  color: #38bdf8;
  transform: translateY(-2px);
}

.fly-cat-item-icon {
  font-size: 22px;
  margin-bottom: 4px;
}

/* HIGH-FIDELITY GAME ROOM MODAL */
.fly-game-room-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #090e1a;
  z-index: 11000;
  display: flex;
  justify-content: center;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow: hidden;
}

@media (min-width: 769px) {
  .fly-game-room-modal {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    max-width: 460px;
    width: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.fly-game-room-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.fly-gameroom-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 10%, #172554 0%, #0b1329 60%, #050811 100%);
  color: #fff;
  overflow-y: auto;
}

.fly-gameroom-header {
  height: 52px;
  background: rgba(11, 19, 41, 0.95);
  border-bottom: 1px solid rgba(2, 169, 220, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  flex-shrink: 0;
}

.gameroom-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gameroom-exit-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.2s;
}

.gameroom-exit-btn:hover {
  background: #ef4444;
  color: #fff;
}

.gameroom-title-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-badge {
  background: #02A9DC;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
}

.game-name {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gameroom-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gameroom-balance-box {
  text-align: right;
  line-height: 1.2;
}

.gameroom-balance-box .bal-label {
  font-size: 10px;
  color: #94a3b8;
  display: block;
}

.gameroom-balance-box strong {
  font-size: 13px;
  color: #38bdf8;
  font-weight: 800;
}

.add-funds-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.fly-gameroom-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
}

/* BACCARAT TABLE STYLES */
.bac-table-view {
  padding: 10px;
}

.bac-dealer-stream {
  position: relative;
  width: 100%;
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(2, 169, 220, 0.25);
  margin-bottom: 10px;
}

.bac-dealer-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.bac-live-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulseDot 1s infinite alternate;
}

@keyframes pulseDot {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.bac-shoe-info {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #cbd5e1;
}

.bac-timer-box {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #02A9DC;
  padding: 4px 10px;
  border-radius: 8px;
  text-align: center;
}

.bac-status-text {
  font-size: 10px;
  color: #38bdf8;
  font-weight: 700;
}

.bac-timer-num {
  font-size: 18px;
  font-weight: 900;
  color: #f59e0b;
}

.bac-result-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.95));
  color: #fff;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bac-result-banner.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* DEAL BOARD */
.bac-deal-board {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.bac-hand-side {
  text-align: center;
  flex: 1;
}

.hand-title {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}

.player-color { color: #38bdf8; }
.banker-color { color: #f87171; }

.hand-cards {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 4px;
}

.card-item, .card-back {
  background: #ffffff;
  color: #1e293b;
  border-radius: 4px;
  font-weight: 800;
  font-size: 13px;
  padding: 2px 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.card-back {
  background: #1e3a8a;
  color: #93c5fd;
}

.hand-score {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
}

.bac-hand-vs {
  font-size: 12px;
  font-weight: 900;
  color: #64748b;
  padding: 0 8px;
}

/* BETTING SPOTS GRID */
.bac-bet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  margin-bottom: 12px;
}

.bac-bet-spot {
  background: rgba(30, 41, 59, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bac-bet-spot:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.bac-bet-spot.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.bac-bet-spot.player {
  grid-column: 1 / 2;
  border-color: rgba(56, 189, 248, 0.4);
}
.bac-bet-spot.tie {
  grid-column: 2 / 3;
  border-color: rgba(74, 222, 128, 0.4);
}
.bac-bet-spot.banker {
  grid-column: 3 / 4;
  border-color: rgba(248, 113, 113, 0.4);
}

.bac-bet-spot.p-pair {
  grid-column: 1 / 2;
}
.bac-bet-spot.b-pair {
  grid-column: 3 / 4;
}

.spot-title {
  font-size: 12px;
  font-weight: 800;
  color: #e2e8f0;
}
.bac-bet-spot.player .spot-title { color: #38bdf8; }
.bac-bet-spot.tie .spot-title { color: #4ade80; }
.bac-bet-spot.banker .spot-title { color: #f87171; }

.spot-rate {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.spot-chip {
  display: none;
  background: #f59e0b;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* CHIPS BAR */
.bac-chips-bar {
  display: flex;
  justify-content: space-around;
  gap: 4px;
  margin-bottom: 12px;
  background: rgba(15, 23, 42, 0.6);
  padding: 8px 4px;
  border-radius: 12px;
}

.chip-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  color: #fff;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-item:hover, .chip-item.active {
  transform: translateY(-4px) scale(1.12);
  border-style: solid;
  border-color: #fff;
  box-shadow: 0 6px 16px rgba(2, 169, 220, 0.7);
}

.chip-10k { background: radial-gradient(circle, #0284c7, #0369a1); }
.chip-50k { background: radial-gradient(circle, #10b981, #047857); }
.chip-100k { background: radial-gradient(circle, #ef4444, #b91c1c); }
.chip-500k { background: radial-gradient(circle, #a855f7, #7e22ce); }
.chip-1m { background: radial-gradient(circle, #f59e0b, #d97706); color: #000; }
.chip-5m { background: radial-gradient(circle, #1e293b, #0f172a); border-color: #f59e0b; }

/* ACTIONS BAR */
.bac-actions-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.bac-btn {
  flex: 1;
  height: 36px;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.bac-btn:hover {
  background: #02A9DC;
  color: #fff;
  border-color: #02A9DC;
}

/* BIG ROAD SECTION */
.bac-roadmap-section {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
}

.roadmap-header {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
}

.roadmap-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-height: 60px;
  overflow-y: auto;
}

.road-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.road-dot-p { background: #38bdf8; }
.road-dot-b { background: #f87171; }
.road-dot-t { background: #4ade80; color: #000; }

/* SLOT MACHINE STYLES */
.slot-room-view {
  padding: 14px 10px;
  text-align: center;
}

.slot-jackpot-header {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
  border: 1px solid #f59e0b;
  border-radius: 20px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #fde68a;
}

.slot-jackpot-number {
  font-size: 16px;
  color: #f59e0b;
  font-weight: 900;
}

.slot-machine-frame {
  background: #020617;
  border: 3px solid #f59e0b;
  border-radius: 16px;
  padding: 14px 8px;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
  margin-bottom: 20px;
}

.slot-reels-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.slot-reel {
  flex: 1;
  background: #0f172a;
  border-radius: 8px;
  padding: 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 28px;
  transition: transform 0.2s;
}

.slot-reel.spinning {
  filter: blur(2px);
  animation: reelSpin 0.2s infinite alternate;
}

@keyframes reelSpin {
  from { transform: translateY(-4px); }
  to { transform: translateY(4px); }
}

.slot-bet-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(15, 23, 42, 0.8);
  padding: 10px;
  border-radius: 12px;
}

.slot-bet-adjuster {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bet-adjust-btn {
  width: 32px;
  height: 32px;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.bet-display {
  line-height: 1.1;
  text-align: center;
}

.bet-label {
  font-size: 9px;
  color: #94a3b8;
  display: block;
}

#slotBetText {
  font-size: 12px;
  color: #38bdf8;
}

.slot-spin-btn {
  flex: 1;
  height: 48px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: 24px;
  color: #000;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5);
  transition: all 0.2s;
}

.slot-spin-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.7);
}

.slot-auto-btn {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 8px;
  color: #cbd5e1;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.slot-auto-btn.active {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* BIG WIN MODAL */
.slot-win-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.slot-win-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.win-dialog {
  background: radial-gradient(circle, #78350f 0%, #1e1b4b 100%);
  border: 3px solid #f59e0b;
  border-radius: 24px;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.8);
  animation: winPopup 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes winPopup {
  from { transform: scale(0.5); }
  to { transform: scale(1); }
}

.win-crown { font-size: 48px; margin-bottom: 8px; }
.win-title { font-size: 26px; font-weight: 900; color: #fef08a; letter-spacing: 1px; }
.win-amount { font-size: 24px; font-weight: 900; color: #f59e0b; margin: 12px 0 20px; }
.win-btn {
  background: #f59e0b;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 800;
  color: #000;
  cursor: pointer;
}

/* FISH HUNTER */
.fish-room-view {
  padding: 10px;
  text-align: center;
}

.fish-header-info {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 8px;
}

.fish-canvas {
  width: 100%;
  height: 360px;
  border-radius: 12px;
  border: 2px solid #02A9DC;
  cursor: crosshair;
}

.fish-bottom-controls {
  margin-top: 10px;
}

.fish-cannon-badge {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 12px;
}

/* SPORTS */
.sport-room-view {
  padding: 12px;
}

.match-scoreboard {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  margin-bottom: 16px;
}

.team-side { text-align: center; }
.team-name { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.team-badge { font-size: 24px; }
.match-score { font-size: 28px; font-weight: 900; color: #f59e0b; }
.match-minute {
  position: absolute;
  bottom: 4px;
  font-size: 10px;
  color: #4ade80;
  font-weight: 700;
}

.odds-table-container {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  padding: 12px;
}

.odds-title {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  margin: 12px 0 6px;
}

.odds-row {
  display: flex;
  gap: 8px;
}

.odds-btn {
  flex: 1;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f1f5f9;
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.odds-btn span {
  color: #38bdf8;
  font-weight: 800;
}

.odds-btn:hover {
  background: #02A9DC;
  border-color: #02A9DC;
  color: #fff;
}

.odds-btn:hover span { color: #fff; }

.sport-bet-action {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sport-bet-input {
  width: 140px;
  height: 36px;
  background: #0f172a;
  border: 1px solid #02A9DC;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

/* Logged-in User Header Badge */
.fly-user-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #02A9DC;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(2, 169, 220, 0.25);
  animation: fadeIn 0.3s ease;
}

.fly-user-header .user-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fly-user-header .user-bal {
  font-size: 12px;
  font-weight: 800;
  color: #0284c7;
  background: rgba(2, 169, 220, 0.1);
  padding: 2px 6px;
  border-radius: 8px;
}

.fly-logout-btn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.fly-logout-btn:hover {
  background: #ef4444;
  color: #fff;
}


/* =======================================================
   AUTHENTIC MOBILE FLY88 AUTH VIEW (PIXEL-PERFECT CLONE)
   ======================================================= */
#flyAuthModal.fly-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  padding: 0;
}

#flyAuthModal.fly-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.fly-auth-view-container {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #ccebfb 0%, #e2f4fd 22%, #f8fcfe 55%, #def2fc 100%);
  display: flex;
  flex-direction: column;
  padding: 16px 20px 24px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow-x: hidden;
}

/* Header Top Nav */
.fly-auth-top-nav {
  display: flex;
  align-items: center;
  position: relative;
  height: 44px;
  margin-bottom: 2px;
}

.fly-auth-back-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4bafe3;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(75, 175, 227, 0.4);
  transition: transform 0.15s, background 0.15s;
  z-index: 2;
}

.fly-auth-back-circle-btn:hover {
  background: #399fd6;
  transform: scale(1.05);
}

.fly-auth-header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fly-auth-header-logo .fly-plane-icon {
  width: 32px;
  height: 32px;
  fill: #3ea4de;
  transform: rotate(-10deg);
}

.fly-auth-header-logo span {
  font-size: 28px;
  font-weight: 900;
  color: #3ea4de;
  letter-spacing: 0.5px;
  font-style: italic;
}

/* Birthday Banner */
.fly-auth-banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px 0 14px;
}

.fly-auth-girl-banner {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(58, 163, 222, 0.15));
}

/* Capsule Tabs Switcher */
.fly-auth-capsule-tabs {
  display: flex;
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #7bc6ec;
  border-radius: 24px;
  height: 42px;
  box-sizing: border-box;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(123, 198, 236, 0.15);
}

.fly-capsule-tab {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  color: #38a0dc;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fly-capsule-tab.active {
  background: #3faae3;
  color: #ffffff;
  border-radius: 22px;
}

/* Form Fields */
.fly-auth-form {
  width: 100%;
}

.fly-auth-field-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #7bc6ec;
  border-radius: 12px;
  height: 44px;
  padding: 0 12px;
  margin-bottom: 12px;
  box-sizing: border-box;
  gap: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fly-auth-field-box:focus-within {
  border-color: #3598d9;
  box-shadow: 0 0 0 2px rgba(53, 152, 217, 0.18);
}

.fly-field-icon {
  flex-shrink: 0;
  fill: #3faae3;
}

.fly-req-star {
  color: #3faae3;
  font-weight: 700;
  font-size: 15px;
  margin-right: -2px;
  line-height: 1;
}

.fly-auth-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #334155;
  font-family: inherit;
  padding: 0;
}

.fly-auth-input::placeholder {
  color: #8fa5ba;
  font-size: 13.5px;
}

.fly-auth-eye-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Password Strength Meter */
.fly-pwd-strength-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -6px 0 12px 4px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.strength-bars {
  display: flex;
  gap: 6px;
}

.strength-bars .s-bar {
  width: 48px;
  height: 6px;
  border-radius: 3px;
  background: #e0ebf2;
  display: inline-block;
  transition: background 0.2s;
}

.strength-bars .s-bar.active {
  background: #cbd5e1;
}

/* Phone Row with Vietnam Flag */
.fly-phone-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.fly-flag-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #7bc6ec;
  border-radius: 12px;
  height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  box-sizing: border-box;
}

.fly-flag-badge .flag-svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.fly-phone-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #7bc6ec;
  border-radius: 12px;
  height: 44px;
  padding: 0 12px;
  gap: 6px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.fly-phone-input-wrap:focus-within {
  border-color: #3598d9;
  box-shadow: 0 0 0 2px rgba(53, 152, 217, 0.18);
}

/* Real Name */
.fly-realname-tip {
  font-size: 11.5px;
  color: #38a0dc;
  margin: -6px 0 12px 4px;
  font-weight: 500;
}

/* 18+ Agreement */
.fly-agree-row {
  margin: 6px 0 14px;
}

.fly-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
}

.fly-agree-check-box {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.agree-link {
  color: #38a0dc;
  text-decoration: none;
}

/* Submit Wrap & Floating +58K Badge */
.fly-submit-wrap {
  position: relative;
  width: 100%;
  margin-top: 6px;
}

.fly-floating-gift-badge {
  position: absolute;
  right: 28px;
  top: -15px;
  display: flex;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.fly-floating-gift-badge .gift-icon {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  margin-right: -4px;
  z-index: 2;
}

.fly-floating-gift-badge .gift-text {
  background: #52be26;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(82, 190, 38, 0.45);
  letter-spacing: 0.2px;
}

.fly-btn-primary {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  border: none;
  background: #3faae3;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(63, 170, 227, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fly-btn-primary:active {
  transform: translateY(1px);
}

/* Sub Links */
.fly-auth-bottom-links {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin: 14px 0 8px;
  padding: 0 20px;
  box-sizing: border-box;
}

.fly-auth-bottom-links .sub-link {
  color: #38a0dc;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* Divider Line */
.fly-auth-sep-line {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  margin: 10px 0;
}

.fly-auth-sep-line::before,
.fly-auth-sep-line::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #cbd5e1;
}

.fly-auth-sep-line span {
  padding: 0 12px;
  color: #8899a6;
}

/* Brand Slogan Footer */
.fly-auth-brand-slogan {
  margin-top: auto;
  padding: 16px 12px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px dashed rgba(123, 198, 236, 0.4);
}

.fly-auth-brand-slogan .main-slogan {
  font-size: 11.5px;
  font-weight: 800;
  color: #2c9ad8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fly-auth-brand-slogan .sub-slogan {
  font-size: 10.5px;
  color: #7b9bb0;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Login Form Specifics */
.fly-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 4px 14px;
  font-size: 12.5px;
  color: #64748b;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.forgot-link {
  color: #38a0dc;
  text-decoration: none;
}

/* Bulletproof Promo Modal Display - Exact 6.9rem x 5.4rem matching Live */
._modal_dtape_91 {
  width: 6.9rem !important;
  max-width: 6.9rem !important;
  background: transparent !important;
}

._modal_dtape_91 .ui-dialog__content {
  width: 6.9rem !important;
  padding: 0 !important;
}

._modal_dtape_91 ._style3-wrap_y93eo_95 {
  display: flex !important;
  flex-direction: column-reverse !important;
  width: 6.9rem !important;
}

._modal_dtape_91 ._list-slide-layout_l38le_92 {
  width: 6.9rem !important;
  height: 5.4rem !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 14px 14px 0 0 !important;
}

._modal_dtape_91 ._list-slide-layout-inner_l38le_95 {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  position: relative !important;
}

._modal_dtape_91 ._tabContent_hz7m2_91 {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

._modal_dtape_91 ._tabContent_hz7m2_91.active {
  display: block !important;
  opacity: 1 !important;
}

._modal_dtape_91 ._popupStyle3_hz7m2_153 {
  width: 6.9rem !important;
  height: 5.4rem !important;
  display: block !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 14px 14px 0 0 !important;
}

._modal_dtape_91 .ui-tabs__wrap {
  width: 6.9rem !important;
  border-radius: 0 0 14px 14px !important;
  overflow: hidden !important;
}

._modal_dtape_91 .ui-dialog-close-box {
  position: relative !important;
  width: 6.9rem !important;
  height: 0.88rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
}

/* Footer Bottom Spacing */
._footerBox_2nza1_91 {
  padding-bottom: 85px !important;
}

/* FLY88 Event / Promotion Center Styles */
#eventView {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  z-index: 100 !important;
  background: #f7fdff !important;
  box-sizing: border-box !important;
}

#eventView header {
  width: 100% !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 110 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

#eventView .lobby-base-header__section--center {
  flex: 1 !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 0 4px !important;
}

#eventView .lobby-base-header__section--center::-webkit-scrollbar {
  display: none !important;
}

#eventView .ui-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px !important;
  padding: 0 6px !important;
  white-space: nowrap !important;
}

.fly-event-panel {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  flex: 1 !important;
  align-self: stretch !important;
}

#eventPanelKhuyenmai.active {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  height: calc(100vh - 105px) !important;
  overflow: hidden !important;
}

#eventPanelKhuyenmai:not(.active) {
  display: none !important;
}

/* Hoàn Trả (Cashback) View Layout & Scroll */
#eventPanelHoantra.active {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: calc(100vh - 105px) !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  padding: 10px 10px 40px 10px !important;
}

#eventPanelHoantra:not(.active) {
  display: none !important;
}

._cashback-container_ars20_91 {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

._cardWrap_6xhkg_91 {
  width: 100% !important;
  flex-shrink: 0 !important;
}

._cashback-container_ars20_91 ._section-content_6p5kt_109,
#eventPanelHoantra ._section-content_6p5kt_109 {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  flex: 1 !important;
  min-height: 0 !important;
  margin-top: 10px !important;
  box-sizing: border-box !important;
  gap: 8px !important;
  overflow: hidden !important;
}

._cashback-placeholder_1gfdy_91 {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}

._cashback-tabs_1pzpb_91 {
  display: flex !important;
  flex-direction: column !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  flex-shrink: 0 !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

._cashback-tabs_1pzpb_91 .ui-tabs__content {
  display: none !important;
}

/* Sidebar category tabs */
._sidebar-tabs-title_r8qx2_95 {
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  flex-shrink: 0 !important;
  height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  box-sizing: border-box !important;
  padding-bottom: 20px !important;
}

._sidebar-tabs-title_r8qx2_95::-webkit-scrollbar,
._cashback-con_1gfdy_98::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

._sidebar-tabs-title_r8qx2_95 .ui-tabs__nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 0 !important;
}

/* Tab item */
._sidebar-tabs-title_r8qx2_95 .ui-tab {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  user-select: none !important;
}

._sidebar-tabs-title_r8qx2_95 ._sidebar-common-tab-item_19du8_99 {
  width: 100% !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 6px !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  background-size: 100% 100% !important;
}

/* Inactive tabs */
._sidebar-tabs-title_r8qx2_95 .ui-tab:not(.ui-tab--active) ._sidebar-common-tab-item_19du8_99 {
  background: #ffffff !important;
  border: 1px solid #eef2f6 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

._sidebar-tabs-title_r8qx2_95 .ui-tab:not(.ui-tab--active) ._sidebar-common-tab-name_19du8_104 {
  color: #02a9dc !important;
  font-weight: 600 !important;
  font-size: 11px !important;
}

._sidebar-tabs-title_r8qx2_95 .ui-tab:not(.ui-tab--active) svg {
  fill: #02a9dc !important;
}

/* Active tabs */
._sidebar-tabs-title_r8qx2_95 .ui-tab.ui-tab--active ._sidebar-common-tab-item_19du8_99,
._sidebar-tabs-title_r8qx2_95 ._sidebar-common-tab-item_19du8_99.is-active {
  background: linear-gradient(135deg, #02a9dc 0%, #0093c1 100%) !important;
  box-shadow: 0 2px 6px rgba(2, 169, 220, 0.35) !important;
  border: none !important;
}

._sidebar-tabs-title_r8qx2_95 .ui-tab.ui-tab--active ._sidebar-common-tab-name_19du8_104,
._sidebar-tabs-title_r8qx2_95 ._sidebar-common-tab-item_19du8_99.is-active ._sidebar-common-tab-name_19du8_104 {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}

._sidebar-tabs-title_r8qx2_95 .ui-tab.ui-tab--active svg,
._sidebar-tabs-title_r8qx2_95 ._sidebar-common-tab-item_19du8_99.is-active svg {
  fill: #ffffff !important;
}

/* Right content cards container */
._cashback-con_1gfdy_98 {
  flex: 1 !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  display: block !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  box-sizing: border-box !important;
  padding-bottom: 50px !important;
}

._cashback-list_1gfdy_117 {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Card item */
._list-item_hlt43_91 {
  background: #ffffff !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

._list-item_hlt43_91:active {
  transform: scale(0.99) !important;
}

/* Floating widgets hidden inside eventView */
body.in-event-view .float-bar-main,
body.in-event-view .fly-floating-gift-badge,
body.in-event-view ._floatBox_ksaeh_91,
body.in-event-view ._floatBoxRight_ksaeh_117,
body.in-event-view ._floatBoxLeft_ksaeh_107 {
  display: none !important;
}

/* Refresh spin */
@keyframes spin360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-active {
  animation: spin360 0.8s linear infinite !important;
}

.fly-event-sidebar {
  width: 1.9rem !important;
  min-width: 1.9rem !important;
  max-width: 1.9rem !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  border-right: 1px solid #eef2f6 !important;
  overflow-y: auto !important;
  padding: 0.2rem 0.2rem 1.2rem 0.2rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.fly-event-sidebar::-webkit-scrollbar,
.fly-event-content::-webkit-scrollbar {
  display: none !important;
}

.fly-event-content {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: calc(100% - 1.9rem) !important;
  overflow-y: auto !important;
  padding: 0.2rem 0.2rem 1.2rem 0.2rem !important;
  box-sizing: border-box !important;
  background: #f7fdff !important;
}

.fly-event-cat {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 1.5rem !important;
  height: 0.7rem !important;
  min-height: 0.7rem !important;
  max-height: 0.7rem !important;
  padding: 0 0.06rem 0 0.03rem !important;
  margin: 0 auto 0.2rem auto !important;
  border-radius: 0.14rem !important;
  overflow: hidden !important;
  cursor: pointer !important;
  background: url("./siteadmin/skin/lobby_asset/98-0-1/web/common/btn_zc1_2.webp") no-repeat center !important;
  background-size: 100% 100% !important;
  color: var(--skin__leftnav_def, #66c6ec) !important;
  font-size: 0.2rem !important;
  font-weight: 500 !important;
  box-shadow: 0 0.03rem 0.07rem 0 var(--skin__web_left_bg_shadow, rgba(0, 0, 0, 0.12)) !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  box-sizing: border-box !important;
  word-break: break-all !important;
}

.fly-event-cat img {
  width: 0.48rem !important;
  height: 0.36rem !important;
  max-width: 0.48rem !important;
  max-height: 0.36rem !important;
  display: flex !important;
  flex-shrink: 0 !important;
  justify-content: center !important;
  align-items: center !important;
  object-fit: contain !important;
  margin-left: 0.03rem !important;
  z-index: 6 !important;
}

.fly-event-cat span {
  width: 100% !important;
  margin: 0 auto !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  font-size: 0.2rem !important;
  line-height: 0.26rem !important;
  text-align: center !important;
  word-break: break-word !important;
  font-weight: 500 !important;
  z-index: 6 !important;
  color: inherit !important;
}

.fly-event-cat.active {
  background: url("./siteadmin/skin/lobby_asset/98-0-1/web/common/btn_zc1_1.webp") no-repeat center !important;
  background-size: 100% 100% !important;
  color: var(--skin__leftnav_active, #ffffff) !important;
  box-shadow: 0 0.03rem 0.07rem 0 var(--skin__web_left_bg_shadow_active, rgba(0, 0, 0, 0.2)) !important;
}

.fly-event-cat.active span {
  color: var(--skin__leftnav_active, #ffffff) !important;
}

.fly-event-item {
  width: 100% !important;
  border-radius: 0.14rem !important;
  overflow: hidden !important;
  margin-bottom: 0.2rem !important;
  cursor: pointer !important;
  box-shadow: 0 0.03rem 0.07rem rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.fly-event-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.06rem 0.15rem rgba(2, 169, 220, 0.2) !important;
}

.fly-event-item img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 0.14rem !important;
}

.fly-event-empty {
  display: none;
  width: 100%;
  padding: 60px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
  box-sizing: border-box;
}

.fly-event-empty svg {
  margin: 0 auto 10px auto;
  opacity: 0.5;
  display: block;
}



/* ===== BOTTOM TABBAR FIXED POSITIONING ===== */
footer.layout-footer {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: var(--lobby__max-width, 7.5rem) !important;
  z-index: 99999 !important;
  display: block;
  visibility: visible !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
}

footer.layout-footer.fly-footer-hidden {
  display: none !important;
}

[dir="rtl"] footer.layout-footer {
  left: auto !important;
  right: 50% !important;
  transform: translateX(50%) !important;
}

/* Ensure content is not obscured by fixed bottom tabbar */
._home-layout_1x028_91 ._main_1x028_94 {
  padding-bottom: 2.2rem !important;
}

#mineView {
  padding-bottom: 2.2rem !important;
}

#eventView {
  padding-bottom: 2.2rem !important;
}

#cskhNoticeView {
  padding-bottom: 2.2rem !important;
}

#promoteView {
  padding-bottom: 2.2rem !important;
  width: 100% !important;
  max-width: 450px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  min-height: 100vh !important;
  position: relative !important;
  background-color: var(--skin__bg_body, #f4f5f8) !important;
}

#promoteView ._section-content_6p5kt_109 {
  width: 100% !important;
  max-width: 450px !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

#promoteView .promote-tabs,
#promoteView .ui-tabs__content {
  width: 100% !important;
  max-width: 450px !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

#promoteView .ui-swipe.swiper.ui-tabs__track {
  width: 100% !important;
  max-width: 450px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

#promoteView .ui-swipe__track {
  width: 100% !important;
  max-width: 450px !important;
  display: block !important;
  transform: none !important;
  box-sizing: border-box !important;
  transition: none !important;
}

#promoteView .ui-tab__panel-wrapper {
  width: 100% !important;
  max-width: 450px !important;
  box-sizing: border-box !important;
  display: none !important;
}

#promoteView .ui-tab__panel-wrapper.active-tab-panel {
  display: block !important;
}

#promoteView .ui-tab__panel {
  width: 100% !important;
  max-width: 450px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#promoteView ._prmote-base-layout_1bk8r_92 {
  width: 100% !important;
  max-width: 450px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

#promoteView ._tutorial-root_nlnql_91 {
  width: 100% !important;
  max-width: 450px !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
}

#promoteView ._tutorial-root_nlnql_91 table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  font-size: 12px !important;
}

#promoteView ._tutorial-root_nlnql_91 th,
#promoteView ._tutorial-root_nlnql_91 td {
  padding: 6px 4px !important;
  text-align: center !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#promoteView .ui-tabs__nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

#promoteView .ui-tabs__nav::-webkit-scrollbar {
  display: none !important;
}

#promoteView .ui-tab {
  flex: 0 0 auto !important;
  padding: 0 14px !important;
  cursor: pointer !important;
}
/* ===== END BOTTOM TABBAR FIXED POSITIONING ===== */

/* ===== SEAMLESS MARQUEE ANIMATION (Exact replica of fly88o.biz) ===== */
._main_1rcjp_91 {
  --end-offset: 0px;
  overflow: hidden !important;
  width: 100% !important;
  display: inline-block !important;
  position: relative !important;
  vertical-align: middle !important;
}

._main_1rcjp_91 > div,
.seamless-scroll-inner {
  position: relative !important;
  display: inline-block !important;
  overflow: hidden !important;
  min-width: 100% !important;
  width: 100% !important;
  height: 20px !important;
  line-height: 20px !important;
  vertical-align: middle !important;
}

._main_1rcjp_91 ._placeholder_1rcjp_100 {
  display: flex !important;
  visibility: hidden !important;
  height: 0px !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

._main_1rcjp_91 ._mainScroller_1rcjp_104,
.seamless-main-scroller {
  will-change: transform !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: inline-flex !important;
  white-space: nowrap !important;
  width: max-content !important;
  min-width: 200% !important;
  height: 100% !important;
  align-items: center !important;
  animation-name: _dynamicScrollLeft_1rcjp_1 !important;
  animation-duration: 45s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-fill-mode: forwards !important;
  animation-play-state: running !important;
}

[dir="rtl"] ._main_1rcjp_91 ._mainScroller_1rcjp_104 {
  left: auto !important;
  right: 0 !important;
}

._main_1rcjp_91 ._mainScroller_1rcjp_104 > span,
.seamless-main-scroller > span {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

._main_1rcjp_91 ._content_o5ds8_125,
.home-marquee-content {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}

._main_1rcjp_91 ._content_o5ds8_125 p,
.home-marquee-content p {
  display: inline-block !important;
  margin: 0 10px 0 0 !important;
  white-space: nowrap !important;
  line-height: normal !important;
}

._main_1rcjp_91:hover .seamless-main-scroller,
.seamless-main-scroller:hover {
  animation-play-state: paused !important;
}

@keyframes _dynamicScrollLeft_1rcjp_1 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

._main_1rcjp_91 ._scrollLeft_1rcjp_197 {
  animation-name: _dynamicScrollLeft_1rcjp_1 !important;
  animation-timing-function: linear !important;
}
/* ===== END SEAMLESS MARQUEE ANIMATION ===== */

/* ===== GAME HEADLINE INTERACTION STYLES (Tất Cả & Navigation Arrows) ===== */
._game-headline_6aszb_91 ._click-area_6aszb_136 {
  cursor: pointer !important;
  user-select: none !important;
  transition: opacity 0.15s ease, transform 0.1s ease, filter 0.15s ease !important;
}

._game-headline_6aszb_91 ._click-area_6aszb_136:hover {
  filter: brightness(1.12) !important;
  opacity: 0.95 !important;
}

._game-headline_6aszb_91 ._click-area_6aszb_136:active {
  transform: scale(0.95) !important;
  filter: brightness(0.9) !important;
}

._game-headline_6aszb_91 ._headline-center_6aszb_110 {
  cursor: pointer !important;
  user-select: none !important;
  transition: opacity 0.15s ease !important;
}

._game-headline_6aszb_91 ._headline-center_6aszb_110:hover {
  opacity: 0.85 !important;
}

._nav-arrow_1vb61_91._is-headline_1vb61_112 {
  cursor: pointer !important;
  user-select: none !important;
  transition: opacity 0.15s ease, filter 0.15s ease, transform 0.1s ease !important;
}

._nav-arrow_1vb61_91._is-headline_1vb61_112:hover:not(._is-disable_1vb61_117) {
  filter: brightness(1.18) !important;
}

._nav-arrow_1vb61_91._is-headline_1vb61_112:active:not(._is-disable_1vb61_117) {
  opacity: 0.8 !important;
}

._nav-arrow_1vb61_91._is-disable_1vb61_117 {
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.55 !important;
}

/* Ensure horizontal smooth scrolling for game row */
._list-slide-layout_l38le_92 {
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
}
/* ===== END GAME HEADLINE INTERACTION STYLES ===== */

/* ===== FAQ TABS & PILLS 1:1 WITH PRODUCTION ===== */
._main_zzwue_102.ui-tabs__nav {
  display: flex !important;
  align-items: center !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

._main_zzwue_102.ui-tabs__nav::-webkit-scrollbar {
  display: none !important;
}

._tab-title_tz7ez_95 {
  margin-right: 9.6px !important;
  margin-right: 0.16rem !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  background: transparent !important;
}

._tab-title_tz7ez_95 ._tab-button_tz7ez_100 {
  min-width: 84px !important;
  min-width: 1.4rem !important;
  height: 33px !important;
  height: 0.55rem !important;
  font-size: 14.4px !important;
  font-size: 0.24rem !important;
  font-weight: 400 !important;
  padding: 0 9.6px !important;
  padding: 0 0.16rem !important;
  width: auto !important;
  border-radius: 8.4px !important;
  border-radius: 0.14rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  outline: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: 1px solid rgb(2, 169, 220) !important;
  background: rgb(2, 169, 220) !important;
  color: #ffffff !important;
}

/* Inactive State: transparent/white bg, #e3e3e3 border, #838383 text */
._tab-title_tz7ez_95 ._tab-button_tz7ez_100.ui-button--plain,
._tab-title_tz7ez_95:not(.ui-tab--active) ._tab-button_tz7ez_100 {
  background: #ffffff !important;
  border: 1px solid #e3e3e3 !important;
  border-color: var(--skin__border, #e3e3e3) !important;
  color: #838383 !important;
  color: var(--skin__neutral_1, #838383) !important;
}

/* Active State: cyan blue bg, cyan blue border, pure white text */
._tab-title_tz7ez_95.ui-tab--active ._tab-button_tz7ez_100,
._tab-title_tz7ez_95 ._tab-button_tz7ez_100:not(.ui-button--plain) {
  background: var(--skin__primary, #02a9dc) !important;
  border: 1px solid var(--skin__primary, #02a9dc) !important;
  color: #ffffff !important;
}

._tab-title_tz7ez_95 .ui-button__content {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

._tab-title_tz7ez_95 .ui-button__text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 0.33rem !important;
  white-space: nowrap !important;
  font-size: 14.4px !important;
  font-size: 0.24rem !important;
}

._tab-title_tz7ez_95.ui-tab--active .ui-button__text,
._tab-title_tz7ez_95.ui-tab--active .ui-button__text span {
  color: #ffffff !important;
}

._tab-title_tz7ez_95:not(.ui-tab--active) .ui-button__text,
._tab-title_tz7ez_95:not(.ui-tab--active) .ui-button__text span {
  color: #838383 !important;
  color: var(--skin__neutral_1, #838383) !important;
}

._tab-title_tz7ez_95 ._icon_tz7ez_115 {
  width: 19.2px !important;
  width: 0.32rem !important;
  height: 19.2px !important;
  height: 0.32rem !important;
  margin-right: 3.6px !important;
  margin-right: 0.06rem !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}





/* Mine / Personal Center (/home/mine) Styling */
#mineView {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  overscroll-behavior-y: contain !important;
  box-sizing: border-box !important;
  padding-bottom: 150px !important;
  z-index: 100 !important;
  scrollbar-width: thin !important;
}

#mineView::-webkit-scrollbar {
  width: 5px;
}
#mineView::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

#mineView .mine-day-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  user-select: none;
}

#mineView .mine-day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#mineView .mine-copy-btn:hover {
  opacity: 0.8;
}

#mineView .mine-quick-item {
  transition: transform 0.15s ease, background-color 0.15s ease;
  user-select: none;
}

#mineView .mine-quick-item:hover {
  background-color: #f1f5f9 !important;
  transform: translateY(-2px);
}

#mineView .mine-quick-item:active {
  transform: scale(0.96);
}

#mineView #btnQuickLogout:hover {
  background: #fee2e2 !important;
  transform: translateY(-2px);
}

#modalBindBankNotice.active,
#flyBindBankModal.active,
#flyRechargeModal.active,
#flyWithdrawModal.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 9999999 !important;
}

/* Copy button for recharge transfer details */
.recharge-copy-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0284c7;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}
.recharge-copy-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}
.recharge-copy-btn:active {
  transform: scale(0.95);
}

/* Notice Interactive Cards */
.fly-notice-card {
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border-radius: 10px;
  padding: 8px 10px;
  margin: -8px -10px;
}
.fly-notice-card:hover {
  background: #f8fafc !important;
  transform: translateX(3px);
}
.fly-notice-card:active {
  background: #f1f5f9 !important;
  transform: scale(0.99);
}

#flyNoticeDetailModal.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 9999999 !important;
}

@keyframes flyPing {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.fly-spin-pulse {
  animation: flySpin 2s linear infinite;
}
@keyframes flySpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Core Root & Home Layout Constraints - Prevents Flex Bleed and Row Distortion */
._base-layout_6p5kt_91 > ._section-content_6p5kt_109 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 !important;
  position: relative !important;
  overflow: hidden !important;
}

._home-layout_1x028_91 {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

._home-layout_1x028_91[style*="display: none"] {
  display: none !important;
}

._home-layout_1x028_91 ._main_1x028_94 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  flex: 1 !important;
}

._home-layout_1x028_91 ._main_1x028_94 > * {
  max-width: 100% !important;
}

#eventView[style*="display: none"],
#subgameView[style*="display: none"],
#mineView[style*="display: none"],
#cskhNoticeView[style*="display: none"],
#promoteView[style*="display: none"] {
  display: none !important;
}


/* Pre-Table Deposit Flow Styles (Nạp Tiền Trước Khi Vào Bàn) */
#flyPreTableModal {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

#flyPreTableModal.active {
  display: flex !important;
  opacity: 1 !important;
}

.pretable-dialog-card {
  box-sizing: border-box;
  animation: flyPreTableScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flyPreTableScaleUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pretable-chip-btn {
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  outline: none;
}

.pretable-chip-btn:hover {
  background: rgba(2, 169, 220, 0.15);
  border-color: rgba(2, 169, 220, 0.5);
  color: #38bdf8;
}

.pretable-chip-btn.active {
  background: linear-gradient(135deg, rgba(2, 169, 220, 0.3) 0%, rgba(2, 132, 199, 0.4) 100%) !important;
  border-color: #02A9DC !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(2, 169, 220, 0.4) !important;
}

#btnPreTableDoDeposit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 169, 220, 0.6) !important;
}


#btnPreTableDoLogin:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 169, 220, 0.6) !important;
}

#btnPreTableDoRegister:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

/* ==========================================================================
   Modern App Withdrawal UI (100% Match to Screenshot)
   ========================================================================== */
.fly-withdraw-card {
  background: #ffffff;
  width: 94%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  animation: flySlideUp 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  user-select: none;
}

.withdraw-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 52px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.withdraw-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  outline: none;
  color: #64748b;
  transition: background 0.15s, color 0.15s;
}

.withdraw-icon-btn:hover {
  background: #f8fafc;
}

.withdraw-tabs-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.withdraw-nav-tab {
  background: transparent;
  border: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #475569;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 0 2px;
  outline: none;
  transition: color 0.18s;
  white-space: nowrap;
}

.withdraw-nav-tab:hover {
  color: #02a9dc;
}

.withdraw-nav-tab.active {
  color: #02a9dc;
  font-weight: 600;
}

.withdraw-nav-tab .tab-indicator {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #02a9dc;
  border-radius: 3px 3px 0 0;
}

.withdraw-nav-tab.active .tab-indicator {
  display: block;
}

.withdraw-body-container {
  padding: 16px 18px 20px 18px;
  max-height: 78vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.withdraw-balance-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  color: #475569;
}

.withdraw-balance-val {
  font-size: 16.5px;
  font-weight: 700;
  color: #eab308;
  margin-left: 2px;
}

.withdraw-refresh-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #02a9dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  outline: none;
}

.withdraw-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.withdraw-method-btn {
  height: 44px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  outline: none;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.withdraw-method-btn.active {
  border: 1.5px solid #02a9dc;
  color: #02a9dc;
  font-weight: 600;
}

.withdraw-account-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  margin-bottom: 20px;
  transition: border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
}

.withdraw-account-card:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.withdraw-account-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.withdraw-card-title {
  font-size: 15px;
  color: #64748b;
  font-weight: 500;
}

.withdraw-amount-title {
  font-size: 15.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
}

.withdraw-input-field {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.withdraw-input-field::placeholder {
  color: #64748b;
}

.withdraw-input-field:focus {
  border-color: #02a9dc;
  box-shadow: 0 0 0 3px rgba(2, 169, 220, 0.12);
}

.withdraw-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.withdraw-interest-btn {
  position: relative;
  height: 46px;
  border: 1.5px solid #02a9dc;
  background: #ffffff;
  border-radius: 10px;
  color: #02a9dc;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: all 0.18s;
}

.withdraw-interest-btn:hover {
  background: #f0f9ff;
}

.withdraw-interest-badge {
  position: absolute;
  top: -10px;
  left: -1px;
  background: #16a34a;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 8px 0 8px 0;
  line-height: 1.2;
  box-shadow: 0 2px 4px rgba(22, 163, 74, 0.22);
}

.withdraw-submit-btn {
  height: 46px;
  border: none;
  border-radius: 10px;
  background: #78716c;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: all 0.2s;
}

.withdraw-submit-btn.ready {
  background: linear-gradient(135deg, #0284c7, #02a9dc);
  box-shadow: 0 4px 12px rgba(2, 169, 220, 0.35);
}

.withdraw-submit-btn:hover {
  opacity: 0.95;
}

