<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* 
 * Chat Interface Styles for Tour de Buzz Game
 * BeyoncÃ©-themed styles with gold accents
 */

:root {
  --gold-color: #d4af37;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f9e076 50%, #d4af37 100%);
  --dark-bg: rgba(0, 0, 0, 0.8);
  --chat-border-radius: 5px;
}

/* Main Chat Container */
.chat-interface {
  position: absolute;
  width: 350px;
  height: 350px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--gold-color);
  border-radius: var(--chat-border-radius);
  display: flex;
  flex-direction: column;
  z-index: 2000; /* Increased z-index to be above everything */
  transition: height 0.3s, opacity 0.3s;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

/* Special styles for parent window chat interface */
.parent-chat {
  position: fixed !important;
  bottom: 65px !important;
  left: 10px !important;
  z-index: 2000 !important;
}

/* Chat Header */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid var(--gold-color);
  border-top-left-radius: calc(var(--chat-border-radius) - 1px);
  border-top-right-radius: calc(var(--chat-border-radius) - 1px);
}

.chat-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--gold-color);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.chat-header-controls {
  display: flex;
  gap: 5px;
}

.chat-header-controls button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 16px;
  padding: 2px;
  transition: transform 0.2s;
}

.chat-header-controls button:hover {
  transform: scale(1.1);
}

/* Chat Messages Area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-color) rgba(0, 0, 0, 0.5);
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background-color: var(--gold-color);
  border-radius: 3px;
}

.chat-message {
  padding: 8px 10px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  margin-bottom: 5px;
  font-size: 14px;
  word-break: break-word;
  transition: opacity 0.5s;
  animation: message-appear 0.3s ease-out;
}

.chat-message.system {
  padding: 5px 10px;
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--gold-color);
  font-style: italic;
  text-align: center;
}

.chat-message .username {
  font-weight: bold;
  margin-right: 5px;
}

.chat-message .timestamp {
  font-size: 10px;
  color: #aaa;
  margin-left: 5px;
}

.chat-message .content {
  display: inline;
}

/* Chat Input Area */
.chat-input-container {
  display: flex;
  padding: 10px;
  gap: 5px;
  border-top: 1px solid var(--gold-color);
}

.chat-input-container input {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 5px;
  padding: 10px;
  color: white;
  font-size: 14px;
}

.chat-input-container input:focus {
  outline: 1px solid var(--gold-color);
}

.chat-input-container button {
  background-color: rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  color: white;
  font-size: 16px;
  transition: background-color 0.2s;
}

.chat-input-container button:hover {
  background-color: rgba(212, 175, 55, 0.4);
}

.send-button {
  background-color: rgba(212, 175, 55, 0.4) !important;
  font-weight: bold;
}

/* Emoji Picker */
.emoji-picker {
  position: absolute;
  bottom: 60px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--gold-color);
  border-radius: 5px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  z-index: 101;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.emoji-picker button {
  background-color: transparent;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 20px;
  padding: 5px;
  transition: transform 0.1s, background-color 0.2s;
}

.emoji-picker button:hover {
  transform: scale(1.2);
  background-color: rgba(212, 175, 55, 0.2);
}

/* Voice Chat Indicator */
.voice-indicator {
  position: absolute;
  top: 100px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--gold-color);
  border-radius: 5px;
  padding: 10px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  max-width: 200px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.voice-indicator .icon-container {
  min-width: 30px;
  height: 30px;
  background-color: rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 1.5s infinite;
}

.voice-indicator .speaker-name {
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Notification Badge */
.chat-notification {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(212, 175, 55, 0.8);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-weight: bold;
  font-size: 12px;
  z-index: 1000;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Settings Panel */
.chat-settings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: rgba(0, 0, 0, 0.9);
  border: 2px solid var(--gold-color);
  border-radius: 10px;
  padding: 15px;
  z-index: 1001;
  color: white;
  font-family: 'Arial', sans-serif';
  display: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.chat-settings h3 {
  margin: 0 0 15px 0;
  color: var(--gold-color);
  border-bottom: 1px solid var(--gold-color);
  padding-bottom: 10px;
}

.chat-settings .settings-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.chat-settings select,
.chat-settings input[type="range"] {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: 1px solid var(--gold-color);
  border-radius: 3px;
  padding: 5px;
}

.chat-settings input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-color);
}

.chat-settings button {
  background-color: rgba(212, 175, 55, 0.7);
  color: black;
  border: none;
  border-radius: 5px;
  padding: 10px;
  margin-top: 15px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s;
}

.chat-settings button:hover {
  background-color: var(--gold-color);
}

/* Animations */
@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .chat-interface {
    width: 300px;
    height: 300px;
  }
  
  .emoji-picker {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 480px) {
  .chat-interface {
    width: 280px;
    height: 280px;
  }
  
  .emoji-picker {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .chat-message {
    font-size: 12px;
  }
}</pre></body></html>