/* ==========================================================================
   키아노스 우측 상단 슬림 플로팅 개편 점검 안내 위젯 스타일
   [안 3] 펄 화이트 & 골드 림 (Pearl White Luxury)
   ========================================================================== */

.kyanos-top-notice-widget {
  position: fixed;
  top: 1.5rem;
  right: 1.8rem;
  width: 335px;
  max-width: calc(100vw - 2rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  color: #1e293b;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-16px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.kyanos-top-notice-widget.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 상단 골드 림 액센트 라인 */
.kyanos-top-notice-bar {
  height: 3.5px;
  background: linear-gradient(90deg, #aa8214, #d4af37, #ffe066, #d4af37, #aa8214);
  background-size: 200% 100%;
  animation: noticeBarFlow 4s linear infinite;
}

@keyframes noticeBarFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 헤더 영역 */
.kyanos-top-notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(248, 250, 252, 0.7);
}

.kyanos-top-notice-title-group {
  display: flex;
  align-items: center;
  gap: 7px;
}

.kyanos-top-notice-icon {
  font-size: 1.05rem;
  line-height: 1;
  animation: noticeSpin 8s linear infinite;
  display: inline-block;
}

@keyframes noticeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.kyanos-top-notice-title {
  font-family: 'Cinzel', 'Noto Serif KR', serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0b1e3b;
  letter-spacing: 0.04em;
  margin: 0;
}

.kyanos-top-notice-close-x {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.kyanos-top-notice-close-x:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.06);
}

/* 본문 영역 */
.kyanos-top-notice-body {
  padding: 0.9rem 1rem;
}

.kyanos-top-notice-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 0.8rem;
  word-break: keep-all;
}

.kyanos-top-notice-text strong {
  color: #091e42;
  font-weight: 700;
}

.kyanos-top-notice-chips {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
}

.kyanos-top-notice-chip {
  font-size: 0.75rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kyanos-top-notice-chip .chip-dot {
  color: #b48c1e;
  font-size: 0.8rem;
}

.kyanos-top-notice-chip strong {
  color: #0f172a;
}

/* 하단 컨트롤 영역 */
.kyanos-top-notice-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.kyanos-top-notice-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}

.kyanos-top-notice-check:hover {
  color: #1e293b;
}

.kyanos-top-notice-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1.5px solid #94a3b8;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.kyanos-top-notice-check input[type="checkbox"]:checked {
  background: #0b1e3b;
  border-color: #0b1e3b;
}

.kyanos-top-notice-check input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
}

.kyanos-top-notice-confirm-btn {
  background: #0b1e3b;
  border: 1px solid #0b1e3b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kyanos-top-notice-confirm-btn:hover {
  background: #1e3a8a;
  border-color: #1e3a8a;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(11, 30, 59, 0.25);
}

/* 모바일 화면 대응 */
@media (max-width: 600px) {
  .kyanos-top-notice-widget {
    top: 0.8rem;
    right: 0.8rem;
    width: calc(100vw - 1.6rem);
  }
}
