/* Currency supplies share one portrait layout; payment providers retain their display state. */
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  width: var(--supply-width,calc(100% - 8px)) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: var(--supply-list-y,173px) 6px 6px !important;
  transform: translateX(-50%) !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: #c69c65 #142026;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  border: 1px solid #a97f4c !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg,#27221c55,#151310d9 65%),url('../img/city/market/survival/workshop_dry.webp') center/cover !important;
  box-shadow: inset 0 0 0 2px #0b1216, inset 0 0 0 3px #58432c, 0 0 0 500px #03080dbb !important;
  color: #f3e8d5 !important;
  font: 400 12px/1.4 Arial, sans-serif !important;
  text-align: left !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup::before {
  content: '' !important;
  position: absolute !important;
  z-index: 1 !important;
  top: var(--supply-banner-top,0) !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--supply-banner-height,120px) !important;
  border-bottom: 1px solid #a7804d !important;
  background: var(--supply-banner,linear-gradient(180deg,#23201be6 25%,transparent 55%,#211d19),url('../img/city/market/survival/workshop_dry.webp') center 46% / cover) !important;
  box-shadow: inset 0 1px #f6d19845 !important;
  pointer-events: none !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup > .h1 {
  position: absolute !important;
  z-index: 10 !important;
  top: var(--supply-title-top,8px) !important;
  left: 10px !important;
  width: calc(100% - 56px) !important;
  height: 34px !important;
  margin: 0 !important;
  transform: none !important;
  color: #f9e8c9 !important;
  font: 900 17px/32px var(--br-display) !important;
  letter-spacing: .012em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px #080c0e !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup > .close {
  position: absolute !important;
  z-index: 30 !important;
  top: 7px !important;
  right: 7px !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url('../img/ui/survival/kit/button_close.webp') center / contain no-repeat !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer !important;
}
html.survival-portrait body .game .supply-exchange {
  --supply-width: 100%; --supply-title-top: 38px; --supply-banner-top: 74px; --supply-banner-height: 67px; --offer-kicker-top: 151px;
  --supply-banner: linear-gradient(0deg,#15120fca,transparent 70%),url('../img/city/market/survival/workshop_dry.webp') center 60% / cover;
}
html.survival-portrait .supply-exchange > .supply-intro {
  position:absolute; top:var(--supply-banner-top); left:6px; right:6px; height:var(--supply-banner-height); z-index:2; box-sizing:border-box;
  display:flex; align-items:flex-end; padding:8px; border:1px solid #93774d; border-radius:3px;
  color:#f7e7cd; font:italic 800 15px/19px Arial,sans-serif; text-shadow:0 2px 3px #15100b; pointer-events:none;
}
html.survival-portrait .supply-exchange > .h1::before {content:'';display:inline-block;vertical-align:middle;width:18px;height:21px;margin-right:4px;background:var(--exchange-icon) center / contain no-repeat;}
#energyPopup.supply-exchange {--supply-banner:linear-gradient(0deg,#171411d9,transparent 60%),url('../img/ui/survival/commerce/recruitment_yard.jpg') center / cover; --exchange-icon:url('../img/ui/survival/resources/energy.webp');}
#coinPopup.supply-exchange {--supply-banner:linear-gradient(0deg,#171411d9,transparent 60%),url('../img/ui/survival/commerce/market_lane.jpg') center / cover; --supply-banner-height:108px; --offer-kicker-top:192px; --supply-list-y:214px; --exchange-icon:url('../img/ui/survival/resources/credit_steel.webp');}
.supply-meter {display:none;}
html.survival-portrait .supply-intro > .supply-meter {display:block;position:absolute;top:4px;left:6px;padding:1px 4px;border:1px solid #866b47;background:#252017cf;color:#ebc68d;font:700 9px/12px var(--br-display,Arial),sans-serif;}
/* Keep close reachable while the supplies list scrolls. Its first-child placement preserves the existing parent and handlers. */
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup > .close {
  position: sticky !important;
  top: calc(37px - var(--supply-list-y,173px)) !important;
  bottom: auto !important;
  right: auto !important;
  display: block !important;
  margin: calc(37px - var(--supply-list-y,173px)) -1px calc(var(--supply-list-y,173px) - 71px) auto !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup > .close::before,
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup > .close::after {
  content: none !important;
  display: none !important;
}
html.survival-portrait body .game #goldPopup.popup > .firstBuy-text,
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup > .survival-offer-kicker {
  position: absolute !important;
  z-index: 5 !important;
  top: var(--offer-kicker-top,100px) !important;
  left: 10px !important;
  width: calc(100% - 20px) !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #e7bd7e !important;
  font: 700 12px/16px var(--br-display) !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  pointer-events: none !important;
}
html.survival-portrait body .game #goldPopup.popup {
  --offer-kicker-top: 38px;
  --supply-banner-height: 61px;
  --supply-card-height: 87px;
  --supply-banner: linear-gradient(#3b352b,#21201c);
  top: 50% !important;
  height: 461px !important;
  transform: translate(-50%,-50%) !important;
  padding: 0 !important;
  overflow: hidden !important;
  scrollbar-gutter: auto;
  border-image: url('../img/ui/survival/commerce/dossier_frame.png') 19 / 8px stretch !important;
}
html.survival-portrait body .game #goldPopup.popup > div[class^='site-'],
html.survival-portrait body .game #goldPopup.popup > div[class*=' site-'] {
  position: absolute !important;
  top: 66px !important;
  left: 8px !important;
  right: 8px !important;
  bottom: 8px !important;
  width: auto !important;
  height: auto !important;
  padding: 1px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: 87px !important;
  gap: 6px !important;
  align-content: start !important;
  overscroll-behavior: contain;
  scrollbar-color: #c69c65 #142026;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
html.survival-portrait body .game #goldPopup.popup > div[class^='site-'] > div:not(.ramka3),
html.survival-portrait body .game #goldPopup.popup > div[class*=' site-'] > div:not(.ramka3) {
  display: none !important;
}
html.survival-portrait body .game #goldPopup.popup > div[class^='site-'] > .ramka3,
html.survival-portrait body .game #goldPopup.popup > div[class*=' site-'] > .ramka3,
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup > .ramka3 {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: var(--supply-card-height,83px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 1px solid #9a784b !important;
  border-radius: 3px !important;
  background: linear-gradient(155deg, #303d3e, #1c282b 48%, #121c1f) !important;
  box-shadow: inset 0 1px #ffe2ac30, inset 0 -2px #0a1215 !important;
  cursor: pointer !important;
}
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup > .ramka3 {
  display: inline-block !important;
  vertical-align: top !important;
  width: calc(50% - 6px) !important;
  margin: 0 2px 6px !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup .ramka3 > .countEnergy {
  position: absolute !important;
  z-index: 4 !important;
  top: 6px !important;
  left: 3px !important;
  width: calc(100% - 6px) !important;
  height: 16px !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 3px;
  color: #f2ecd8 !important;
  font: 800 13px/16px Arial, sans-serif !important;
  text-shadow: 0 1px #0c1416 !important;
  white-space: nowrap !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup .ramka3 > .countEnergy del {
  display: inline-block !important;
  margin: 0 !important;
  color: #b7b8ae !important;
  font: 500 12px/16px Arial, sans-serif !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup .ramka3 > .energy {
  background-image:var(--pack-art,url('../img/ui/survival/commerce/energy_pack_1.webp')) !important;
  top: 19px !important;
  left: 15% !important;
  width: 70% !important;
  height: calc(100% - 48px) !important;
  background-position: center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 2px 2px #070c0e) !important;
}
.ramka3 > .gold1 { --pack-art:url('../img/ui/survival/commerce/gold_pack_1.webp'); }
.ramka3 > .gold2 { --pack-art:url('../img/ui/survival/commerce/gold_pack_2.webp'); }
.ramka3 > .gold3 { --pack-art:url('../img/ui/survival/commerce/gold_pack_3.webp'); }
.ramka3 > .gold4 { --pack-art:url('../img/ui/survival/commerce/gold_pack_4.webp'); }
.ramka3 > .gold5 { --pack-art:url('../img/ui/survival/commerce/gold_pack_5.webp'); }
.ramka3 > .gold6 { --pack-art:url('../img/ui/survival/commerce/gold_pack_6.webp'); }
.ramka3 > .gold7 { --pack-art:url('../img/ui/survival/commerce/gold_pack_7.webp'); }
.ramka3 > .gold8 { --pack-art:url('../img/ui/survival/commerce/gold_pack_8.webp'); }
.ramka3 > .coin1 { --pack-art:url('../img/ui/survival/commerce/coin_pack_1.webp'); }
.ramka3 > .coin2 { --pack-art:url('../img/ui/survival/commerce/coin_pack_2.webp'); }
.ramka3 > .coin3 { --pack-art:url('../img/ui/survival/commerce/coin_pack_3.webp'); }
.ramka3 > .coin4 { --pack-art:url('../img/ui/survival/commerce/coin_pack_4.webp'); }
.ramka3 > .coin5 { --pack-art:url('../img/ui/survival/commerce/coin_pack_5.webp'); }
.ramka3 > .coin6 { --pack-art:url('../img/ui/survival/commerce/coin_pack_6.webp'); }
.ramka3 > .energy1 { --pack-art:url('../img/ui/survival/commerce/energy_pack_1.webp'); }
.ramka3 > .energy2 { --pack-art:url('../img/ui/survival/commerce/energy_pack_2.webp'); }
.ramka3 > .energy3 { --pack-art:url('../img/ui/survival/commerce/energy_pack_3.webp'); }
.ramka3 > .energy4 { --pack-art:url('../img/ui/survival/commerce/energy_pack_4.webp'); }
.ramka3 > .energy5 { --pack-art:url('../img/ui/survival/commerce/energy_pack_5.webp'); }
.ramka3 > .energy6 { --pack-art:url('../img/ui/survival/commerce/energy_pack_6.webp'); }
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup .ramka3 > .cost {
  position: absolute !important;
  z-index: 4 !important;
  top: auto !important;
  bottom: 4px !important;
  left: 4px !important;
  width: calc(100% - 8px) !important;
  height: 27px !important;
  margin: 0 !important;
  padding: 2px !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 3px;
  color: #fff0da !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  font: 800 12px/15px var(--br-display) !important;
  text-shadow: 0 1px #15191a !important;
  white-space: normal !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup .ramka3 > .cost > .inline {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex-shrink: 0;
}
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup .gold.pic24 {
  background: url('../img/ui/survival/resources/plasma_credit.webp') center / contain no-repeat !important;
}
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup > .p13 {
  display: block !important;
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  margin: 4px 2px 0 !important;
  padding: 9px 7px !important;
  border: 1px solid #76674c !important;
  border-radius: 3px !important;
  background: #17262c !important;
  color: #d3dad4 !important;
  font: 400 12px/1.4 Arial, sans-serif !important;
  text-align: left !important;
}
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup > br,
html.survival-portrait body .game :is(#coinPopup, #energyPopup).popup > .arial.brown {
  display: none !important;
}
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup::-webkit-scrollbar,
html.survival-portrait body .game #goldPopup.popup > div[class*='site-']::-webkit-scrollbar { width: 5px; }
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup::-webkit-scrollbar-track,
html.survival-portrait body .game #goldPopup.popup > div[class*='site-']::-webkit-scrollbar-track { background: #142026; }
html.survival-portrait body .game :is(#goldPopup, #coinPopup, #energyPopup).popup::-webkit-scrollbar-thumb,
html.survival-portrait body .game #goldPopup.popup > div[class*='site-']::-webkit-scrollbar-thumb { border-radius: 3px; background: #c69c65; }
/* Portrait survival supply windows. Prices and purchase targets remain in the DOM. */
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer),
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer),
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: calc(100% - 10.6667px) !important;
  max-width: 246.667px !important;
  min-width: 0 !important;
  height: calc(100% - 46.6667px) !important;
  max-height: 403.333px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  color: #e5e9e9 !important;
  background: linear-gradient(160deg, #263035, #0d1317 55%, #191e1f) !important;
  border: 0.666667px solid #647279 !important;
  border-radius: 4.33333px !important;
  box-shadow: inset 0 0 0 1.66667px #111b1f, inset 0 0 0 2.33333px #3f5158, 0 5.33333px 15px #070a0d !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer)::before,
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer)::before,
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer)::before {
  content: '' !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 44px !important;
  background: linear-gradient(90deg, #283943, #1a262b 60%, #3a3027) !important;
  border-bottom: 1px solid #a67c44 !important;
  pointer-events: none !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .h1,
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .h1,
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .h1 {
  z-index: 10 !important;
  top: 7px !important;
  left: 22.6667px !important;
  width: calc(100% - 48.6667px) !important;
  height: 17.3333px !important;
  margin: 0 !important;
  transform: none !important;
  color: #f1eee7 !important;
  font: 700 12px/17.3333px var(--br-display) !important;
  letter-spacing: .055em !important;
  text-align: left !important;
  text-shadow: 0 0.666667px 1px #0a1013 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close,
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close,
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close {
  z-index: 30 !important;
  position: absolute !important;
  top: 7.33333px !important;
  right: 7.33333px !important;
  width: 19.3333px !important;
  height: 19.3333px !important;
  margin: 0 !important;
  background: url('../img/ui/survival/kit/button_close.webp') center / contain no-repeat !important;
  border: 0.666667px solid #bb7961 !important;
  border-radius: 3px !important;
  box-shadow: inset 0 0.666667px #a96550, 0 1px 3px #0b1012 !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::before,
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::before,
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::before {
  content: none !important;
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  color: #f5e7d8 !important;
  font: 400 17px/17.3333px Arial, sans-serif !important;
  text-align: center !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::after,
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::after,
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::after { content: none !important; display: none !important; }
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .ramka3 {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 75.6667px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: linear-gradient(150deg, #354348 0%, #1e2a2d 54%, #131c20 100%) !important;
  border: 0.666667px solid #667980 !important;
  border-radius: 3px !important;
  box-shadow: inset 0 0.666667px #80929a, inset 0 -2.33333px #10191d, 0 1.33333px 3px #0a0e10 !important;
  cursor: pointer !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .ramka3::after {
  content: '' !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 2.33333px !important;
  border: 0.333333px dashed rgba(196, 184, 158, .24) !important;
  border-radius: 1.66667px !important;
  pointer-events: none !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .ramka3 > .countEnergy {
  z-index: 4 !important;
  top: 4.33333px !important;
  left: 2.33333px !important;
  width: calc(100% - 4.66667px) !important;
  height: 12.3333px !important;
  color: #eaf2e5 !important;
  font: 800 11.3333px/12.3333px Arial, sans-serif !important;
  text-shadow: 0 0.666667px 1px #0c1416 !important;
  white-space: nowrap !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .ramka3 > .cost {
  z-index: 4 !important;
  bottom: 3.66667px !important;
  left: 3px !important;
  width: calc(100% - 6px) !important;
  height: 14.3333px !important;
  margin: 0 !important;
  color: #f5e7c8 !important;
  background: linear-gradient(#61502e, #3c3528) !important;
  border: 0.333333px solid #b09153 !important;
  border-radius: 1.66667px !important;
  box-shadow: inset 0 0.333333px rgba(255,245,210,.25) !important;
  font: 700 9.66667px/13.6667px var(--br-display) !important;
  text-shadow: 0 0.333333px #15191a !important;
}

html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) { padding: 50px 8px 35px !important; }
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .ramka3 { display: inline-block !important; vertical-align: top !important; width: calc(33.33% - 3.33333px) !important; height: 95px !important; margin: 0 1px !important; }
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .ramka3 > div[class$='-energy'] { top: 21.6667px !important; left: 18% !important; width: 64% !important; height: 50px !important; background-image: url('../img/company/survival/mat_battery.png') !important; }
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .p13 { display: block !important; position: relative !important; top: 11.6667px !important; left: auto !important; right: auto !important; bottom: auto !important; color: #cbd3d2 !important; font: 400 8px/1.35 Arial, sans-serif !important; }

html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .firstBuy-text { z-index: 3 !important; top: 28.6667px !important; left: 20px !important; width: calc(100% - 40px) !important; margin: 0 !important; color: #d2ab67 !important; font: 700 8.33333px/1.25 Arial, sans-serif !important; text-shadow: none !important; }
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .start-kit-timer { z-index: 3 !important; top: 46px !important; color: #e9e8de !important; font: 700 10px Arial, sans-serif !important; }
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .powerUp-vip { left: 11.3333px !important; right: 11.3333px !important; top: 70px !important; bottom: 10px !important; overflow-y: auto !important; }
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .powerUp-vip > .pic.start_kit { left: 50% !important; top: 0 !important; width: 100px !important; height: 85px !important; transform: translateX(-50%) !important; margin: 0 !important; background: url('../img/company/survival/crate_closed.png') center / contain no-repeat !important; }
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .powerUp-vip > .text { left: 0 !important; right: 0 !important; top: 90px !important; bottom: auto !important; width: 100% !important; height: auto !important; max-height: none !important; overflow: visible !important; color: #e0e6e2 !important; font: 500 8.66667px/1.35 Arial, sans-serif !important; text-shadow: none !important; }
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) #start_kit1-buy,
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .vip-btn-block .btn { background: linear-gradient(#9b6737,#61411f) !important; border: 0.666667px solid #c99a5f !important; border-radius: 2.33333px !important; color: #fff3d9 !important; text-shadow: 0 0.333333px #2a2117 !important; }
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > #vipPopupTimer {
  top: 31px !important;
  left: 10px !important;
  right: 10px !important;
  height: 15px !important;
  font: 700 11px/15px var(--br-display) !important;
  color: #d4af71 !important;
}
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .powerUp-vip { left: 10px !important; right: 10px !important; top: 53.3333px !important; bottom: 8.33333px !important; overflow-y: auto !important; }
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .powerUp-vip > .pic { display: none !important; }
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .powerUp-vip > .text { position: relative !important; top: auto !important; left: auto !important; right: auto !important; width: 100% !important; height: auto !important; overflow: visible !important; color: #e2e9e5 !important; font: 500 8.66667px/1.4 Arial, sans-serif !important; text-shadow: none !important; }
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .vip-btn-block { color: #e2e9e5 !important; text-shadow: none !important; }
/* Keep the city visible but subdued while a supply dossier is open. */
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer),
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) {
  box-shadow: inset 0 0 0 1.6667px #111b1f, inset 0 0 0 2.3333px #3f5158, 0 5px 15px #070a0d, 0 0 0 500px rgba(3, 10, 14, .58) !important;
}
/* One-time energy offer uses the same panel and actions as the supply shop. */
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: calc(100% - 16px) !important;
  min-width: 0 !important;
  max-width: 280px !important;
  height: 273px !important;
  min-height: 0 !important;
  max-height: calc(100% - 24px) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border: 1px solid #a97f4c !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg,#27221c55,#151310d9 65%),url('../img/city/market/survival/workshop_dry.webp') center/cover !important;
  box-shadow: inset 0 0 0 2px #0b1216, inset 0 0 0 3px #58432c, 0 0 0 500px #03080dbb !important;
  color: #f3e8d5 !important;
  font: 400 12px/1.4 Arial, sans-serif !important;
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer)::before {
  content: '' !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 48px !important;
  border-bottom: 1px solid #a7804d !important;
  background: linear-gradient(180deg, #3b3b34, #20282b 65%, #151d21) !important;
  pointer-events: none !important;
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .h1 {
  z-index: 10 !important;
  top: 8px !important;
  left: 10px !important;
  width: calc(100% - 56px) !important;
  height: 34px !important;
  margin: 0 !important;
  transform: none !important;
  color: #f9e8c9 !important;
  font: 900 17px/32px var(--br-display) !important;
  letter-spacing: .012em !important;
  text-align: left !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px #080c0e !important;
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close {
  position: absolute !important;
  z-index: 30 !important;
  top: 7px !important;
  right: 7px !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url('../img/ui/survival/kit/button_close.webp') center / contain no-repeat !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::before,
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::after { content: none !important; display: none !important; }
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .energy1Promo-subtitle {
  z-index: 3 !important;
  top: 84px !important;
  left: 46% !important;
  width: 50% !important;
  transform: none !important;
  color: #e7bd7e !important;
  font: 700 13px/18px var(--br-display) !important;
  text-shadow: none !important;
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .energy1Promo-pic {
  top: 53px !important;
  left: 3% !important;
  width: 37% !important;
  height: calc(100% - 113px) !important;
  margin: 0 !important;
  background: url('../img/ui/survival/commerce/energy_case.jpg') center / cover no-repeat !important;
  filter: drop-shadow(0 4px 5px #070c0e);
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .energy1Promo-offer {
  top: 113px !important;
  left: 48% !important;
  width: 47% !important;
  min-height: 40px !important;
  transform: none !important;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: left;
  align-items: center;
  gap: 5px;
  color: #f3e8d5 !important;
  font: 800 15px/17px Arial, sans-serif !important;
  text-shadow: none !important;
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .energy1Promo-offer > .energy {
  flex: 0 0 24px;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  background: url('../img/ui/survival/resources/energy.webp') center / contain no-repeat !important;
}
html.survival-portrait body #energy1Promo.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > #energy1Promo-buy {
  top: auto !important;
  bottom: 14px !important;
  left: 16px !important;
  width: calc(100% - 32px) !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 6px !important;
  transform: none !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  color: #fff0da !important;
  font: 800 14px/38px Arial, sans-serif !important;
  text-shadow: 0 1px #15191a !important;
}

/* Resource symbols are inventory tokens and batteries, not fantasy medallions. */
html.survival-portrait body #petPotionPopup .gold.pic24,
html.survival-portrait body #start_kit .gold.pic24 { background: url('../img/ui/survival/resources/plasma_credit.webp') center / contain no-repeat !important; }
html.survival-portrait body #start_kit .coin.pic24 { background: url('../img/ui/survival/resources/credit_steel.webp') center / contain no-repeat !important; filter: none !important; }
html.survival-portrait body #start_kit .energy.pic24 { background: url('../img/ui/survival/resources/energy.webp') center / contain no-repeat !important; }
html.survival-portrait body #start_kit .powerUp-vip > .text .gold.pic24,
html.survival-portrait body #start_kit .powerUp-vip > .text .coin.pic24,
html.survival-portrait body #start_kit .powerUp-vip > .text .energy.pic24 { display: inline-block !important; width: 18px !important; height: 18px !important; vertical-align: middle !important; margin: 0 2px !important; }
html.survival-portrait body #petPotionPopup .ramka3 > .cost > .gold.pic24 { width: 13px !important; height: 13px !important; }

html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .start-kit-timer {
  position: absolute !important;
  top: 52px !important;
  left: 50% !important;
  width: 215px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-50%) !important;
  color: #e9e8de !important;
  font: 700 12px/20px Arial, sans-serif !important;
  white-space: nowrap !important;
  text-align: center !important;
}
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .firstBuy-text { position: absolute !important; top: 29px !important; }
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) #start_kit1-buy {
  width: 110px !important;
  min-width: 0 !important;
  height: 27px !important;
  margin: 3px 4px 0 0 !important;
  padding: 0 4px !important;
  font: 700 11px/25px Arial, sans-serif !important;
}
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .powerUp-vip .site-vk { align-items: center !important; gap: 3px !important; white-space: nowrap !important; font: 700 10px Arial, sans-serif !important; }
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .powerUp-vip .site-vk > .vk.pic24 { width: 15px !important; height: 15px !important; }
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .vip-btn-block .btn {
  display: inline-block !important;
  width: 165px !important;
  min-width: 0 !important;
  height: 25px !important;
  margin: 3px 4px 6px 0 !important;
  padding: 0 3px !important;
  font: 700 11px/23px var(--br-display) !important;
}
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .vip-btn-block { font: 700 11px/25px var(--br-display) !important; }
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .vip-btn-block .vk.pic24 { width: 15px !important; height: 15px !important; vertical-align: middle !important; }

html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) {
  height: 300px !important;
  max-height: 300px !important;
}
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .firstBuy-text {
  display: block !important;
  height: 16px !important;
  padding: 0 !important;
  background: linear-gradient(90deg,#3e3325,#55462d,#3e3325) !important;
  border-top: 1px solid #bd965f !important;
  border-bottom: 1px solid #bd965f !important;
  color: #f0d6a4 !important;
  font: 700 9px/16px Arial,sans-serif !important;
  text-align: center !important;
  text-shadow: none !important;
}
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .start-kit-timer,
html.survival-portrait body #start_kit.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .start-kit-timer > .label {
  color: #e9e5d9 !important;
  text-shadow: none !important;
  font-family: var(--br-display) !important;
  font-size: 10px !important;
}
html.survival-portrait body #vipPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) {
  height: 335px !important;
  max-height: 335px !important;
}
html.survival-portrait body #petPotionPopup.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) {
  height: 300px !important;
  max-height: 300px !important;
}

/* Seven-day reward board, with dynamic day cells and claim controls intact. */
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: calc(100% - 14px) !important;
  max-width:none !important;
  min-width: 0 !important;
  height: 420px !important;
  min-height: 0 !important;
  max-height: calc(100% - 30px) !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate(-50%,-50%) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: linear-gradient(155deg,#263238,#10191d 52%,#1a2326) !important;
  border: 1px solid #71838a !important;
  border-radius: 4px !important;
  box-shadow: inset 0 0 0 2px #0d171b, inset 0 0 0 3px #44585f, 0 4px 12px #080c0e, 0 0 0 500px rgba(3,10,14,.60) !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer)::before {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  height: 46px !important;
  background: linear-gradient(90deg,#2c4149,#18252a 68%,#3a3028) !important;
  border: 0 !important;
  border-bottom: 1px solid #ad854f !important;
  box-shadow: none !important;
  pointer-events: none !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .dailyBonusHeroTitle {
  position: absolute !important;
  top: 8px !important;
  left: 15px !important;
  width: calc(100% - 55px) !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #f1eee7 !important;
  font: 700 14px/28px var(--br-display) !important;
  text-align: left !important;
  text-shadow: 0 1px #091116 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close {
  position: absolute !important;
  z-index: 20 !important;
  top: 8px !important;
  right: 8px !important;
  width: 34px !important;
  height: 34px !important;
  background: url('../img/ui/survival/kit/button_close.webp') center / contain no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0 !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::before,
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .close::after { content: none !important; display: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .dailyBonusHeroRows {
  position: absolute !important;
  top: 53px !important;
  left: 6px !important;
  width: calc(100% - 12px) !important;
  height:21px !important;
  margin: 0 !important;
  pointer-events: none !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroRowTitle {
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  height: 15px !important;
  margin: 0 !important;
  color: #d8dfe0 !important;
  font: 700 10px/15px var(--br-display) !important;
  text-align: center !important;
  text-shadow: none !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroFreeTitle { left:20% !important; width:39% !important; top: 0 !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroVipTitle { top:0 !important; left:59% !important; width:40% !important; color: #e9c078 !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroRowTitle::before,
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroRowTitle::after { content: none !important; display: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .choice {
  position: absolute !important;
  z-index: 5 !important;
  top:78px !important;
  left: 6px !important;
  width: calc(100% - 12px) !important;
  height:calc(100% - 208px) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns:1fr !important;
  grid-auto-rows:minmax(40px,1fr) !important;
  gap: 2px !important;
  overflow-y:auto !important;
  background: none !important;
  box-shadow: none !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroDay { position: relative !important; width: 100% !important; height:100% !important; background: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroDay.selected { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroDay > .day { z-index:3; left:0 !important; width:19% !important; top:30% !important; height:20px !important; padding:0 !important; box-sizing:border-box; overflow:hidden; white-space: nowrap !important; color: #f0e8d7 !important; font:800 12px/19px var(--br-display,Arial),sans-serif !important; text-shadow: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .specialBonusFrame {
  left: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: linear-gradient(#34444a,#182429) !important;
  border: 1px solid #60747b !important;
  border-radius: 3px !important;
  box-shadow: inset 0 1px #8c9998 !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroFree { left:20% !important; top:0 !important; width:38% !important; height:100% !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroVip { left:59% !important; top:0 !important; width:40% !important; height:100% !important; border-color: #a9804b !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .specialBonusFrame > .pic50,
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .specialBonusFrame > .pic100,
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroGold {
  top:calc(50% - 15px) !important;
  left:4px !important;
  width: 26px !important;
  height: 28px !important;
  margin-left:0 !important;
  background-size: contain !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroGold,
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .gold{ background-image: url('../img/ui/survival/resources/plasma_credit.webp') !important; }

html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .coin { background-image: url('../img/ui/survival/resources/credit_steel.webp') !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .energy { background-image: url('../img/ui/survival/resources/energy.webp') !important; }
#dailyBonusHero .daily-fighter-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 3px;
  line-height: 1.1;
  text-align: center;
}
#dailyBonusHero .daily-fighter-reward img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  object-position: center 22%;
  border: 1px solid #ab8456;
  border-radius: 3px;
  background: #222021;
}
#dailyBonusHero .daily-fighter-reward strong,
#dailyBonusHero .daily-fighter-reward span { display: block; }
#dailyBonusHero .daily-fighter-reward strong { color: #ffdfa5; font-size: 13px; }
#dailyBonusHero .daily-fighter-reward span { color: #fff2dc; font-size: 11px; }
html.survival-portrait #dailyBonusHero .daily-fighter-reward {
  display: grid;
  grid-template-columns: minmax(0, 27%) minmax(0, 1fr);
  gap: 3px;
  padding: 0 3px;
  text-align: left;
  font-family: var(--br-display, sans-serif);
}
html.survival-portrait #dailyBonusHero .daily-fighter-reward img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  box-sizing: border-box;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .specialBonusFrame > .count {
  left:30px !important; right:4px !important; bottom:calc(50% - 9px) !important;
  height: 18px !important;
  color: #f0e9d6 !important;
  font: 700 12px/18px Arial,sans-serif !important;
  text-shadow: 0 1px #091116 !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .dailyBonusHeroPass {
  position: absolute !important;
  top:auto !important; bottom:80px !important;
  left: 13px !important;
  right: 13px !important;
  width: auto !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  padding: 4px 7px !important;
  background: #29363a !important;
  border: 1px solid #a8834e !important;
  border-radius: 3px !important;
  color: #e9e2d1 !important;
  text-shadow: none !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroPassBadge { flex: 0 0 auto !important; min-width: 25px; width: auto !important; padding-inline: 5px; height: 25px !important; margin: 0 !important; background: linear-gradient(#9b7642,#5b432a) !important; border: 1px solid #d8b475 !important; border-radius: 3px !important; font: 700 9px/25px var(--br-display) !important; text-shadow: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroPassTitle { display: none; flex: 0 0 auto !important; font: 700 9px/1.2 var(--br-display) !important; color: #edc989 !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroPassText { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 !important; font: 600 11px/14px Arial,sans-serif !important; color: #d9e0df !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > .specialInfo { top:auto !important; left: 13px !important; right: 13px !important; bottom:52px !important; width:auto !important; height:19px !important; margin: 0 !important; color: #cdd8d7 !important; font: 700 12px/19px Arial,sans-serif !important; text-align: center !important; text-shadow: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > #dailyBonusHero-claim-btn,
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > #dailyBonusHero-vip-btn {
  position: absolute !important;
  z-index: 7 !important;
  top:auto !important;
  bottom:10px !important;
  width: calc(50% - 17px) !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 3px !important;
  background: linear-gradient(#987044,#5a3d25) !important;
  border: 1px solid #c39659 !important;
  border-radius: 3px !important;
  color: #f7ead3 !important;
  font: 800 12px/32px var(--br-display) !important;
  text-align: center !important;
  text-shadow: none !important;
}
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > #dailyBonusHero-claim-btn { left: 13px !important; right: auto !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > #dailyBonusHero-vip-btn { left: auto !important; right: 13px !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) > #dailyBonusHero-vip-btn::before { content: none !important; display: none !important; }
html.survival-portrait body #dailyBonusHero.popup:not(#__survival_offer):not(#__survival_offer):not(#__survival_offer) .dailyBonusHeroDay.selected > .dailyBonusHeroFree > .count[style*='display: none'] { display: none !important; }
