.share-widget-root {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 76px);
  z-index: 79;
  font-family: inherit;
}
.share-fab {
  border-color: rgba(255, 195, 74, 0.58);
  background: linear-gradient(145deg, rgba(76, 53, 6, 0.96), rgba(22, 15, 3, 0.96));
}
.share-panel {
  grid-template-rows: auto auto auto auto;
  width: min(340px, calc(100vw - 28px));
  max-height: min(520px, calc(100vh - 120px));
  border-color: rgba(255, 195, 74, 0.32);
}
.share-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 195, 74, 0.18);
  background: rgba(43, 32, 10, 0.86);
}
.share-panel-copy,
.share-feedback {
  margin: 0;
  padding: 12px 16px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.share-feedback {
  min-height: 34px;
  padding-bottom: 12px;
  color: var(--accent);
}
.share-platform-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px 0;
}
.share-platform-btn {
  border: 1px solid rgba(255, 195, 74, 0.28);
  border-radius: 14px;
  background: rgba(255, 195, 74, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  padding: 9px 10px;
  text-align: center;
}
.share-widget-root {
  z-index: 89;
}
[data-theme="light"] .share-fab {
  background: linear-gradient(145deg, #fff8e3, #f6d77b);
  color: #3a2a08;
  border-color: rgba(185, 128, 24, 0.32);
  box-shadow: 0 18px 42px rgba(120, 84, 20, 0.18);
}
[data-theme="light"] .share-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(185, 128, 24, 0.24);
  box-shadow: 0 24px 60px rgba(120, 84, 20, 0.18);
}
[data-theme="light"] .share-panel-head {
  background: rgba(255, 248, 226, 0.94);
}
@media (max-width: 640px) {
  .share-widget-root {
    right: 14px;
    bottom: 86px;
  }
}
