/* Рейс вместо ожидания (update/79_RUN.md, webapp/js/cine/run.js). Кадр 390×844 внутри сцен «Кино». */
.rm-bleed { position: absolute; left: 0; top: 0; width: 390px; height: 844px; object-fit: cover; display: block; max-width: none; transform-origin: 50% 40%; will-change: transform; }
.rm-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 7, 7, .72) 0, rgba(3, 7, 7, .28) 20%, rgba(3, 7, 7, 0) 40%, rgba(3, 7, 7, .55) 62%, rgba(3, 7, 7, .94) 78%, #030707 100%); }
.rm-shade.solid { background: linear-gradient(180deg, rgba(3, 7, 7, .78) 0, rgba(3, 7, 7, .62) 26%, rgba(3, 7, 7, .9) 58%, #030707 100%); }
.rm-bleed.rm-low { top: -400px; height: 1244px; object-position: 62% 50%; }
.rm-zoom { position: absolute; inset: 0; z-index: 60; overflow: hidden; background: #030707; }
.rm-pill { position: absolute; right: 16px; top: 19px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 10px; border-radius: 14px; z-index: 22;
  font-size: 13px; font-weight: 700; white-space: nowrap; color: #F6F3EC; background: rgba(5, 12, 13, .62); border: 1px solid rgba(243, 210, 139, .32); }
.rm-pill svg { width: 14px; height: 14px; color: var(--accent); }
.rm-pill b { font-weight: 900; color: var(--accent); }
.cn-acts .rm-homeb { border-color: rgba(169, 228, 208, .6); }
.cn-acts .rm-homeb .l svg { color: #A9E4D0; }

/* ── рубка: лобовое окно из трёх стёкол, штурвал, приборы ── */
.rm-room { position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, #111B1D 0, #0A1214 12%, #070D0E 58%, #15100A 72%, #0C0906 100%); }
.rm-room::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 118px;
  background: linear-gradient(180deg, rgba(243, 210, 139, .07), rgba(243, 210, 139, 0)); }
.rm-q { position: absolute; left: 18px; top: 58px; font-size: 50px; line-height: 1; color: #F6F3EC; text-shadow: 0 6px 24px rgba(0, 0, 0, .6); opacity: 0; }
.rm-cols { position: absolute; left: 10px; right: 10px; top: 124px; display: flex; gap: 5px; align-items: flex-start; }
.rm-col { flex: 1 1 0; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; display: block; opacity: 0; perspective: 520px; -webkit-tap-highlight-color: transparent; }
.rm-cols.n3 .rm-col:first-child { perspective-origin: 150% 50%; }
.rm-cols.n3 .rm-col:last-child { perspective-origin: -50% 50%; }
.rm-pane { position: relative; display: block; height: 330px; overflow: hidden; border-radius: 10px; background: #000; transform-origin: 50% 50%; }
.rm-cols.n3 .rm-col:first-child .rm-pane { transform: rotateY(11deg); transform-origin: 100% 50%; }
.rm-cols.n3 .rm-col:last-child .rm-pane { transform: rotateY(-11deg); transform-origin: 0 50%; }
.rm-cols.n2 .rm-col:first-child .rm-pane { transform: rotateY(7deg); transform-origin: 100% 50%; }
.rm-cols.n2 .rm-col:last-child .rm-pane { transform: rotateY(-7deg); transform-origin: 0 50%; }
.rm-pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.rm-pane::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, .13) 0, rgba(255, 255, 255, .03) 26%, rgba(255, 255, 255, 0) 40%), linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .26));
  box-shadow: inset 0 0 0 2px rgba(138, 108, 60, .8), inset 0 0 0 3px rgba(0, 0, 0, .55), inset 0 0 30px rgba(0, 0, 0, .65); }
.rm-plate { display: block; margin-top: 9px; padding: 0 3px; text-align: center; }
.rm-plate b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1; color: #F6F3EC; white-space: nowrap; }
.rm-plate small { display: block; margin-top: 5px; min-height: 45px; font-size: 13px; font-weight: 600; line-height: 1.16; color: rgba(246, 243, 236, .76); text-wrap: balance; }
.rm-risk { display: inline-block; height: 22px; margin-top: 2px; padding: 0 9px; border-radius: 11px; font-size: 12.5px; font-weight: 800; font-style: normal; line-height: 21px; border: 1px solid transparent; }
.rm-risk.calm { color: #9FE3B6; background: rgba(159, 227, 182, .1); border-color: rgba(159, 227, 182, .38); }
.rm-risk.unk { color: #F3C969; background: rgba(243, 201, 105, .1); border-color: rgba(243, 201, 105, .38); }
.rm-risk.bad { color: #F29A8E; background: rgba(242, 154, 142, .12); border-color: rgba(242, 154, 142, .42); }

.rm-route { position: absolute; left: 44px; right: 44px; top: 570px; height: 12px; display: flex; justify-content: space-between; align-items: center; }
.rm-route::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: rgba(246, 243, 236, .16); }
.rm-route i { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #2D3739; }
.rm-route i.on { background: var(--accent); }
.rm-route i.now { background: #070D0E; box-shadow: 0 0 0 2px var(--accent); }
.rm-route i.far { box-shadow: 0 0 0 2px rgba(242, 154, 142, .75); }
.rm-route i.far.on, .rm-route i.far.now { box-shadow: 0 0 0 2px #F29A8E; }

.rm-dash { position: absolute; left: 18px; right: 18px; top: 594px; }
.rm-dash-t { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; color: #F6F3EC; }
.rm-dash-t b { font-size: 20px; color: var(--accent); }
.rm-bar { height: 7px; margin-top: 6px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.rm-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; }
.rm-dash-s { margin-top: 8px; font-size: 13.5px; line-height: 1.3; color: rgba(246, 243, 236, .78); text-shadow: 0 1px 8px #000; }
.rm-omen { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 13px; font-weight: 700; color: #C9B8F2; text-shadow: 0 1px 8px #000; }
.rm-omen svg { width: 15px; height: 15px; flex: none; }


/* ── сеть: одно нажатие и шкала ── */
.rm-g { position: absolute; left: 22px; right: 22px; top: 566px; }
.rm-g-bar { position: relative; height: 24px; border-radius: 12px; display: flex; overflow: visible; background: #0A1214; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.rm-g-bar i { display: block; height: 100%; }
.rm-g-bar .s { width: 25%; border-radius: 12px 0 0 12px; background: rgba(169, 228, 208, .12); }
.rm-g-bar .y { width: 45%; background: rgba(159, 227, 182, .62); }
.rm-g-bar .w { width: 16%; background: rgba(243, 201, 105, .62); }
.rm-g-bar .r { flex: 1; border-radius: 0 12px 12px 0; background: rgba(240, 96, 86, .78); }
.rm-g-needle { position: absolute; left: 0; top: -7px; width: 4px; height: 38px; margin-left: -2px; border-radius: 2px; background: #F6F3EC; box-shadow: 0 0 12px rgba(246, 243, 236, .85); will-change: transform; }
.rm-g-lab { display: flex; justify-content: space-between; margin-top: 11px; font-size: 13px; font-weight: 700; color: rgba(246, 243, 236, .72); }
.rm-net { margin-top: 16px; }
.rm-net-t { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; }
.rm-net-t b { font-size: 24px; color: var(--accent); }
.rm-net-bar { height: 9px; margin-top: 5px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.rm-net-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.rm-warn { position: absolute; left: 0; right: 0; top: -44px; text-align: center; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; color: #FF9C8E; opacity: 0; text-shadow: 0 4px 16px #000; }
.rm-hold { position: absolute; left: 18px; right: 18px; top: 744px; height: 64px; border: 0; border-radius: 18px; color: #1F1A0E; font-size: 24px; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent;
  background: var(--accent); background-image: radial-gradient(circle at 34% 22%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 52%); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.rm-hold.down { transform: scale(.97); box-shadow: 0 0 34px 4px rgba(243, 210, 139, .65); }

.rm-dodge { position: absolute; left: 18px; right: 18px; top: 690px; height: 40px; z-index: 22; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 13px; opacity: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 800; color: #D8CBF7; background: rgba(155, 130, 230, .14); border: 1px solid rgba(190, 170, 245, .5); }
.rm-dodge svg { width: 17px; height: 17px; }

/* ── дома и разгрузка ── */
.rm-box { position: absolute; left: 18px; right: 18px; top: 150px; bottom: 26px; display: flex; flex-direction: column; }
.rm-lost { padding: 11px 14px; margin-bottom: 10px; border-radius: 14px; font-size: 15px; font-weight: 700; line-height: 1.25; color: #F7B3A9; background: rgba(242, 154, 142, .12); border: 1px solid rgba(242, 154, 142, .38); opacity: 0; }
.rm-list { display: flex; flex-direction: column; gap: 8px; }
.rm-row { display: flex; align-items: center; gap: 11px; height: 58px; padding: 0 14px 0 8px; border-radius: 14px; background: rgba(8, 16, 18, .72); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; }
.rm-row img { width: 44px; height: 44px; object-fit: contain; flex: none; max-width: none; }
.rm-row .ico { width: 44px; display: flex; justify-content: center; color: var(--accent); }
.rm-row .ico svg { width: 24px; height: 24px; }
.rm-row span { font-size: 16.5px; font-weight: 700; }
.rm-row i { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 600; color: rgba(246, 243, 236, .66); }
.rm-row b { min-width: 74px; text-align: right; font-size: 22px; color: #F6F3EC; }
.rm-none { padding: 16px; font-size: 16px; font-weight: 600; color: rgba(246, 243, 236, .78); opacity: 0; }
.rm-opts { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.rm-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 76px; padding: 10px 14px 10px 12px; border-radius: 16px; text-align: left; color: #F6F3EC; font: inherit; cursor: pointer; opacity: 0;
  background: rgba(10, 20, 22, .9); border: 1.5px solid rgba(255, 255, 255, .18); -webkit-tap-highlight-color: transparent; }
.rm-opt .ic { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: rgba(255, 255, 255, .06); }
.rm-opt .ic svg { width: 22px; height: 22px; }
.rm-opt .ic.mint { color: #9FE3B6; } .rm-opt .ic.bad { color: #F29A8E; } .rm-opt .ic.gold { color: var(--accent); }
.rm-opt .tx { flex: 1; min-width: 0; }
.rm-opt .tx b { display: block; font-size: 17.5px; font-weight: 800; line-height: 1.12; }
.rm-opt .tx small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 600; color: rgba(246, 243, 236, .72); }
.rm-opt .pr { font-size: 25px; color: #F6F3EC; flex: none; }
.rm-opt .pr.gold { color: var(--accent); }
.rm-fine { margin-top: 12px; font-size: 13.5px; line-height: 1.3; color: rgba(246, 243, 236, .72); text-align: center; opacity: 0; }

.rm-more { padding: 2px 4px; font-size: 13.5px; font-weight: 700; color: rgba(246, 243, 236, .68); opacity: 0; }
.rm-omen span { min-width: 0; }
.cn-acts.three { display: grid; grid-template-columns: repeat(3, 1fr); }
.cn-stage.in-run .cn-pill { display: none !important; }
/* разгрузка на странице фракции */
.fx-unload { position: relative; padding: 16px 18px 18px; border-radius: 20px; overflow: hidden; background: rgba(9, 18, 20, .84); border: 1px solid rgba(243, 210, 139, .28); }
.fx-unload-k { display: block; font-size: 13.5px; font-weight: 700; color: rgba(246, 243, 236, .72); }
.fx-unload-t { display: block; margin-top: 4px; font-size: 54px; line-height: 1; color: var(--accent); }
.fx-unload-s { display: block; margin-top: 8px; font-size: 14px; line-height: 1.32; color: rgba(246, 243, 236, .78); }
.fx-pier { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(242, 154, 142, .08); border: 1px solid rgba(242, 154, 142, .36); }
.fx-pier b { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 800; }
.fx-pier b span { font-size: 22px; color: var(--accent); }
.fx-pier small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.28; color: rgba(246, 243, 236, .74); }
.fx-run-card { padding: 16px 18px; border-radius: 20px; background: rgba(9, 18, 20, .84); border: 1px solid rgba(243, 210, 139, .28); }
.fx-run-card b { display: block; font-size: 26px; line-height: 1.05; color: #F6F3EC; }
.fx-run-card small { display: block; margin: 7px 0 12px; font-size: 14px; line-height: 1.32; color: rgba(246, 243, 236, .78); }
