/* Requested final placement and readability adjustments. */
@media (min-width: 821px) {
  .receiver-window { top: 0; }
  /* Archive opens centered in the usable Frequency desktop instead of being offset/partly hidden.
     No transform is used, so the original drag behaviour still works after opening. */
  .archive-window {
    width: min(820px, calc(100% - 48px)) !important;
    height: min(710px, calc(100% - 48px)) !important;
    left: max(24px, calc((100% - 820px) / 2)) !important;
    top: max(24px, calc((100% - 710px) / 2)) !important;
  }

  .frequency-chat { top: 122px; }

  .receiver-window .window-bar { font-size: 8px; }
  .receiver-heading span { font-size: 8px; }
  .resume-strip { font-size: 8px; }
  .signal-display__top { font-size: 8px; }
  .signal-display > p { font-size: 8px; }
  .time-row { font-size: 8px; }
  .transport span { font-size: 7px; }
  .channel-readout small { font-size: 7px; }
  .channel-readout strong { font-size: 9px; }
  .receiver-actions button { font-size: 7px; }
  .youtube-fallback { font-size: 7px; }

  .time-machine {
    width: 50px;
    height: 62px;
    overflow: hidden;
    background-color: transparent;
    background-image: url('/bob42jh-fist.png');
    background-repeat: no-repeat;
    background-position: center -8px;
    background-size: 88px 88px;
    mix-blend-mode: multiply;
    opacity: .78;
    cursor: pointer;
    transition: opacity .16s ease, transform .16s ease;
  }

  .time-machine svg { display: none; }
  .time-machine:hover { opacity: 1; transform: translateY(-2px); }
}

.install-app-control {
  position: fixed;
  z-index: 89;
  right: 104px;
  bottom: 4px;
  min-height: 26px;
  padding: 0 7px;
  border: 1px solid transparent;
  color: var(--ink);
  background: transparent;
  font: 700 7px var(--font-mono);
  letter-spacing: .05em;
  cursor: pointer;
}

.install-app-control:hover,
.install-app-control:focus-visible {
  border-color: var(--line);
  background: rgba(247, 242, 231, .76);
  outline: none;
}

.install-app-control[hidden] { display: none; }

.install-app-hint {
  position: fixed;
  z-index: 121;
  right: 18px;
  bottom: 50px;
  max-width: 330px;
  padding: 11px 14px;
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: 5px 5px rgba(0, 0, 0, .16);
  font: 700 8px/1.45 var(--font-mono);
  letter-spacing: .05em;
}

.install-app-hint[hidden] { display: none; }

@media (max-width: 820px) {
  .install-app-control { right: 92px; bottom: 5px; font-size: 6px; }
  .install-app-hint { right: 10px; bottom: 82px; left: 10px; max-width: none; text-align: center; }
}
