﻿/* final viewport + bottom-nav fix */
html, body {
  min-height: 100svh;
  height: 100svh;
  background:
    linear-gradient(180deg, rgba(4, 10, 24, 0.44), rgba(4, 10, 24, 0.68)),
    var(--yak-app-bg-image) center top / cover no-repeat fixed;
}
body { overflow: hidden; }
#games-screen .redesign-screen-head {
  align-items: center;
}
#games-screen .screen-title {
  margin-bottom: 0;
}
#games-screen .screen-subtitle,
#games-screen .screen-kicker,
#cases-screen .screen-subtitle,
#free-screen .screen-subtitle,
#tasks-screen .screen-subtitle,
#tournament-screen .screen-subtitle,
#profile-screen .section-subtext {
  display: none !important;
}
#games-screen .game-select-grid.redesign-games-grid {
  gap: 10px;
}
#games-screen .game-pick-card.game-pick-visual {
  min-height: 84px;
  border-radius: 24px;
}
#games-screen .game-pick-card .game-pick-content {
  padding: 16px 18px;
}
#games-screen .game-pick-card .game-pick-title {
  font-size: 18px;
}
#games-screen .game-pick-card .game-pick-text {
  display: none;
}
/* games cards stretch fix */
#games-screen .game-select-grid.redesign-games-grid {
  width: 100%;
}
#games-screen .game-pick-card.game-pick-visual {
  width: 100%;
}
#games-screen .cards-stack.redesign-games-stack {
  gap: 14px;
}
#games-screen .redesign-screen-head {
  margin-bottom: 14px;
}
#games-screen .chip-btn {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 34px;
  line-height: 1;
}
/* full width fix for Games and Free screens */
#games-screen,
#free-screen,
#games-screen.screen.active,
#free-screen.screen.active {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#games-screen .cards-stack.redesign-games-stack,
#free-screen .cards-stack.redesign-free-stack {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
#games-screen .game-select-grid.redesign-games-grid,
#games-screen .game-pick-card.game-pick-visual,
#free-screen .reward-card,
#free-screen .panel-card.glass-soft.redesign-promo-card,
#free-screen .promo-row,
#free-screen .promo-input {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
#games-screen .game-select-grid.redesign-games-grid,
#free-screen .reward-card,
#free-screen .panel-card.glass-soft.redesign-promo-card {
  justify-self: stretch !important;
}
@media (max-width: 520px) {
  #free-screen .promo-row {
    grid-template-columns: 1fr !important;
  }
}

/* final polish patch */
#free-screen,
#free-screen.screen.active {
  overflow: hidden !important;
}
#free-screen .cards-stack.redesign-free-stack {
  height: 100%;
  justify-content: flex-start;
  gap: 14px !important;
  padding-top: 6px;
}
#free-screen .redesign-screen-head {
  display: none !important;
}
#free-screen .reward-card {
  padding: 18px !important;
}
#free-screen .panel-badge.gold {
  margin-bottom: 12px;
}
#free-screen .section-subtext {
  margin-top: 2px !important;
  font-size: 12px !important;
}
#free-screen .reward-claim-btn {
  min-height: 62px !important;
  margin-top: 14px !important;
}
#free-screen .reward-timer {
  margin-top: 10px !important;
}
#free-screen .redesign-promo-card {
  padding: 16px !important;
}
#free-screen .redesign-promo-card .panel-head {
  margin-bottom: 10px !important;
}
#free-screen .promo-row {
  gap: 12px !important;
}
#free-screen .promo-input {
  min-height: 58px !important;
}

@media (max-width: 480px) {
  #free-screen .reward-card {
    padding: 16px !important;
  }
  #free-screen .reward-claim-btn,
  #free-screen .promo-input {
    min-height: 56px !important;
  }
}


