/* The bottom-right helper: a staff photo that opens 「需要協助？儘管問問。」, then LINE, a form or an email. */
.support { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom)); z-index: 25; }
.support-launcher {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f1f1f4;
  box-shadow: 0 4px 14px rgb(0 0 0 / 18%);
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease;
}
.support-launcher img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.support-launcher::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #34c759; }
.support-launcher:hover, .support-launcher:focus-visible { box-shadow: 0 6px 20px rgb(0 0 0 / 24%); transform: translateY(-1px); }
.support-launcher:focus-visible { outline: 3px solid #222; outline-offset: 3px; }
.support-launcher-label {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  padding: 7px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font: 500 13px/1.4 sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
}
.support-launcher:hover .support-launcher-label, .support-launcher:focus-visible .support-launcher-label { opacity: 1; visibility: visible; }
.support-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  display: grid;
  gap: 14px;
  overflow: auto;
  width: min(360px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 140px));
  padding: 24px 22px 22px;
  border-radius: 1.25rem;
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 18px 50px rgb(0 0 0 / 22%);
  font-family: inherit;
}
.support-panel[hidden] { display: none; }
.support-portrait { justify-self: center; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.support-panel h2 { margin: 0; font-size: 1.35rem; line-height: 1.3; text-align: center; }
.support-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f1f4; color: #1d1d1f; cursor: pointer; }
.support-topic { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid #ececf0; }
.support-topic h3 { margin: 0; font-size: 1rem; }
.support-topic p { margin: 0; color: #6e6e73; font-size: .9rem; line-height: 1.55; }
.support-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.support-action { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: .75rem; background: #0071e3; color: #fff; font-weight: 600; text-decoration: none; }
.support-action--line { background: #06c755; }
.support-action--mail { border: 1px solid #d2d2d7; background: #fff; color: #1d1d1f; }
.support-action:hover, .support-action:focus-visible { color: #fff; filter: brightness(.94); }
.support-action--mail:hover, .support-action--mail:focus-visible { color: #1d1d1f; }
@media (max-width: 820px) {
  .support { right: max(16px, env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom)); }
  .detail-body .support { bottom: calc(112px + env(safe-area-inset-bottom)); }
  /* Phones: the panel is a sheet from the bottom of the screen. */
  .support-panel { position: fixed; right: 0; bottom: 0; left: 0; width: auto; max-height: 85vh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); border-radius: 1.25rem 1.25rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .support-launcher { transition: none; }
}

/* libenest.com's host and creators pages invite people to its LINE account in the text as well. */
.platform-line-invite {
  margin: 0;
  color: var(--muted, #717171);
  font-size: 14px;
  line-height: 1.7;
}

.platform-line-invite a {
  color: #06a648;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.platform-line-invite a:hover,
.platform-line-invite a:focus-visible {
  color: #05873b;
}
