/* The pre-game screens. 「协议启动！」 over BATTLE_CHECK (ui/protocolBoot.js): the official battleReady/* sprites and settle/common_logo on one
   1920×1080 stage. --px is one design px, fitted to the viewport (positions and sizes measured from the event's
   footage, video 7:43–7:51; [ASSUMED] the timings, estimated frame by frame).
   PR #643 (frame by frame, video 7:43.3–7:46): from black the ship builds up out of torn blocks, near white (0.1–0.4 s),
   shrinks into the ring as it darkens (to 1.2 s); the panel comes with a teal wash over the screen (1.2–1.9 s), the cards
   open out from their avatars, white first, 协议启动！ settles from large, 正在连接… last (in by 2.1 s). It stays at least
   screens/game.js BOOT_MIN_MS (2.3 s: the animation and a beat) and until BATTLE_CHECK ends — after the held draft
   screen (DRAFT_HOLD_MS 0.7 s) both end with the official 3 s — then fades (.is-leaving, BOOT_LEAVE_MS 350 ms) while
   the round-1 plate comes in under it. */
.pboot {
  --px: min(.01rem, calc(100vw / 1920), calc(100vh / 1080));
  --teal: #3fd6b4;
  --teal-deep: #0c2a25;
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; overflow: hidden; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, #0d2621, #040b0a 70%);
}
.pboot.is-leaving { animation: pboot-out 350ms ease-in forwards; }
.pboot__stage { position: relative; width: calc(1920 * var(--px)); height: calc(1080 * var(--px)); }
.pboot__stage > *, .pboot__scene > * { position: absolute; }
.pboot__scene { inset: 0; animation: pboot-in 200ms 1200ms ease-out both; }
.pboot::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(150, 255, 225, .7), rgba(63, 214, 180, .45) 70%); animation: pboot-wash 700ms 1200ms ease-out forwards; }
/* behind: the two mountains (top left, bottom right), the contour map and the ring around the ship, the mark above */
.pboot__mtn { opacity: .55; }
.pboot__mtn--1 { left: calc(-60 * var(--px)); top: calc(-40 * var(--px)); width: calc(750 * var(--px)); }
.pboot__mtn--2 { right: calc(-40 * var(--px)); bottom: calc(-60 * var(--px)); width: calc(560 * var(--px)); }
.pboot__terrain, .pboot__logo { display: block; background: var(--teal); -webkit-mask: var(--src) center / 100% 100% no-repeat; mask: var(--src) center / 100% 100% no-repeat; }
.pboot__terrain { left: calc(365 * var(--px)); top: calc(-8 * var(--px)); width: calc(1190 * var(--px)); height: calc(916 * var(--px)); opacity: .3; }
.pboot__ring { left: calc(525 * var(--px)); top: calc(15 * var(--px)); width: calc(870 * var(--px)); height: calc(870 * var(--px)); opacity: .55; }
.pboot__logo { left: calc(705 * var(--px)); top: calc(277 * var(--px)); width: calc(247 * var(--px)); height: calc(125 * var(--px)); opacity: .7; }
.pboot__cross { left: calc((var(--x) - 30) * var(--px)); top: calc((var(--y) - 30) * var(--px)); width: calc(60 * var(--px)); height: calc(60 * var(--px));
  background: linear-gradient(var(--teal), var(--teal)) center / 100% calc(3 * var(--px)) no-repeat,
    linear-gradient(var(--teal), var(--teal)) center / calc(3 * var(--px)) 100% no-repeat; opacity: .8; }
/* the Rhodes Island ship (battleReady/rhodes 299×500, ×1.35, turned 53°): out of the whole screen in bright teal into the middle */
.pboot__ship { left: calc(773 * var(--px)); top: calc(112 * var(--px)); width: calc(404 * var(--px)); height: calc(675 * var(--px));
  transform: rotate(53deg); will-change: transform, opacity; animation: pboot-ship 1100ms 100ms cubic-bezier(.4, 0, .3, 1) both; }
/* transform and opacity only, so it runs on the compositor while the match screen sets up its scene under it (the main
   thread is busy ~0.7 s right then): the near-white build-up is a brightened copy fading out, torn sideways a step at a
   time */