/* ===== final ios premium patch ===== */
:root{
  --ios-shell-side:10px;
  --ios-panel-radius:26px;
  --ios-card-radius:24px;
}
html,body{
  background:
    radial-gradient(circle at 78% 12%, rgba(42,103,255,.20), transparent 30%),
    radial-gradient(circle at 16% 78%, rgba(151,48,255,.14), transparent 32%),
    linear-gradient(180deg, rgba(2, 5, 18, 0.22), rgba(2, 5, 18, 0.74)),
    var(--yak-app-bg-image) center top / cover no-repeat fixed !important;
}
#games-screen.screen.active{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding:4px 0 calc(var(--nav-h) + var(--safe-bottom) + 12px) !important;
}
#free-screen.screen.active{
  overflow:hidden !important;
  padding:4px 0 calc(var(--nav-h) + var(--safe-bottom) + 10px) !important;
}
#games-screen .cards-stack.redesign-games-stack,
#free-screen .cards-stack.redesign-free-stack{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}
#games-screen .cards-stack.redesign-games-stack{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:14px !important;
}
#free-screen .cards-stack.redesign-free-stack{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  gap:12px !important;
  height:100% !important;
}
#games-screen .game-select-grid.redesign-games-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
  width:100% !important;
}
#games-screen .game-pick-card.game-pick-visual{
  width:100% !important;
  min-height:124px !important;
  border-radius:26px !important;
  border:1px solid rgba(255,255,255,.06) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.24) !important;
}
#games-screen .game-pick-art{
  background-position:center center !important;
}
#games-screen .game-pick-overlay{
  background:linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 36%, rgba(0,0,0,.64) 100%) !important;
}
#games-screen .game-pick-card .game-pick-content{
  padding:18px 20px !important;
  justify-content:flex-end !important;
}
#games-screen .game-pick-card .game-pick-title{
  font-size:19px !important;
  font-weight:800 !important;
  color:#fff !important;
  text-shadow:0 1px 8px rgba(0,0,0,.32) !important;
}
#games-screen .game-pick-card .game-pick-text{display:none !important;}
#games-screen .game-pick-card.game-pick-visual[data-solo-game="plinko"] .game-pick-title{
  color:#fff !important;
}
#free-screen .reward-card,
#free-screen .panel-card.glass-soft.redesign-promo-card{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  align-self:stretch !important;
  border-radius:26px !important;
  box-sizing:border-box !important;
}
#free-screen .reward-card{
  flex:1 1 auto !important;
  min-height:0 !important;
  padding:18px !important;
  gap:12px !important;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,216,97,.14), transparent 40%),
    linear-gradient(180deg, rgba(8,28,58,.92), rgba(4,17,35,.98)) !important;
  border:1px solid rgba(255,255,255,.06) !important;
}
#free-screen .reward-glow{
  inset:auto -16% 56% -16% !important;
  height:140px !important;
  background:radial-gradient(circle, rgba(255,219,113,.22), transparent 66%) !important;
}
#free-screen .panel-badge.gold{
  align-self:flex-start !important;
  padding:7px 18px !important;
  margin:0 0 6px 0 !important;
  color:#f3f2ea !important;
  font-size:13px !important;
  font-weight:800 !important;
  background:linear-gradient(90deg, rgba(111,108,53,.76), rgba(140,128,60,.38)) !important;
  border:1px solid rgba(214,188,104,.16) !important;
}
#free-screen .section-subtext{
  display:block !important;
  font-size:12px !important;
  color:rgba(255,255,255,.74) !important;
  margin:0 !important;
}
#free-screen .reward-claim-btn{
  width:100% !important;
  min-height:64px !important;
  margin-top:auto !important;
  border-radius:18px !important;
}
#free-screen .reward-timer{
  margin-top:2px !important;
  font-size:12px !important;
}
#free-screen .redesign-promo-card{
  flex:0 0 auto !important;
  padding:16px !important;
  background:linear-gradient(180deg, rgba(7,27,58,.92), rgba(4,17,35,.98)) !important;
  border:1px solid rgba(255,255,255,.06) !important;
}
#free-screen .redesign-promo-card .panel-head{
  margin-bottom:10px !important;
}
#free-screen .redesign-promo-card .panel-title{
  font-size:28px !important;
  line-height:1 !important;
  letter-spacing:-.03em !important;
}
#free-screen .redesign-promo-card .section-subtext{
  font-size:12px !important;
}
#free-screen .promo-row{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:6px !important;
  width:100% !important;
}
#free-screen .promo-input{
  width:100% !important;
  min-height:58px !important;
  border-radius:18px !important;
}
@media (max-width:480px){
  #free-screen .reward-card{padding:16px !important;}
  #free-screen .redesign-promo-card{padding:14px !important;}
}

