/* Always-on page (server off) and the live page's start-up / idle banner. Builds on command.css. */
.off-main { max-width: 1100px; margin: 0 auto; padding: 18px 16px 40px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.off-main .panel > *, .power-banner > * { position: relative; z-index: 1; }
.off-power { padding: 22px 24px; display: grid; gap: 16px; }
.off-state { display: flex; gap: 16px; align-items: center; }
.off-icon { width: 56px; height: 56px; image-rendering: pixelated; filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, .6)); }
.off-state h1 { margin: 0; font-size: 30px; text-shadow: 3px 3px 0 var(--mc-dark); }
.off-action { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cmd button.big { font-size: 20px; min-height: 48px; padding: 4px 34px; font-family: "Pixelify Sans", system-ui, sans-serif; }

/* experience-bar style progress */
.off-progress, .power-banner { display: grid; gap: 8px; }
.off-bar { position: relative; height: 22px; background: #000; border: 2px solid #373737; }
.off-fill { height: 100%; width: 0; background: linear-gradient(#b0ff60, #60c020); transition: width .9s ease-out; }
.off-bar span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px;
  color: #80ff20; text-shadow: 2px 2px 0 #000; font-family: "Pixelify Sans", system-ui, sans-serif; }
.off-times { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mc-gray); }
.off-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.off-steps li { font-size: 12.5px; padding: 6px 8px; background: rgba(0, 0, 0, .45); border: 2px solid #2a2a2a; color: #707070; }
.off-steps li::before { content: "○ "; }
.off-steps li.done { color: #55ff55; border-color: #1f5f1f; }
.off-steps li.done::before { content: "✔ "; }
.off-steps li.active { color: #ffff55; border-color: #6f6f15; animation: off-pulse 1.2s ease-in-out infinite; }
.off-steps li.active::before { content: "▶ "; }
@keyframes off-pulse { 50% { background: rgba(255, 255, 85, .10); } }

.off-error button { white-space: nowrap; flex: none; }
.off-error { display: flex; gap: 12px; align-items: center; color: #ff5555; background: rgba(60, 0, 0, .55); border: 2px solid #5f1515; padding: 8px 12px; }
.off-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 13px; }
.cmd button.addr { min-height: 26px; font-size: 13px; padding: 0 10px; }
.off-last { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.off-snap { padding: 14px 16px; }
.off-snap .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.off-snap .tabs { display: flex; gap: 6px; }
.off-snap #map { height: 460px; margin-top: 8px; }
.off-snap .dim-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.off-snap table td img { width: 18px; height: 18px; image-rendering: pixelated; vertical-align: -4px; margin-right: 6px; }
.off-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.off-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px; align-items: start; }
.off-card > * { position: relative; z-index: 1; }
.off-body { height: 110px; image-rendering: pixelated; filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, .6)); }
.off-name { font-size: 18px; color: var(--pc); text-shadow: 2px 2px 0 var(--mc-dark); }
.off-kpis { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 6px; font-size: 11.5px; color: var(--mc-gray); }
.off-kpis b { display: block; color: #fff; font-size: 15px; font-family: "Pixelify Sans", system-ui, sans-serif; }

/* live page banner */
.power-banner { margin: 0 22px 12px; padding: 12px 16px; }
.power-banner .pb-title { font-family: "Pixelify Sans", system-ui, sans-serif; font-size: 17px; color: #ffff55; text-shadow: 2px 2px 0 #3f3f3f; }
.power-banner.idle { display: flex; align-items: center; gap: 10px; color: #ffaa00; font-size: 13.5px; }
.power-banner.idle img { width: 20px; height: 20px; image-rendering: pixelated; }

@media (max-width: 760px) {
  .off-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .off-state h1 { font-size: 24px; }
  .off-snap #map { height: 340px; }
  .power-banner { margin: 0 12px 12px; }
}
