/* ==================== StackDraft · Operation (the run mode, owner Oct 25 2026) ====================
   Same Ops look (play/ops.css): hairlines and corner brackets, Chakra Petch for numbers and labels, Barlow Condensed
   for headlines, no glows. The run screens are deliberately calm: one headline, one number, one action, the rest
   quiet. Everything is prefixed op- (generic class names already exist). Loaded after ops.css. */

.pl .op-kicker { display: inline-flex; align-items: center; gap: 1cqh; font: 700 min(1.6cqh, 2.4cqw) / 1.1 var(--hud); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-kicker i { flex: none; width: 0.9cqh; height: 0.9cqh; background: var(--red); }
.pl .op-kicker b { color: var(--bone); font-weight: 700; }
.pl .op-label { display: block; font: 700 min(1.35cqh, 2.1cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); }

/* lives: three squares, filled while you have them */
.pl .op-lives { display: inline-flex; gap: 0.7cqh; }
.pl .op-lives i { width: 1.5cqh; height: 1.5cqh; box-shadow: inset 0 0 0 1.5px var(--rule-2); }
.pl .op-lives i.on { background: var(--red); box-shadow: none; }

/* ---------- the menu card and the tab ---------- */
.pl .ops-tabs .ops-optab { color: var(--bone); }
.pl .op-card { position: relative; display: grid; gap: 1.2cqh; padding: 2.2cqh 2.4cqh 2cqh; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule); border-left: 3px solid var(--red); cursor: pointer; text-align: left; transition: box-shadow 0.15s; }
.pl .op-card:hover, .pl .op-card:focus-visible { box-shadow: inset 0 0 0 1px var(--rule-2); outline: none; }
.pl .op-card h2 { margin: 0; display: flex; align-items: center; gap: 1.2cqh; font: 800 min(4.2cqh, 5.6cqw) / 0.95 var(--display); text-transform: uppercase; letter-spacing: 0.01em; color: var(--bone); }
.pl .op-card p { margin: 0; font: 500 min(1.75cqh, 2.6cqw) / 1.35 var(--body); color: var(--mute-2); }
.pl .op-cardgo { display: flex; justify-content: space-between; align-items: center; padding-top: 1.3cqh; border-top: 1px solid var(--rule); font: 700 min(1.6cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.pl .op-cardgo em { font-style: normal; color: var(--red); font-size: 1.4em; line-height: 0.6; }
.pl .op-emblem { flex: none; width: 1em; height: 1em; color: var(--bone); }
.pl .op-emblem.t2 { color: #c4cad3; }
.pl .op-emblem.t3 { color: #d9b25a; }
.pl .op-emblem.t4 { color: var(--red); }

/* ---------- the Operation panel ---------- */
.pl .op-panel { position: absolute; z-index: 3; inset: 10cqh max(5cqw, 3cqh) 9cqh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4cqw; align-items: start; overflow-y: auto; scrollbar-width: thin; }
.pl .op-main { display: grid; gap: 2.4cqh; justify-items: start; }
.pl .op-title { margin: 0; font: 900 min(9cqh, 7.4cqw) / 0.86 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.1cqh; max-width: 62ch; }
.pl .op-rules li { position: relative; padding-left: 2.6cqh; font: 500 min(1.95cqh, 2.8cqw) / 1.35 var(--body); color: var(--mute-2); }
.pl .op-rules li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 1.2cqh; height: 2px; background: var(--red); }
.pl .op-rules b { color: var(--bone); font-weight: 700; }
.pl .op-threat { display: grid; gap: 1.2cqh; width: 100%; }
.pl .op-ths { display: flex; flex-wrap: wrap; gap: 0.8cqh; }
.pl .op-th { width: 5cqh; height: 5cqh; display: grid; place-items: center; font: 700 min(2.2cqh, 3.2cqw) / 1 var(--hud); color: var(--bone); box-shadow: inset 0 0 0 1px var(--rule-2); transition: background 0.12s, color 0.12s; }
.pl .op-th:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--bone); }
.pl .op-th.on { background: var(--bone); color: #0a0a0b; box-shadow: none; }
.pl .op-th:disabled { color: rgba(244, 241, 234, 0.25); box-shadow: inset 0 0 0 1px rgba(244, 241, 234, 0.1); cursor: not-allowed; }
.pl .op-threat p { margin: 0; font: 500 min(1.8cqh, 2.6cqw) / 1.35 var(--body); color: var(--mute-2); }
.pl .op-threat p b { color: var(--bone); }
.pl .op-go { display: flex; flex-wrap: wrap; gap: 1.4cqh; }
.pl .op-btn { display: grid; gap: 0.6cqh; justify-items: start; padding: 1.8cqh 3cqh 1.6cqh; background: var(--bone); color: #0a0a0b; font: 900 min(3.6cqh, 5cqw) / 0.9 var(--display); letter-spacing: 0.04em; text-transform: uppercase; transition: background 0.12s; }
.pl .op-btn small { font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.12em; opacity: 0.7; }
.pl .op-btn:hover, .pl .op-btn:focus-visible { background: #fff; outline: none; }
.pl .op-btn.ghost { background: none; color: var(--bone); box-shadow: inset 0 0 0 1px var(--rule-2); }
.pl .op-btn.ghost:hover, .pl .op-btn.ghost:focus-visible { box-shadow: inset 0 0 0 1px var(--bone); }
.pl .op-note { margin: 0; font: 500 min(1.6cqh, 2.4cqw) / 1.35 var(--body); color: var(--mute-2); }
.pl .op-sidecol { display: grid; gap: 2cqh; }
.pl .op-box { display: grid; gap: 1.3cqh; padding: 2cqh 2.2cqh; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule); }
.pl .op-rewards { margin: 0; padding: 0; list-style: none; display: grid; gap: 1cqh; }
.pl .op-rewards li { display: flex; align-items: center; gap: 1.2cqh; font: 500 min(1.7cqh, 2.5cqw) / 1.3 var(--body); color: var(--mute-2); }
.pl .op-rewards li b { color: var(--bone); }
.pl .op-rewards .op-emblem { width: 2.6cqh; height: 2.6cqh; color: rgba(244, 241, 234, 0.25); }
.pl .op-rewards li.got .op-emblem { color: var(--bone); }
.pl .op-rewards li.got span::after { content: " · earned"; color: var(--good); font-family: var(--hud); font-size: 0.85em; letter-spacing: 0.08em; text-transform: uppercase; }
.pl .op-board { margin: 0; padding: 0; list-style: none; display: grid; }
.pl .op-board li { display: grid; grid-template-columns: 3cqh minmax(0, 1fr) auto; gap: 1.2cqh; align-items: baseline; padding: 0.9cqh 0; border-top: 1px solid var(--rule); font: 500 min(1.75cqh, 2.6cqw) / 1.2 var(--body); color: var(--bone); }
.pl .op-board li:first-child { border-top: 0; }
.pl .op-board li span { font: 700 1em / 1 var(--hud); color: var(--mute-2); }
.pl .op-board li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pl .op-board li em { font: 700 0.9em / 1 var(--hud); font-style: normal; letter-spacing: 0.06em; color: var(--mute-2); }
.pl .op-board li.me b { color: var(--red); }
.pl .op-board li.none { display: block; color: var(--mute-2); }
.pl .op-mine { margin: 0; font: 700 min(1.45cqh, 2.2cqw) / 1.3 var(--hud); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); }

/* ---------- the run's screens: briefing, result, intel, the end ---------- */
.pl .df-draft.ops.op-screen { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto auto minmax(0, 1fr); padding: 2.6cqh max(5cqw, 3cqh) 2cqh; gap: 2.4cqh; }
.pl .df-draft.ops.op-screen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 11, 0.94) 0 38%, rgba(10, 10, 11, 0.72)); }
.pl .op-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.4cqh; border-bottom: 1px solid var(--rule); font: 700 min(1.5cqh, 2.3cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-pips { display: flex; gap: 0.8cqh; }
.pl .op-pips i { flex: 1; max-width: 9cqh; height: 3.4cqh; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule); font: 700 min(1.4cqh, 2.1cqw) / 1 var(--hud); font-style: normal; color: var(--mute-2); }
.pl .op-pips i.won { background: rgba(244, 241, 234, 0.12); box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--bone); }
.pl .op-pips i.now { box-shadow: inset 0 0 0 2px var(--bone); color: var(--bone); }
.pl .op-pips i.boss b { color: var(--red); }
.pl .op-bmain { align-self: center; display: grid; gap: 2cqh; justify-items: start; max-width: min(78cqw, 120cqh); }
.pl .op-site { margin: 0; display: flex; align-items: center; gap: 1.4cqh; font: 900 min(12cqh, 10cqw) / 0.85 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-sitename { margin: -0.6cqh 0 0; font: 600 min(2.4cqh, 3.4cqw) / 1.2 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-facts { display: flex; flex-wrap: wrap; gap: 0; box-shadow: inset 0 0 0 1px var(--rule); }
.pl .op-facts > span { display: grid; gap: 0.9cqh; align-content: start; min-width: 14cqh; padding: 1.6cqh 2.2cqh; border-left: 1px solid var(--rule); }
.pl .op-facts > span:first-child { border-left: 0; }
.pl .op-facts small { font: 700 min(1.25cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-facts b { font: 800 min(2.6cqh, 3.6cqw) / 1 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-facts b.atk { color: var(--atk); }
.pl .op-facts b.def { color: var(--def); }
.pl .op-facts em { font: 700 min(1.2cqh, 1.9cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.pl .op-bars { display: inline-flex; gap: 0.5cqh; align-items: end; height: 2.6cqh; }
.pl .op-bars i { width: 0.9cqh; background: rgba(244, 241, 234, 0.16); }
.pl .op-bars i:nth-child(1) { height: 40%; } .pl .op-bars i:nth-child(2) { height: 55%; } .pl .op-bars i:nth-child(3) { height: 70%; } .pl .op-bars i:nth-child(4) { height: 85%; } .pl .op-bars i:nth-child(5) { height: 100%; }
.pl .op-bars i.on { background: var(--bone); }
.pl .op-intelrow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8cqh; }
.pl .op-intelrow small { margin-right: 0.6cqh; font: 700 min(1.25cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-chip { padding: 0.7cqh 1.1cqh 0.6cqh; box-shadow: inset 0 0 0 1px var(--rule-2); font: 700 min(1.35cqh, 2.1cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); }
.pl .op-chip.hot { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }

.pl .op-big { margin: 0; font: 900 min(11cqh, 9.5cqw) / 0.86 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-big small { font-size: 0.45em; color: var(--mute-2); }
.pl .op-result.win .op-big { color: var(--bone); }
.pl .op-result.loss .op-big { color: var(--mute-2); }
.pl .op-odds, .pl .op-sub { margin: 0; font: 600 min(2.3cqh, 3.2cqw) / 1.25 var(--display); letter-spacing: 0.03em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-odds b { color: var(--bone); font-family: var(--hud); }
.pl .op-gain { display: flex; flex-wrap: wrap; gap: 1.2cqh; }
.pl .op-gain span { display: inline-flex; align-items: center; gap: 0.8cqh; padding: 0.9cqh 1.3cqh 0.8cqh; box-shadow: inset 0 0 0 1px var(--rule-2); font: 700 min(1.6cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.pl .op-gain span.cold { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.pl .op-gain span.hot { background: var(--bone); color: #0a0a0b; box-shadow: none; }
.pl .op-gain .op-emblem { width: 1.2em; height: 1.2em; color: inherit; }

/* the steps: the attack's way through the round, each with its own odds; ticked off as the round plays */
.pl .op-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6cqh; }
.pl .op-chain > em { font-style: normal; color: var(--mute-2); font: 700 min(1.6cqh, 2.4cqw) / 1 var(--hud); }
.pl .op-step { position: relative; display: grid; gap: 0.5cqh; min-width: 11cqh; padding: 1.1cqh 1.4cqh 1cqh; box-shadow: inset 0 0 0 1px var(--rule-2); text-align: left; }
.pl .op-step small { font: 700 min(1.2cqh, 1.9cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2); white-space: nowrap; }
.pl .op-step b { font: 700 min(2.4cqh, 3.4cqw) / 1 var(--hud); color: var(--bone); }
.pl .op-step i { position: absolute; right: 0.9cqh; top: 0.9cqh; width: 1.4cqh; height: 1.4cqh; }
.pl .op-step.pass i { background: var(--bone); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 70%); }
.pl .op-step.fail i { background: var(--red); clip-path: polygon(16% 0, 0 16%, 34% 50%, 0 84%, 16% 100%, 50% 66%, 84% 100%, 100% 84%, 66% 50%, 100% 16%, 84% 0, 50% 34%); }
.pl .op-step.good { box-shadow: inset 0 0 0 1px var(--bone); }
.pl .op-step.good i { background: var(--good); }
.pl .op-step.fail:not(.good) { box-shadow: inset 0 0 0 1px var(--red); }
.pl .op-step.skip { opacity: 0.35; }
.pl .op-chain.mini { gap: 0.4cqh; }
.pl .op-chain.mini .op-step { min-width: 0; padding: 0.6cqh 0.9cqh 0.5cqh; gap: 0.3cqh; background: rgba(10, 10, 11, 0.6); }
.pl .op-chain.mini .op-step b { font-size: min(1.5cqh, 2.2cqw); }
.pl .op-chain.mini .op-step small { font-size: min(1cqh, 1.6cqw); }
.pl .op-chain.mini .op-step i { width: 1cqh; height: 1cqh; right: 0.5cqh; top: 0.5cqh; }
.pl .op-chain.mini > em { font-size: min(1.2cqh, 1.8cqw); }
.pl .df-reveal .op-chain { justify-content: center; margin-top: 0.4cqh; }
.pl .df-reelhud .op-chain { position: static; flex-basis: 100%; justify-content: center; flex-wrap: nowrap; order: 9; }
.pl .op-bonus { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8cqh; font: 700 min(1.5cqh, 2.2cqw) / 1 var(--hud); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-bonus b { padding: 0.5cqh 0.9cqh 0.4cqh; box-shadow: inset 0 0 0 1px var(--good); color: var(--good); }

/* Intel: three cards */
.pl .op-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqh; width: min(76cqw, 118cqh); }
.pl .op-icard { position: relative; display: grid; align-content: start; justify-items: start; gap: 1.4cqh; min-height: 30cqh; padding: 3cqh 2.6cqh 2.6cqh; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule-2); text-align: left; transition: box-shadow 0.15s, transform 0.15s; }
.pl .op-icard:hover, .pl .op-icard:focus-visible { box-shadow: inset 0 0 0 2px var(--bone); transform: translateY(-0.6cqh); outline: none; }
.pl .op-glyph { display: grid; place-items: center; width: 6cqh; height: 6cqh; box-shadow: inset 0 0 0 1px var(--rule-2); font: 700 min(3.4cqh, 4.6cqw) / 1 var(--hud); color: var(--red); }
.pl .op-icard b { font: 900 min(3.4cqh, 4.6cqw) / 0.95 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-icard small { font: 500 min(1.85cqh, 2.6cqw) / 1.35 var(--body); color: var(--mute-2); }
.pl .op-icard em { font: 700 min(1.2cqh, 1.8cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.pl .op-icard kbd { position: absolute; right: 1.6cqh; top: 1.6cqh; font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); color: var(--mute-2); }
.pl .op-icard.taken { box-shadow: inset 0 0 0 2px var(--bone); background: rgba(244, 241, 234, 0.1); }
.pl .op-icard.dropped { opacity: 0.25; transform: scale(0.97); }

/* the end of the run */
.pl .op-end .op-bmain { gap: 1.8cqh; }
.pl .op-rds { display: flex; flex-wrap: wrap; gap: 0.6cqh; }
.pl .op-rd { display: grid; gap: 0.4cqh; justify-items: center; min-width: 6.4cqh; padding: 1cqh 1cqh 0.9cqh; box-shadow: inset 0 0 0 1px var(--rule); }
.pl .op-rd b { font: 700 min(1.8cqh, 2.6cqw) / 1 var(--hud); color: var(--bone); }
.pl .op-rd small { font: 700 min(1.2cqh, 1.8cqw) / 1 var(--hud); color: var(--mute-2); }
.pl .op-rd.w { box-shadow: inset 0 0 0 1px var(--bone); background: rgba(244, 241, 234, 0.08); }
.pl .op-rd.l b { color: var(--red); }
.pl .op-moment { display: grid; gap: 0.6cqh; padding-left: 1.6cqh; border-left: 2px solid var(--red); }
.pl .op-moment small { font: 700 min(1.25cqh, 1.9cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-moment b { font: 800 min(2.6cqh, 3.6cqw) / 1.05 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-moment span { font: 500 min(1.6cqh, 2.4cqw) / 1.3 var(--body); color: var(--mute-2); }
.pl .op-next { margin: 0; max-width: 60ch; font: 500 min(1.8cqh, 2.6cqw) / 1.4 var(--body); color: var(--bone); }
.pl .op-endbtns { display: flex; gap: 1.2cqh; }
.pl .op-endbtns .op-btn { font-size: min(2.2cqh, 3.2cqw); padding: 1.3cqh 2.2cqh 1.2cqh; }

/* the short poll: a quiet card at the bottom, never in the way of the result */
.pl .op-poll { position: absolute; z-index: 30; left: 50%; bottom: 3cqh; transform: translateX(-50%); width: min(92cqw, 70cqh); transition: opacity 0.25s, transform 0.25s; }
.pl .op-poll.out { opacity: 0; transform: translate(-50%, 20px); }
.pl .op-pollin { display: grid; gap: 1.4cqh; padding: 2.2cqh 2.4cqh; background: #0d0d0f; box-shadow: inset 0 0 0 1px var(--rule-2), 0 2cqh 6cqh rgba(0, 0, 0, 0.6); }
.pl .op-pollin > b { font: 800 min(2.6cqh, 3.8cqw) / 1.1 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-pollopts { display: flex; flex-wrap: wrap; gap: 1cqh; }
.pl .op-pollopts button { flex: 1; min-width: 6cqh; padding: 1.4cqh 1.6cqh 1.3cqh; box-shadow: inset 0 0 0 1px var(--rule-2); font: 700 min(1.7cqh, 2.5cqw) / 1 var(--hud); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); transition: background 0.12s, color 0.12s; }
.pl .op-pollopts button:hover, .pl .op-pollopts button:focus-visible { background: var(--bone); color: #0a0a0b; outline: none; }
.pl .op-pollskip { justify-self: end; font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-pollskip:hover { color: var(--bone); }

/* the ticker: the New maps tag, moved here from under Play */
.pl .ops-ticker .ops-tnew { display: inline-flex; align-items: center; gap: 0.8cqh; margin-left: auto; }

/* the stack panel steps aside on the run's own screens */
body.pl[data-phase^="op"] .board { display: none; }

/* ---------- phones ---------- */
@media (max-aspect-ratio: 6/5) {
  .pl .op-panel { inset: 8cqh 4cqw 8cqh; grid-template-columns: minmax(0, 1fr); gap: 3cqh; }
  .pl .op-title { font-size: 11cqw; }
  .pl .op-th { width: 8.4cqw; height: 8.4cqw; font-size: 3.6cqw; }
  .pl .df-draft.ops.op-screen { padding: 2cqh 4cqw; gap: 1.8cqh; }
  .pl .op-site { font-size: 13cqw; }
  .pl .op-facts > span { min-width: 0; flex: 1 1 40%; border-top: 1px solid var(--rule); }
  .pl .op-cards { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 1.2cqh; }
  .pl .op-icard { min-height: 0; grid-template-columns: auto minmax(0, 1fr); column-gap: 3cqw; align-items: center; padding: 2cqh 3cqw; }
  .pl .op-icard .op-glyph { grid-row: span 2; width: 10cqw; height: 10cqw; font-size: 5cqw; }
  .pl .op-icard b { font-size: 5cqw; }
  .pl .op-icard small { font-size: 3.4cqw; grid-column: 2; }
  .pl .op-icard em, .pl .op-icard kbd { display: none; }
  .pl .op-step { min-width: 0; flex: 1 1 40%; }
  .pl .df-reelhud .op-chain { display: none; }
  .pl .op-card h2 { font-size: 6cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .pl .op-icard, .pl .op-poll { transition: none; }
}

/* wide screens: the run's own screens take the whole width (the stack column comes back for the draft) */
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  body.pl[data-phase^="op"] { grid-template: "top" auto "stage" minmax(0, 1fr) "action" auto "after" auto "rate" auto "foot" auto / minmax(0, 1fr); }
}

/* the map, faded in behind the run screens; the briefing puts the site's floor plan beside the facts */
.pl .op-plate { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; filter: grayscale(1) contrast(1.1) brightness(0.32); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); }
.pl .df-draft.ops.op-brief { grid-template: auto auto minmax(0, 1fr) / minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 4cqw; }
.pl .op-brief .op-head, .pl .op-brief .op-pips { grid-column: 1 / -1; }
.pl .op-plan { align-self: center; display: grid; gap: 1.6cqh; justify-items: start; min-width: 0; }
.pl .op-plan img { display: block; width: 100%; max-height: 48cqh; object-fit: contain; object-position: left center; background: rgba(10, 10, 11, 0.55); box-shadow: inset 0 0 0 1px var(--rule); padding: 1.4cqh; }
.pl .op-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8cqh; }
.pl .op-plan li { position: relative; padding-left: 2.2cqh; font: 500 min(1.75cqh, 2.5cqw) / 1.35 var(--body); color: var(--mute-2); }
.pl .op-plan li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 1cqh; height: 2px; background: var(--rule-2); }
.pl .op-facts > span { padding: 1.8cqh 2.6cqh; }
.pl .op-facts b { font-size: min(3cqh, 4cqw); }
@media (max-aspect-ratio: 6/5) {
  .pl .df-draft.ops.op-brief { grid-template: auto auto auto auto / minmax(0, 1fr); }
  .pl .op-plan img { max-height: 24cqh; }
  .pl .op-plan ul { display: none; }
}
.pl .op-chainlbl { display: block; margin-top: 0.6cqh; font: 700 min(1.25cqh, 1.9cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2); text-align: center; }

/* ==================== Operation v2: route, Supply, the Armory (Oct 25) ==================== */
body.pl { --r-common: #b9bcc6; --r-rare: #3d8bf0; --r-epic: #a46bff; --r-legendary: #f2a33a; }
.pl .r-common { --rc: var(--r-common); }
.pl .r-rare { --rc: var(--r-rare); }
.pl .r-epic { --rc: var(--r-epic); }
.pl .r-legendary { --rc: var(--r-legendary); }
.pl .op-headr { display: inline-flex; align-items: center; gap: 2cqh; }
.pl .op-supply { display: inline-flex; align-items: center; gap: 0.6cqh; font: 700 min(1.9cqh, 2.8cqw) / 1 var(--hud); color: var(--bone); letter-spacing: 0.04em; }
.pl .op-supply i { font-style: normal; color: var(--r-legendary); }

/* the route pips: what each stop was */
.pl .op-pips i.won { color: var(--bone); }
.pl .op-pips i.elite b { color: var(--red); }
.pl .op-pips i.rest b, .pl .op-pips i.market b { color: var(--r-rare); }
.pl .op-pips i.event b { color: var(--r-legendary); }

/* the brief's twist */
.pl .op-twist { display: flex; flex-wrap: wrap; gap: 1cqh; align-items: baseline; padding: 1.2cqh 1.6cqh; box-shadow: inset 0 0 0 1px var(--red); font: 500 min(1.8cqh, 2.6cqw) / 1.3 var(--body); color: var(--bone); }
.pl .op-twist b { font: 700 min(1.5cqh, 2.2cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.pl .op-twist.hot { box-shadow: inset 0 0 0 1px var(--r-legendary); }
.pl .op-twist.hot b { color: var(--r-legendary); }
.pl .op-brief.boss .op-site, .pl .op-brief.elite .op-kicker { color: var(--red); }

/* perk chips by rarity; the Armory's owned row sells them */
.pl .op-chip { display: inline-flex; align-items: center; gap: 0.6cqh; box-shadow: inset 0 0 0 1px var(--rc, var(--rule-2)); }
.pl .op-chip em { font-style: normal; color: var(--rc, var(--bone)); }
.pl .op-chip small { margin-left: 0.4cqh; color: var(--mute-2); font-size: 0.85em; }
.pl .op-chip[data-op-sell] { cursor: pointer; }
.pl .op-chip[data-op-sell]:hover, .pl .op-chip.ask { background: rgba(244, 241, 234, 0.08); }
.pl .op-chip.ask small { color: var(--bone); }

/* the result: the outcome left, the Supply cash-out right */
.pl .op-resgrid { align-self: center; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4cqw; align-items: center; }
.pl .op-resgrid .op-bmain { align-self: center; }
.pl .op-tally { display: grid; gap: 1.2cqh; padding: 2.2cqh 2.4cqh; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule); }
.pl .op-tally ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.9cqh; }
.pl .op-tally li { display: flex; justify-content: space-between; gap: 2cqh; font: 600 min(2cqh, 2.9cqw) / 1.2 var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--mute-2); opacity: 0; transform: translateX(-1.2cqh); transition: opacity 0.2s, transform 0.2s; }
.pl .op-tally li.in { opacity: 1; transform: none; color: var(--bone); }
.pl .op-tally li b { font-family: var(--hud); color: var(--r-legendary); }
.pl .op-total { display: flex; justify-content: space-between; padding-top: 1.2cqh; border-top: 1px solid var(--rule-2); font: 800 min(3.2cqh, 4.4cqw) / 1 var(--display); text-transform: uppercase; color: var(--bone); opacity: 0.35; }
.pl .op-total.in { opacity: 1; }
.pl .op-total b { font-family: var(--hud); color: var(--r-legendary); }
.pl .op-total em { font-style: normal; }

/* the Armory: cards that flip */
.pl .op-bmain.wide { max-width: none; width: 100%; justify-items: center; }
.pl .op-pcards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 24cqh)); gap: 2.4cqh; justify-content: center; }
.pl .op-pcards.n2 { --cols: 2; }
.pl .op-pcards.n4 { --cols: 4; }
.pl .op-pcard { position: relative; aspect-ratio: 5 / 7; perspective: 900px; }
.pl .op-pin { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pl .op-pcards:not(.down) .op-pin { transition: none; }
.pl .op-pcard.up .op-pin { transform: rotateY(180deg); }
.pl .op-pback, .pl .op-pface { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pl .op-pback { display: grid; place-items: center; align-content: center; gap: 1cqh; background: linear-gradient(160deg, #141317, #0a0a0b); box-shadow: inset 0 0 0 1px var(--rule-2); overflow: hidden; }
.pl .op-pback span { font: 700 min(1.4cqh, 2.1cqw) / 1 var(--hud); letter-spacing: 0.3em; color: var(--mute-2); }
.pl .op-pback b { font: 900 min(9cqh, 12cqw) / 1 var(--display); color: rgba(244, 241, 234, 0.16); }
.pl .op-pcard.glow .op-pback { box-shadow: inset 0 0 0 2px var(--rc), inset 0 0 6cqh -2cqh var(--rc); }
.pl .op-pcard.glow .op-pback::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, color-mix(in srgb, var(--rc) 45%, transparent) 50%, transparent 60%); animation: op-sheen 0.9s linear infinite; }
.pl .op-pcard.glow.r-legendary .op-pback b { color: var(--r-legendary); }
@keyframes op-sheen { from { transform: translateX(-40%); } to { transform: translateX(40%); } }
.pl .op-pface { transform: rotateY(180deg); display: grid; align-content: start; justify-items: start; gap: 1.1cqh; padding: 2cqh 1.8cqh; background: linear-gradient(170deg, color-mix(in srgb, var(--rc) 16%, #0d0d0f), #0a0a0b 55%); box-shadow: inset 0 0 0 1px var(--rc); }
.pl .op-pcard.r-legendary .op-pface { box-shadow: inset 0 0 0 2px var(--r-legendary); }
.pl .op-rar { font: 700 min(1.25cqh, 1.9cqw) / 1 var(--hud); letter-spacing: 0.18em; text-transform: uppercase; color: var(--rc); }
.pl .op-pface .op-glyph { width: 5.4cqh; height: 5.4cqh; color: var(--rc); box-shadow: inset 0 0 0 1px var(--rc); font-size: min(2.8cqh, 4cqw); }
.pl .op-pface b { font: 900 min(2.9cqh, 4cqw) / 0.95 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-pface small { font: 500 min(1.65cqh, 2.4cqw) / 1.35 var(--body); color: #c9c6bf; }
.pl .op-pface em { font: 700 min(1.15cqh, 1.8cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-buy { position: absolute; left: 1.8cqh; right: 1.8cqh; bottom: 1.8cqh; padding: 1.2cqh 1cqh 1.1cqh; background: var(--bone); color: #0a0a0b; font: 800 min(2.2cqh, 3.2cqw) / 1 var(--hud); letter-spacing: 0.06em; transition: background 0.12s; }
.pl .op-buy:hover:not(:disabled) { background: #fff; }
.pl .op-buy s { margin-right: 0.8cqh; opacity: 0.5; }
.pl .op-buy.short { background: rgba(244, 241, 234, 0.14); color: var(--mute-2); }
.pl .op-buy:disabled { background: none; box-shadow: inset 0 0 0 1px var(--rule); color: var(--mute-2); }
.pl .op-sale { position: absolute; right: 1.4cqh; top: 1.4cqh; padding: 0.5cqh 0.8cqh 0.4cqh; background: var(--red); color: #fff; font: 700 min(1.15cqh, 1.8cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; }
.pl .op-pcards.down .op-pcard { opacity: 0; transform: translateY(3cqh) scale(0.96); transition: opacity 0.3s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pl .op-pcards.down .op-pcard.in { opacity: 1; transform: none; }
.pl .op-pcards.down { cursor: pointer; }
.pl .op-pcard.sold .op-pface { filter: saturate(0.4) brightness(0.7); }
.pl .op-pcard.taken { outline: 2px solid var(--bone); outline-offset: 3px; }
.pl .op-shopbar { display: flex; flex-wrap: wrap; align-items: center; gap: 2cqh; justify-content: center; width: min(100%, 120cqh); }
.pl .op-shopbar .op-btn { font-size: min(2.2cqh, 3.2cqw); padding: 1.2cqh 2.2cqh 1.1cqh; }
.pl .op-owned { display: flex; flex-wrap: wrap; gap: 0.8cqh; align-items: center; }
.pl .op-none { font: 500 min(1.6cqh, 2.4cqw) / 1.3 var(--body); color: var(--mute-2); }

/* the route: doors */
.pl .op-dooring { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 30cqh)); gap: 2.4cqh; justify-content: center; }
.pl .op-dooring.n1 { --cols: 1; }
.pl .op-dooring.n2 { --cols: 2; }
.pl .op-door { position: relative; display: grid; align-content: start; justify-items: start; gap: 1cqh; min-height: 34cqh; padding: 2.6cqh 2.2cqh; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule-2); text-align: left; opacity: 0; transform: translateY(2cqh); transition: opacity 0.3s, transform 0.3s, box-shadow 0.15s; }
.pl .op-door.in { opacity: 1; transform: none; }
.pl .op-door:hover, .pl .op-door:focus-visible { box-shadow: inset 0 0 0 2px var(--bone); transform: translateY(-0.6cqh); outline: none; }
.pl .op-door.chosen { box-shadow: inset 0 0 0 2px var(--bone); background: rgba(244, 241, 234, 0.08); }
.pl .op-door.dropped { opacity: 0.2; }
.pl .op-dg { display: grid; place-items: center; width: 6cqh; height: 6cqh; box-shadow: inset 0 0 0 1px var(--rule-2); font: 700 min(3.2cqh, 4.4cqw) / 1 var(--hud); color: var(--bone); }
.pl .op-door > b { font: 900 min(3.2cqh, 4.4cqw) / 0.95 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-door > span { font: 500 min(1.75cqh, 2.5cqw) / 1.3 var(--body); color: #c9c6bf; }
.pl .op-door .op-dmap { font: 700 min(2.2cqh, 3.2cqw) / 1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; color: var(--bone); }
.pl .op-door .op-dtw { color: var(--bone); }
.pl .op-door .op-dtw b { color: var(--red); font-weight: 700; }
.pl .op-door .op-dpay { margin-top: auto; padding-top: 1cqh; border-top: 1px solid var(--rule); font-family: var(--hud); font-size: min(1.4cqh, 2.1cqw); letter-spacing: 0.06em; text-transform: uppercase; color: var(--r-legendary); }
.pl .op-door kbd { position: absolute; right: 1.6cqh; top: 1.6cqh; font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); color: var(--mute-2); }
.pl .op-door.t-elite { box-shadow: inset 0 0 0 1px var(--red); }
.pl .op-door.t-elite .op-dg { color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.pl .op-door.t-boss { box-shadow: inset 0 0 0 2px var(--red); min-width: 34cqh; }
.pl .op-door.t-boss .op-dg { color: #fff; background: var(--red); box-shadow: none; }
.pl .op-door.t-rest .op-dg, .pl .op-door.t-market .op-dg { color: var(--r-rare); box-shadow: inset 0 0 0 1px var(--r-rare); }
.pl .op-door.t-event .op-dg { color: var(--r-legendary); box-shadow: inset 0 0 0 1px var(--r-legendary); }
.pl .op-bossline { margin: 0; font: 500 min(1.7cqh, 2.5cqw) / 1.3 var(--body); color: var(--mute-2); text-align: center; }
.pl .op-bossline span { font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-right: 0.6cqh; }
.pl .op-bossline b { color: var(--bone); }

/* events and the Safehouse */
.pl .op-sub2 { margin: 0; max-width: 56ch; font: 500 min(2cqh, 2.9cqw) / 1.4 var(--body); color: #c9c6bf; }
.pl .op-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 40cqh)); gap: 2cqh; }
.pl .op-choice { display: grid; gap: 0.9cqh; align-content: start; justify-items: start; padding: 2.2cqh 2.2cqh; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rc, var(--rule-2)); text-align: left; transition: box-shadow 0.15s, transform 0.15s; }
.pl .op-choice:hover:not(:disabled), .pl .op-choice:focus-visible { box-shadow: inset 0 0 0 2px var(--rc, var(--bone)); transform: translateY(-0.4cqh); outline: none; }
.pl .op-choice:disabled { opacity: 0.4; cursor: not-allowed; }
.pl .op-choice b { font: 800 min(2.4cqh, 3.4cqw) / 1.05 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-choice span { font: 500 min(1.7cqh, 2.5cqw) / 1.35 var(--body); color: #c9c6bf; }
.pl .op-choice .op-rar { font: 700 min(1.2cqh, 1.9cqw) / 1 var(--hud); color: var(--rc); }
.pl .op-bonus b.r-common, .pl .op-bonus b.r-rare, .pl .op-bonus b.r-epic, .pl .op-bonus b.r-legendary { box-shadow: inset 0 0 0 1px var(--rc); color: var(--rc); }

/* the draft: perks that show more offers */
.pl .df-roll.n4 { grid-template-columns: repeat(4, auto); --ch: min(40cqh, 26cqw); }
.pl .df-roll.n5 { grid-template-columns: repeat(5, auto); --ch: min(36cqh, 21cqw); gap: 2cqw; }
.pl .df-roll.n6 { grid-template-columns: repeat(6, auto); --ch: min(32cqh, 17cqw); gap: 1.6cqw; }

@media (max-aspect-ratio: 6/5) {
  .pl .op-resgrid { grid-template-columns: minmax(0, 1fr); gap: 2cqh; }
  .pl .op-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 1.4cqh; }
  .pl .op-pcard { aspect-ratio: 4 / 5; }
  .pl .op-pface b { font-size: 4.6cqw; }
  .pl .op-pface small { font-size: 3.2cqw; }
  .pl .op-dooring { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 1.2cqh; }
  .pl .op-door { min-height: 0; grid-template-columns: auto minmax(0, 1fr); column-gap: 3cqw; }
  .pl .op-door > *:not(.op-dg) { grid-column: 2; }
  .pl .op-door .op-dg { grid-row: span 6; width: 11cqw; height: 11cqw; }
  .pl .op-choices { grid-template-columns: minmax(0, 1fr); width: 100%; }
  /* 4-6 offers on a phone: two compact rows that fit above Reroll / Scout / Hint (sweep 10 S7: the old two rows of
     full-size cards ran over the tools, so they couldn't be tapped). The column is wider than the card for the role tags */
  .pl .df-roll.n4, .pl .df-roll.n5, .pl .df-roll.n6 { grid-template-columns: repeat(3, auto); --ch: min(15.5cqh, 24cqw); gap: 0.8cqh 1cqw; }
  .pl .df-roll.n4 { grid-template-columns: repeat(2, auto); }
  .pl .df-roll.n4 .df-col, .pl .df-roll.n5 .df-col, .pl .df-roll.n6 .df-col { width: 30cqw; gap: 0.6cqh; grid-template-rows: auto auto 4.6cqh; }
  .pl .df-roll.n4 .df-window, .pl .df-roll.n5 .df-window, .pl .df-roll.n6 .df-window { width: calc(var(--ch) * 0.66); }
  .pl .op-headr { gap: 1.2cqh; }
}
@media (prefers-reduced-motion: reduce) {
  .pl .op-pin, .pl .op-door, .pl .op-pcards.down .op-pcard, .pl .op-tally li { transition: none; }
  .pl .op-pcard.glow .op-pback::after { animation: none; }
}
.pl .op-dg svg { width: 62%; height: 62%; }
.pl .op-pcards { grid-template-columns: repeat(var(--cols, 3), minmax(0, 28cqh)); }
.pl .op-pface { padding-bottom: 8cqh; }
@media (max-aspect-ratio: 6/5) {
  .pl .op-pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .pl .op-pcard { aspect-ratio: 3 / 4; }
  .pl .op-pface { padding: 1.6cqh 1.4cqh 7cqh; gap: 0.8cqh; }
  .pl .op-pface .op-glyph { width: 4.6cqh; height: 4.6cqh; }
  .pl .op-buy { left: 1.4cqh; right: 1.4cqh; bottom: 1.4cqh; font-size: 3.8cqw; }
}

/* ==================== the route track and the route screen (owner: "confusing", Oct 25) ==================== */
.pl .op-track { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 0; }
.pl .op-track li { position: relative; display: grid; justify-items: center; gap: 0.6cqh; flex: 1; max-width: 9cqh; }
.pl .op-track li::before { content: ""; position: absolute; top: 1.6cqh; right: 50%; width: 100%; height: 2px; background: var(--rule); z-index: 0; }
.pl .op-track li:first-child::before { content: none; }
.pl .op-track li.done::before, .pl .op-track li.now::before { background: var(--rule-2); }
.pl .op-track i { position: relative; z-index: 1; display: grid; place-items: center; width: 3.2cqh; height: 3.2cqh; background: #0d0d0f; box-shadow: inset 0 0 0 1px var(--rule); color: var(--mute-2); font-style: normal; }
.pl .op-track i svg { width: 64%; height: 64%; }
.pl .op-track li.todo i { width: 1.2cqh; height: 1.2cqh; margin: 1cqh 0; box-shadow: none; background: var(--rule-2); }
.pl .op-track li.todo.boss i { width: 3.2cqh; height: 3.2cqh; margin: 0; background: #0d0d0f; box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.pl .op-track li.done i { color: var(--bone); box-shadow: inset 0 0 0 1px var(--rule-2); }
.pl .op-track li.now i { color: #0a0a0b; background: var(--bone); box-shadow: none; }
.pl .op-track li.elite i { color: var(--red); }
.pl .op-track li.now.elite i { background: var(--red); color: #fff; }
.pl .op-track small { font: 700 min(1.15cqh, 1.8cqw) / 1 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-2); white-space: nowrap; }
.pl .op-track li.now small { color: var(--bone); }
.pl .op-track.big { width: min(100%, 86cqh); }
.pl .op-track.big li { max-width: none; }
.pl .op-track.big i { width: 4.4cqh; height: 4.4cqh; }
.pl .op-track.big li::before { top: 2.2cqh; }
.pl .op-track.big li.todo i { margin: 1.6cqh 0; }
.pl .op-track.big li.todo.boss i { width: 4.4cqh; height: 4.4cqh; margin: 0; }
.pl .op-where { margin: 0; font: 900 min(7cqh, 8cqw) / 0.9 var(--display); text-transform: uppercase; color: var(--bone); text-align: center; }
.pl .op-whereline { margin: -0.6cqh 0 0; font: 500 min(1.9cqh, 2.8cqw) / 1.35 var(--body); color: #c9c6bf; text-align: center; }
.pl .op-howto { margin: 0; max-width: 70ch; padding: 1cqh 1.6cqh; box-shadow: inset 0 0 0 1px var(--rule); font: 500 min(1.65cqh, 2.4cqw) / 1.4 var(--body); color: var(--mute-2); text-align: center; }
.pl .op-doors .op-bmain { gap: 2cqh; }
.pl .op-door { gap: 1.2cqh; min-height: 0; }
.pl .op-dhead { display: flex; align-items: center; gap: 1.4cqh; }
.pl .op-dhead b { font: 900 min(3cqh, 4.2cqw) / 0.95 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-drisk { font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.6cqh 0.9cqh 0.5cqh; box-shadow: inset 0 0 0 1px currentColor; }
.pl .op-drisk.safe { color: var(--good); }
.pl .op-drisk.normal { color: var(--bone); }
.pl .op-drisk.hard, .pl .op-drisk.final { color: var(--red); }
.pl .op-drisk.choice { color: var(--r-legendary); }
.pl .op-drow { display: grid; gap: 0.4cqh; font: 500 min(1.8cqh, 2.6cqw) / 1.35 var(--body); color: var(--bone); }
.pl .op-drow small { font: 700 min(1.15cqh, 1.8cqw) / 1 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-drow.get { color: var(--r-legendary); }
.pl .op-door.t-boss { min-width: 40cqh; }
@media (max-aspect-ratio: 6/5) {
  .pl .op-track.big small { display: none; }
  .pl .op-track.big li.now small { display: block; }
  .pl .op-door { grid-template-columns: minmax(0, 1fr); }
  .pl .op-door > *:not(.op-dg) { grid-column: auto; }
  .pl .op-dhead .op-dg { width: 9cqw; height: 9cqw; }
  .pl .op-where { font-size: 10cqw; }
  .pl .op-howto { font-size: 3.2cqw; }
}
.pl .op-dooring { grid-template-columns: repeat(var(--cols, 3), minmax(0, 38cqh)); }
.pl .op-door { padding: 3cqh 2.6cqh; }
.pl .op-drow { font-size: min(2.1cqh, 2.9cqw); }
.pl .op-dhead b { font-size: min(3.6cqh, 4.8cqw); }
.pl .op-drisk { font-size: min(1.45cqh, 2.2cqw); }
.pl .op-track.big { width: min(100%, 100cqh); }
.pl .op-track.big small { font-size: min(1.35cqh, 2cqw); }
@media (max-aspect-ratio: 6/5) {
  .pl .op-dooring { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 1.2cqh; }
  .pl .op-door { padding: 2cqh 3cqw; gap: 1cqh; }
  .pl .op-dhead b { font-size: 6cqw; }
  .pl .op-drow { font-size: 3.5cqw; }
  .pl .op-drisk { font-size: 2.8cqw; }
  .pl .op-track.big { width: 100%; }
}
.pl .op-dooring { grid-template-columns: repeat(var(--cols, 3), minmax(0, 44cqh)); }
.pl .op-drow { font-size: min(2.5cqh, 3cqw); }
.pl .op-dhead b { font-size: min(4.2cqh, 5cqw); }
.pl .op-dhead .op-dg { width: 6.4cqh; height: 6.4cqh; }
.pl .op-drisk { font-size: min(1.6cqh, 2.2cqw); }
.pl .op-whereline, .pl .op-howto { font-size: min(2.2cqh, 2.9cqw); }
@media (max-aspect-ratio: 6/5) {
  .pl .op-dooring { grid-template-columns: minmax(0, 1fr); }
  .pl .op-dhead b { font-size: 6cqw; }
  .pl .op-drow { font-size: 3.5cqw; }
  .pl .op-drisk { font-size: 2.8cqw; }
  .pl .op-whereline, .pl .op-howto { font-size: 3.3cqw; }
  .pl .op-dhead .op-dg { width: 9cqw; height: 9cqw; }
}
.pl .op-door .op-drow { font: 500 min(2.5cqh, 3cqw) / 1.35 var(--body); color: var(--bone); }
.pl .op-door .op-drow.get { color: var(--r-legendary); }
.pl .op-door .op-drow small { font-size: min(1.4cqh, 2cqw); }
.pl .op-door .op-drisk { font: 700 min(1.6cqh, 2.2cqw) / 1 var(--hud); letter-spacing: 0.1em; }
@media (max-aspect-ratio: 6/5) {
  .pl .op-door .op-drow { font-size: 3.6cqw; }
  .pl .op-door .op-drow small { font-size: 2.6cqw; }
  .pl .op-door .op-drisk { font-size: 2.8cqw; }
}

/* tall screens (the Armory on a phone) overflow downward and scroll instead of spilling over the route track */
.pl .op-screen > .op-bmain { align-self: safe center; min-height: 0; }
@media (max-aspect-ratio: 6/5) {
  /* max-height: a centred item sizes to its content, so without it the box outgrew the stage on short phones
     (390x462) and the bottom perk cards + Reroll were clipped instead of scrolling (daily patch Nov 5) */
  .pl .op-screen > .op-bmain { max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0.6cqh 0.4cqw 1cqh; }
}
@media (max-aspect-ratio: 6/5) {
  .pl .op-pcard { aspect-ratio: 1 / 1; }
  .pl .op-pcards.n3 .op-pcard:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.7cqh); }
}
/* a penalty in the win-chance breakdown (the boss's home ground) */
.pl .op-bonus b.neg { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
/* Intel: won contracts, each worth a little against the boss */
.pl .op-intel { display: inline-flex; align-items: center; gap: 0.6cqh; font: 700 min(1.9cqh, 2.8cqw) / 1 var(--hud); color: var(--bone); letter-spacing: 0.04em; }
.pl .op-intel i { font-style: normal; font-size: 0.62em; letter-spacing: 0.14em; text-transform: uppercase; color: var(--r-rare); }
.pl .op-gain span.intel { color: var(--r-rare); box-shadow: inset 0 0 0 1px var(--r-rare); }
.pl .op-bonus b.intel { box-shadow: inset 0 0 0 1px var(--r-rare); color: var(--r-rare); }
.pl .op-endbtns { flex-wrap: wrap; align-items: stretch; }
.pl .op-endbtns .op-btn[data-op-again] { display: grid; gap: 0.5cqh; }

/* doors v3: name + risk on one line, where, one plain line; tap to select, Go to confirm */
.pl .op-door { min-height: 0; gap: 1.2cqh; }
.pl .op-dhead { width: 100%; }
.pl .op-dhead .op-drisk { margin-left: auto; margin-right: 2.4cqh; }
.pl .op-door .op-dwhere { font: 700 min(1.5cqh, 2.2cqw) / 1.2 var(--hud); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-door .op-drow b { color: var(--r-legendary); font-weight: 700; }
.pl .op-door .op-dtwist { font: 600 min(1.6cqh, 2.3cqw) / 1.3 var(--body); color: var(--red); }
.pl .op-howto b { color: var(--bone); font-weight: 700; }
.pl .op-dooring.has-sel .op-door:not(.sel) { opacity: 0.45; }
.pl .op-door.sel { box-shadow: inset 0 0 0 3px var(--bone); background: rgba(244, 241, 234, 0.1); transform: translateY(-0.8cqh); }
.pl .op-door.sel::after { content: "Selected · tap Go"; position: absolute; left: 50%; bottom: -1.2cqh; transform: translate(-50%, 50%); padding: 0.6cqh 1.2cqh 0.5cqh; background: var(--bone); color: #0a0a0b; font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
@media (max-aspect-ratio: 6/5) {
  .pl .op-door .op-dwhere { font-size: 2.6cqw; }
  .pl .op-door .op-dtwist { font-size: 3.2cqw; }
  .pl .op-dhead .op-drisk { margin-right: 6cqw; }
  .pl .op-door.sel::after { font-size: 2.4cqw; }
  .pl .op-door > *:not(.op-dg) { grid-column: 1 / -1; }
}
/* the three steps on the Operation panel */
.pl .op-steps3 { gap: 1.4cqh; }
.pl .op-steps3 li { padding-left: 4.6cqh; min-height: 3.4cqh; font-size: min(2.1cqh, 3cqw); color: #c9c6bf; }
.pl .op-steps3 li::before { content: none; }
.pl .op-steps3 em { position: absolute; left: 0; top: -0.2cqh; display: grid; place-items: center; width: 3.2cqh; height: 3.2cqh; background: var(--red); color: #fff; font: 900 min(2cqh, 2.8cqw) / 1 var(--display); font-style: normal; }
.pl .op-steps3 b { display: block; font: 900 min(2.5cqh, 3.4cqw) / 1.05 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
@media (max-aspect-ratio: 6/5) { .pl .op-steps3 li { padding-left: 9cqw; font-size: 3.4cqw; } .pl .op-steps3 em { width: 6cqw; height: 6cqw; font-size: 3.6cqw; } .pl .op-steps3 b { font-size: 4.2cqw; } }
.pl .op-door .op-drow { display: block; }
.pl .op-drisk { white-space: nowrap; }
/* Threat 10: classified until the owner opens it */
.pl .op-th.classified { position: relative; color: transparent; box-shadow: inset 0 0 0 1px var(--red); background: repeating-linear-gradient(-45deg, rgba(240, 20, 74, 0.22) 0 4px, transparent 4px 8px); }
.pl .op-th.classified i { position: absolute; left: 14%; right: 14%; top: 50%; height: 34%; transform: translateY(-50%); background: #0a0a0b; box-shadow: 0 0 0 1px var(--red); }
.pl .op-th.classified::after { content: "Classified"; position: absolute; left: 50%; bottom: -0.2cqh; transform: translate(-50%, 100%); font: 700 min(1cqh, 1.6cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.pl .op-ths { padding-bottom: 1.6cqh; }

/* ==================== the boss beaten: the victory reveal (timed to assets/sfx/op-clear-seq) ==================== */
.pl .op-victory { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 3cqh 4cqw; background: radial-gradient(ellipse at 50% 38%, rgba(242, 163, 58, 0.16), rgba(10, 10, 11, 0.94) 62%); animation: opv-in 0.25s ease-out both; overflow-y: auto; }
.pl .op-victory.out { opacity: 0; transition: opacity 0.3s; }
.pl .op-vflash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; animation: opv-flash 0.5s 0.3s ease-out both; }
.pl .op-vcol { position: relative; display: grid; justify-items: center; gap: 1.8cqh; text-align: center; max-width: 110cqh; }
.pl .op-vkick { font: 700 min(1.6cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.24em; text-transform: uppercase; color: var(--r-legendary); animation: opv-up 0.4s 0.05s both; }
.pl .op-vstamp { margin: 0; display: grid; justify-items: center; line-height: 0.82; text-transform: uppercase; animation: opv-slam 0.42s 0.26s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.pl .op-vstamp span { font: 900 min(4.4cqh, 6cqw) / 1 var(--display); letter-spacing: 0.08em; color: var(--bone); }
.pl .op-vstamp b { font: 900 min(15cqh, 17cqw) / 0.86 var(--display); color: var(--r-legendary); text-shadow: 0 0 6cqh rgba(242, 163, 58, 0.45); padding: 0.4cqh 2cqh; box-shadow: inset 0 0 0 0.5cqh var(--r-legendary); }
.pl .op-vrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2cqh; }
.pl .op-vnum, .pl .op-vunlock { padding: 1cqh 1.6cqh 0.9cqh; font: 700 min(2cqh, 3cqw) / 1 var(--hud); letter-spacing: 0.12em; text-transform: uppercase; }
.pl .op-vnum { background: var(--bone); color: #0a0a0b; animation: opv-pop 0.35s 1.08s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.pl .op-vnum b { font-size: 1.4em; }
.pl .op-vunlock { box-shadow: inset 0 0 0 2px var(--good); color: var(--good); animation: opv-pop 0.35s 1.68s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.pl .op-vunlock.classified { box-shadow: inset 0 0 0 2px var(--red); color: var(--red); }
.pl .op-vemblem { display: grid; justify-items: center; gap: 0.8cqh; color: var(--r-legendary); animation: opv-emblem 0.6s 2.26s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.pl .op-vemblem .op-emblem { width: 9cqh; height: 9cqh; filter: drop-shadow(0 0 2.4cqh rgba(242, 163, 58, 0.6)); }
.pl .op-vemblem span { font: 700 min(1.6cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.16em; text-transform: uppercase; }
.pl .op-vlabel { font: 700 min(1.5cqh, 2.2cqw) / 1 var(--hud); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute-2); animation: opv-up 0.3s 2.9s both; }
.pl .op-vcards { display: grid; grid-template-columns: repeat(3, minmax(0, 24cqh)); gap: 2cqh; perspective: 900px; }
.pl .op-vcard { --rc: var(--r-rare); position: relative; overflow: hidden; display: grid; align-content: start; justify-items: start; gap: 0.8cqh; padding: 2cqh 1.8cqh; min-height: 18cqh; text-align: left; background: linear-gradient(160deg, color-mix(in srgb, var(--rc) 22%, #121215), #0d0d0f 70%); box-shadow: inset 0 0 0 2px var(--rc), 0 0 4cqh -1cqh var(--rc); animation: opv-flip 0.55s var(--d) cubic-bezier(0.2, 1.2, 0.4, 1) both; }
.pl .op-vcard.r-legendary { --rc: var(--r-legendary); }
.pl .op-vcard.r-epic { --rc: var(--r-epic); }
.pl .op-vcard.r-rare { --rc: var(--r-rare); }
.pl .op-vcard small { font: 700 min(1.2cqh, 1.8cqw) / 1 var(--hud); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rc); }
.pl .op-vcard b { font: 900 min(2.6cqh, 3.6cqw) / 0.95 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-vcard span { font: 500 min(1.6cqh, 2.3cqw) / 1.3 var(--body); color: #c9c6bf; }
.pl .op-vcard em { margin-top: auto; padding: 0.6cqh 0.9cqh 0.5cqh; font: 700 min(1.15cqh, 1.7cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; background: var(--rc); color: #0a0a0b; }
.pl .op-vcard::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%); transform: translateX(-60%); animation: opv-sheen 1s 4.8s ease-out both; pointer-events: none; }
.pl .op-vnote { margin: 0; font: 500 min(1.6cqh, 2.4cqw) / 1.35 var(--body); color: var(--mute-2); animation: opv-up 0.3s 4.6s both; }
.pl .op-vgo { animation: opv-up 0.3s 5s both; }
.pl .op-victory.still *, .pl .op-victory.still { animation-delay: 0s !important; animation-duration: 0.01s !important; }
@keyframes opv-in { from { opacity: 0; } }
@keyframes opv-flash { 0% { opacity: 0; } 15% { opacity: 0.55; } 100% { opacity: 0; } }
@keyframes opv-up { from { opacity: 0; transform: translateY(1.6cqh); } }
@keyframes opv-slam { 0% { opacity: 0; transform: scale(2.4); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes opv-pop { 0% { opacity: 0; transform: scale(0.5); } }
@keyframes opv-emblem { 0% { opacity: 0; transform: scale(0.3) rotate(-30deg); } }
@keyframes opv-flip { 0% { opacity: 0; transform: rotateY(-90deg) translateY(3cqh); } 100% { opacity: 1; transform: none; } }
@keyframes opv-sheen { to { transform: translateX(60%); } }
@media (max-aspect-ratio: 6/5) {
  .pl .op-vcards { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 1.2cqh; }
  .pl .op-vcard { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; column-gap: 3cqw; }
  .pl .op-vcard b { font-size: 5cqw; } .pl .op-vcard small { font-size: 2.6cqw; } .pl .op-vcard span { font-size: 3.2cqw; } .pl .op-vcard em { font-size: 2.4cqw; grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
  .pl .op-vstamp span { font-size: 6cqw; } .pl .op-vstamp b { font-size: 16cqw; }
  .pl .op-vnum, .pl .op-vunlock { font-size: 3.2cqw; } .pl .op-vemblem span, .pl .op-vlabel, .pl .op-vkick { font-size: 2.8cqw; } .pl .op-vnote { font-size: 3.2cqw; }
}
.pl .op-rewards li.op-rwcos { padding: 0.8cqh 1cqh; box-shadow: inset 0 0 0 1px var(--r-legendary); color: #c9c6bf; }
.pl .op-rewards li.op-rwcos b { color: var(--r-legendary); }
.pl .op-rewards li.op-rwcos.got { background: rgba(242, 163, 58, 0.1); }
.pl .op-victory { background: radial-gradient(ellipse at 50% 38%, rgba(242, 163, 58, 0.16), rgba(10, 10, 11, 0.985) 62%), rgba(10, 10, 11, 0.9); }
.pl .op-vcards { grid-template-columns: repeat(3, minmax(0, 27cqh)); }
@media (max-aspect-ratio: 6/5) {
  .pl .op-victory { align-items: start; padding-top: 2cqh; }
  .pl .op-vcol { gap: 1.2cqh; }
  .pl .op-vemblem .op-emblem { width: 7cqh; height: 7cqh; }
  .pl .op-vcards { grid-template-columns: minmax(0, 1fr); }
  .pl .op-vcard { padding: 1.2cqh 3cqw; gap: 0.4cqh; }
}
.pl .op-rewards li.op-rwcos { display: block; line-height: 1.4; }
@supports (-moz-appearance: none) { .pl .op-plate { filter: none; opacity: 0.28; } } /* Firefox repaint cost: see play.css */
/* the Threat 10 reward: TOPFRAG, classified until the owner opens it */
.pl .op-rewards li.op-rwtop { color: var(--red); }
.pl .op-rewards li.op-rwtop b { color: var(--red); letter-spacing: 0.06em; }
.pl .op-rewards li.op-rwtop em { font-style: normal; color: var(--red); opacity: 0.85; }

/* ==================== Nightfall's layers and bosses ==================== */
.pl .op-bglyph { width: 2.6cqh; height: 2.6cqh; flex: none; color: var(--bc, var(--red)); vertical-align: middle; }
.pl .op-bglyph.big { width: 7cqh; height: 7cqh; padding: 1.1cqh; box-shadow: inset 0 0 0 1px var(--bc), 0 0 3cqh -1cqh var(--bc); background: color-mix(in srgb, var(--bc) 10%, #0d0d0f); }
.pl .op-tier { display: grid; gap: 1cqh; max-width: 66ch; margin-top: 0.6cqh; }
.pl .op-tierhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6cqh 1.4cqh; }
.pl .op-tierhead small { font: 700 min(1.3cqh, 2cqw) / 1 var(--hud); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bc); }
.pl .op-tierhead b { font: 900 min(3.4cqh, 4.8cqw) / 0.95 var(--display); text-transform: uppercase; color: var(--bone); }
.pl .op-tierflav { margin: 0; font: 500 italic min(1.8cqh, 2.6cqw) / 1.35 var(--body); color: #c9c6bf; }
.pl .op-tierrule { margin: 0; font: 500 min(1.6cqh, 2.4cqw) / 1.35 var(--body); color: var(--mute-2); }
.pl .op-tierrule b { color: var(--bone); }
.pl .op-bosscard { display: flex; gap: 1.6cqh; align-items: flex-start; padding: 1.4cqh 1.6cqh; background: linear-gradient(100deg, color-mix(in srgb, var(--bc) 12%, #0d0d0f), #0d0d0f 70%); box-shadow: inset 3px 0 0 var(--bc), inset 0 0 0 1px var(--rule); }
.pl .op-bossbody { display: grid; gap: 0.5cqh; min-width: 0; }
.pl .op-bossbody small { font: 700 min(1.2cqh, 1.8cqw) / 1 var(--hud); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-bossbody b { font: 900 min(3cqh, 4.2cqw) / 0.95 var(--display); letter-spacing: 0.04em; color: var(--bc); }
.pl .op-bossbody em { font: 700 min(1.4cqh, 2.1cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); }
.pl .op-bossbody p { margin: 0.2cqh 0 0; font: 500 min(1.6cqh, 2.4cqw) / 1.4 var(--body); color: #c9c6bf; }
.pl .op-bsig { justify-self: start; padding: 0.5cqh 0.9cqh 0.4cqh; font: 700 min(1.25cqh, 1.9cqw) / 1.2 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bc); box-shadow: inset 0 0 0 1px var(--bc); }
.pl .op-diff { display: inline-flex; align-items: center; gap: 0.4cqh; margin-left: auto; }
.pl .op-diff i { width: 1.2cqh; height: 1.8cqh; background: var(--rule-2); transform: skewX(-12deg); }
.pl .op-diff i.on { background: var(--diffc, var(--red)); }
.pl .op-diff.l0 { --diffc: var(--good); } .pl .op-diff.l1 { --diffc: #e5c84a; } .pl .op-diff.l2 { --diffc: #f2a33a; } .pl .op-diff.l3 { --diffc: #ff6a2b; } .pl .op-diff.l4 { --diffc: var(--red); }
.pl .op-diff em { margin-left: 0.6cqh; font: 800 min(1.5cqh, 2.2cqw) / 1 var(--hud); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--diffc, var(--red)); }
.pl .op-diff small { margin-left: 0.8cqh; font: 600 min(1.25cqh, 1.9cqw) / 1 var(--hud); letter-spacing: 0.06em; color: var(--mute-2); }
.pl .op-diff.classified i { background: repeating-linear-gradient(-45deg, rgba(240, 20, 74, 0.45) 0 3px, transparent 3px 6px); }
.pl .op-diff.classified em { color: var(--red); }
.pl .op-bossline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6cqh; }
.pl .op-bossline b { color: var(--bc); }
.pl .op-door.t-boss .op-dg { background: color-mix(in srgb, var(--red) 20%, #0d0d0f); }
.pl .op-door.t-boss .op-dg svg { width: 70%; height: 70%; }
.pl .op-bossbrief { display: flex; gap: 1.6cqh; align-items: flex-start; max-width: 60ch; padding: 1.2cqh 1.4cqh; box-shadow: inset 3px 0 0 var(--bc), inset 0 0 0 1px var(--rule); background: color-mix(in srgb, var(--bc) 8%, transparent); }
.pl .op-bossbrief p { margin: 0 0 0.8cqh; font: 500 min(1.7cqh, 2.5cqw) / 1.4 var(--body); color: #c9c6bf; }
.pl .op-vboss { display: grid; justify-items: center; gap: 0.6cqh; animation: opv-up 0.4s 0.9s both; }
.pl .op-vboss > span { display: inline-flex; align-items: center; gap: 0.8cqh; font: 700 min(1.8cqh, 2.7cqw) / 1 var(--hud); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute-2); }
.pl .op-vboss > span b { color: var(--bc); }
.pl .op-vboss .op-bglyph { position: absolute; opacity: 0; }
.pl .op-vboss q { font: 500 italic min(1.8cqh, 2.7cqw) / 1.3 var(--body); color: #c9c6bf; }
.pl .op-bossquote { display: flex; align-items: center; gap: 1cqh; margin: 0; font: 500 italic min(1.8cqh, 2.6cqw) / 1.35 var(--body); color: #c9c6bf; }
.pl .op-bossquote b { font-style: normal; color: var(--bc); letter-spacing: 0.06em; }
@media (max-aspect-ratio: 6/5) {
  .pl .op-bglyph.big { width: 12cqw; height: 12cqw; }
  .pl .op-tierhead b { font-size: 6cqw; } .pl .op-tierhead small, .pl .op-bossbody small { font-size: 2.6cqw; }
  .pl .op-tierflav, .pl .op-tierrule, .pl .op-bossbody p, .pl .op-bossbrief p { font-size: 3.3cqw; }
  .pl .op-bossbody b { font-size: 6cqw; } .pl .op-bossbody em, .pl .op-bsig, .pl .op-diff em, .pl .op-diff small { font-size: 2.6cqw; }
  .pl .op-diff { margin-left: 0; width: 100%; } .pl .op-diff i { width: 2.4cqw; height: 3.4cqw; }
  .pl .op-vboss > span, .pl .op-vboss q, .pl .op-bossquote { font-size: 3.4cqw; }
}
.pl .op-door.t-boss .op-dg .op-bglyph { width: 72%; height: 72%; color: #fff; }
.pl .op-door .op-dtitle { font: 800 min(1.6cqh, 2.4cqw) / 1 var(--hud); letter-spacing: 0.16em; text-transform: uppercase; color: var(--bc); }
@media (max-aspect-ratio: 6/5) { .pl .op-door .op-dtitle { font-size: 2.8cqw; } }

/* Threat 10: Field Notes on NIGHTFALL (owner, Oct 29: "getting closer each time") */
.pl .op-notes { display: grid; gap: 0.8cqh; padding: 1.3cqh 1.6cqh; background: #0d0d0f; box-shadow: inset 0 0 0 1px var(--rule); }
.pl .op-noteshead { display: flex; align-items: baseline; justify-content: space-between; gap: 1cqh; }
.pl .op-noteshead small { font: 700 min(1.25cqh, 1.9cqw) / 1.2 var(--hud); letter-spacing: 0.14em; text-transform: uppercase; color: var(--bc); }
.pl .op-noteshead b { font: 900 min(3.2cqh, 4.6cqw) / 1 var(--display); color: var(--bone); }
.pl .op-noteshead b i { font-style: normal; color: var(--muted, #8a8a90); font-size: 0.6em; }
.pl .op-notesbar { position: relative; height: 0.8cqh; min-height: 5px; background: #1b1b1f; }
.pl .op-notesbar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--nf) * 100%); background: var(--bc); box-shadow: 0 0 1.2cqh color-mix(in srgb, var(--bc) 60%, transparent); transition: width 0.6s ease; }
.pl .op-notesbar em { position: absolute; top: -0.4cqh; bottom: -0.4cqh; width: 2px; background: var(--bone); opacity: 0.7; }
.pl .op-notes p { margin: 0; font: 500 min(1.5cqh, 2.3cqw) / 1.4 var(--body, inherit); color: var(--bone); opacity: 0.86; }
.pl .op-notes p b { color: var(--bone); opacity: 1; }
.pl .op-notes .op-notesdeep { font: 700 min(1.25cqh, 1.9cqw) / 1.2 var(--hud); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.pl .op-gain span.notes { color: #ff3b4e; box-shadow: inset 0 0 0 1px #ff3b4e; }