/* ===== premium ios motion patch ===== */
:root{
  --premium-ease:cubic-bezier(.22,.61,.36,1);
  --premium-fast:180ms;
  --premium-med:320ms;
  --premium-slow:560ms;
  --premium-gold-1:rgba(133,72,255,.22);
  --premium-gold-2:rgba(31,126,255,.12);
  --premium-line:rgba(112,168,255,.18);
  --premium-shadow:0 18px 50px rgba(0,0,0,.30);
  --premium-glow:0 10px 26px rgba(92,86,255,.18);
  --premium-inset:inset 0 1px 0 rgba(255,255,255,.10), inset 0 -1px 0 rgba(255,255,255,.02);
  --yak-space-panel:rgba(5,11,30,.88);
  --yak-space-panel-strong:rgba(7,15,40,.96);
  --yak-space-line:rgba(106,153,255,.24);
  --yak-space-cyan:#36c8ff;
  --yak-space-blue:#1d7dff;
  --yak-space-violet:#8d2dff;
  --yak-space-magenta:#c02cff;
}

#games-screen .cards-stack,
#free-screen .cards-stack{
  gap:14px !important;
}

#games-screen .redesign-games-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
  width:100% !important;
}

#games-screen .game-pick-card.game-pick-visual{
  width:100% !important;
  min-height:168px !important;
  border-radius:30px !important;
  justify-self:stretch !important;
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  transition:transform var(--premium-fast) var(--premium-ease), box-shadow var(--premium-med) var(--premium-ease), border-color var(--premium-fast) var(--premium-ease), filter var(--premium-fast) var(--premium-ease);
  isolation:isolate;
}

#games-screen .game-pick-card.game-pick-visual::before,
#games-screen .game-pick-card.game-pick-visual::after,
.reward-card::before,
.redesign-promo-card::before,
.redesign-bottom-nav::before,
.floating-balance-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}

#games-screen .game-pick-card.game-pick-visual::before,
.reward-card::before,
.redesign-promo-card::before,
.floating-balance-card::before{
  border-radius:inherit;
  background:transparent !important;
  opacity:0 !important;
}

#games-screen .game-pick-card.game-pick-visual::after,
.reward-card::after,
.redesign-promo-card::after{
  display:none !important;
}

#games-screen .game-pick-card .game-pick-art{
  transform:scale(1.025);
  transition:transform var(--premium-slow) var(--premium-ease);
  filter:none;
}

#games-screen .game-pick-card .game-pick-overlay{
  background:linear-gradient(180deg,rgba(7,10,17,.10) 0%, rgba(7,10,17,.20) 34%, rgba(5,8,14,.76) 100%) !important;
  transition:background var(--premium-med) var(--premium-ease), opacity var(--premium-med) var(--premium-ease);
}

#games-screen .game-pick-card .game-pick-content{
  padding:18px !important;
  gap:4px !important;
}

#games-screen .game-pick-card .game-pick-title{
  color:#ffffff !important;
  text-shadow:none !important;
}

#games-screen .game-pick-card .game-pick-text{
  color:rgba(244,247,255,.84) !important;
}

#games-screen .game-pick-card.active,
#games-screen .game-pick-card.game-pick-visual:focus-visible{
  border-color:transparent !important;
  box-shadow:none !important;
}

#games-screen .game-pick-card.active .game-pick-overlay{
  background:linear-gradient(180deg,rgba(15,18,48,.08) 0%, rgba(35,21,88,.18) 34%, rgba(5,8,22,.70) 100%) !important;
}

