.page-share {
  --share-fill: #f3eee7;
  --share-text: #392b24;
  --share-line: #b8a89b;
  --share-paper: #fffefa;
  --share-select: #eee5db;
  --share-radius: 8px;
  display: grid;
  justify-items: start;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 15px;
  color: var(--share-text);
  font-size: .875rem;
  line-height: 1.45;
}
.page-share--gold {
  --share-fill: #332b19;
  --share-text: #ffe08a;
  --share-line: #8c7440;
  --share-paper: #17190f;
  --share-select: #3d331f;
  --share-radius: 7px;
}
.page-share--blue {
  --share-fill: #142b47;
  --share-text: #c6e5ff;
  --share-line: #52779d;
  --share-paper: #101922;
  --share-select: #223952;
  --share-radius: 3px;
}
.page-share--rose {
  --share-fill: #f7e2e7;
  --share-text: #592b43;
  --share-line: #93636f;
  --share-paper: #fff9f5;
  --share-select: #f4dedf;
  --share-radius: 10px;
}
.page-share [hidden] { display: none !important; }
.page-share__actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}
.page-share__details { width: 7.25rem; max-width: 100%; }
.page-share .page-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--share-line);
  border-radius: var(--share-radius);
  background: var(--share-paper);
  color: var(--share-text);
  font: inherit;
  font-weight: 730;
  white-space: nowrap;
  cursor: pointer;
}
.page-share .page-share__button--main { width: 100%; background: var(--share-fill); list-style: none; }
.page-share__button--main::-webkit-details-marker { display: none; }
.page-share__button--main::marker { content: ''; }
.page-share .page-share__button:hover,
.page-share .page-share__details[open] .page-share__button--main { background: var(--share-select); }
.page-share__copy-icon {
  width: 13px;
  height: 13px;
  position: relative;
}
.page-share__copy-icon::before,
.page-share__copy-icon::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 10px;
  border: 1.25px solid currentColor;
  border-radius: 2px;
}
.page-share__copy-icon::before { top: 0; left: 0; }
.page-share__copy-icon::after { bottom: 0; right: 0; background: var(--share-paper); }
.page-share .page-share__menu {
  width: 100%;
  list-style: none;
  margin: 6px 0 0;
  padding: 4px;
  border: 1px solid var(--share-line);
  border-radius: var(--share-radius);
  background: var(--share-paper);
  box-shadow: 0 5px 18px #0003;
}
.page-share .page-share__menu a,
.page-share .page-share__menu button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  padding: 7px 9px;
  margin: 0;
  background: transparent;
  color: var(--share-text);
  font: inherit;
  font-weight: 650;
  border: 0;
  border-radius: calc(var(--share-radius) - 2px);
  text-decoration: none;
  cursor: pointer;
}
.page-share .page-share__menu a:hover,
.page-share .page-share__menu button:hover { background: var(--share-select); }
.page-share__status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.page-share__status { font-weight: 650; }
.page-share__address { display: grid; width: 100%; gap: 4px; }
.page-share .page-share__address input {
  width: 100%;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--share-line);
  border-radius: var(--share-radius);
  background: var(--share-paper);
  color: var(--share-text);
  font: inherit;
}
