/* ACCL 방명록 버튼: 외부 폰트·이미지·라이브러리 없이 사용합니다. */
.accl-guestbook-button {
  --accl-button-width: 300px;
  --accl-button-height: 68px;
  --accl-button-font-size: 22px;
  --accl-button-icon-size: 56px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--accl-button-width);
  max-width: 100%;
  min-height: var(--accl-button-height);
  margin: 0;
  padding: 16px calc(var(--accl-button-icon-size) + 18px) 16px 24px;
  overflow: hidden;
  border: 0;
  border-radius: 999px 999px 999px 0;
  background: linear-gradient(105deg, #87d8f1 0%, #639cde 39%, #6364d1 72%, #5140b4 100%);
  color: #fff;
  font: inherit;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--accl-button-font-size);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.035em;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  box-shadow: 0 7px 20px rgb(54 39 130 / 20%), inset 0 1px 0 rgb(255 255 255 / 20%);
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.accl-guestbook-button__shine {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.accl-guestbook-button__label {
  display: block;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgb(37 49 120 / 30%);
}

.accl-guestbook-button__icon {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: var(--accl-button-icon-size);
  height: var(--accl-button-icon-size);
  border-radius: 50%;
  background: #fff;
  color: #685bc3;
  box-shadow: 0 1px 6px rgb(31 23 95 / 14%);
  transform: translateY(-50%);
  pointer-events: none;
}

.accl-guestbook-button__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

@media (hover: hover) {
  .accl-guestbook-button:not(:disabled):hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 10px 24px rgb(54 39 130 / 27%), inset 0 1px 0 rgb(255 255 255 / 24%);
  }
}

.accl-guestbook-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px #6256ca;
}

.accl-guestbook-button:not(:disabled):active {
  transform: translateY(1px);
  box-shadow: 0 3px 8px rgb(54 39 130 / 20%);
}

.accl-guestbook-button:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 359px) {
  .accl-guestbook-button {
    --accl-button-font-size: 20px;
    --accl-button-height: 62px;
    --accl-button-icon-size: 50px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .accl-guestbook-button { transition: none; }
  .accl-guestbook-button:not(:disabled):hover,
  .accl-guestbook-button:not(:disabled):active { transform: none; }
}