#free-screen.screen.active{
  overflow:hidden !important;
}

#free-screen .cards-stack{
  min-height:calc(100dvh - var(--safe-top) - var(--nav-h) - 104px);
  justify-content:flex-start;
}

#free-screen .reward-card,
#free-screen .redesign-promo-card{
  position:relative;
  width:100% !important;
  max-width:none !important;
  border-radius:30px !important;
  border-color:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  overflow:hidden;
  transition:transform var(--premium-fast) var(--premium-ease), box-shadow var(--premium-med) var(--premium-ease), border-color var(--premium-fast) var(--premium-ease);
}

#free-screen .reward-card{
  padding:18px 18px 16px !important;
  background:transparent !important;
}

#free-screen .redesign-promo-card{
  padding:16px !important;
  background:transparent !important;
}

#free-screen .panel-badge.gold,
#free-screen .panel-head{
  display:none !important;
}

#free-screen .promo-row{
  display:grid !important;
  grid-template-columns:1fr auto !important;
  gap:6px !important;
  width:100% !important;
}

#free-screen .promo-input,
#free-screen .dark-btn,
#free-screen .primary-btn,
.mini-action-btn,
button,
.chip-btn,
.ton-btn{
  transition:transform var(--premium-fast) var(--premium-ease), box-shadow var(--premium-fast) var(--premium-ease), filter var(--premium-fast) var(--premium-ease), background var(--premium-med) var(--premium-ease), border-color var(--premium-fast) var(--premium-ease), opacity var(--premium-fast) var(--premium-ease);
}

#free-screen .promo-input,
#free-screen .dark-btn,
#free-screen .primary-btn,
.floating-balance-main,
.mini-action-btn,
.redesign-bottom-nav,
.floating-balance-card,
.reward-card,
.redesign-promo-card,
.game-pick-card.game-pick-visual,
.glass-soft{
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.main-layout .screen.active{
  background:transparent !important;
}

.main-layout .glass-soft,
.main-layout .panel-card,
.main-layout .reward-card,
.main-layout .store-shell,
.main-layout .inventory-card,
.main-layout .profile-hero{
  background:
    linear-gradient(180deg, rgba(14,26,64,.78), rgba(5,11,30,.92)) !important;
  border-color:var(--yak-space-line) !important;
  box-shadow:
    0 18px 40px rgba(0,0,0,.30),
    0 0 28px rgba(45,143,255,.22),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.primary-btn,
.dark-btn,
.ton-btn,
.chip-btn{
  position:relative;
  overflow:hidden;
}

.main-layout .primary-btn,
.main-layout .ton-btn,
.main-layout .dark-btn,
.main-layout .chip-btn,
.profile-action-card .primary-btn,
.profile-action-card .dark-btn{
  color:#fff !important;
  border-color:rgba(117,178,255,.30) !important;
  background:linear-gradient(135deg,var(--yak-space-magenta) 0%,var(--yak-space-violet) 40%,var(--yak-space-blue) 100%) !important;
  box-shadow:none !important;
}

.main-layout .dark-btn,
.main-layout .chip-btn,
.profile-action-card .dark-btn{
  background:
    linear-gradient(180deg, rgba(25,38,88,.82), rgba(8,16,42,.88)) !important;
  box-shadow:none !important;
}

.main-layout input,
.main-layout select,
.main-layout textarea,
.main-layout .promo-input,
.profile-action-card input,
.profile-action-card select,
.profile-action-card textarea{
  color:#f5f8ff !important;
  background:rgba(5,12,34,.78) !important;
  border-color:rgba(106,146,255,.24) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.main-layout input:focus,
.main-layout select:focus,
.main-layout textarea:focus,
.main-layout .promo-input:focus,
.profile-action-card input:focus,
.profile-action-card select:focus,
.profile-action-card textarea:focus{
  border-color:rgba(68,202,255,.58) !important;
  box-shadow:none !important;
}

.primary-btn::after,
.dark-btn::after,
.ton-btn::after,
.chip-btn::after,
.mini-action-btn::after{
  content:"";
}

.primary-btn::before,
.dark-btn::before,
.ton-btn::before,
.chip-btn::before,
.mini-action-btn::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(110deg, transparent 0%, rgba(255,255,255,.12) 45%, transparent 70%);
  transform:translateX(-130%);
  opacity:0;
  pointer-events:none;
}

@keyframes premiumShimmer{
  0%{transform:translateX(-130%);opacity:0}
  18%{opacity:.55}
  100%{transform:translateX(130%);opacity:0}
}

@media (hover:hover){
  #games-screen .game-pick-card.game-pick-visual:hover,
  #free-screen .reward-card:hover,
  #free-screen .redesign-promo-card:hover,
  .mini-action-btn:hover,
  .primary-btn:hover,
  .dark-btn:hover,
  .ton-btn:hover,
  .chip-btn:hover{
    transform:translateY(-2px);
  }

  #games-screen .game-pick-card.game-pick-visual:hover .game-pick-art{
    transform:scale(1.045);
    filter:saturate(1.06) contrast(1.04);
  }

  #games-screen .game-pick-card.game-pick-visual:hover::before,
  #free-screen .reward-card:hover::before,
  #free-screen .redesign-promo-card:hover::before,
  .primary-btn:hover::before,
  .dark-btn:hover::before,
  .ton-btn:hover::before,
  .chip-btn:hover::before,
  .mini-action-btn:hover::before{
    animation:premiumShimmer 900ms var(--premium-ease) 1;
  }
}

#games-screen .game-pick-card.game-pick-visual:active,
#free-screen .reward-card:active,
#free-screen .redesign-promo-card:active,
.primary-btn:active,
.dark-btn:active,
.ton-btn:active,
.chip-btn:active,
.mini-action-btn:active{
  transform:scale(.985);
}

#games-screen .redesign-screen-head,
#free-screen .redesign-screen-head,
#games-screen .screen-kicker,
#games-screen .screen-title,
#games-screen .screen-subtitle{
  display:none !important;
}

