/* The iPhone app on every page of the paused website (docs/WEBSITE.md, "Paused"): the bar on top of a public board, the
   app icon with its blue beta link (as on the landing page), and the small gem field site.js draws where a page has one. Named so ad
   blockers leave it alone (it was app-ad.css, which some hid). Colours named its own: board pages don't load site.css. */
:root {
  --bar-muted: #979797;
  --bar-line: rgb(255 255 255 / 0.12);
}

/* ---------- the gem field (site.js draws it): small pixel gems, thinning out downwards ---------- */
.gems { position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none; z-index: 0; }
.gems canvas {
  width: 100%; height: 100%; image-rendering: pixelated;
  -webkit-mask-image: linear-gradient(#000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 45%, transparent 100%);
}

/* The app's icon and a link to its beta (the App Store once it's out, site.js). */
.beta { display: flex; align-items: center; gap: 12px; flex: none; color: #3b8cff; font-size: 15px; line-height: 1.3; text-decoration: none; }
.beta img { width: 40px; height: 40px; border-radius: 9px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08); }
.beta:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the bar on top of a public board ---------- */
.trove-bar {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--bar-line); background: #000;
}
.trove-bar-inner {
  /* As wide as the board under it (board.css .board), so Trove lines up with its title and the beta link with the
     grid's right edge. */
  position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; gap: 22px;
}
.trove-mark { flex: none; font-size: 36px; font-weight: 700; letter-spacing: -0.8px; color: #fff; text-decoration: none; text-shadow: 0 0 16px #000; }
.trove-bar-text { flex: 1; min-width: 0; line-height: 1.2; }
.trove-bar-text strong { display: block; font-size: 19px; line-height: 1.25; }
.trove-bar-text span { color: var(--bar-muted); font-size: 15px; }
.trove-bar .beta img { width: 44px; height: 44px; border-radius: 10px; }
@media (max-width: 760px) { .trove-bar-inner { padding-left: 16px; padding-right: 16px; } } /* the board's sides there */
@media (max-width: 640px) {
  .trove-bar-inner { flex-wrap: wrap; gap: 12px 16px; padding: 18px 16px 20px; } /* the board's 16 px too */
  .trove-mark { font-size: 30px; }
  .trove-bar-text { flex-basis: 100%; } /* on its own line, under Trove */
  .trove-bar-text br { display: none; } /* the line runs on, not broken after its first sentence */
}
