.pc-share-strip {
  margin: 1.25rem 0 1rem;
  border: 1px solid oklch(0.90 0.01 250);
  border-radius: 14px;
  background: oklch(0.99 0.01 250);
  padding: 1rem;
}

.pc-share-strip__head {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
}

.pc-share-strip__head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: oklch(0.20 0.03 250);
}

.pc-share-strip__note {
  margin: 0;
  font-size: 0.85rem;
  color: oklch(0.45 0.02 250);
}

.pc-share-strip__actions {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-share-strip__btn {
  position: relative;
  min-height: 44px;
  border: 1px solid oklch(0.85 0.02 250);
  border-radius: 10px;
  background: #fff;
  color: oklch(0.20 0.03 250);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.pc-share-strip__btn[disabled],
.pc-share-strip__btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pc-share-strip__btn:focus-visible {
  outline: 2px solid oklch(0.82 0.16 65);
  outline-offset: 2px;
}

.pc-share-strip__tooltip {
  position: absolute;
  top: -32px;
  right: 0.4rem;
  background: oklch(0.12 0.02 250);
  color: #fff;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  font-size: 0.76rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .pc-share-strip__actions {
    grid-template-columns: 1fr;
  }
}

.pc-results-actions {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid oklch(0.9 0.01 250);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pc-results-actions__btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid oklch(0.84 0.02 250);
  background: #fff;
  color: oklch(0.2 0.03 250);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.pc-results-actions__btn:focus-visible {
  outline: 2px solid oklch(0.82 0.16 65);
  outline-offset: 2px;
}

.pc-share-modal[hidden] {
  display: none;
}

.pc-share-modal {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: grid;
  place-items: center;
  padding: 16px;
}

.pc-share-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.45);
}

.pc-share-modal__panel {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  border-radius: 14px;
  border: 1px solid oklch(0.84 0.02 250);
  background: #fff;
  color: oklch(0.2 0.03 250);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 20px 44px -18px rgb(0 0 0 / 0.55);
}

.pc-share-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.pc-share-modal__header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.pc-share-modal__close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid oklch(0.82 0.02 250);
  background: #fff;
  color: oklch(0.2 0.03 250);
  font-size: 1.45rem;
  cursor: pointer;
}

.pc-share-modal__copy {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pc-share-modal__actions {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-share-modal__btn {
  position: relative;
  min-height: 44px;
  border: 1px solid oklch(0.84 0.02 250);
  border-radius: 10px;
  background: #fff;
  color: oklch(0.2 0.03 250);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.pc-share-modal__tooltip {
  position: absolute;
  top: -32px;
  right: 0.4rem;
  background: oklch(0.12 0.02 250);
  color: #fff;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  font-size: 0.76rem;
  line-height: 1;
}

.pc-share-modal__close:focus-visible,
.pc-share-modal__btn:focus-visible {
  outline: 2px solid oklch(0.82 0.16 65);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .pc-share-modal__actions {
    grid-template-columns: 1fr;
  }
}