@media (max-width:640px){
  #games-screen .redesign-games-grid,
  #free-screen .cards-stack{
    gap:12px !important;
  }

  #games-screen .game-pick-card.game-pick-visual{
    min-height:150px !important;
  }

  #free-screen .cards-stack{
    min-height:calc(100dvh - var(--safe-top) - var(--nav-h) - 96px);
  }

  #free-screen .promo-row{
    grid-template-columns:1fr auto !important;
  }
}


.redesign-quick-links-large{display:grid;gap:6px}
.profile-link-row-large{min-height:64px;padding:0 18px;font-size:17px;font-weight:800;border-radius:18px}
.profile-link-row-large .masked-icon{width:22px;height:22px}
.profile-action-modal{position:fixed;inset:0;z-index:-1;display:none;padding:18px;background:rgba(0,0,0,.01);visibility:hidden;opacity:0;pointer-events:none}
.profile-action-modal.hidden{display:none!important}
.profile-action-modal:not([data-mode]){display:none!important;pointer-events:none!important}
.profile-action-modal:not(.is-open){display:none!important;pointer-events:none!important}
.profile-action-modal.is-open[data-mode]{display:flex!important;align-items:flex-start!important;justify-content:center!important;z-index:120;visibility:visible;opacity:1;pointer-events:auto}
#profileActionModal:not(.is-open),
#profileActionModal.hidden,
#profileActionModal:not([data-mode]){
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
  z-index:-1 !important;
}
#profileActionModal.is-open[data-mode]{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
  z-index:120 !important;
}
.profile-action-backdrop{position:absolute;inset:0;background:rgba(2,9,20,.78);backdrop-filter:none;-webkit-backdrop-filter:none}
.profile-action-modal .panel-card{margin:0}
.profile-action-modal .finance-switcher,.profile-action-modal #finance-tab-withdraw,.profile-action-modal .withdraw-focus-card{display:none!important}
.profile-action-modal[data-mode="deposit"] .redesign-convert-card,
.profile-action-modal[data-mode="deposit"] .redesign-wallet-functions,
.profile-action-modal[data-mode="deposit"] .redesign-referral-card{display:none!important}
.profile-action-modal[data-mode="withdraw"] #finance-tab-deposit,
.profile-action-modal[data-mode="withdraw"] .redesign-referral-card{display:none!important}
.profile-action-modal .section-subtext,
.profile-action-modal .eyebrow{display:none!important}
.profile-action-modal .ton-btn,
.profile-action-modal .danger-btn,
.profile-action-modal .dark-btn,
.profile-action-modal .buy-btn,
.profile-action-modal .profile-info-chip{
  box-shadow:none !important;
  filter:none !important;
  text-shadow:none !important;
}
.profile-action-modal .ton-btn::before,
.profile-action-modal .danger-btn::before,
.profile-action-modal .dark-btn::before,
.profile-action-modal .buy-btn::before,
.profile-action-modal .profile-info-chip::before,
.profile-action-modal .ton-btn::after,
.profile-action-modal .danger-btn::after,
.profile-action-modal .dark-btn::after,
.profile-action-modal .buy-btn::after,
.profile-action-modal .profile-info-chip::after{
  display:none !important;
  content:none !important;
  animation:none !important;
}
#wallet-screen.profile-history-only{margin-top:18px}
#wallet-screen.profile-history-only .wallet-layout{display:block}
#wallet-screen.profile-history-only .finance-switcher,
#wallet-screen.profile-history-only #finance-tab-deposit,
#wallet-screen.profile-history-only .redesign-convert-card,
#wallet-screen.profile-history-only .redesign-wallet-functions,
#wallet-screen.profile-history-only #finance-tab-withdraw,
#wallet-screen.profile-history-only .redesign-referral-card{display:none!important}
#wallet-screen.profile-history-only .wallet-layout > .panel-card:last-child{margin-top:0}
@media (max-width:640px){.profile-link-row-large{min-height:64px;font-size:16px;padding:0 18px}}

