/* BLACK RAIN utility screens 47–52. Only presentation changes: live values and handlers stay in place. */

/* One dry steel material shared by dossiers, with a narrow worn bronze edge. */
html.survival-portrait body .game :is(#start_kit#start_kit#start_kit#start_kit#start_kit#start_kit,
  #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup).popup {
  background-image: radial-gradient(ellipse at 50% 5%, #434039 0, #222727 26%, #121a1d 75%),
    repeating-linear-gradient(90deg, #ffffff05 0 1px, transparent 1px 5px) !important;
  border: 1px solid #c29155 !important; border-image: url('../img/ui/survival/commerce/dossier_frame.png') 19 / 8px stretch !important;
  box-shadow: inset 0 0 0 2px #111416, inset 0 0 0 3px #58432c,
    inset 0 2px 5px #f0c68722, 0 9px 22px #020607, 0 0 0 500px #03080dbb !important;
}
html.survival-portrait body .game :is(#start_kit#start_kit#start_kit#start_kit#start_kit#start_kit,
  #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup).popup::before {
  background: linear-gradient(180deg, #4b463c, #212628 73%, #171c1e) !important;
  border-bottom: 1px solid #d4a05f !important;
  box-shadow: inset 0 1px #f6d19860, 0 2px 5px #05090b !important;
}
html.survival-portrait body .game :is(#start_kit#start_kit#start_kit#start_kit#start_kit#start_kit,
  #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup).popup > .h1 {
  color: #f9e8c9 !important;
  font: 900 17px/20px var(--br-display) !important;
  letter-spacing: .012em !important;
  text-shadow: 0 2px #080c0e, 0 0 8px #ecac5540 !important;
}
html.survival-portrait body .game :is(#start_kit#start_kit#start_kit#start_kit#start_kit#start_kit,
  #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup).popup > .close {
  border: 1px solid #e1ad70 !important;
  box-shadow: inset 0 1px #ffe2ac80, 0 2px 4px #080b0c !important;
}

/* Combat kit: a much larger supply crate, reward ledger and primary purchase action. */
html.survival-portrait body .game #start_kit#start_kit#start_kit#start_kit#start_kit#start_kit.popup {
  top: 53% !important;
  height: 360px !important;
  max-height: 360px !important;
}
html.survival-portrait body .game #start_kit#start_kit#start_kit#start_kit#start_kit#start_kit > .firstBuy-text {
  top: 44px !important;
  height: 20px !important;
  line-height: 19px !important;
  color: #ffe0a2 !important;
  background: linear-gradient(90deg, #513519, #8e6336 48%, #513519) !important;
  border-color: #e4ac64 !important;
}
html.survival-portrait body .game #start_kit#start_kit#start_kit#start_kit#start_kit#start_kit > .start-kit-timer {
  top: 74px !important;
  color: #f7e6ce !important;
  font-size: 12px !important;
}
html.survival-portrait body .game #start_kit#start_kit#start_kit#start_kit#start_kit#start_kit > .powerUp-vip {
  top: 96px !important;
  bottom: 8px !important;
  border: 0 !important;
  background: transparent !important;
  overflow-x: hidden !important;
}
html.survival-portrait body .game #start_kit#start_kit#start_kit#start_kit#start_kit#start_kit > .powerUp-vip > .pic.start_kit {
  width: 94% !important;
  height: 119px !important;
  background: url('../img/ui/survival/commerce/starter_crate.jpg') center / cover no-repeat !important;
  filter: drop-shadow(0 7px 7px #020406) !important;
}
html.survival-portrait body .game #start_kit#start_kit#start_kit#start_kit#start_kit#start_kit > .powerUp-vip > .text {
  top: 118px !important;
  padding: 3px 7px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #f4e7cf !important;
}
html.survival-portrait body .game #start_kit#start_kit#start_kit#start_kit#start_kit#start_kit #start_kit1-buy {
  width: 155px !important;
  height: 33px !important;
  margin-top: 7px !important;
  background: transparent url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  color: #fff1d8 !important;
  font: 900 13px/31px 'Arial Narrow', Arial, sans-serif !important;
}

