/* Novera Reader 0.3.231 — sharing modal, Fictioneer 5.35.3.
   Scoped to #sharing-modal only. Native links and copy behavior untouched. */
#sharing-modal .modal__wrapper {
  box-sizing: border-box;
  width: min(92vw, 410px);
  max-width: 410px;
  padding: 24px;
  border: 1px solid #34465e;
  border-radius: 16px;
  background: #192434;
  color: #e8eef8;
  box-shadow: 0 22px 70px rgba(0,0,0,.48);
  overflow: visible;
}
#sharing-modal .modal__header {
  margin: 0 32px 18px 0;
  color: #eef4ff;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .015em;
  text-transform: none;
}
#sharing-modal .close {
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #aebed3;
  background: transparent;
  transition: background .15s ease, color .15s ease;
}
#sharing-modal .close:hover {
  color: #fff;
  background: #293b52;
}
#sharing-modal .modal__row.media-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 20px;
}
#sharing-modal .media-buttons__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 1px solid #344b68;
  border-radius: 12px;
  background: #23344a;
  color: #d9e7fb;
  font-size: 20px;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
#sharing-modal .media-buttons__item:hover {
  background: #2c4666;
  border-color: #428fff;
  color: #fff;
  transform: translateY(-1px);
}
#sharing-modal .modal__row:not(.media-buttons) {
  margin: 0;
}
#sharing-modal input[name="permalink"] {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #39516f;
  border-radius: 10px;
  background: #101b29;
  color: #c5d7ef;
  font-size: 13px;
  line-height: 1.4;
  cursor: copy;
  text-overflow: ellipsis;
}
#sharing-modal :is(button,a,input):focus-visible {
  outline: 2px solid #4b9cff;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  #sharing-modal .modal__wrapper {
    width: min(92vw, 380px);
    padding: 20px;
    border-radius: 15px;
  }
  #sharing-modal .modal__row.media-buttons { gap: 8px; }
  #sharing-modal .media-buttons__item {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #sharing-modal .media-buttons__item,
  #sharing-modal .close { transition: none; }
  #sharing-modal .media-buttons__item:hover { transform: none; }
}