/* Telegram + crypto neon polish: reuse the existing layout, only tune surfaces. */
:root{
  --yak-tg-bg: var(--tg-theme-bg-color, #071426);
  --yak-tg-surface: var(--tg-theme-secondary-bg-color, #101f35);
  --yak-tg-text: var(--tg-theme-text-color, #f5f8ff);
  --yak-tg-hint: var(--tg-theme-hint-color, #8fa8ca);
  --yak-tg-accent: var(--tg-theme-button-color, #2ea6ff);
}

html,
body{
  color:var(--yak-tg-text) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(46,166,255,.16), transparent 34%),
    linear-gradient(180deg, rgba(7,20,38,.82), rgba(4,10,24,.94)),
    var(--yak-app-bg-image) center top / cover no-repeat fixed !important;
}

.app-shell{
  background:linear-gradient(180deg, rgba(7,20,38,.18), rgba(7,20,38,.04)) !important;
}

.main-layout .glass-soft,
.main-layout .panel-card,
.main-layout .reward-card,
.main-layout .store-shell,
.main-layout .inventory-card,
.main-layout .profile-hero{
  background:
    linear-gradient(180deg, rgba(16,31,53,.90), rgba(8,18,34,.94)) !important;
  border-color:rgba(255,255,255,.10) !important;
  box-shadow:
    0 14px 30px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.redesign-bottom-nav,
.bottom-nav{
  background:
    linear-gradient(180deg, rgba(18,34,56,.92), rgba(10,22,40,.98)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:
    0 16px 34px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.bottom-nav .tab{
  color:var(--yak-tg-hint) !important;
  background:transparent !important;
  border:1px solid transparent !important;
  box-shadow:none !important;
  filter:none !important;
  transform:none !important;
}

.bottom-nav .tab.active{
  color:#fff !important;
  background:rgba(42,68,104,.78) !important;
  border-color:rgba(255,255,255,.16) !important;
  box-shadow:none !important;
  filter:none !important;
  transform:none !important;
}

.bottom-nav .tab .nav-icon{
  opacity:.82;
  filter:none !important;
  box-shadow:none !important;
}

.bottom-nav .tab.active .nav-icon{
  opacity:1;
  filter:none;
}

.main-layout input,
.main-layout select,
.main-layout textarea,
.main-layout .promo-input,
.profile-action-card input,
.profile-action-card select,
.profile-action-card textarea{
  background:rgba(9,20,36,.92) !important;
  border-color:rgba(255,255,255,.12) !important;
}

.main-layout input:focus,
.main-layout select:focus,
.main-layout textarea:focus,
.main-layout .promo-input:focus,
.profile-action-card input:focus,
.profile-action-card select:focus,
.profile-action-card textarea:focus{
  border-color:rgba(46,166,255,.70) !important;
  box-shadow:none !important;
  outline:2px solid rgba(46,166,255,.32) !important;
  outline-offset:1px !important;
}

@media (max-width:640px){
  .redesign-bottom-nav,
  .bottom-nav{
    border-radius:22px 22px 0 0 !important;
  }
}

/* Flat no-container pass for profile + store screens only. */
#profile-screen .panel-card,
#profile-screen .glass-soft,
#profile-screen .redesign-profile-hero,
#profile-screen .redesign-quick-links,
#profile-screen #wallet-screen.profile-history-only .wallet-layout > .panel-card:last-child,
#store-screen .store-shell,
#store-screen .store-card-media,
#store-screen .store-empty{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}

#store-screen .store-card-info-btn{
  box-shadow:none !important;
}

#store-screen .store-card.is-active .store-card-media{
  border-color:#ffd447 !important;
  box-shadow:none !important;
  outline:2px solid rgba(255,212,71,.92) !important;
  outline-offset:-2px !important;
}

/* Flat no-container pass for tournament + tasks screens. */
#tournament-screen .tournament-empty-card,
#tournament-screen #gamesTournamentList.tournament-list-single,
#tournament-screen .tournament-public-card,
#tournament-screen .tournament-redesign-card.compact-reference-card,
#tournament-screen .tournament-side-card,
#tournament-screen .tournament-game-chip,
#tournament-screen .tournament-rule-list span,
#tournament-screen .tournament-prize-card,
#tournament-screen .tournament-prize-media,
#tournament-screen .public-leader-pin,
#tournament-screen .public-leader-row,
#tournament-screen .leader-rank,
#tournament-screen .leader-you-badge,
#tasks-screen .compact-tasks-shell,
#tasks-screen .task-public-card.premium-task-card,
#tasks-screen .task-public-chip.reward-chip{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}

#tasks-screen .task-premium-btn.gold-btn,
#tasks-screen .compact-tasks-shell-kicker,
#tasks-screen .task-public-kicker,
#tasks-screen .task-public-status{
  box-shadow:none !important;
  text-shadow:none !important;
}

/* Flat no-container pass for inventory + staking screens. */
#inventory-screen .compact-inventory-card,
#inventory-screen .compact-inventory-hero,
#inventory-screen .inventory-card,
#inventory-screen .inventory-empty-state,
#inventory-screen .inventory-withdraw-item,
#inventory-screen .inventory-gift-visual,
#inventory-screen .inventory-selection-bar,
#staking-screen .staking-main-card,
#staking-screen .staking-stat-card,
#staking-screen .staking-summary-card,
#staking-screen .staking-claim-card,
#staking-screen .staking-top-card{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
}

#inventory-screen .inventory-gift-price-badge,
#staking-screen .staking-back-btn,
#staking-screen .staking-apr-pill,
#staking-screen .staking-bank-pill,
#staking-screen .staking-claim-btn{
  box-shadow:none !important;
  text-shadow:none !important;
}

#inventory-screen .inventory-gift-card.inventory-gift-tile.is-active .inventory-gift-visual{
  border-color:#ffd447 !important;
  box-shadow:none !important;
  outline:2px solid rgba(255,212,71,.92) !important;
  outline-offset:-2px !important;
}



