@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* 📌 공통 스타일: 북마크 줄임 처리 */
.bookmark-item {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#blog-bookmark {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ✅ 명언 자동 팝업 (페이지 진입 시 자동 등장) */
.floating-daily-message {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(50, 50, 50, 0.9);
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'GmarketSansMedium', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 9999;
  animation: slide-up 0.5s ease-out;
  transition: opacity 1s ease;

  max-width: 90vw;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: center;
  
}

@media (min-width: 768px) {
  .floating-daily-message {
    bottom: 60px;
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.floating-daily-message.fade-out {
  opacity: 0;
}


/* ✅ 공통 버튼 스타일 */
.common-toggle {
  position: fixed;
  right: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-family: 'GmarketSansMedium', sans-serif;
  border-radius: 24px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  color: white;
  cursor: pointer;
  z-index: 9999;
  user-select: none;
  transition: all 0.3s ease;
  
}

.common-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* 🎮 놀기 주소 버튼: 네이비 스틸 */
.play-toggle {
  bottom: 80px;
  background: linear-gradient(135deg, rgba(31, 28, 44, 1) 0%, rgba(72, 85, 99, 0.2) 100%);

  color: #f0f0f0;
  border-radius: 8px;
}

/* 📖 영삼 명언 버튼: 플럼 퍼플 */
.quote-toggle {
  bottom: 30px;
  background: linear-gradient(135deg, rgba(66, 39, 90, 1) 0%, rgba(115, 75, 109, 0.2) 100%);
  color: #f0f0f0;
  border-radius: 8px;
}


/* ✅ 명언 박스 */
.quote-box {
  position: fixed;
  bottom: 120px;
  right: 30px;
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 400;
  font-family: 'GmarketSansMedium', sans-serif;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 9999;

  max-width: 90vw;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: center;
}
.quote-box.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* ✅ 놀기 링크 박스 */
.play-box {
  position: fixed;
  bottom: 150px;
  right: 30px;
  background: rgba(20, 20, 20, 0.95);
  color: #ddd;
  padding: 16px 20px;
  font-size: 13px;
  font-family: 'GmarketSansMedium', sans-serif;
  font-weight: 400;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 9999;

  max-width: 240px;
  white-space: normal;
  overflow-wrap: break-word;
  counter-reset: link;
}
.play-box.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.play-box a {
  display: block;
  color: #a5d8ff;
  margin: 5px 0;
  text-decoration: none;
  font-weight: 400;
  padding-left: 2px;
  transition: all 0.2s ease;
}
.play-box a::before {
  counter-increment: link;
  content: counter(link) ". ";
  color: #888;
  margin-right: 4px;
}
.play-box a:hover {
  color: #fff;
}
