/* SHK_BOOKMARK_V1_20260815 */

.shk-bookmark-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(8, 43, 73, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  color: #102d38;
  box-shadow: 0 8px 28px rgba(8, 43, 73, 0.18);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shk-bookmark-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(8, 43, 73, 0.23);
}

.shk-bookmark-button:focus-visible {
  outline: 3px solid rgba(8, 118, 138, 0.28);
  outline-offset: 3px;
}

.shk-bookmark-star {
  font-size: 20px;
  line-height: 1;
}

.shk-bookmark-overlay[hidden] {
  display: none !important;
}

.shk-bookmark-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 24, 34, 0.52);
}

.shk-bookmark-dialog {
  position: relative;
  width: min(100%, 430px);
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  color: #102d38;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.shk-bookmark-dialog h2 {
  margin: 0 34px 10px 0;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.shk-bookmark-dialog p {
  margin: 0 0 18px;
  line-height: 1.55;
}

.shk-bookmark-shortcut {
  margin: 18px 0;
  padding: 15px;
  border: 1px solid rgba(8, 118, 138, 0.18);
  border-radius: 12px;
  background: rgba(8, 118, 138, 0.06);
  text-align: center;
}

.shk-bookmark-shortcut kbd {
  display: inline-block;
  margin-top: 7px;
  padding: 6px 10px;
  border: 1px solid #b8c5ca;
  border-bottom-width: 3px;
  border-radius: 7px;
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.shk-bookmark-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shk-bookmark-copy {
  flex: 1 1 180px;
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: #08768a;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.shk-bookmark-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef3f5;
  color: #102d38;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.shk-bookmark-copy-status {
  min-height: 1.4em;
  margin: 10px 0 0 !important;
  color: #08768a;
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .shk-bookmark-button {
    right: 10px;
    bottom: 10px;
    min-width: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }

  .shk-bookmark-label {
    display: none;
  }

  .shk-bookmark-dialog {
    padding: 22px;
  }
}

/* SHK_BOOKMARK_V1_END_20260815 */

/* SHK_BOOKMARK_VISIBILITY_V2_20260815 */

.shk-bookmark-button {
  right: 20px;
  bottom: 20px;
  min-height: 54px;
  padding: 12px 20px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #08768a;
  color: #ffffff;
  box-shadow:
    0 8px 24px rgba(8, 43, 73, 0.30),
    0 0 0 4px rgba(8, 118, 138, 0.10);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
  animation: shkBookmarkArrival 700ms ease-out 500ms both;
}

.shk-bookmark-button:hover {
  background: #065f70;
  transform: translateY(-3px) scale(1.025);
  box-shadow:
    0 12px 32px rgba(8, 43, 73, 0.36),
    0 0 0 5px rgba(8, 118, 138, 0.12);
}

.shk-bookmark-star {
  color: #ffd54a;
  font-size: 25px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

@keyframes shkBookmarkArrival {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }

  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.035);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shk-bookmark-button {
    animation: none;
    transition: none;
  }
}

@media (max-width: 600px) {
  .shk-bookmark-button {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
  }

  .shk-bookmark-star {
    font-size: 27px;
  }
}

/* SHK_BOOKMARK_VISIBILITY_V2_END_20260815 */
