/* A quiet route to page-linked discussion, clear of existing mobile controls. */
.community-shortcut {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  box-sizing: border-box;
  border: 1px solid #d59d76;
  border-radius: 50%;
  background: #fffaf4;
  color: #984515;
  box-shadow: 0 3px 12px #2526291c;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.community-shortcut:hover,
.community-shortcut:focus-visible {
  background: #fff0e0;
  border-color: #ae501b;
  color: #873b10;
  text-decoration: none;
}
.community-shortcut:focus-visible { outline: 3px solid #252629; outline-offset: 3px; }
.community-shortcut > svg { display: block; pointer-events: none; }
.community-shortcut-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  width: max-content;
  max-width: min(220px, calc(100vw - 110px));
  box-sizing: border-box;
  padding: 8px 11px;
  border: 1px solid #d6c0ac;
  border-radius: 7px;
  background: #fffaf4;
  color: #37312b;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
}
.community-shortcut:hover .community-shortcut-tooltip,
.community-shortcut:focus-visible .community-shortcut-tooltip { opacity: 1; }
.community-linked-page {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #ded1c1;
  border-radius: 8px;
  background: #fff8ef;
}
.community-linked-page > .eyebrow { margin: 0; }
.community-linked-page > a { overflow-wrap: anywhere; font-weight: 650; }
.community-linked-page > label { display: flex; align-items: center; gap: 9px; min-height: 44px; margin: 0; font-size: 13px; line-height: 1.45; }
.community-linked-page input[type="checkbox"] { width: 18px; height: 18px; min-height: 18px; margin: 0; flex: 0 0 18px; }
body:has(.v3-save-bar) > .community-shortcut { bottom: calc(110px + env(safe-area-inset-bottom)); }
body:has(dialog[open]) > .community-shortcut { visibility: hidden; }
@media (max-width: 900px) {
  .community-shortcut { right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  body.is-owner > .community-shortcut { bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.is-owner:has(.v3-save-bar) > .community-shortcut { bottom: calc(176px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .community-shortcut { transition: none; } }
@media (forced-colors: active) {
  .community-shortcut { color: LinkText; background: Canvas; border: 2px solid LinkText; box-shadow: none; }
  .community-shortcut:focus-visible { outline-color: Highlight; }
  .community-shortcut > svg path { fill: Canvas; }
}
@media print { .community-shortcut { display: none; } }