.pboot__shipimg { display: block; width: 100%; height: 100%; }
.pboot__shipimg--hot { position: absolute; inset: 0; filter: brightness(2.6) saturate(.3); will-change: transform, opacity;
  animation: pboot-hot 900ms 100ms linear both, pboot-tear 320ms 100ms steps(1, end) both; }
.pboot__lines { inset: 0; width: 100%; height: 100%; overflow: visible; }
.pboot__lines line { stroke: var(--teal); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: pboot-draw 300ms calc(1250ms + var(--i) * 60ms) ease-out forwards; }
.pboot__node, .pboot__anchor { fill: var(--teal); opacity: 0; animation: pboot-show 150ms calc(1400ms + var(--i) * 60ms) forwards; }
.pboot__anchor { fill: var(--teal-deep); stroke: var(--teal); stroke-width: 4; }
/* the doctors' cards: a teal bar, the number / COMPLETE / ✓ and the avatar at the inner end (01 / 03 left, 02 / 04 right) */
.pboot__card {
  left: calc(var(--x) * var(--px)); top: calc(var(--y) * var(--px)); width: calc(515 * var(--px)); height: calc(127 * var(--px));
  display: flex; align-items: center; justify-content: flex-end; gap: calc(14 * var(--px)); padding: 0 calc(4 * var(--px));
  background: linear-gradient(90deg, rgba(63, 214, 180, .78), rgba(63, 214, 180, .95)); color: var(--teal-deep);
  transform-origin: 100% 50%; animation: pboot-card 420ms calc(1200ms + var(--i) * 40ms) cubic-bezier(.2, .8, .2, 1) both;
}
.pboot__card--r { flex-direction: row-reverse; background: linear-gradient(270deg, rgba(63, 214, 180, .78), rgba(63, 214, 180, .95)); transform-origin: 0 50%; }
.pboot__card--c { transform-origin: 50% 50%; }
/* a solo run: the one card under the ring, the words lower (the footage, video 7:50) */
.pboot--solo .pboot__title { top: calc(805 * var(--px)); }
.pboot--solo .pboot__sub { top: calc(938 * var(--px)); }
.pboot__txt { display: grid; justify-items: end; line-height: 1; }
.pboot__card--r .pboot__txt { justify-items: start; }
.pboot__num { font-family: var(--font-display); font-size: calc(54 * var(--px)); font-weight: 700; }
.pboot__done { font-family: var(--font-display); font-size: calc(16 * var(--px)); letter-spacing: .06em; margin-top: calc(2 * var(--px)); }
.pboot__check { display: grid; place-items: center; width: calc(26 * var(--px)); height: calc(26 * var(--px)); margin-top: calc(10 * var(--px));
  background: var(--teal-deep); color: #fff; }
.pboot__check .icon { width: 80%; height: 80%; }
.pboot__face { flex: none; width: calc(119 * var(--px)); height: calc(119 * var(--px)); border: calc(2 * var(--px)) solid #e9fffa; background: var(--teal-deep); overflow: hidden; }
.pboot__face .pavatar { --pa: 100%; width: 100%; height: 100%; }
.pboot__face .pavatar__img, .pboot__face img { width: 100%; height: 100%; object-fit: cover; }
/* 协议启动！ / STRONGHOLD PROTOCOL / 正在连接… */
.pboot__title { left: 0; right: 0; top: calc(705 * var(--px)); margin: 0; text-align: center; font-size: calc(66 * var(--px)); font-weight: 900;
  letter-spacing: .04em; color: var(--teal); text-shadow: 0 0 calc(18 * var(--px)) rgba(63, 214, 180, .45); animation: pboot-title 420ms 1200ms cubic-bezier(.2, .8, .2, 1) both; }
.pboot__sub { left: calc(782 * var(--px)); top: calc(838 * var(--px)); width: calc(356 * var(--px)); height: calc(30 * var(--px)); display: grid; place-items: center;
  background: var(--teal); color: var(--teal-deep); font-family: var(--font-display); font-size: calc(20 * var(--px)); letter-spacing: .08em;
  animation: pboot-in 200ms 1300ms both; }
.pboot__conn { right: calc(165 * var(--px)); top: calc(995 * var(--px)); font-size: calc(26 * var(--px)); color: rgba(63, 214, 180, .7); animation: pboot-in 200ms 1900ms both; }
.pboot__dots::after { content: '…'; display: inline-block; width: 1.2em; overflow: hidden; vertical-align: bottom; animation: pboot-dots 1.2s steps(4, end) infinite; }
.pboot__veil { inset: 0; position: absolute; background: #000; animation: pboot-veil 160ms 60ms ease-out both; }
@keyframes pboot-veil { from { opacity: 1; } to { opacity: 0; } }
@keyframes pboot-in { from { opacity: 0; } }
@keyframes pboot-show { to { opacity: 1; } }
@keyframes pboot-out { to { opacity: 0; } }
@keyframes pboot-wash { 0% { opacity: 1; } 30% { opacity: .75; } 100% { opacity: 0; } }
@keyframes pboot-ship {
  0% { transform: rotate(53deg) scale(4.4); opacity: 0; }
  8% { opacity: 1; }
  30% { transform: rotate(53deg) scale(3.5); }
  100% { transform: rotate(53deg) scale(1); opacity: .6; }
}
@keyframes pboot-hot { 0% { opacity: 0; } 10%, 40% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes pboot-tear {
  0% { transform: translateX(-4%); } 20% { transform: translateX(3%); } 40% { transform: translateX(-2%); }
  60% { transform: translateX(1.2%); } 80% { transform: translateX(-.5%); } 100% { transform: none; }
}
@keyframes pboot-draw { to { stroke-dashoffset: 0; } }
@keyframes pboot-card { 0% { opacity: 0; transform: scaleX(.55); filter: brightness(2.4) saturate(.25); } 30% { opacity: 1; } 60% { filter: brightness(1.5) saturate(.6); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes pboot-title { 0% { opacity: 0; transform: scale(1.3); filter: brightness(2) blur(3px); } 40% { opacity: 1; } 100% { transform: none; filter: none; } }
@keyframes pboot-dots { from { width: 0; } to { width: 1.2em; } }
@media (prefers-reduced-motion: reduce) {
  .pboot, .pboot *, .pboot *::after { animation: none; }
  .pboot::after { display: none; }
  .pboot__ship { opacity: .6; }
  .pboot__shipimg--hot { display: none; }
  .pboot__lines line { stroke-dashoffset: 0; animation: none; }
  .pboot__node, .pboot__anchor { opacity: 1; }
  .pboot__veil { opacity: 0; }
}

/* 「请选择策略」 (ui/turnBanner.js, the band draft when the pick becomes the player's; video 7:18–7:20): over a dimmed
   screen a light-grey band slides in from the left (the STRONGHOLD PROTOCOL mark, the contour map, the ship's outline),
   a teal fill wipes over it with 请选择策略 and the ring, the robot's square beside it; then it folds shut (1.7 s). */
.tbanner {
  --px: min(.01rem, calc(100vw / 1920), calc(100vh / 1080));
  --teal: #52d6b0;
  --ink: #0b1f1b;
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
}
.tbanner__dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: tbanner-dim 1700ms linear both; }
.tbanner__band { position: absolute; left: 0; right: 0; top: calc(50% - 110 * var(--px)); height: calc(220 * var(--px)); display: flex;
  gap: calc(12 * var(--px)); padding-right: calc(15 * var(--px)); transform-origin: 50% 50%; animation: tbanner-band 1700ms cubic-bezier(.2, .7, .2, 1) both; }
.tbanner__bar { position: relative; flex: 1; overflow: hidden; }
.tbanner__grey, .tbanner__teal { position: absolute; inset: 0; overflow: hidden; }
.tbanner__grey { background: #c6c7c9; color: #4a4c4f; }
.tbanner__teal { background: var(--teal); color: var(--ink); clip-path: inset(0 100% 0 0); animation: tbanner-wipe 1700ms cubic-bezier(.5, 0, .2, 1) both; }
.tbanner__topo, .tbanner__ship, .tbanner__logo, .tbanner__ring { position: absolute; display: block; background: currentColor;
  -webkit-mask: var(--src) center / 100% 100% no-repeat; mask: var(--src) center / 100% 100% no-repeat; }
.tbanner__topo { left: 0; top: calc(-120 * var(--px)); width: calc(1190 * var(--px)); height: calc(916 * var(--px)); opacity: .22; }
.tbanner__ship { right: calc(120 * var(--px)); top: calc(-260 * var(--px)); width: calc(290 * var(--px)); height: calc(487 * var(--px)); transform: rotate(53deg); opacity: .45; }
.tbanner__logo { left: calc(40 * var(--px)); top: calc(-5 * var(--px)); width: calc(455 * var(--px)); height: calc(230 * var(--px)); color: #3c3e41; }
.tbanner__ring { right: calc(120 * var(--px)); top: calc(-10 * var(--px)); width: calc(240 * var(--px)); height: calc(240 * var(--px)); opacity: .85; }
.tbanner__text { position: absolute; right: calc(390 * var(--px)); top: calc(58 * var(--px)); font-size: calc(56 * var(--px)); font-weight: 900; letter-spacing: .04em;
  white-space: nowrap; animation: tbanner-text 1700ms ease-out both; }
.tbanner__sub { position: absolute; right: calc(390 * var(--px)); top: calc(138 * var(--px)); width: calc(310 * var(--px)); height: calc(22 * var(--px));
  display: grid; place-items: center end; padding-right: calc(10 * var(--px)); background: var(--ink); color: var(--teal);
  font-family: var(--font-display); font-size: calc(14 * var(--px)); letter-spacing: .08em; animation: tbanner-text 1700ms ease-out 50ms both; }
.tbanner__cross { position: absolute; width: calc(30 * var(--px)); height: calc(30 * var(--px)); opacity: .6;
  background: linear-gradient(currentColor, currentColor) center / 100% calc(2 * var(--px)) no-repeat,
    linear-gradient(currentColor, currentColor) center / calc(2 * var(--px)) 100% no-repeat; }
.tbanner__cross--tl { left: calc(18 * var(--px)); top: calc(18 * var(--px)); }
.tbanner__cross--bl { left: calc(18 * var(--px)); bottom: calc(18 * var(--px)); }
.tbanner__cross--tr { right: calc(18 * var(--px)); top: calc(18 * var(--px)); }
.tbanner__cross--br { right: calc(18 * var(--px)); bottom: calc(18 * var(--px)); }
.tbanner__bot { flex: none; width: calc(250 * var(--px)); display: grid; place-items: center; background: #0f1f1d;
  box-shadow: inset 0 0 calc(30 * var(--px)) rgba(82, 214, 176, .25); }
.tbanner__head { width: calc(120 * var(--px)); height: auto; image-rendering: pixelated; }
@keyframes tbanner-dim { 0% { opacity: 0; } 9% { opacity: 1; } 91% { opacity: 1; } 100% { opacity: 0; } }
/* PR #643's motion: the band shoots in and keeps drifting right until it folds shut; the teal fill wipes over it
   with an ease in and out; the words slide in from the left and drift on with it; the ring turns as it comes up; the
   robot's square pops first. */
@keyframes tbanner-band {
  0% { transform: translateX(-46%); opacity: 0; } 4% { opacity: 1; } 12% { transform: translateX(-1.6%); }
  90% { transform: translateX(1.2%) scaleY(1); opacity: 1; } 97% { transform: translateX(1.2%) scaleY(.06); opacity: 1; }
  100% { transform: translateX(1.2%) scaleY(0); opacity: 0; }
}
@keyframes tbanner-wipe { 0%, 34% { clip-path: inset(0 100% 0 0); } 62%, 100% { clip-path: inset(0); } }
@keyframes tbanner-text { 0%, 46% { opacity: 0; transform: translateX(calc(-60 * var(--px))); } 64% { opacity: 1; transform: none; }
  100% { opacity: 1; transform: translateX(calc(20 * var(--px))); } }
@keyframes tbanner-ring { 0%, 40% { opacity: 0; transform: rotate(-150deg); } 70% { opacity: .85; } 100% { opacity: .85; transform: rotate(30deg); } }
@keyframes tbanner-bot { 0%, 4% { opacity: 0; transform: scale(.4); } 12% { opacity: 1; transform: scale(1); } }
.tbanner__teal .tbanner__ring { animation: tbanner-ring 1700ms ease-out both; }
.tbanner__bot { animation: tbanner-bot 1700ms cubic-bezier(.3, 1.5, .5, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .tbanner { display: none; }
}

/* ---- 规程 「协议启动！」 and its loading screen (ui/regulationBoot.js; recording BV1hmWL6fEmQ 2:09.5 and 2:25, the
   1280 × 720 frames scaled to this 1920 × 1080 stage): the stage as a green holographic map in a large ring, the doctors
   top left, the special enemies top right, the chibis along the bottom (doctors left, enemies and the leader right),
   协议启动！ over a teal STRONGHOLD PROTOCOL bar, 正在连接… bottom right; then OPERATION / the mode code / the mode name
   over the mode's loading art. */
.pboot--reg { background: radial-gradient(ellipse at 50% 42%, #0a1e1a, #030807 72%); }
/* the map fly-through first (2:06.4–2:07.8): black, then the map rushes in as a bright tilted close-up and the view pulls
   back over it into the ring; a green wash brings the rest in. Every rboot-* entrance ends by BOOT_MIN_MS + BOOT_FLY_MS
   (ui/regulationBoot.js; test/ui/protocol-boot.test.js). */
.pboot--reg .pboot__veil { animation: pboot-veil 200ms 150ms ease-out both; }
.rboot { position: absolute; inset: 0; transition: opacity 300ms ease-out; }
.rboot > * { position: absolute; }
/* the green wash is .pboot::after's (the whole screen, also beside a phone's 16:9 stage), at the end of the fly-through */
.pboot--reg::after { animation: rboot-wash 650ms 1050ms ease-out both; }
.pboot--reg.is-loading .rboot { opacity: 0; }
/* #1028: the loading art sits in the 16:9 stage, so a wider phone (1612×720) showed the green
   协议启动 backdrop on both sides. While loading, the dark plate covers the viewport. */
.rboot__ring {
  left: calc(510 * var(--px)); top: calc(30 * var(--px)); width: calc(900 * var(--px)); height: calc(900 * var(--px)); border-radius: 50%;
  border: calc(3 * var(--px)) solid rgba(63, 214, 180, .16); box-shadow: inset 0 0 calc(60 * var(--px)) rgba(63, 214, 180, .08);
  animation: rboot-in 500ms 1000ms both;
}
.rboot__map {
  left: 50%; top: calc(470 * var(--px)); width: calc(var(--cols) * 34 * var(--px)); height: calc(var(--rows) * 34 * var(--px));
  display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: repeat(var(--rows), 1fr); gap: calc(2 * var(--px));
  transform: translate(-50%, -50%) perspective(calc(1400 * var(--px))) rotateX(52deg) rotateZ(-32deg) translate(0, 0) scale(1);
  filter: brightness(1) drop-shadow(0 0 calc(10 * var(--px)) rgba(63, 214, 180, .45));
  animation: rboot-fly 1250ms cubic-bezier(.3, .65, .25, 1) 100ms both;
}
.rboot__cell.is-h { background: rgba(70, 230, 190, .72); }
.rboot__cell.is-l { background: rgba(50, 190, 160, .3); outline: 1px solid rgba(70, 230, 190, .25); outline-offset: -1px; }
.rboot__tag { font-size: calc(18 * var(--px)); letter-spacing: .12em; color: rgba(63, 214, 180, .55); animation: rboot-in 300ms 1400ms both; }
.rboot__tag--l { left: calc(800 * var(--px)); top: calc(285 * var(--px)); }
.rboot__tag--r { left: calc(1300 * var(--px)); top: calc(272 * var(--px)); }
.rboot__doctors, .rboot__specials { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: calc(12 * var(--px)); animation: rboot-in 300ms 1100ms both; }
.rboot__doctors { left: calc(18 * var(--px)); top: calc(36 * var(--px)); }
.rboot__doctors li { display: grid; grid-template-columns: calc(68 * var(--px)) auto; grid-template-rows: auto auto; column-gap: calc(12 * var(--px)); align-items: center; }
.rboot__face { grid-row: 1 / 3; width: calc(68 * var(--px)); height: calc(68 * var(--px)); }
.rboot__face .pavatar { --pa: calc(68 * var(--px)); }
.rboot__doctors b { font-size: calc(28 * var(--px)); font-weight: 600; color: #f2f5f4; white-space: nowrap; }
.rboot__doctors li.is-self b { color: var(--teal); }
.rboot__bars { width: calc(110 * var(--px)); height: calc(8 * var(--px)); background: repeating-linear-gradient(90deg, rgba(63, 214, 180, .7) 0 calc(14 * var(--px)), transparent 0 calc(20 * var(--px))); }
.rboot__specials { right: calc(36 * var(--px)); top: calc(130 * var(--px)); align-items: flex-end; gap: calc(26 * var(--px)); }
.rboot__specials li { display: flex; align-items: center; gap: calc(14 * var(--px)); }
.rboot__specials b { font-size: calc(26 * var(--px)); font-weight: 500; color: #e9eeec; white-space: nowrap; }
.rboot__specials img, .rboot__specials i { width: calc(48 * var(--px)); height: calc(48 * var(--px)); object-fit: contain; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.rboot__chibis { left: 0; right: 0; top: calc(540 * var(--px)); height: calc(440 * var(--px)); animation: rboot-in 400ms 1200ms both; }
.rboot__title {
  left: 0; right: 0; top: calc(700 * var(--px)); margin: 0; text-align: center; white-space: nowrap;
  font-size: calc(88 * var(--px)); font-weight: 900; color: var(--teal); letter-spacing: .02em;
  text-shadow: 0 0 calc(18 * var(--px)) rgba(63, 214, 180, .45), 0 calc(3 * var(--px)) 0 #04201a;
  animation: rboot-title 600ms 1300ms both;
}
.rboot__sub {
  left: 50%; top: calc(822 * var(--px)); transform: translateX(-50%); padding: calc(4 * var(--px)) calc(46 * var(--px));
  font-size: calc(26 * var(--px)); letter-spacing: .14em; color: #062a22; background: var(--teal); white-space: nowrap;
  animation: rboot-in 300ms 1600ms both;
}
.pboot--reg .pboot__conn { right: calc(60 * var(--px)); top: auto; bottom: calc(40 * var(--px)); font-size: calc(32 * var(--px)); color: var(--teal); animation: rboot-in 200ms 2300ms both; }
@keyframes rboot-in { from { opacity: 0; } }
@keyframes rboot-title { 0% { opacity: 0; transform: scale(1.3); filter: brightness(2) blur(3px); } 40% { opacity: 1; } 100% { transform: none; filter: none; } }
@keyframes rboot-wash { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rboot-fly {
  0% { opacity: 0; transform: translate(-50%, -50%) perspective(calc(1400 * var(--px))) rotateX(52deg) rotateZ(-32deg) translate(16%, -10%) scale(5.2);
    filter: brightness(2.4) drop-shadow(0 0 calc(10 * var(--px)) rgba(63, 214, 180, .45)); }
  14% { opacity: 1; }
  30% { transform: translate(-50%, -50%) perspective(calc(1400 * var(--px))) rotateX(52deg) rotateZ(-32deg) translate(6%, -4%) scale(3.4);
    filter: brightness(1.7) drop-shadow(0 0 calc(10 * var(--px)) rgba(63, 214, 180, .45)); }
  82% { transform: translate(-50%, -50%) perspective(calc(1400 * var(--px))) rotateX(52deg) rotateZ(-32deg) translate(0, 0) scale(1.35);
    filter: brightness(1.15) drop-shadow(0 0 calc(10 * var(--px)) rgba(63, 214, 180, .45)); }
  100% { opacity: 1; transform: translate(-50%, -50%) perspective(calc(1400 * var(--px))) rotateX(52deg) rotateZ(-32deg) translate(0, 0) scale(1);
    filter: brightness(1) drop-shadow(0 0 calc(10 * var(--px)) rgba(63, 214, 180, .45)); }
}
.rload { inset: 0; display: grid; place-items: center; background: #050505; animation: pboot-in 300ms ease-out both; }
.pboot--reg.is-loading .rload { position: fixed; inset: 0; z-index: 2; }
.rload > * { position: absolute; }
.rload__art { left: 0; top: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: center; transform: none; opacity: .95; }
.rload__text { display: flex; flex-direction: column; align-items: center; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #f1f1f1; text-shadow: 0 0 calc(10 * var(--px)) rgba(0, 0, 0, .9); }
.rload__op { font-size: calc(30 * var(--px)); letter-spacing: .12em; }
.rload__code { font-size: calc(108 * var(--px)); font-weight: 300; letter-spacing: .05em; line-height: 1.05; }
.rload__name { font-size: calc(58 * var(--px)); font-weight: 600; letter-spacing: .06em; }
.rload__loading { right: calc(60 * var(--px)); bottom: calc(36 * var(--px)); font-size: calc(32 * var(--px)); color: #e8e8e8; }
@media (prefers-reduced-motion: reduce) {
  .rboot__ring, .rboot__map, .rboot__tag, .rboot__doctors, .rboot__specials, .rboot__chibis, .rboot__title, .rboot__sub, .rload { animation: none; }
}

/* ---- 规程 「准备就绪！」 over the briefing's first READY_MS (ui/readyCards.js; recording BV1hmWL6fEmQ 0:06.5, the frame
   scaled to 1920 × 1080): four tall seat cards (≈ 345 × 765, 75 apart) with the name bar at the bottom, 准备就绪！ and
   STRONGHOLD PROTOCOL under them; then it fades into the briefing. */
.rcards {
  --px: min(.01rem, calc(100vw / 1920), calc(100vh / 1080));
  position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #0b1f1b, #030807 75%);
  animation: rcards-out 300ms ease-in 1300ms forwards;
}
.rcards > * { position: absolute; }
.rcards__row { left: 50%; top: calc(45 * var(--px) + (100vh - 1080 * var(--px)) / 2); transform: translateX(-50%); display: flex; gap: calc(75 * var(--px)); }
.rcards__card {
  position: relative; width: calc(345 * var(--px)); height: calc(765 * var(--px)); overflow: hidden;
  border: calc(2 * var(--px)) solid rgba(63, 214, 180, .35); background: #0b1512;
  animation: rcards-in 420ms cubic-bezier(.2, .8, .3, 1) calc(var(--i) * 70ms) both;
}
.rcards__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.rcards__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: calc(92 * var(--px)); display: flex; align-items: center;
  gap: calc(12 * var(--px)); padding: 0 calc(12 * var(--px)); background: rgba(8, 14, 12, .88);
}
.rcards__face { flex: none; width: calc(68 * var(--px)); height: calc(68 * var(--px)); }
.rcards__face .pavatar { --pa: calc(68 * var(--px)); }
.rcards__bar b { min-width: 0; font-size: calc(28 * var(--px)); color: #f2f5f4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcards__title {
  left: 0; right: 0; top: calc(845 * var(--px) + (100vh - 1080 * var(--px)) / 2); margin: 0; text-align: center; white-space: nowrap;
  font-size: calc(96 * var(--px)); font-weight: 900; color: #3fd6b4; text-shadow: 0 0 calc(18 * var(--px)) rgba(63, 214, 180, .45);
  animation: pboot-title 500ms 250ms both;
}
.rcards__sub { left: 50%; top: calc(975 * var(--px) + (100vh - 1080 * var(--px)) / 2); transform: translateX(-50%); font-size: calc(26 * var(--px)); letter-spacing: .14em; color: rgba(63, 214, 180, .8); white-space: nowrap; }
@keyframes rcards-in { from { opacity: 0; transform: translateY(calc(60 * var(--px))); } }
@keyframes rcards-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rcards, .rcards__card, .rcards__title { animation: none; } }
