/* The campaign story uses the tutorial overlay DOM; this class is set only by
   companyText(), so the 32 tutorial steps keep their own layout. */
html.survival-portrait body .game .frame_instruction.survival-company-story {
  background: linear-gradient(180deg, #17110b0a 0%, #17110b1f 40%, #111414bf 73%, #111414eb 100%),
    url('../img/company/survival/world_01_route_portrait.webp') center center / cover no-repeat !important;
}
html.survival-portrait body .game .frame_instruction.survival-company-story::before {
  display: none !important;
}
html.survival-portrait body .game .frame_instruction.survival-company-story > .npc1.survival-briefing-portrait {
  top: 66px !important;
  right: 1% !important;
  width: 67% !important;
  height: 322px !important;
  filter: saturate(1.14) contrast(1.08) drop-shadow(0 11px 12px #000b) !important;
}
html.survival-portrait body .game .frame_instruction.survival-company-story > .text {
  left: 4% !important;
  right: 4% !important;
  bottom: 80px !important;
  width: 92% !important;
  height: 43% !important; max-height: 43% !important;box-sizing:border-box;
  overflow-y: auto;
  padding: 14px 14px 12px !important;
  border: 2px solid #b77b40 !important;border-image:url('../img/ui/survival/commerce/dossier_frame.png') 19 / 8px stretch !important;
  border-radius: 5px !important;
  background: linear-gradient(155deg,#241e1699,#15141298),url('../img/ui/survival/dark_dialog_steel.webp') center / 80px 78px repeat !important;
  box-shadow: 0 14px 28px #000c, inset 0 0 0 3px #10141b,
    inset 0 0 0 4px #8f5d31, inset 0 1px 12px #e0a2572a !important;
  color: #f0e9df !important;
  font: 500 14px/1.24 var(--br-display,Arial),sans-serif !important;
}
html.survival-portrait body .game .frame_instruction.survival-company-story > .text > strong:first-child {
  display: block;
  margin: 0 0 6px;
  padding: 0 0 10px;
  border-bottom: 2px solid #c89459ab;
  color: #fff4df;
  font: 900 21px/1.05 var(--br-display,Arial),sans-serif;
  text-transform: uppercase;
}
html.survival-portrait body .game .frame_instruction.survival-company-story > .text > strong:first-child ~ br + br,
html.survival-portrait body .game .frame_instruction.survival-company-story > .text > strong:first-child + br {
  display: none;
}
html.survival-portrait body .game .frame_instruction.survival-company-story > .btn {
  bottom: 24px !important;
  width: 81% !important;
  height: 50px !important;
  border: 2px solid transparent !important;
  background: transparent url('../img/ui/survival/kit/button_primary.webp') center / 100% 100% no-repeat !important;
  box-shadow: none !important;
  color: #1c150e !important;
  font: 900 22px/30px var(--br-display) !important;
  text-transform: uppercase;
}
