/* ============================================================
   INK BADGES — one mark for "something new" across the stage.
   The round red pips (GALLERY tally, the phone on the desk, the
   DIARY button) read as app UI on a paper game; this file turns
   each into the same red ink tag the sheets already use (the
   mixer's ×N tags, the OUT stamp): a small rectangle, a hair of
   tilt, typewriter digits. The desktop icons' paper tags stay —
   only CopRA's moves down to sit where Blackletter's does.
   Loaded after every stylesheet it overrides.
   ============================================================ */

/* the GALLERY tally */
.sys-tab-badge {
  top: -8px;
  right: -8px;
  min-width: 17px;
  height: 15px;
  padding: 0 4px;
  border-radius: 2px;
  border: 1px solid #5a0000;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  font-family: 'Courier New', Courier, monospace;
  font-size: 9px;
  line-height: 13px;
  transform: rotate(-6deg);
}
@keyframes sysBadgeBump {
  0%   { transform: rotate(-6deg) scale(1); }
  35%  { transform: rotate(-6deg) scale(1.6); }
  70%  { transform: rotate(-6deg) scale(0.9); }
  100% { transform: rotate(-6deg) scale(1); }
}

/* the phone on the desk */
.floating-phone-badge {
  top: -6px;
  right: -7px;
  min-width: 19px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid #5a0000;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
  font-size: 10px;
  padding: 0 4px;
  transform: rotate(-6deg);
}

/* the DIARY button: a NEW tag instead of a pulsing dot */
.panel-nav-btn[data-tour-keep="diary"].st-has-new::after {
  content: 'NEW';
  top: -7px;
  right: -9px;
  width: auto;
  height: auto;
  border-radius: 2px;
  background: #8B0000;
  color: #EBE6D8;
  border: 1px solid #5a0000;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  font-family: 'Courier New', Courier, monospace;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1;
  padding: 2px 4px 2px 5px;
  transform: rotate(-6deg);
  animation: none;
}

/* the PC: CopRA's count sits low like Blackletter's — inside the
   icon's corner (the icon crops), but at the bottom */
.computer-icon-copra .computer-icon-badge {
  top: auto;
  bottom: 3px;
  right: 3px;
}
