.cc-post-share {
  box-sizing: border-box;
  max-width: 800px;
  margin: 2.5rem auto 1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-left: 4px solid #d92332;
  border-radius: 10px;
  background: #171a21;
  color: #f5f5f5;
}

.cc-post-share summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.cc-post-share summary:focus-visible,
.cc-post-share button:focus-visible,
.cc-post-share input:focus-visible {
  outline: 3px solid #65d9ff;
  outline-offset: 3px;
}

.cc-post-share-panel { margin-top: 1rem; }
.cc-post-share label { display: block; margin-bottom: .4rem; font-size: .88rem; }
.cc-post-share .cc-post-share-url {
  box-sizing: border-box;
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid #727987;
  border-radius: 6px;
  background: #fff;
  color: #14171e !important;
  font: inherit;
}

.cc-post-share-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .85rem; }
.cc-post-share button {
  padding: .65rem 1rem;
  border: 1px solid #e34752;
  border-radius: 6px;
  background: #ba1e2d;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.cc-post-share button:hover { background: #d92332; }
.cc-post-share-native { background: transparent !important; }
.cc-post-share-native:hover { background: rgba(255,255,255,.1) !important; }
.cc-post-share-status { display: block; min-height: 1.5em; margin-top: .65rem; font-size: .9rem; }

@media (max-width: 600px) {
  .cc-post-share { max-width: calc(100% - 2rem); margin: 2rem auto 1rem; padding: 1rem; }
  .cc-post-share-actions button { flex: 1 1 100%; }
}