/* Premium: match the four broad gold action bars while keeping platform prices. */
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup.popup {
  height: 350px !important;
  max-height: 350px !important;
  z-index: 3100 !important;
  opacity: 1 !important;
  isolation: isolate !important;
  background: #171c1c url('../img/ui/survival/steel_popup_texture.webp') center / cover no-repeat !important;
}
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup > .h1 {
  left: 47px !important;
  width: calc(100% - 70px) !important;
  padding-left: 0 !important;
  overflow: visible !important;
  text-transform: uppercase !important;
}
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup > .h1::before {
  content: '';
  position: absolute;
  top: 0; left: -36px;
  width: 27px; height: 27px;
  background: url('../img/ui/survival/kit/premium_crown.webp') center / contain no-repeat;
}
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup > .powerUp-vip {
  top: var(--vip-content-top, 42px) !important;
  bottom: 8px !important;
  opacity: 1 !important;
  background: #171c1c url('../img/ui/survival/steel_popup_texture.webp') center / 100% 100% no-repeat !important;
  border: 1px solid #92734f !important;
  box-shadow: inset 0 1px #ebc18567, inset 0 0 0 2px #0f1516 !important;
}
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup > .powerUp-vip > .text {
  padding: 8px 5px 0 !important;
  font: 11.5px/15px Arial, sans-serif !important;
  color: #f0e6d3 !important;
}
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup .vip-btn-block {
  top: 93px !important;
  width: 100% !important;
  color: #ffdda3 !important;
  font: 800 11px/28px var(--br-display) !important;
}
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup .vip-btn-block .btn {
  width: var(--vip-buy-width, 154px) !important;
  height: 29px !important;
  margin-right: var(--vip-buy-margin-right, 2px) !important;
  margin-bottom: var(--vip-buy-margin-bottom, 8px) !important;
  background: transparent url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  font: 800 13px/27px var(--br-display) !important;
}
html.survival-portrait body .game #vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup#vipPopup .vip-btn-block > div[class^='site-']:not(.vip-ya-offers) {
  white-space: nowrap !important;
}

html.survival-portrait #vipPopup:has(.vip-ya-offers) {
  --vip-content-top: 55px;
}

/* Ticket exchange: tactical headers, compact bronze cards and a single scroll pane. */
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents#specialEvents.eventTicketExchangeMode > .choice.eventTicketExchangeChoice {
  top: var(--ticket-content-top,40px) !important;
  bottom: 38px !important;
  padding: 8px 7px !important;
  border: 0 !important;
  background: #10191b !important;
}
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents.eventTicketExchangeMode .eventTicketExchangeTitle {
  display: none !important; /* the live popup header already names this mode */
}
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents.eventTicketExchangeMode .eventTicketExchangeGroupLabel {
  position: relative !important;
  margin: 6px 0 5px !important;
  padding: 2px 0 2px 24px !important;
  border-bottom: 1px solid #8c6d43 !important;
  color: #f2ddbb !important;
  font: 900 11px/18px var(--br-display) !important;
  letter-spacing: .025em !important;
  text-transform: uppercase !important;
}
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents.eventTicketExchangeMode .eventTicketExchangeGroupLabel::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: url('../img/company/survival/mat_battery.png') center / contain no-repeat;
}
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents.eventTicketExchangeMode .eventTicketExchangeGroup:nth-of-type(3) .eventTicketExchangeGroupLabel::before {
  background-image: url('../img/company/survival/mat_data.png');
}
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents.eventTicketExchangeMode .eventTicketExchangeGroup:nth-of-type(4) .eventTicketExchangeGroupLabel::before {
  background-image: url('../img/company/survival/rare_core.png');
}
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents.eventTicketExchangeMode .eventTicketExchangeRow {
  gap: 5px !important;
}
html.survival-portrait body .game #specialEvents#specialEvents#specialEvents.eventTicketExchangeMode .eventTicketExchangeRow .specialBonusFrame {
  background: linear-gradient(160deg, #3c4440, #1c2a2b 60%, #101a1d) !important;
  border-color: #b18453 !important;
  box-shadow: inset 0 1px #ffdf9a52, 0 2px 4px #05090b !important;
}

