/*
 * Real project fonts (files present in this folder):
 *   PPNeueMontreal-Book.otf     -> weight 400 ("Book" is PP Neue Montreal's regular text weight)
 *   PPNeueMontreal-Medium.otf   -> weight 500
 *   Silka Mono.ttf              -> weight 400
 */

@font-face {
  font-family: "PP Neue Montreal";
  src: url(https://code-components.website-files.com/6ac08d99e205282d99d7a667%2Fmodule%2Fcd21cf351f4da50cf75d-PPNeueMontreal-Book.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url(https://code-components.website-files.com/6ac08d99e205282d99d7a667%2Fmodule%2F0f34f4714f1b26e0dedc-PPNeueMontreal-Medium.otf) format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Silka Mono";
  src: url("https://code-components.website-files.com/6ac08d99e205282d99d7a667%2Fmodule%2Fef34305747d8d63cb745-Silka%20Mono.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ShareBar — shadow DOM component */
.nsb-bar,
.nsb-bar *,
.nsb-bar *::before,
.nsb-bar *::after {
  box-sizing: border-box;
}

.nsb-bar {
  display: inline-flex;
  align-items: center;
  color: inherit;
}

.nsb-bar__btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Solid black circle with white icon */
.nsb-bar__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.22s ease, background 0.22s ease;
  flex-shrink: 0;
}

.nsb-bar__btn:hover {
  background: #333;
  transform: scale(1.08);
}

.nsb-bar__btn:active {
  transform: scale(0.93);
  transition-duration: 0.1s;
}

.nsb-bar__btn svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

/* Copied state */
.nsb-bar__btn.is-copied {
  background: #111;
}

/* "Copied!" tooltip above button */
.nsb-bar__btn.is-copied::after {
  content: 'Copied!';
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  font-family: "Silka Mono", "Space Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 3px;
  pointer-events: none;
  animation: nsb-pop 0.15s ease;
}

@keyframes nsb-pop {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

