/* A common top-right action, paired with each page's own back link. */
.public-share-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 6px;
  margin-inline-start: auto;
}
.public-share-actions--split {
  justify-content: space-between;
  margin-inline-start: 0;
  width: 100%;
}
.public-share-actions--split > .public-share-button { margin-inline-start: auto; }
.public-share-actions--on-dark { --public-share-ink: #abdff6; }
.public-share-button {
  appearance: none;
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 50px;
  min-height: 44px;
  padding: 0 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--public-share-ink, #195576);
  font: 650 12px/1 "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: none;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.public-share-button[hidden] { display: none !important; }
.public-share-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.public-share-button:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.public-share-button:focus-visible { outline: 2px solid #287ead; outline-offset: 1px; }
.public-share-home { gap: 8px; }
.public-share-home > .brand { flex: 1 1 auto; }
@media (max-width: 410px) {
  .public-share-home > .brand { gap: 8px; padding-inline: 9px; }
  .public-share-home .brand-logo { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px; }
  .public-share-home .brand-logo img { width: 27px; height: 27px; }
  .public-share-home .brand-name { font-size: 16px; letter-spacing: .1px; white-space: nowrap; }
  .public-share-home .brand-sub { font-size: 7.5px; letter-spacing: .65px; white-space: nowrap; }
  .public-share-home .brand-note { padding-inline: 7px; }
}

.public-share-sheet {
  box-sizing: border-box;
  position: fixed;
  z-index: 1500;
  inset: 0;
  width: min(360px, calc(100% - 32px));
  max-width: none;
  height: fit-content;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 20px;
  border: 1px solid #d7e9f2;
  border-radius: 20px;
  background: #fff;
  color: #173247;
  box-shadow: 0 14px 44px rgba(17, 62, 88, .22);
  font: 400 14px/1.5 "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
}
.public-share-sheet:not([open]) { display: none; }
.public-share-sheet::backdrop { background: rgba(15, 42, 59, .37); }
.public-share-sheet-title { margin: 0 0 10px; font-family: inherit; font-size: 19px; font-weight: 750; line-height: 1.35; }
.public-share-sheet-label { display: block; margin-bottom: 6px; color: #36596d; font-size: 13px; }
.public-share-sheet-input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 9px;
  border: 1px solid #c3deed;
  border-radius: 8px;
  background: #f5fafd;
  color: #173247;
  font: 400 16px/1.35 sans-serif;
}
.public-share-sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.public-share-sheet-actions button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #a8cedf;
  border-radius: 9px;
  background: #fff;
  color: #195576;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.public-share-sheet-actions .public-share-sheet-copy { border-color: transparent; background: #19648d; color: #fff; }
.public-share-sheet-status { margin: 8px 0 0; color: #28566e; }
.public-share-sheet-status:empty { display: none; }
.public-share-status {
  position: fixed;
  z-index: 1500;
  inset: auto 16px calc(84px + env(safe-area-inset-bottom, 0px));
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: auto;
  padding: 8px 14px;
  border-radius: 12px;
  background: #174a66;
  color: #fff;
  font: 650 13px/1.4 "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: center;
  pointer-events: none;
}
.public-share-status:empty { display: none; }
