/* WinGangster-style docked UI — from RE-notes/screenshots/WinGangster_1–3.png */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  /* Classic Win98 desktop teal so the window frame reads as a free window */
  background: #008080;
  font-family: Tahoma, 'MS Sans Serif', sans-serif;
  font-size: 11px;
  color: #c0ffc0;
  user-select: none;
}

#app {
  height: 100%;
  box-sizing: border-box;
  /* Keep margin so bottom/right raised edges never clip against the viewport */
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/**
 * Outer app chrome — classic Win98 window.
 * Design size 1024×768 (4:3, era-correct; well under 1920×1080).
 * 98.css .window uses the same raised inset stack on all four sides.
 */
.app-frame {
  /* Fit 4:3 inside the padded viewport; cap at 1024×768 */
  --app-w: min(1024px, calc(100vw - 40px), calc((100vh - 40px) * 4 / 3));
  width: var(--app-w);
  height: calc(var(--app-w) * 3 / 4);
  max-width: 1024px;
  max-height: 768px;
  display: flex;
  flex-direction: column;
  /* Silver window face + full raised border (top/left light, bottom/right dark) */
  background: silver;
  padding: 3px;
  box-sizing: border-box;
  /* 98.css .window border — all four sides visible */
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #dfdfdf,
    inset -2px -2px grey,
    inset 2px 2px #fff,
    4px 4px 0 rgba(0, 0, 0, 0.35);
  border: none;
  overflow: hidden;
  position: relative;
}

.app-titlebar {
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 3px 2px 4px;
  margin: 0 0 2px 0;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  /* title bar sits on the silver face like a real .title-bar */
}

.app-titlebar .sys-btns {
  display: flex;
  gap: 2px;
  align-items: center;
}

.app-titlebar .sys-btns button {
  min-width: 16px;
  min-height: 14px;
  width: 16px;
  height: 14px;
  padding: 0;
  margin: 0;
  background: silver;
  box-shadow:
    inset -1px -1px #0a0a0a,
    inset 1px 1px #fff,
    inset -2px -2px grey,
    inset 2px 2px #dfdfdf;
}

.app-menubar {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px;
  background: silver;
  color: #000;
  flex-shrink: 0;
  font-size: 11px;
  margin: 0 0 2px 0;
  position: relative;
  z-index: 20;
}

.app-menubar > button.menu-flat,
.app-menubar .menu-item > button {
  min-width: 0;
  min-height: 18px;
  padding: 0 8px;
  background: transparent;
  box-shadow: none;
  border: 1px solid transparent;
  color: #000;
  font-size: 11px;
}

.app-menubar > button.menu-flat:hover,
.app-menubar .menu-item > button:hover,
.app-menubar .menu-item.is-open > button {
  border-color: #fff #808080 #808080 #fff;
  background: #e0e0e0;
}

.menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 150px;
  background: silver;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
  padding: 2px 0;
  z-index: 50;
}

.menu-item.is-open .menu-drop {
  display: block;
}

.menu-drop button {
  display: block;
  width: 100%;
  text-align: left;
  min-height: 20px !important;
  min-width: 0 !important;
  padding: 2px 18px 2px 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: #000 !important;
  font-size: 11px !important;
  white-space: nowrap;
}

.menu-drop button:hover {
  background: #000080 !important;
  color: #fff !important;
}

.menu-sep {
  height: 1px;
  margin: 3px 4px;
  background: #808080;
  border-bottom: 1px solid #fff;
}

.about-modal {
  width: min(420px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}
.about-body {
  margin: 10px !important;
}
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-logo {
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  align-self: center;
}
.about-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
}
.about-tag {
  margin: 10px 0 0;
  font-style: italic;
  color: #404040;
}

.city-info-modal .moreinfo-group {
  margin: 10px 0 4px;
  font-size: 11px;
  font-weight: 700;
  color: #000080;
  border-bottom: 1px solid #808080;
  padding-bottom: 2px;
}
.city-info-modal .conf-tag {
  font-size: 9px;
  color: #606060;
}
.city-info-modal .moreinfo-full-block {
  margin-top: 12px;
  border-top: 1px solid #808080;
  padding-top: 6px;
  max-height: 40vh;
  overflow: auto;
}

/* Workspace grid from shot 1 — colors from skin Settings.cfg tokens */
.workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 120px 1fr 170px;
  grid-template-rows: 1fr 120px;
  grid-template-areas:
    'left center agenda'
    'left bottom bottom';
  background: var(--c-main-bg, #000);
  gap: 1px;
  /* Inset client so silver frame + dark BR edge stay visible around the game */
  border: 1px solid;
  border-color: #808080 #dfdfdf #dfdfdf #808080;
  box-shadow: inset 1px 1px 0 #0a0a0a;
  position: relative;
}

/* Classic bottom-right resize grip (decorative — window is not resizable) */
.app-frame::after {
  content: '';
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 20;
  background-image:
    linear-gradient(
      135deg,
      transparent 0 45%,
      #fff 45% 50%,
      transparent 50% 60%,
      #fff 60% 65%,
      transparent 65% 75%,
      #fff 75% 80%,
      transparent 80%
    ),
    linear-gradient(
      135deg,
      transparent 0 50%,
      #808080 50% 55%,
      transparent 55% 65%,
      #808080 65% 70%,
      transparent 70% 80%,
      #808080 80% 85%,
      transparent 85%
    );
  background-size: 100% 100%;
  opacity: 0.95;
}

.col-left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--c-main-bg, #001a00);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.col-center {
  grid-area: center;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--c-main-bg, #000);
}

