@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
}

button {
  border: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

input {
  font-size: 16px;
  border: none;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #111111;
}

::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.popup-overlay.hidden {
  display: none;
}

.popup-content {
  background-color: #141414;
  border-radius: 1rem;
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  text-align: center;
  border: 1px solid #222;
}

.popup-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
}

.popup-description {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.popup-description .highlight {
  color: #60a5fa;
}

.popup-steps {
  text-align: left;
  margin-bottom: 2rem;
}

.popup-steps p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.step-label {
  color: white;
  font-weight: 600;
}

.popup-disclaimer {
  color: #6b7280;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.popup-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.popup-links a {
  transition: color 0.15s ease;
}

.popup-links a:hover {
  color: #9ca3af;
}

.popup-links span {
  color: #333;
}

/* App Container */
.app-container {
  min-height: 100vh;
  display: flex;
  background-color: #0a0a0a;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 180px;
  background-color: #0a0a0a;
  border-right: 1px solid #1a1a1a;
  z-index: 40;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-logo {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: #86efac;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon img {
  width: 1.25rem;
  height: 1.25rem;
}

.logo-text {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.sidebar-menu {
  margin-top: 0.5rem;
  flex: 1;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #9ca3af;
  transition: all 0.15s ease;
  border-radius: 8px;
  margin: 2px 8px;
}

.sidebar-item:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
  color: #86efac;
  background-color: rgba(134, 239, 172, 0.1);
}

.sidebar-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar-create {
  padding: 0 1rem;
  margin-top: 1rem;
}

.sidebar-qr {
  padding: 1rem;
  margin-top: 0.5rem;
}

.qr-card {
  background-color: #141414;
  border-radius: 0.75rem;
  padding: 1rem;
}

.qr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.qr-header span {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}

.qr-close {
  color: #6b7280;
  font-size: 0.875rem;
  transition: color 0.15s ease;
  background: transparent;
}

.qr-close:hover {
  color: white;
}

.qr-code {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.75rem;
  border-radius: 0.5rem;
  background-image: url('https://pump.fun/mobile-upsell.svg');
  background-size: contain;
  padding: 0.25rem;
}

.qr-text {
  color: #6b7280;
  font-size: 0.75rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-left: 0;
}

/* Mobile Banner */
.mobile-banner {
  background-color: #111;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-text {
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.banner-link {
  color: #86efac;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.125rem;
  background: transparent;
}

.banner-close {
  color: #6b7280;
  background: transparent;
  transition: color 0.15s ease;
}

.banner-close:hover {
  color: white;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1a1a1a;
  z-index: 20;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-button {
  color: white;
  padding: 0.25rem;
  background: transparent;
  display: none;
}

.mobile-logo {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon-small {
  width: 1.75rem;
  height: 1.75rem;
  background-color: #86efac;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon-small img {
  width: 1rem;
  height: 1rem;
}

.search-box {
  flex: 1;
  max-width: 28rem;
  background-color: #141414;
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #1f1f1f;
}

.search-box svg {
  color: #6b7280;
}

.search-box input {
  flex: 1;
  background: transparent;
  color: white;
  font-size: 0.875rem;
}

.search-box input::placeholder {
  color: #6b7280;
}

.search-shortcut {
  color: #4b5563;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hide-mobile {
  display: block;
}

/* Content Wrapper */
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
  padding-bottom: 5rem;
}

/* Main Column */
.main-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

/* Video Container */
.video-container {
  position: relative;
  aspect-ratio: 16/9;
  background-color: #111;
  border-radius: 0.75rem;
  overflow: hidden;
}

.video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  opacity: 0.2;
}

.video-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16162a 50%, #0f0f1a 100%);
}

.video-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
}

.live-badge {
  background-color: #dc2626;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.viewer-count {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.video-wrap {
  padding: 30px;
  border-radius: 50%;
}

.video-overlay svg {
  color: #6b7280;
  margin-bottom: 1rem;
}

.video-text {
  color: #9ca3af;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Token Info */
.token-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.token-image-wrapper {
  position: relative;
  flex-shrink: 0;
}

.token-image {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: #141414;
  border: 2px solid rgba(134, 239, 172, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.token-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-placeholder {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6b7280;
}

.token-live-badge {
  position: absolute;
  bottom: -0.25rem;
  left: -0.25rem;
  background-color: #86efac;
  color: black;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
}

.token-details {
  flex: 1;
  min-width: 0;
}

.token-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.token-symbol {
  color: #6b7280;
  font-weight: 500;
}

.token-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.token-address {
  color: #6b7280;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.sol-icon-small {
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, #9945ff 0%, #14f195 50%, #00d18c 100%);
  border-radius: 50%;
}

.token-time {
  color: #4b5563;
  font-size: 0.875rem;
}

.token-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.token-copy-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-share {
  color: #6b7280;
  background: transparent;
  transition: color 0.15s ease;
}

.mobile-share:hover {
  color: white;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.625rem;
  transition: all 0.15s ease;
}

.tab-btn.active {
  background-color: #86efac;
  color: #000000;
}

.tab-btn:not(.active) {
  background-color: transparent;
  color: #6b7280;
}

.tab-btn:not(.active):hover {
  color: #ffffff;
}

/* Streams Grid */
.streams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.stream-card {
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 260px;
}

.stream-card:hover {
  transform: scale(1.02);
}

.stream-thumbnail-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background-color: #1a1a1a;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.stream-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.stream-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
  filter: blur(6px);
}

.stream-card:hover .stream-thumbnail,
.stream-card:hover .stream-thumbnail-img {
  opacity: 1;
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}

.stream-title {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-time {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Right Sidebar */
.right-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
  z-index: 1488;
}

/* Card */
.card {
  background-color: #141414;
  border-radius: 0.75rem;
  overflow: hidden;
}

/* Chat */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.chat-header:hover {
  background-color: #1a1a1a;
}

.chat-header span {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.chat-header svg {
  color: #6b7280;
}

.chat-content {
  border-top: 1px solid #1f1f1f;
}

.chat-content.hidden {
  display: none;
}

.chat-messages {
  height: 12rem;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.chat-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  flex-shrink: 0;
}

.chat-message-content {
  flex: 1;
  min-width: 0;
}

.chat-username {
  font-size: 0.75rem;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 0.25rem;
}

.chat-text {
  font-size: 0.875rem;
  color: #e5e7eb;
  word-wrap: break-word;
}

.chat-empty {
  color: #6b7280;
  font-size: 0.875rem;
}

.chat-footer {
  border-top: 1px solid #1f1f1f;
  padding: 1rem;
}

.chat-readonly {
  color: #6b7280;
  font-size: 0.75rem;
  text-align: center;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.readonly-dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: #6b7280;
  border-radius: 50%;
}

.btn-chat-login {
  width: 100%;
  background-color: #1f1f1f;
  color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.15s ease;
  border: 1px solid #333;
}

.btn-chat-login:hover {
  background-color: #2a2a2a;
}

/* Trading Panel */
.trade-panel {
  /* empty for now */
}

.trade-tabs {
  display: flex;
}

.trade-tab {
  flex: 1;
  padding: 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.trade-tab.active {
  background-color: #86efac;
  color: #000000;
}

.trade-tab:not(.active) {
  background-color: #1f1f1f;
  color: #6b7280;
}

.trade-tab:not(.active):hover {
  color: #ffffff;
}

.trade-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trade-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.trade-switch,
.trade-slippage {
  color: #6b7280;
  background: transparent;
  transition: color 0.15s ease;
}

.trade-switch:hover,
.trade-slippage:hover {
  color: white;
}

.trade-input-wrapper {
  background-color: #0f0f0f;
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  border: 1px solid #1f1f1f;
}

.trade-input {
  flex: 1;
  background: transparent;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.trade-input::placeholder {
  color: #6b7280;
}

.trade-currency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.currency-name {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.sol-icon {
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(135deg, #9945ff 0%, #14f195 50%, #00d18c 100%);
  border-radius: 50%;
}

.trade-presets {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.preset-btn {
  color: #6b7280;
  background: transparent;
  transition: color 0.15s ease;
}

.preset-btn:hover {
  color: white;
}

.trade-action {
  font-size: 1rem;
}

.trade-position {
  border-top: 1px solid #1f1f1f;
  padding: 1rem;
}

.position-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.position-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-main {
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.value-tokens {
  color: #6b7280;
  font-size: 0.875rem;
}

.position-header svg {
  color: #6b7280;
}

.position-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
}

.trades-link {
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.profit-indicator {
  margin-top: 0.75rem;
}

.profit-bar {
  height: 0.25rem;
  background-color: #dc2626;
  width: 0.5rem;
  border-radius: 0.125rem;
}

.profit-label {
  color: #4b5563;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

/* Button styles */
.btn-primary {
  background-color: #86efac;
  color: #000000;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px; /* Полностью круглая кнопка */
  transition: all 0.15s ease;
  font-size: 0.875rem;
  filter: blur(0px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(134, 239, 172, 0.3);
}

.btn-primary:hover {
  background-color: #6ee7a0;
  box-shadow: 0 0 30px rgba(134, 239, 172, 0.5);
}

.btn-secondary {
  background-color: #1f1f1f;
  color: #ffffff;
  font-weight: 500;
  padding: 0.625rem 1rem;
  border-radius: 9999px; /* Полностью круглая кнопка */
  border: 1px solid #333333;
  transition: all 0.15s ease;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: #2a2a2a;
  border-color: #444444;
}

.btn-full {
  width: 100%;
}

.btn-small {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.625rem;
  border-radius: 0.5rem;
}

/* Footer */
.footer {
  display: none;
  border-top: 1px solid #1a1a1a;
  padding: 1rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer a {
  transition: color 0.15s ease;
}

.footer a:hover {
  color: #d1d5db;
}

.footer span {
  color: #333;
}

/* Mobile Bottom Nav */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.75rem 0;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 1rem;
  color: #6b7280;
  transition: color 0.15s ease;
  background: transparent;
}

.mobile-nav-item.active {
  color: white;
}

.mobile-nav-item:hover {
  color: white;
}

.mobile-nav-item span {
  font-size: 0;
  margin-top: 0.25rem;
}

.plus-icon {
  font-size: 1.375rem;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .mobile-banner {
    display: flex;
  }

  .menu-button {
    display: block;
  }

  .mobile-logo {
    display: flex;
  }

  .search-box {
    display: none;
  }

  .hide-mobile {
    display: none;
  }

  .token-image {
    width: 3rem;
    height: 3rem;
  }

  .token-title {
    font-size: 1rem;
  }

  .token-actions {
    display: none;
  }

  .mobile-share {
    display: block;
  }

  .mobile-nav {
    display: flex;
  }

  .footer {
    display: none;
  }
}

@media (min-width: 640px) {
  .search-box {
    display: flex;
  }
}

@media (min-width: 768px) {
  .streams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sidebar {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 180px;
  }

  .mobile-banner {
    display: none;
  }

  .menu-button {
    display: none;
  }

  .mobile-logo {
    display: none;
  }

  .hide-mobile {
    display: block;
  }

  .content-wrapper {
    flex-direction: row;
    padding-bottom: 1rem;
  }

  .token-image {
    width: 5rem;
    height: 5rem;
  }

  .token-title {
    font-size: 1.5rem;
  }

  .token-actions {
    display: flex;
  }

  .mobile-share {
    display: none;
  }

  .right-sidebar {
    width: 20rem;
  }

  .mobile-nav {
    display: none;
  }

  .footer {
    display: flex;
  }

  .streams-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .chat-messages {
    height: 14rem;
  }
}

@media (max-width: 640px) {
  .video-container {
    aspect-ratio: 16/9;
    max-height: 30vh;
  }

  ::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .stream-card  {
    width: auto;
  }
}
