.chat-page { padding-bottom: 55px; }
.chat-page-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: clamp(45px, 7vw, 82px) 0 28px; }
.chat-eyebrow { margin: 0 0 9px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.chat-page-header h1 { margin: 0 0 10px; font-size: clamp(40px, 6vw, 70px); line-height: 1; }
.chat-page-header h1 span { color: var(--gold); }
.chat-page-header p:last-child { margin-bottom: 0; color: var(--muted); }
.support-status { display: flex; align-items: center; flex: 0 0 auto; gap: 11px; padding: 12px 16px; border: 1px solid #3d3223; border-radius: 12px; background: #15120f; }
.support-status > span { width: 10px; height: 10px; border-radius: 50%; background: #4bd47a; box-shadow: 0 0 10px #4bd47a; }
.support-status small { display: block; margin-top: 3px; color: var(--muted); }
.chat-window { overflow: hidden; max-width: 980px; margin: 0 auto; border: 1px solid #3d3223; border-radius: 20px; background: rgba(18, 16, 13, .94); box-shadow: 0 25px 70px rgba(0, 0, 0, .38), 0 0 30px rgba(217, 156, 46, .07); }
.chat-messages { min-height: 360px; max-height: 55vh; overflow-y: auto; padding: clamp(18px, 4vw, 32px); scroll-behavior: smooth; }
.chat-message { display: flex; align-items: end; gap: 11px; max-width: 76%; margin-bottom: 20px; }
.chat-message > img { width: 46px; height: 46px; flex: 0 0 46px; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 0 8px rgba(217, 156, 46, .45)); }
.chat-message > div { padding: 13px 15px; border: 1px solid #403424; border-radius: 15px 15px 15px 4px; background: #1b1712; }
.chat-message p { margin: 5px 0 6px; line-height: 1.55; }
.message-author, .chat-message time { color: #a79f94; font-size: 12px; }
.user-message { flex-direction: row-reverse; margin-left: auto; }
.user-message > div { border-color: #7a5924; border-radius: 15px 15px 4px 15px; background: linear-gradient(135deg, #2c2113, #1b1711); }
.typing-message p { display: flex; gap: 5px; }
.typing-message i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: typingDot 1s ease-in-out infinite; }
.typing-message i:nth-child(2) { animation-delay: .15s; }.typing-message i:nth-child(3) { animation-delay: .3s; }
.quick-replies { display: flex; gap: 8px; overflow-x: auto; padding: 12px clamp(16px, 4vw, 30px); border-top: 1px solid #30281f; }
.quick-replies button { flex: 0 0 auto; min-height: 40px; border: 1px solid #5b472a; border-radius: 999px; padding: 8px 13px; background: transparent; color: #e8c98f; }
.quick-replies button:hover { border-color: var(--gold); background: rgba(217, 156, 46, .09); }
.chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px clamp(16px, 4vw, 30px); border-top: 1px solid #30281f; }
.chat-compose textarea { width: 100%; min-height: 48px; max-height: 130px; resize: none; border: 1px solid #443825; border-radius: 12px; padding: 13px 14px; background: #0e0d0b; color: #fff; font: inherit; }
.chat-compose button { min-width: 105px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #efb544, #b9771d); color: #171008; font-weight: 800; }
.chat-disclaimer { margin: 0; padding: 0 30px 16px; color: #827b71; font-size: 12px; text-align: center; }
@keyframes typingDot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 700px) {
  .chat-page-header { align-items: flex-start; flex-direction: column; }
  .chat-window { border-radius: 15px; }
  .chat-messages { min-height: 330px; max-height: 52vh; }
  .chat-message { max-width: 92%; }
}
@media (max-width: 430px) {
  .chat-compose button { min-width: 52px; padding: 0 12px; }
  .chat-compose button span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chat-disclaimer { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .typing-message i { animation: none; } .chat-messages { scroll-behavior: auto; } }