.col-agenda {
  grid-area: agenda;
  min-height: 0;
  background-color: var(--c-agenda-bg, #000a00);
  background-image: var(--skin-agenda-bg, none);
  background-size: cover;
  background-position: center top;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.col-bottom {
  grid-area: bottom;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--c-main-bg, #000);
}

.panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.panel-head {
  flex-shrink: 0;
  height: 18px;
  padding: 1px 6px;
  background: linear-gradient(
    90deg,
    var(--c-title-bg1, #003300),
    var(--c-title-bg2, #006600)
  );
  color: var(--c-title-text, #a0ffa0);
  font-weight: 700;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-head .hotkey {
  color: #80ff80;
  font-weight: 400;
  font-size: 10px;
}

.panel-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px 6px;
  color: var(--c-text, #b0ffb0);
}

/* Status / Player panel skin backdrops */
.col-left .panel:first-child .panel-body {
  background-image: var(--skin-status-bg, none);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.col-left .panel:last-child .panel-body {
  background-image: var(--skin-levels-bg, none);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

/* Status (shot 1 / CHM reference_score.gif) */
.status-body {
  text-align: center;
  padding: 4px 6px 6px;
}

.status-mug {
  width: 68px;
  height: 78px;
  margin: 2px auto 4px;
  background: linear-gradient(180deg, #3a3a48 0%, #1c1c24 100%);
  border: 1px solid #6a6a78;
  box-shadow: inset 0 0 0 1px #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Original form portraits (EXE property-bag GIFs → chroma PNG) */
.form-art {
  display: block;
  max-width: 100%;
  height: auto;
  image-rendering: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.form-art-portrait {
  width: 88px;
  max-height: 160px;
  margin: 0 auto;
}
.form-art-mug {
  width: 52px;
  height: 68px;
  object-fit: cover;
  object-position: top center;
}
.form-art-dead {
  width: 72px;
  max-height: 140px;
}
.form-art-phone {
  width: 100%;
  max-width: 100px;
  max-height: 80px;
}
.form-art-ambulance {
  width: 100%;
  max-width: 100px;
  max-height: 56px;
}
.form-art-endday {
  width: 100px;
  max-height: 180px;
}
.form-art-icon {
  width: 32px;
  height: 32px;
}
.form-art-face {
  width: 48px;
  max-height: 80px;
}
.star-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
}
.star-img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
}
.weather-art {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
}
.wep-store-banner {
  display: block;
  width: 100%;
  max-height: 28px;
  object-fit: contain;
  margin: 0 0 8px;
  image-rendering: auto;
}
.news-title-art {
  height: 14px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  vertical-align: middle;
}
.title-screen .logo-banner {
  width: min(420px, 100%);
  height: auto;
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}
.insult-modal {
  width: min(420px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}
.insult-body {
  margin: 8px !important;
}
.insult-grid {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}
.insult-line {
  font-size: 13px;
  line-height: 1.4;
  margin: 4px 0 8px;
}
.overall-grid {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: start;
}
.bribe-grid {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: start;
}
.bribe-mascot {
  text-align: center;
}

/* Gray mugshot silhouette (fallback if art missing) */
.mug-silhouette {
  width: 46px;
  height: 62px;
  position: relative;
  background: transparent;
}

.mug-silhouette::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 4px;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border-radius: 50% 50% 46% 46%;
  background: #8a8a98;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.mug-silhouette::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 30px;
  width: 42px;
  height: 30px;
  margin-left: -21px;
  border-radius: 40% 40% 30% 30% / 30% 30% 70% 70%;
  background: #8a8a98;
}

.status-name {
  text-align: center;
  font-weight: 700;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}

.status-gang {
  text-align: center;
  color: #a0c0a0;
  margin-bottom: 4px;
  font-size: 11px;
}

.btn-insult {
  width: 100%;
  margin-bottom: 6px;
  min-height: 22px;
  font-size: 11px;
}

.bribe-tier {
  width: 100%;
  text-align: left !important;
  min-height: 28px !important;
  font-weight: 600;
}

/* newscreen5: activity locked (health/skills) */
.act-locked {
  text-align: center;
  padding: 28px 18px 20px;
  max-width: 420px;
  margin: 0 auto;
}

.act-locked-head {
  color: #ff8800;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
  text-shadow: 0 1px 2px #000;
}

.act-locked-reason {
  color: #ffaa44;
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0;
}

.act-locked-foot {
  color: #ff8800;
  font-size: 15px;
  font-weight: 700;
  margin: 18px 0 10px;
}

.act-locked-hint {
  color: #cc9944;
  font-size: 11px;
  margin: 8px 0 0;
  font-style: italic;
}

/* newscreen4 Winston weapon store */
.weapon-store-modal .wep-store-body {
  background: #e8e8f8;
  color: #000;
}

.wep-store-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  align-items: start;
}

.wep-mascot {
  padding-top: 8px;
}

.wep-dude {
  width: 88px;
  height: 120px;
  border-radius: 8px 8px 20% 20%;
  background: linear-gradient(180deg, #2a2a2a 0%, #111 40%, #1a1a1a 100%);
  border: 2px solid #333;
  position: relative;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
}

.wep-dude::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border-radius: 50%;
  background: #c4a07a;
  border: 1px solid #403020;
}

.wep-dude::after {
  content: '🔫';
  position: absolute;
  bottom: 18px;
  left: 50%;
  margin-left: -12px;
  font-size: 22px;
}

.wep-welcome {
  font-size: 11px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #202040;
}

.wep-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-right: 4px;
}

.wep-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  border-bottom: 1px solid #c0c0d8;
  padding-bottom: 6px;
}

.wep-name {
  font-weight: 700;
  font-size: 12px;
  color: #000060;
}

.wep-blurb {
  font-size: 10px;
  color: #404060;
}

.wep-blurb-bad {
  color: #c00000;
  font-weight: 700;
}

.wep-footer {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
}

/* newscreen6 death modal */
.death-modal {
  width: min(460px, 94%) !important;
  background: #4a1010 !important;
  color: #f0d0d0 !important;
  border-color: #802020 #200808 #200808 #802020 !important;
}

.death-modal .title-bar {
  background: linear-gradient(90deg, #600000, #a02020) !important;
}

.death-body {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
  background: radial-gradient(ellipse at center, #5a1818 0%, #2a0808 100%);
  margin: 0 !important;
  padding: 12px;
}

.death-copy p {
  font-size: 11px;
  line-height: 1.4;
  margin: 0 0 8px;
}

.death-advice {
  margin-top: 10px !important;
}

.death-rip {
  font-weight: 700;
  margin-top: 12px !important;
  color: #ffd0d0;
}

.tombstone {
  width: 70px;
  height: 90px;
  margin: 8px auto 0;
  background: #6a6a6a;
  border-radius: 36px 36px 6px 6px;
  border: 2px solid #333;
  position: relative;
  box-shadow: 2px 3px 0 #200;
}

.tombstone::before {
  content: '✝';
  position: absolute;
  left: 50%;
  top: 18px;
  margin-left: -10px;
  font-size: 28px;
  color: #222;
}

.ss-delta {
  font-size: 9px;
  font-weight: 700;
}

.ss-delta.up {
  color: #80ff80;
}

.ss-delta.bad {
  color: #ff8080;
}

.ss-name {
  font-size: 10px;
}

/* depositscreenshot.png: Confirm deposit/withdrawal Yes/No */
.confirm-dialog {
  background: #c0c0c0 !important;
  color: #000 !important;
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
  z-index: 80;
}

.confirm-dialog .title-bar {
  background: linear-gradient(90deg, #000080, #1084d0) !important;
}

.confirm-dialog .confirm-body {
  padding: 14px 16px 12px;
  background: #c0c0c0;
  color: #000;
}

.confirm-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  min-height: 40px;
}

.confirm-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #5ba3e0, #1a5a9a);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  border: 2px solid #0a3060;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  overflow: hidden;
}
.confirm-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.confirm-text {
  margin: 0;
  font-size: 12px;
  color: #000;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

.confirm-btns {
  justify-content: center;
  gap: 10px;
}

.confirm-btns button {
  min-width: 75px !important;
  min-height: 23px !important;
}

.title-btn-disabled {
  opacity: 0.4;
  pointer-events: none !important;
  cursor: default;
}

/* Ensure confirm layer sits above game chrome */
.modal-layer[data-modal='confirm-bank'] {
  z-index: 100;
}

/* attackedevent.png */
.attack-modal {
  width: min(420px, 94%) !important;
  background: #5a1010 !important;
  color: #f8e0e0 !important;
  border-color: #a03030 #300808 #300808 #a03030 !important;
}

.attack-modal .title-bar {
  background: linear-gradient(90deg, #700000, #b02828) !important;
}

.attack-body {
  background: radial-gradient(ellipse at center, #6a1818 0%, #301010 100%);
  margin: 0 !important;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.4;
}

.attack-name,
.attack-wpn {
  color: #ff4040;
  font-weight: 700;
  font-size: 13px;
}

.btn-help-out {
  min-height: 20px !important;
  font-size: 10px !important;
  margin-left: 6px;
}

/* tipschrome.png */
.tips-modal .tips-body {
  background: #f0f0f0;
  color: #000;
  padding: 10px 12px;
}

.tips-kind {
  margin: 0 0 6px;
  font-size: 12px;
}

.tips-text {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.4;
  min-height: 3.5em;
}

.tips-web {
  font-size: 11px;
  margin: 0 0 12px;
  line-height: 1.35;
}

.tips-link {
  color: #0000cc;
  text-decoration: underline;
  cursor: pointer;
}

.tips-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tips-allow {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
}

.tips-btns {
  justify-content: flex-end;
  gap: 8px;
}

/* fullagenda.png */
.agenda-full-msg {
  color: #00cc66;
  font-weight: 700;
  font-size: 12px;
  padding-right: 8px;
}

.agenda-hint {
  padding: 4px 6px 2px;
  font-size: 9px;
  line-height: 1.3;
  border-top: 1px solid #004400;
  color: #70a070;
}

.endday-star {
  color: #c0a000;
  font-weight: 700;
}

.endday-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── FCash Banking form (EXE: txtAmount, cmdDeposit/Withdraw, imgBankManager) ── */
.bank-modal {
  width: min(440px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}

.bank-body {
  margin: 6px !important;
  background: #c0c0c0;
  color: #000;
}

.bank-grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
}

.bank-mascot {
  text-align: center;
}

.bank-dude {
  width: 88px;
  height: 110px;
  margin: 0 auto;
  border-radius: 8px 8px 24% 24%;
  background: linear-gradient(180deg, #2c4a6e 0%, #1a2a40 45%, #0f1824 100%);
  border: 2px solid #203040;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  position: relative;
}

.bank-dude::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 12px;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
  background: #d4a574;
  border: 1px solid #403020;
}

.bank-dude::after {
  content: '💼';
  position: absolute;
  left: 50%;
  bottom: 14px;
  margin-left: -12px;
  font-size: 22px;
}

.bank-dude-cap {
  margin-top: 4px;
  font-size: 9px;
  color: #404040;
  font-weight: 700;
}

.bank-balances {
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  background: #e8e8e8;
  padding: 6px 8px;
  margin-bottom: 8px;
}

.bank-bal-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
  font-size: 12px;
}

.bank-bal-lab {
  color: #202020;
}

.bank-bal-val {
  font-weight: 700;
  color: #000080;
  font-variant-numeric: tabular-nums;
}

.bank-hint,
.bank-warn {
  font-size: 10px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: #303030;
}

.bank-warn {
  color: #800000;
  font-weight: 700;
}

.bank-amount-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.bank-amt-lab {
  font-size: 11px;
  color: #000;
  min-width: 72px;
}

.bank-amt-prefix {
  font-weight: 700;
  font-size: 13px;
}

.bank-amt-input {
  width: 110px !important;
  min-height: 22px;
  font-size: 12px;
}

.bank-actions {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}

.bank-cmd {
  flex: 1;
  min-height: 26px !important;
  font-weight: 700;
}

.bank-actions-quick {
  margin-top: 2px;
}

.bank-cmd-quiet {
  flex: 1;
  min-height: 22px !important;
  font-size: 10px !important;
}

.bank-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  padding-top: 6px;
  border-top: 1px solid #808080;
}

/* ── FLifeChoices dilemma form (EXE: Vince's Dilemma / Hmmm / cmdOption) ── */
.dilemma-modal {
  width: min(480px, 94%) !important;
  background: #e8e8f0 !important;
  color: #000 !important;
  max-height: min(520px, 90vh);
  display: flex;
  flex-direction: column;
}

.dilemma-modal .window-body,
.dilemma-body {
  margin: 8px !important;
  overflow: auto;
  max-height: min(460px, 78vh);
}

.dilemma-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.dilemma-hmmm {
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: #000060;
}

.dilemma-tips-btn {
  min-height: 20px !important;
  font-size: 10px !important;
  padding: 0 8px !important;
}

.dilemma-title {
  margin: 4px 0 8px;
  font-size: 14px;
  color: #000080;
  border-bottom: 1px solid #a0a0c0;
  padding-bottom: 4px;
}

.dilemma-prompt,
.dilemma-prompt2 {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 8px;
  color: #101020;
}

.dilemma-prompt2 {
  font-weight: 600;
  color: #000040;
}

.dilemma-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}

.dilemma-opt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  text-align: left;
  min-height: 32px !important;
  padding: 6px 8px !important;
  white-space: normal;
  line-height: 1.35;
  font-size: 11px !important;
}

.dilemma-opt-num {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  background: #000080;
  color: #fff;
  border-radius: 2px;
  font-size: 11px;
}

.dilemma-opt-text {
  flex: 1;
}

.dilemma-opt-cond {
  flex: 0 0 auto;
  font-size: 9px;
  color: #800;
  font-weight: 700;
}

.dilemma-opt.is-locked,
.dilemma-opt:disabled {
  opacity: 0.55;
}

.dilemma-advice {
  font-size: 10px;
  margin: 8px 0 0;
}

.dilemma-result-box {
  background: #f8f8ff;
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  padding: 10px 12px;
  margin: 8px 0 12px;
  min-height: 4em;
}

.dilemma-result-text {
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 8px;
}

.dilemma-effects {
  font-size: 11px;
  margin: 0;
  color: #004000;
  font-weight: 600;
}

.dilemma-foot {
  justify-content: flex-end;
}

/* ── FBusted ── */
.bust-modal {
  width: min(460px, 94%) !important;
  background: #d8d0d0 !important;
  color: #000 !important;
}
.bust-body {
  margin: 8px !important;
}
.bust-grid {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
}
.bust-cop-face {
  width: 80px;
  height: 96px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a3050, #0a1520);
  border: 2px solid #203040;
  border-radius: 6px;
  position: relative;
}
.bust-cop-face::before {
  content: '👮';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  line-height: 96px;
  text-align: center;
  width: 100%;
}
.bust-cop-cap {
  font-size: 9px;
  text-align: center;
  color: #404040;
  margin-top: 2px;
}
.bust-headline {
  font-size: 18px;
  font-weight: 900;
  color: #800000;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.bust-caught,
.bust-explain {
  font-size: 12px;
  margin: 0 0 6px;
  line-height: 1.35;
}
.bust-hint {
  font-size: 10px;
  margin: 0 0 8px;
}
.bust-section-lab {
  font-size: 10px;
  font-weight: 700;
  color: #404040;
  margin: 6px 0 4px;
}
.bust-bribes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.bust-bribe {
  width: 100%;
  text-align: left !important;
  min-height: 24px !important;
}
.bust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.bust-actions button {
  flex: 1 1 30%;
  min-height: 26px !important;
}
.bust-advice {
  flex: 1 1 100% !important;
}

/* ── FMission ── */
.mission-modal {
  width: min(480px, 94%) !important;
  background: #e0e0ec !important;
  color: #000 !important;
}
.mission-body {
  margin: 8px !important;
}
.mission-grid {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
}
.mission-face-art {
  width: 80px;
  height: 100px;
  background: linear-gradient(180deg, #3a2a1a, #1a1008);
  border: 2px solid #403020;
  border-radius: 8px;
  position: relative;
}
.mission-face-art::after {
  content: '🕵';
  position: absolute;
  inset: 0;
  text-align: center;
  line-height: 100px;
  font-size: 40px;
}
.mission-offer {
  font-size: 10px;
  font-weight: 700;
  color: #404060;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mission-title {
  margin: 2px 0 8px;
  font-size: 15px;
  color: #000060;
}
.mission-desc {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 2.5em;
}
.mission-meta {
  background: #f4f4fa;
  border: 1px solid #a0a0c0;
  padding: 6px 8px;
  margin-bottom: 8px;
  font-size: 11px;
}
.mission-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0;
}
.mission-advice {
  font-size: 10px;
  margin: 0 0 8px;
  background: #fffff0;
  border-left: 3px solid #c80;
  padding: 4px 8px;
}
.mission-advice ul {
  margin: 4px 0 0;
  padding-left: 16px;
}
.mission-replaces {
  font-size: 10px;
  margin: 0 0 8px;
}
.mission-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.mission-actions button {
  min-width: 80px;
  min-height: 26px !important;
  font-weight: 700;
}

/* Attack / weapon / options polish */
.attack-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.attack-actions button {
  min-width: 80px;
  min-height: 26px !important;
  font-weight: 700;
}
.attack-by,
.attack-armed {
  margin: 8px 0;
  font-size: 12px;
}
.wep-dude-cap {
  font-size: 9px;
  text-align: center;
  color: #404040;
  font-weight: 700;
  margin-top: 2px;
}
.wep-store-note {
  font-size: 10px;
  margin: 0 0 8px;
  line-height: 1.35;
}
.weapon-store-modal {
  width: min(520px, 96%) !important;
  max-height: 82vh;
  overflow: auto;
}
.death-white {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  margin-bottom: 8px;
}
.options-modal {
  width: min(420px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}

/* ── FIncomingCall ── */
.phone-modal {
  width: min(440px, 94%) !important;
  background: #c8c8d0 !important;
  color: #000 !important;
}
.phone-body {
  margin: 8px !important;
}
.phone-grid {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
}
.phone-handset {
  width: 72px;
  height: 96px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2a2a2a, #0a0a0a);
  border: 2px solid #404040;
  border-radius: 12px 12px 8px 8px;
  position: relative;
}
.phone-handset::before {
  content: '☎';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 96px;
  text-align: center;
  width: 100%;
  filter: grayscale(0.2);
}
.phone-face-cap {
  font-size: 9px;
  text-align: center;
  color: #404040;
  margin-top: 2px;
}
.phone-from {
  margin: 0 0 6px;
  font-size: 12px;
}
.phone-dialog {
  background: #f8f8f0;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  padding: 8px 10px;
  min-height: 88px;
  max-height: 180px;
  overflow: auto;
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.phone-line {
  margin: 0 0 4px;
}
.phone-effect,
.phone-help {
  font-size: 10px;
  margin: 0 0 6px;
  line-height: 1.35;
}
.phone-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.phone-actions button {
  min-width: 88px;
  min-height: 26px !important;
}

/* ── FStung ── */
.stung-modal {
  width: min(460px, 94%) !important;
  background: #d0c8c0 !important;
  color: #000 !important;
}
.stung-body {
  margin: 8px !important;
}
.stung-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
}
.stung-siren {
  width: 72px;
  height: 90px;
  margin: 0 auto;
  background: linear-gradient(180deg, #401010, #100808);
  border: 2px solid #602020;
  border-radius: 6px;
  position: relative;
}
.stung-siren::before {
  content: '🚨';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 90px;
  text-align: center;
  width: 100%;
}
.stung-headline {
  font-size: 14px;
  font-weight: 900;
  color: #800000;
  margin: 0 0 6px;
  line-height: 1.3;
}
.stung-line {
  font-size: 12px;
  margin: 0 0 4px;
  line-height: 1.35;
}
.stung-cash {
  font-size: 12px;
  margin: 6px 0;
  color: #600000;
}
.stung-tip {
  font-size: 10px;
  margin: 8px 0;
  line-height: 1.35;
}
.stung-actions {
  display: flex;
  justify-content: flex-end;
}
.stung-actions button {
  min-width: 100px;
  min-height: 26px !important;
}

/* ── FHospital ── */
.hospital-modal {
  width: min(440px, 94%) !important;
  background: #d0d8e0 !important;
  color: #000 !important;
}
.hospital-body {
  margin: 8px !important;
}
.hospital-grid {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
}
.hosp-ambulance {
  width: 80px;
  height: 72px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f0f0f0, #c0c8d0);
  border: 2px solid #6080a0;
  border-radius: 6px;
  position: relative;
}
.hosp-ambulance::before {
  content: '🚑';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  line-height: 72px;
  text-align: center;
  width: 100%;
}
.hosp-art-cap {
  font-size: 9px;
  text-align: center;
  color: #404040;
  margin-top: 2px;
}
.hosp-title {
  font-size: 15px;
  font-weight: 800;
  color: #003060;
  margin-bottom: 6px;
}
.hosp-line {
  font-size: 12px;
  margin: 0 0 4px;
  line-height: 1.35;
}
.hosp-hp {
  font-size: 11px;
  margin: 8px 0;
}
.hosp-actions {
  display: flex;
  justify-content: flex-end;
}

/* ── FNewsFlash ── */
.newsflash-modal {
  width: min(420px, 94%) !important;
  background: #1a2030 !important;
  color: #f0f0e0 !important;
  border-color: #6080c0 #0a1020 #0a1020 #6080c0 !important;
}
.newsflash-modal .title-bar {
  background: linear-gradient(90deg, #102040, #204080) !important;
}
.newsflash-body {
  margin: 10px !important;
  background: #152030;
  padding: 10px 12px;
}
.newsflash-banner {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ff4040;
  margin-bottom: 6px;
}
.newsflash-head {
  margin: 0 0 8px;
  font-size: 15px;
  color: #ffe080;
}
.newsflash-blurb {
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 12px;
  color: #e0e8f0;
}
.newsflash-actions {
  display: flex;
  justify-content: flex-end;
}

/* ── FWait ── */
.modal-layer-wait {
  background: rgba(0, 0, 0, 0.35);
}
.wait-modal {
  width: min(280px, 90%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}
.wait-body {
  margin: 14px 16px !important;
  text-align: center;
}
.wait-bar {
  height: 16px;
  margin: 0 0 10px;
  background: repeating-linear-gradient(
    90deg,
    #000080 0 12px,
    #fff 12px 16px
  );
  border: 1px solid #000;
  animation: wait-slide 0.8s linear infinite;
  background-size: 28px 100%;
}
@keyframes wait-slide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 28px 0;
  }
}
.wait-lab {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

/* ── FAdvicePopup ── */
.advice-modal {
  width: min(400px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}
.advice-body {
  margin: 10px !important;
}
.advice-grid {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
}
.advice-icon-face {
  width: 40px;
  height: 40px;
  background: #ffffe0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  border-radius: 50%;
  position: relative;
}
.advice-icon-face::before {
  content: 'i';
  display: block;
  text-align: center;
  font-weight: 900;
  font-size: 22px;
  line-height: 36px;
  color: #000080;
  font-family: serif;
}
.advice-body-text {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
}
.advice-hint {
  font-size: 10px;
  margin: 0 0 8px;
}
.advice-suppress {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 10px;
  margin: 0 0 10px;
  color: #000;
}
.advice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ── FMissionAdvice ── */
.mission-advice-modal {
  width: min(420px, 94%) !important;
  background: #e8e8f0 !important;
  color: #000 !important;
}
.mission-advice-list {
  margin: 6px 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.4;
}

/* ── FEndGame / FScoreProgress ── */
.endgame-modal {
  width: min(440px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}
.endgame-body {
  margin: 10px !important;
}
.endgame-reason {
  font-size: 12px;
  margin: 0 0 10px;
}
.endgame-qualify {
  font-size: 12px;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.35;
}
.score-progress {
  background: #e0e0e0;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  padding: 8px 10px;
}
.score-progress-lab {
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}
.score-progress-bar {
  height: 14px;
  background: #404040;
  border: 1px solid #000;
  margin-bottom: 4px;
}
.score-progress-bar > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #008000, #00cc44);
  min-width: 0;
}
.score-progress-nums {
  font-size: 11px;
}

/* ── FOverallRating ── */
.overall-rating-modal {
  width: min(380px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}

/* ── FHighScores ── */
.highscores-modal {
  width: min(400px, 94%) !important;
  background: #c0c0c0 !important;
  color: #000 !important;
}
.highscores-body {
  margin: 8px !important;
}
.hs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
.hs-table th,
.hs-table td {
  border: 1px solid #808080;
  padding: 3px 6px;
  text-align: left;
}
.hs-table th {
  background: #000080;
  color: #fff;
  font-weight: 700;
}
.hs-score {
  font-weight: 700;
  text-align: right !important;
}
.options-body {
  margin: 8px !important;
}
.opt-fieldset {
  border: 1px solid;
  border-color: #fff #808080 #808080 #fff;
  margin: 0 0 10px;
  padding: 8px 10px;
}
.opt-fieldset legend {
  font-size: 11px;
  font-weight: 700;
  padding: 0 4px;
}
.opt-speed-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
}
.opt-speed-lab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #000;
}

.score-kv {
  margin-top: 2px;
}

.meter {
  height: 10px;
  background: var(--c-score-bg, #003300);
  border: 1px solid #006600;
  margin: 2px 0 6px;
  box-shadow: inset 1px 1px 0 #001a00;
}

.meter > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00aa00, #00ff66);
}

/* Cash / Bank rows + $ quick deposit/withdraw (depositscreenshot.png) */
.money-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 2px 0;
  font-size: 11px;
  text-align: left;
}

.money-row .lab {
  color: #c0ffc0;
  flex: 1;
}

/* Raised Win98 mini-button — must look clickable next to the amount */
.cash-btn {
  flex: 0 0 22px;
  width: 22px;
  min-width: 22px !important;
  min-height: 18px !important;
  height: 18px;
  padding: 0 !important;
  font-size: 11px !important;
  font-weight: 700;
  color: #000 !important;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  z-index: 2;
  position: relative;
}

.status-btns {
  margin-top: 6px;
}

.status-btns button {
  flex: 1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.btn-row button,
.panel-body button {
  min-width: 0;
  min-height: 20px;
  padding: 0 8px;
  font-size: 11px;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 1px 0;
  font-size: 11px;
}

.kv .lab {
  color: #60a060;
}

.kv .val {
  color: #e0ffe0;
  font-weight: 700;
}

/* Player levels (shot 1 / CHM levels.gif) */
.levels-body {
  padding: 4px 6px;
}

.sec-head {
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--c-text-bold, #c0ffc0);
  font-size: 11px;
}

.level-row {
  display: grid;
  grid-template-columns: 52px 1fr 14px;
  align-items: center;
  gap: 2px;
  margin: 1px 0;
  font-size: 10px;
}

.level-row .lv-lab {
  color: #90c090;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.level-row .lv-num {
  color: #60a060;
  text-align: right;
  font-size: 9px;
}

.level-row .bar {
  height: 8px;
  background: #111;
  border: 1px solid #004400;
  /* segmented LED feel */
  background-image: repeating-linear-gradient(
    90deg,
    #111 0,
    #111 4px,
    #0a0a0a 4px,
    #0a0a0a 5px
  );
  overflow: hidden;
}

.level-row .bar > i {
  display: block;
  height: 100%;
  background: #00cc44;
  /* default segment overlay; solid color may override via inline */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}

.weapon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 4px;
}

.weapon-row .lab {
  font-weight: 700;
  color: #a0ffa0;
}

.btn-buy-wep {
  min-height: 18px !important;
  min-width: 36px;
  padding: 0 6px !important;
  font-size: 10px !important;
}

.weapon-name {
  font-size: 10px;
  color: #c0ffc0;
  margin-top: 1px;
}

/* Planner center */
.planner {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid #006600;
}

.act-list {
  border-right: 1px solid rgba(0, 0, 0, 0.25);
  background-color: var(--c-list-bg, #001100);
  background-image: var(--skin-act-list-bg, none);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
  overflow: auto;
  padding: 2px 0;
  color: var(--c-list-text, #90ee90);
}

/* Activity list: green "A" tile + label (shot 1 / 4) */
.act-list .act-item {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  margin: 0;
  min-height: 20px;
  background: transparent;
  color: var(--c-list-text, #90ee90);
  box-shadow: none;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 3px 6px;
  border-radius: 0;
}

.act-list .act-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-act-text-hi, #e0ffe0);
}

.act-list .act-item.selected {
  background: rgba(0, 0, 0, 0.35);
  color: var(--c-act-text-sel, #fff);
}

.act-list .act-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: var(--skin-act-icon, none);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* Green "A" tile when the skin gif is not loaded (public build). */
  background-color: #0c4a12;
  color: #d6ff9a;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #3d9a28;
  line-height: 1;
}

.act-list .act-icon.has-art {
  color: transparent;
  font-size: 0;
  background-color: transparent;
  border-color: transparent;
}

.act-list .act-item.selected .act-icon {
  filter: brightness(1.15);
}

.act-list .act-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-main {
  position: relative;
  overflow: auto;
  background-color: #000;
  background-image: var(--skin-act-bg, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 12px 16px;
  flex: 1;
  min-height: 0;
}

.planner-main .scrim {
  background: rgba(0, 8, 0, 0.42);
  padding: 12px 14px;
  border: none;
  max-width: 420px;
}

.planner-main .act-headline {
  margin: 0 0 10px;
  font-size: 26px;
  color: var(--c-act-title, #e8ffe8);
  font-weight: 700;
  text-shadow: 0 1px 3px #000;
  font-family: Georgia, 'Times New Roman', serif;
}

.planner-main .act-prompt {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--c-act-text, #d0ffd0);
  font-weight: 600;
}

.planner-main .act-desc {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--c-act-text, #90cc90);
  line-height: 1.4;
  max-width: 36em;
  background: var(--c-hint-bg, transparent);
  padding: 4px 0;
}

.planner-main .act-empty {
  color: #80c080;
  font-size: 13px;
}

.planner-main .act-odds {
  margin-top: 8px;
  font-size: 10px;
  color: #70a070;
}

/* Classic empty → filled radio (shot 1 / 4). Shape is square-ish Win32 radio. */
.opt-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 8px;
}

.opt-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--c-act-text, #c8ffc8);
  font-size: 13px;
  user-select: none;
  width: fit-content;
  max-width: 100%;
}

.opt-radio:hover .opt-radio-text {
  text-decoration: underline;
}

.opt-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Original Default_Option.gif / OptionSelected.gif (empty → filled) */
.opt-radio-box {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: none;
  background-color: transparent;
  background-image: var(--skin-option, none);
  background-color: #c0c0c0;
  border: 1px solid #808080;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff;
  position: relative;
}

.opt-radio.is-selected .opt-radio-box,
.opt-radio-input:checked + .opt-radio-box {
  background-image: var(--skin-option-sel, none);
  background-color: #000080;
  box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #fff;
}

.opt-radio.is-selected .opt-radio-box::after,
.opt-radio-input:checked + .opt-radio-box::after {
  content: none;
}

.opt-radio-text {
  line-height: 1.25;
}

.opt-radio.is-selected .opt-radio-text {
  text-decoration: underline;
  color: var(--c-act-text-sel, #ffffff);
}

.plan-warn {
  margin-top: 8px;
  padding: 4px 6px;
  font-size: 10px;
  line-height: 1.35;
  border-left: 3px solid #c80;
  background: rgba(40, 30, 0, 0.5);
  color: #e0c060;
}

.plan-warn-bad {
  border-left-color: #c00;
  color: #ff8080;
  background: rgba(40, 0, 0, 0.45);
}

.hint-box {
  margin-top: 12px;
  font-size: 10px;
  color: #70c070;
  line-height: 1.35;
}

.planner-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  background: var(--c-add-bg, #c0c0c0);
  color: var(--c-add-text, #000);
  border-top: 1px solid #808080;
  flex-shrink: 0;
  font-size: 11px;
}

.planner-footer .pf-lab {
  color: #000;
}

.planner-footer select {
  font-size: 11px;
  min-height: 20px;
}

.planner-footer .btn-help {
  min-height: 22px;
  color: #000;
}

.planner-footer .btn-add {
  min-height: 22px;
  min-width: 48px;
  font-weight: 700;
  color: var(--c-add-text-sel, #000);
  background: var(--c-add-text-bg, #eee);
}

/* Report: tree fills center; Stat's Summary is the right column (replaces agenda) */
.report-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.col-stats-summary {
  background-image: none;
  background-color: #000a00;
}

.col-stats-summary .report-side {
  flex: 1;
  border-left: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}

.report-view {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 6px 10px 6px 6px;
  background-color: var(--c-report-hi, #f0f8f0);
  background-image: var(--skin-report-bg, none);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: auto 70%;
  color: var(--c-report-text, #003300);
  /* Prefer anchoring at bottom growth; JS keeps stick-to-bottom during live play */
  overflow-anchor: none;
}

.report-block {
  margin: 2px 0 6px;
}

.report-block-head {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  min-height: 20px;
  padding: 2px 4px;
  margin: 0;
  background: rgba(0, 80, 0, 0.08);
  border: none;
  border-bottom: 1px solid rgba(0, 80, 0, 0.2);
  color: #003300;
  font-weight: 700;
  font-size: 11px;
  box-shadow: none;
  border-radius: 0;
  cursor: pointer;
}

.report-block-head .r-ico {
  background: #00aa00;
  color: #003000;
  border-radius: 2px;
  flex: 0 0 14px;
  text-align: center;
  font-size: 10px;
}

.report-block-head .r-twist {
  margin-left: auto;
  color: #006600;
  font-size: 10px;
}

.report-block-body {
  padding: 2px 0 4px 8px;
}

.report-block.is-collapsed .report-block-body {
  display: none;
}

.report-view .line {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 1px 0 1px 12px;
  font-size: 11px;
  line-height: 1.35;
}

.report-view .r-ico {
  flex: 0 0 14px;
  width: 14px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #006600;
}

.report-view .head {
  margin: 6px 0 2px 0;
  font-weight: 700;
  color: #004400;
}

.report-view .head .r-ico {
  background: #00aa00;
  color: #003000;
  border-radius: 2px;
}

/* Shot 2 parity: money/good = green, bad = red */
.report-view .cash,
.report-view .good {
  color: #006600;
  font-weight: 700;
}

.report-view .cash .r-ico,
.report-view .good .r-ico {
  color: #008800;
}

.report-view .bad {
  color: #aa0000;
  font-weight: 600;
}

.report-view .bad .r-ico {
  color: #cc0000;
}

.report-view .cash.bad {
  color: #aa0000;
}

.report-view .cash.bad .r-ico {
  color: #cc0000;
}

.report-view .line .r-txt {
  color: inherit;
}

/* Live report flasher (skin ReportFlasher.gif) */
.report-shell {
  position: relative;
}
.report-flasher {
  position: absolute;
  top: 2px;
  right: 4px;
  width: 48px;
  height: 16px;
  background-image: var(--skin-report-flasher, none);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
  animation: report-flash 0.8s steps(2) infinite;
}
@keyframes report-flash {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.25;
  }
}
.report-live .report-view {
  background-image: var(--skin-report-bg, none);
  background-size: cover;
}

.act-list-title {
  height: 18px;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: left center;
  margin: 0 0 2px;
  flex: 0 0 auto;
}

.hosp-title {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hosp-emg {
  image-rendering: pixelated;
}

.title-screen .city-list .lock-img img {
  vertical-align: middle;
  margin-right: 2px;
  image-rendering: pixelated;
}

.ss-cash.up {
  color: #008000;
  font-weight: 700;
}
.ss-cash.bad {
  color: #aa0000;
  font-weight: 700;
}

.endday-stars {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 4px;
}

.report-side {
  border-left: 1px solid #004400;
  background: #000a00;
  color: #b0ffb0;
  padding: 4px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}

.stats-summary-head {
  font-weight: 700;
  font-size: 11px;
  color: #a0ffa0;
  margin-bottom: 4px;
  border-bottom: 1px solid #004400;
  padding-bottom: 2px;
}

.ss-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px;
  align-items: center;
  font-size: 10px;
  margin: 2px 0;
}

.ss-bar {
  height: 7px;
  background: #111;
  border: 1px solid #004400;
}

.ss-bar > i {
  display: block;
  height: 100%;
  background: #00cc44;
}

.ss-cash {
  margin-top: 6px;
  font-weight: 700;
  color: #80ff80;
}

.ss-stars {
  margin-top: 4px;
  letter-spacing: 1px;
  color: #ffd700;
}

.speed-group {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
}

.speed-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #c0ffc0;
  user-select: none;
}

/* Hide native radio; use skin option glyphs like planner radios */
.speed-radio input[type='radio'] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.speed-radio .opt-radio-box {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  background-image: var(--skin-option, none);
  background-color: #c0c0c0;
  border: 1px solid #808080;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.speed-radio.is-selected .opt-radio-box,
.speed-radio input[type='radio']:checked + .opt-radio-box {
  background-image: var(--skin-option-sel, none);
  background-color: #000080;
}

.speed-radio.is-selected {
  color: #fff;
  font-weight: 700;
}

/* Options modal speed radios — same selected glyph */
.opt-speed-lab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 10px;
  cursor: pointer;
}

.opt-speed-lab input[type='radio'] {
  appearance: auto;
  -webkit-appearance: radio;
  width: 14px;
  height: 14px;
  margin: 0 2px 0 0;
  accent-color: #0a0;
}

.report-side-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.report-side-actions button {
  width: 100%;
  min-height: 22px;
}

/* Agenda right (shot 1) */
.agenda-weather {
  text-align: center;
  padding: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--c-weather-bg, transparent);
  color: var(--c-weather-text, inherit);
}

.agenda-weather .icon {
  font-size: 28px;
}

.agenda-hours {
  flex: 1;
  overflow: auto;
  padding: 4px 4px 2px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Multi-hour agenda blocks (CHM day-planner + shot 1) */
.hour-block {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 3px;
  align-items: stretch;
  min-height: calc(var(--span, 1) * 16px);
  font-size: 10px;
}

.hour-block .hour-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: var(--c-agenda-text, #80ff80);
  opacity: 0.9;
  line-height: 1;
  padding: 1px 0;
}

.hour-block .hour-lab {
  height: 14px;
  display: flex;
  align-items: center;
}

.hour-block .slot {
  min-height: 14px;
  height: 100%;
  background: var(--c-agenda-item-bg, #003300);
  border: 1px solid rgba(0, 0, 0, 0.35);
  color: var(--c-agenda-text, #80ff80);
  padding: 2px 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.2;
}

.hour-block .slot.filled,
.hour-block.filled .slot {
  background: linear-gradient(
    180deg,
    var(--c-agenda-fade, #008844) 0%,
    var(--c-agenda-item-bg, #005522) 100%
  );
  color: #fff;
  border-color: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hour-block.filled .slot {
  /* taller multi-hour block keeps label at top like CHM planner */
  font-weight: 600;
}

.hour-block .slot:hover {
  outline: 1px solid #00ff88;
}

.hour-block .slot.selected {
  outline: 1px solid #00ff00;
}

/* legacy single-row class kept for safety */
.hour-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px;
  align-items: center;
  margin: 2px 0;
  font-size: 10px;
}

.hour-row .slot {
  height: 14px;
  background: var(--c-agenda-item-bg, #003300);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: var(--c-agenda-text, #80ff80);
  padding: 0 3px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

.hour-row .slot.filled {
  background: var(--c-agenda-fade, #006633);
  color: #fff;
}

.hour-row .slot.selected {
  outline: 1px solid #00ff00;
}

.agenda-actions {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #006600;
}

.agenda-actions button {
  width: 100%;
}

.agenda-actions .btn-start-day {
  font-weight: 700;
}

/* End of day summary (shot 2 structure) */
.endday-modal {
  width: min(480px, 94%) !important;
}

.endday-grid {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 10px;
}

.endday-rows .summary-row {
  display: grid;
  grid-template-columns: 90px 56px 1fr;
  gap: 6px;
  align-items: baseline;
  margin: 4px 0;
  font-size: 12px;
}

.endday-rows .sum-lab {
  font-weight: 700;
}

.endday-rows .sum-dir {
  font-weight: 700;
}

.endday-rows .sum-dir.up {
  color: #080;
}

.endday-rows .sum-dir.bad {
  color: #a00;
}

.endday-line {
  margin: 10px 0 0;
  font-weight: 700;
}

.endday-art {
  text-align: center;
  opacity: 0.95;
  line-height: 1;
  padding-top: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Cartoon end-of-day face (shot 2 structure — stylized stand-in) */
.endday-face {
  width: 78px;
  height: 96px;
  position: relative;
  background: #f0c8a0;
  border-radius: 42% 42% 38% 38% / 36% 36% 48% 48%;
  border: 2px solid #403020;
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.2);
}

.endday-face::before {
  /* hair */
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: -6px;
  height: 28px;
  background: #3a3a40;
  border-radius: 50% 50% 20% 20%;
  z-index: 0;
}

.endday-face::after {
  /* eyes + smirk via box-shadows on a mouth bar */
  content: '';
  position: absolute;
  left: 50%;
  top: 42px;
  width: 8px;
  height: 8px;
  margin-left: -22px;
  border-radius: 50%;
  background: #222;
  box-shadow:
    28px 0 0 #222,
    14px 18px 0 -1px #c06060,
    14px 22px 0 2px transparent;
  border-bottom: 2px solid #222;
}

.stat-summary {
  padding: 4px 6px;
  border-top: 1px solid #006600;
  font-size: 10px;
}

/* Bottom diary / news (shot 1/2 chrome) */
.diary-panel .panel-body {
  background-image: var(--skin-diary-bg, none);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto 100%;
}

.news-panel .panel-body {
  background-image: var(--skin-news-bg, none);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100%;
}

.diary-panel,
.news-panel {
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #000;
}

.diary-panel {
  border-right: 1px solid #006600;
}

.diary-panel .panel-body,
.news-panel .panel-body {
  color: #80ff80;
  font-size: 10px;
  background: #000800;
  line-height: 1.35;
}

.panel-head .panel-tools {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.panel-head .tool-btn {
  min-width: 0;
  min-height: 14px;
  height: 14px;
  padding: 0 4px;
  font-size: 9px;
  line-height: 1;
  color: #000;
  opacity: 0.85;
}

.panel-head .tool-btn:disabled {
  opacity: 0.55;
}

/* Modals */
.modal-layer {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-box {
  width: min(420px, 92%);
  background: #e8e8ff;
  color: #000;
  border: 2px solid;
  border-color: #fff #404040 #404040 #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
}

.modal-box .title-bar {
  background: linear-gradient(90deg, #000080, #1084d0);
}

.modal-box .window-body {
  margin: 8px;
  color: #000;
}

.modal-box h2 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #000080;
}

.summary-row {
  display: grid;
  grid-template-columns: 70px 50px 1fr;
  gap: 6px;
  margin: 4px 0;
  font-size: 12px;
}

.summary-row .up {
  color: #008000;
  font-weight: 700;
}

.summary-row .down {
  color: #aa0000;
  font-weight: 700;
}

.stars {
  letter-spacing: 2px;
  color: #c0a000;
  margin: 8px 0;
}

/* ========== Main menu (title) + FCityInfo More info… ========== */
/* Shot 3 ~458×518 — Win98 window on desktop */

.title-desktop {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  box-sizing: border-box;
}

.title-window {
  width: min(480px, calc(100vw - 32px));
  max-width: 480px;
}

.title-screen {
  background: linear-gradient(180deg, #2a1458 0%, #1a0c38 45%, #0c1830 100%);
  padding: 10px 12px 12px;
  color: #f0e8ff;
  position: relative;
  overflow: hidden;
}

.title-screen .logo {
  text-align: center;
  margin-bottom: 6px;
}

.title-screen .logo-img,
.title-screen .logo-banner {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto 2px;
  image-rendering: auto;
}

.title-screen .logo-fallback {
  display: none;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 8px #00aaff;
  letter-spacing: -0.5px;
}

.title-screen .logo-fallback span {
  color: #4af;
}

.title-screen .logo-fallback small {
  display: block;
  color: #ff4040;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.title-screen .name-row {
  margin: 8px 0 10px;
  text-align: center;
  font-size: 12px;
  color: #e8d8ff;
}

.title-screen .name-row label {
  margin-right: 6px;
}

.title-screen input[type='text'] {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  box-shadow: inset 1px 1px 0 #808080;
  padding: 3px 6px;
  width: 160px;
  font-size: 12px;
}

.title-body {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0;
  background: #0a0820;
  border: 2px solid;
  border-color: #000 #c0c0c0 #c0c0c0 #000;
  box-shadow: inset 1px 1px 0 #404060;
  min-height: 220px;
}

.city-list {
  border-right: 1px solid #404060;
  background: #120e28;
  padding: 4px 0;
  max-height: 280px;
  overflow: auto;
}

.city-list-head {
  font-size: 10px;
  font-weight: 700;
  color: #a090c0;
  padding: 2px 8px 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.city-list .city-pick {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  margin: 0;
  min-height: 20px;
  background: transparent;
  color: #ffb040;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 2px 6px;
  font-size: 12px;
  cursor: pointer;
}

.city-list .city-pick:hover:not(:disabled) {
  background: #203060;
}

.city-list .city-pick.selected {
  background: #2050d0;
  color: #fff;
}

.city-list .city-pick.locked,
.city-list .city-pick:disabled {
  color: #806040;
  cursor: default;
}

.city-list .lock {
  width: 14px;
  margin-right: 4px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.city-list .lock img {
  display: block;
  width: 12px;
  height: 16px;
}

.city-list .lock-ok::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
}

.city-info {
  padding: 8px 10px;
  background: #100c28;
}

.city-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.city-info h3 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.city-info .training-tag {
  font-size: 10px;
  font-weight: 600;
  color: #80ff80;
  border: 1px solid #408040;
  padding: 0 4px;
  border-radius: 2px;
  vertical-align: middle;
}

.city-info .btn-more-info {
  min-height: 22px;
  padding: 0 10px;
  font-size: 11px;
  color: #000;
  flex-shrink: 0;
}

.city-info .city-blurb {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.4;
  color: #d8c8f0;
}

.city-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 6px;
  font-size: 11px;
  color: #ffe080;
}

.city-facts span {
  white-space: nowrap;
}

.city-unlock {
  margin: 4px 0 0;
  font-size: 10px;
  color: #ff8080;
  line-height: 1.35;
}

.city-best {
  margin: 6px 0 0;
  font-size: 11px;
  color: #a0e0ff;
}

.title-actions {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.title-actions .advice-check {
  font-size: 11px;
  color: #e0d0ff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.title-btn-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

.title-actions .start-btn {
  min-width: 88px;
  min-height: 28px;
  font-weight: 700;
}

/* —— More info modal (FCityInfo) —— */
.city-info-layer {
  z-index: 50;
}

.city-info-modal {
  width: min(420px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.city-info-modal .title-bar-text {
  font-weight: 700;
}

.city-info-body {
  overflow: auto;
  max-height: calc(90vh - 32px);
  background: #c0c0c0;
  color: #000;
  padding: 10px 12px 12px;
}

.city-info-desc {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.4;
  color: #000;
}

.city-info-unlock {
  margin: 0 0 8px;
  font-size: 11px;
  color: #800000;
}

.moreinfo-panel {
  background: #fff;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  box-shadow: inset 1px 1px 0 #000;
  padding: 4px 0 6px;
  margin: 0 0 10px;
  max-height: 320px;
  overflow: auto;
}

.moreinfo-group {
  font-size: 11px;
  font-weight: 700;
  color: #000080;
  padding: 6px 10px 2px;
  background: #d4d0c8;
  border-bottom: 1px solid #808080;
  margin-top: 2px;
}

.moreinfo-group:first-child {
  margin-top: 0;
}

.moreinfo-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 11px;
  padding: 2px 10px;
  line-height: 1.35;
}

.moreinfo-row:nth-child(even) {
  background: #f4f4f0;
}

.moreinfo-label {
  color: #000;
  flex: 1 1 auto;
}

.moreinfo-value {
  color: #000080;
  font-weight: 600;
  text-align: right;
  flex: 0 0 auto;
  min-width: 5.5em;
}

.moreinfo-full-block {
  max-height: 200px;
}

.city-info-best {
  margin: 0 0 8px;
  font-size: 11px;
}

.city-info-footnote {
  margin: 0 0 10px;
  font-size: 10px;
  line-height: 1.35;
  color: #404040;
  font-style: italic;
}

.city-info-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.city-info-actions .btn-linkish {
  margin-right: auto;
  font-size: 11px;
  min-height: 22px;
}

.city-stats {
  margin-top: 8px;
  font-size: 11px;
}

.city-stats-group {
  margin-top: 6px;
  font-weight: 700;
  color: #000080;
}

.unreg-badge {
  position: absolute;
  right: 8px;
  bottom: 100px;
  color: #ff2020;
  font-weight: 900;
  font-size: 12px;
  opacity: 0.85;
  pointer-events: none;
}

.muted {
  color: #608060;
}

.stub {
  background: rgba(40, 40, 0, 0.85);
  border: 1px solid #888800;
  color: #eeeeaa;
  padding: 3px 6px;
  margin-bottom: 6px;
  font-size: 10px;
}

/* 98.css button reset inside green UI */
.app-frame button {
  font-family: Tahoma, sans-serif;
}