/* Full-screen settings: a dry city rim around a single steel control panel. */
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) {
  background: linear-gradient(#0a111bbd, #080d11d9), url('../img/city/survival_city_bg.jpg') center / cover no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup)::before {
  content: '' !important;
  position: absolute !important;
  inset: 7% 2.5% 5.5% !important;
  z-index: 0 !important;
  background: url('../img/ui/survival/dark_dialog_steel.webp') center / 126px 137px repeat !important;
  border: 1px solid #d2a467 !important; border-image: url('../img/ui/survival/commerce/dossier_frame.png') 19 / 8px stretch !important;
  clip-path: polygon(4% 0,96% 0,100% 3%,100% 97%,96% 100%,4% 100%,0 97%,0 3%);
  box-shadow: inset 0 0 0 3px #0a0e0f, 0 8px 24px #030608 !important;
  pointer-events: none !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) > .h1 {
  top: 9.5% !important;
  left: 8% !important;
  width: 77% !important;
  color: #f4e5c8 !important;
  font: 900 26px/34px var(--br-display) !important;
  text-transform: uppercase !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) > .h1::after {
  content: '';
  position: absolute;
  left: -14px; top: 41px;
  width: 240px; height: 1px;
  background: linear-gradient(90deg, #987044, #e3b571 52%, #856644);
  box-shadow: 0 1px #080d0f;
  pointer-events: none;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) > .close {
  top: 9.8% !important;
  right: 6% !important;
  width: 30px !important;
  height: 30px !important;
  background: transparent url('../img/ui/survival/kit/button_close.webp') center / 100% 100% no-repeat !important;
  border-color: transparent !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) > .text {
  top: 18.2% !important;
  bottom: 7% !important;
  left: 6% !important;
  width: 88% !important;
  max-height: none !important;
  padding: 9px 5px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-popup {
  gap: 12px !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-popup > .btn {
  min-height: 40px !important;
  border: 1px solid transparent !important;
  background: transparent url('../img/ui/survival/kit/button_secondary.webp') center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  color: #f8e7c8 !important;
  font: 900 15px/25px var(--br-display) !important;
  text-transform: uppercase !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-popup > .btn:first-child,
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang-btns > .btn.active {
  background: transparent url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #fff1d6 !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-note {
  margin: -7px 0 0 !important;
  color: #eee2d0 !important;
  font: 12px/17px Arial, sans-serif !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang-label {
  position: relative !important;
  margin: 3px 0 0 !important;
  color: #f4dfb8 !important;
  font: 900 14px/18px var(--br-display) !important;
  text-transform: uppercase !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang {
  margin-top: -10px !important;
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang-label::before,
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang-label::after {
  content: '';
  position: absolute;
  top: 50%; width: 28%; height: 1px;
  background: linear-gradient(90deg, transparent, #d7a153);
}
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang-label::before { left: 4%; }
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang-label::after { right: 4%; transform: scaleX(-1); }
html.survival-portrait body .game #error#error#error#error#error#error#error#error.popup:has(.game-settings-popup) .game-settings-lang-btns > .btn {
  min-height: 40px !important;
  border-color: transparent !important;
  background: transparent url('../img/ui/survival/kit/button_secondary.webp') center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  color: #efe4d2 !important;
  font-size: 13px !important;
}

/* Commander skills: the first five animated-combat era talents fill the viewport, more remain scrollable. */
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup {
  background: linear-gradient(180deg, #14141112 0, #14141130 86px, #101617ef 124px, #0b1114 100%),
    url('../img/profile/survival/profile_interior.webp') center -80px / 100% auto no-repeat !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .h1 {
  top: 86px !important;
  height: 32px !important;
  padding: 3px 36px 0 28px !important;
  background: linear-gradient(110deg, #4a4235 0, #202a2c 18%, #101a1e 73%, #30322c) !important;
  border-top: 1px solid #d29a5c !important;
  border-bottom: 2px solid #8e683e !important;
  color: #f7e5c8 !important;
  font: italic 900 15px/25px var(--br-display) !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .close {
  top: 91px !important;
  right: 8px !important;
  width: 24px !important;
  height: 24px !important;
  background: url('../img/ui/survival/kit/button_close.webp') center / contain no-repeat !important;
  border-color: #e1b77a !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .close::before {
  display: none !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .close::after {
  content: none !important;
  display: none !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice.skillBlock {
  top: 126px !important;
  height: calc(100% - 241px) !important;
  padding: 0 0 3px !important;
  background: #10191be8 !important;
  border: 0 !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice > .lot {
  position: relative !important;
  min-height: 67px !important;
  margin: 1px 0 3px !important;
  padding: 6px 6px 5px 69px !important;
  border: 1px solid #8f8370 !important;
  border-left: 3px solid #d6a260 !important;
  border-radius: 5px !important;
  background: linear-gradient(115deg, #313b3c 0, #18272b 56%, #101a1d 100%) !important;
  box-shadow: inset 0 1px #ebd2a05e, 0 3px 7px #020607 !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice > .lot::before {
  content: '';
  position: absolute;
  left: 6px; top: 5px;
  width: 53px; height: 53px;
  background: url('../img/ui/survival/kit/skill_ui_first_attack.webp') center / contain no-repeat;
  filter: drop-shadow(0 2px 4px #030708);
  pointer-events: none;
}
html.survival-portrait body .game #skillPerson .lot:has(#skillDealer-btn)::before { background-image: url('../img/ui/survival/kit/skill_ui_trade.webp') !important; }
html.survival-portrait body .game #skillPerson .lot:has(#skillCritical-btn)::before { background-image: url('../img/ui/survival/kit/skill_ui_critical.webp') !important; }
html.survival-portrait body .game #skillPerson .lot:has(#skillAntiCritical-btn)::before { background-image: url('../img/ui/survival/kit/skill_ui_armor.webp') !important; }
html.survival-portrait body .game #skillPerson .lot:has(#skillEvasion-btn)::before { background-image: url('../img/ui/survival/kit/skill_ui_evasion.webp') !important; }
html.survival-portrait body .game #skillPerson .lot:has(#skillAntiEvasion-btn)::before { background-image: url('../img/ui/survival/kit/skill_ui_anti_evasion.webp') !important; }
html.survival-portrait body .game #skillPerson .lot:has(#skillFirstAttack-btn)::before { background-image: url('../img/ui/survival/kit/skill_ui_first_attack.webp') !important; }
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice > .lot > .leftBlock > .name {
  font-size: 10.5px !important;
  line-height: 12px !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice > .lot > .leftBlock > .reward {
  color: #d1d6d0 !important;
  font-size: 9px !important;
  line-height: 11px !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice > .lot > .leftBlock > .count {
  font-size: 10px !important;
  line-height: 11px !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice > .lot > .rightBlock {
  flex: 0 0 79px !important;
  width: 79px !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .choice > .lot > .rightBlock > .btn {
  width: 79px !important;
  height: 25px !important;
  border-color: transparent !important;
  background: transparent url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  font: italic 900 9.5px/23px var(--br-display) !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .skillControll {
  bottom: 9px !important;
  height: 94px !important;
  padding-top: 6px !important;
  border: 1px solid #ae8958 !important;
  background: linear-gradient(#353b38, #1a2528 55%, #111b1e) !important;
  box-shadow: inset 0 1px #ffda9d5e, 0 3px 8px #030809 !important;
  font-size: 12px !important;
}
html.survival-portrait body .game #skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson#skillPerson.popup > .skillControll > .btn {
  height: 28px !important;
  margin-top: 7px !important;
  background: transparent url('../img/ui/survival/kit/button_secondary.webp') center / 100% 100% no-repeat !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font: italic 900 11px/26px var(--br-display) !important;
}

/* The pass shop opens one trade category at a time. The general ticket menu keeps all three. */
#specialEvents:not(.event-pass-exchange) > .br-wallet { display: none; }
#specialEvents.event-pass-exchange {
  --ticket-window-height: 100%;
  --ticket-window-width: 100%;
  --ticket-window-max-width: none;
  --ticket-header-top: 39px;
  --ticket-content-top: 73px;
}
.pass-exchange-scene {
  display: flex;
  align-items: flex-end;
  gap: .5em;
  min-height: 107px;
  padding: 8px;
  border: 1px solid #8b7657;
  background: linear-gradient(0deg,#1e1915,transparent),url('../img/ui/survival/commerce/recruitment_yard.jpg') center / cover;
  color: #fff0d6;
  text-align: left;
}
.pass-exchange-balance { padding-left: 17px; background: url('../img/ui/survival/kit/ticket.webp') left center / 14px auto no-repeat; }
.pass-exchange-tabs { display: flex; gap: 3px; margin: 6px 0; }
.pass-exchange-tab {
  flex: 1;
  min-width: 0;
  min-height: 30px;
  padding: 1px 4px;
  border: 0;
  background: url('../img/ui/survival/kit/button_secondary.webp') center / 100% 100% no-repeat;
  color: #fff0dc;
  font: 700 10px/12px var(--br-display);
  cursor: pointer;
}
.pass-exchange-tab[aria-pressed="true"] { background-image: url('../img/ui/survival/kit/button_primary.webp'); }
html.survival-portrait .event-pass-exchange .pass-exchange-lots:not([hidden]) { display: grid; gap: 4px; }
html.survival-portrait .event-pass-exchange .pass-exchange-lots > .eventTicketExchangeItem {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 54px;
  box-sizing: border-box;
  margin: 0;
  padding: 4px 6px;
  border: 1px solid #877257;
  border-radius: 2px;
  background: linear-gradient(110deg,#302b23,#1e1c19);
  color: #f8eace;
}
html.survival-portrait .event-pass-exchange .pass-exchange-lots .pic50 {
  position: static;
  width: 30px;
  height: 30px;
  background-position: center;
  background-size: contain;
}
html.survival-portrait .event-pass-exchange .pass-exchange-lots .count { position: static; width: auto; }
html.survival-portrait .event-pass-exchange .pass-exchange-lots .day {
  position: static;
  margin-left: auto;
  width: 40%;
  padding: 5px 0;
  background: url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat;
  color: #fff0dc;
}

.pass-exchange-lots .pic50.energy { background-image: url('../img/ui/survival/resources/energy.webp'); }
.pass-exchange-lots .pic50.rune_animal { background-image: url('../img/ui/survival/resources/squad_token.webp'); }
.pass-exchange-lots .pic50.rune_power { background-image: url('../img/ui/survival/resources/power_cell.webp'); }

.pass-trade-ticket {flex:0 0 35px;height:35px;background:url('../img/ui/survival/kit/ticket.webp') center / contain no-repeat;}
.pass-trade-terms {min-width:0;flex:1;text-align:left;color:#f3e3c6;font:700 11px/14px var(--br-display,Arial),sans-serif;}
.pass-trade-terms small {display:block;font-size:9px;color:#d0c1a8;}
html.survival-portrait .event-pass-exchange .pass-trade-short .day {background-image:url('../img/ui/survival/kit/button_secondary.webp');color:#d9d1c0;}
.pass-trade-resource {display:inline-block;width:11px;height:11px;margin-right:2px;vertical-align:middle;background-position:center;background-size:contain;background-repeat:no-repeat;}
.pass-trade-resource.energy {background-image:url('../img/ui/survival/resources/energy.webp');}
.pass-trade-resource.rune_animal {background-image:url('../img/ui/survival/resources/squad_token.webp');}
.pass-trade-resource.rune_power {background-image:url('../img/ui/survival/resources/power_cell.webp');}

.game-audio-options {display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:6px 0;}
.game-audio-options button {color:#f6ead4;min-height:34px;background:#2a2825;border:1px solid #8a7660;font:700 12px/16px var(--br-display);}
.game-audio-options button[aria-pressed="true"] {border-color:#dfaa68;background:#4c3e2d;}
