/* Shared chrome: dark-mode toggle button + language toggle button styling.
   Dark-mode COLOR OVERRIDES live in each page's own <style> block (each page
   has slightly different --accent etc.), this file only styles the buttons. */
.chrome-toggle-btn {
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.4;
}
.chrome-toggle-btn:hover { color: var(--accent); border-color: var(--accent); }
.chrome-toggle-group { display: flex; align-items: center; gap: 8px; margin-left: 8px; margin-right: 78px; }

/* Corner "Buy Me a Coffee" support ribbon, injected site-wide by common.js.
   Classic diagonal-ribbon technique: an oversized rotated strip inside a small
   fixed corner box that clips the overflow, so only the diagonal band shows. */
.pogo-support-ribbon {
  position: fixed;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  overflow: hidden;
  z-index: 9999;
  pointer-events: none;
}
.pogo-support-ribbon a {
  position: absolute;
  top: 22px;
  right: -46px;
  width: 190px;
  padding: 6px 0;
  background: #FFDD00;
  color: #2a2440;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  border-top: 1px solid #e8c700;
  border-bottom: 1px solid #e8c700;
  pointer-events: auto;
}
.pogo-support-ribbon a:hover { background: #ffe640; }
@media (max-width: 480px) {
  .pogo-support-ribbon { width: 100px; height: 100px; }
  .pogo-support-ribbon a { top: 16px; right: -42px; width: 150px; font-size: 10px; padding: 5px 0; }
  .chrome-toggle-group { margin-right: 56px; }
}
@media print {
  .pogo-support-ribbon { display: none !important; }
}

/* Small "BETA" pill next to the logo, injected site-wide by common.js. */
.pogo-beta-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #FFDD00;
  color: #2a2440;
  border-radius: 999px;
  vertical-align: middle;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .pogo-beta-badge { font-size: 9.5px; padding: 1px 6px; }
}
@media print {
  .pogo-beta-badge { display: none !important; }
}

/* Status text shown after an Import (progress-restore) action - shared across pages
   that offer an Export/Import pair for their localStorage progress. */
.io-status { font-size: 13px; margin-top: 6px; display: block; }
.io-status.success { color: #2f8f4e; }
.io-status.error { color: #b3441f; }
html[data-theme="dark"] .io-status.success { color: #6fcf8f; }
html[data-theme="dark"] .io-status.error { color: #ff9a6b; }
