.lc-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

.lc-chat__toggle {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #ff6a3d, #ff9a3d);
  color: #1b1b1b;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 30px rgba(255, 122, 61, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.lc-chat__icon {
  display: block;
  width: 30px;
  height: 30px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4H20V15H9L4 19V4Z' stroke='%231b1b1b' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='10' r='1.6' fill='%231b1b1b'/%3E%3Ccircle cx='12' cy='10' r='1.6' fill='%231b1b1b'/%3E%3Ccircle cx='15' cy='10' r='1.6' fill='%231b1b1b'/%3E%3C/svg%3E");
}

.lc-chat__panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 340px;
  height: 520px;
  background: #11141a;
  color: #e7e9ee;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lc-chat__panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.lc-chat__header {
  padding: 16px;
  background: linear-gradient(135deg, #1c2430, #141a23);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lc-chat__title {
  font-size: 16px;
  font-weight: 700;
}

.lc-chat__status {
  font-size: 12px;
  color: #9aa4b2;
  margin-top: 4px;
}

.lc-chat__messages {
  flex: 1;
  padding: 10px 12px;
  overflow-y: auto;
  background: radial-gradient(circle at top, rgba(255, 154, 61, 0.1), transparent 55%);
}

.lc-chat__message {
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
}

.lc-chat__message .meta {
  font-size: 11px;
  color: #8f98a7;
  margin-bottom: 4px;
}

.lc-chat__bubble {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 14px;
  width: fit-content;
  max-width: 80%;
}

.lc-chat__message.admin .lc-chat__bubble {
  align-self: flex-start;
}

.lc-chat__message.user .lc-chat__bubble {
  align-self: flex-end;
}

.lc-chat__message.user {
  align-items: flex-end;
}

.lc-chat__message.user .lc-chat__bubble {
  background: #ff9a3d;
  color: #1b1b1b;
}

.lc-chat__message.admin .lc-chat__bubble {
  background: #252c36;
  color: #e7e9ee;
}

.lc-chat__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1319;
}

.lc-chat__input {
  flex: 1;
  background: #1a222e;
  border: none;
  color: #e7e9ee;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.lc-chat__input::placeholder {
  color: #6c7685;
}

.lc-chat__send {
  background: #ff6a3d;
  border: none;
  color: #1b1b1b;
  font-weight: 700;
  padding: 0 14px;
  border-radius: 10px;
  cursor: pointer;
}


@media (max-width: 768px) {
  .lc-chat {
    right: 16px;
    bottom: 16px;
  }

  .lc-chat__panel {
    width: 90vw;
    height: 70vh;
  }
}
