* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background:
      radial-gradient(circle at top left, rgba(146, 78, 255, 0.18), transparent 34%),
      radial-gradient(circle at bottom right, rgba(255, 105, 180, 0.16), transparent 35%),
      linear-gradient(135deg, #f7f2ff 0%, #fff5fb 45%, #f3f7ff 100%);
    color: #25143f;
    min-height: 100vh;
  }
  
  .hidden {
    display: none !important;
  }
  
  /* =========================
     PAGE
  ========================= */
  .broadcast-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 60px;
  }
  
  .broadcast-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
  }
  
  .start-broadcast-btn,
  .back-to-list-btn,
  .end-broadcast-btn,
  .confirm-start-btn,
  .understand-btn,
  .send-chat-btn,
  .emoji-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: 0.18s ease;
  }
  
  .start-broadcast-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3b7a, #d6005a);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(255, 59, 122, 0.35);
  }

  .start-broadcast-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(255, 59, 122, 0.50);
  }
  
  .broadcast-list-section {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(115, 73, 188, 0.12);
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 24px 70px rgba(74, 38, 130, 0.12);
    backdrop-filter: blur(12px);
  }
  
  .broadcast-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  
  .broadcast-heading-row h1,
  .room-title-row h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.12;
    font-weight: 800;
    color: #24123f;
  }
  
  .broadcast-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  
  .broadcast-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 36px rgba(52, 24, 94, 0.14);
    border: 1px solid rgba(104, 67, 174, 0.09);
    cursor: pointer;
    transition: 0.18s ease;
  }
  
  .broadcast-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(52, 24, 94, 0.2);
  }
  
  .broadcast-card-video {
    height: 168px;
    background:
      radial-gradient(circle at center, rgba(255,255,255,0.12), transparent 36%),
      linear-gradient(135deg, #130f1f, #3d1a69);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .broadcast-card-video i {
    font-size: 42px;
    opacity: 0.88;
  }
  
  .live-pill {
    position: absolute;
    left: 14px;
    top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ff1f5a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  
  .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.18);
  }
  
  .broadcast-card-body {
    padding: 16px;
  }
  
  .broadcast-card-body h3 {
    margin: 0 0 8px;
    color: #25143f;
    font-size: 17px;
    font-weight: 800;
  }
  
  .broadcast-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
  }
  
  .broadcast-card-meta span {
    padding: 6px 8px;
    border-radius: 999px;
    background: #f5efff;
    color: #6537bb;
    font-size: 12px;
    font-weight: 600;
  }
  
  .join-broadcast-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 13px 14px;
    background: linear-gradient(135deg, #20c96b, #0a9f52);
    color: #ffffff;
    font-family: inherit;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(22, 171, 91, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  
  .join-broadcast-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(22, 171, 91, 0.38);
  }
  
  .broadcast-empty {
    padding: 34px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px dashed rgba(115, 73, 188, 0.3);
    color: #7b6a96;
    text-align: center;
    font-weight: 600;
  }
  
  /* =========================
     ROOM
  ========================= */
  .broadcast-room {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(115, 73, 188, 0.12);
    border-radius: 30px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(74, 38, 130, 0.12);
    backdrop-filter: blur(12px);
  }
  
  .back-to-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border-radius: 999px;
    background: #ffffff;
    color: #5f2ed5;
    font-weight: 800;
    margin-bottom: 18px;
    box-shadow: 0 10px 26px rgba(89, 48, 160, 0.13);
  }
  
  .room-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
  }
  
  .end-broadcast-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff315f, #b0002c);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(209, 18, 67, 0.25);
  }
  
  .room-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
  }
  
  .video-column {
    min-width: 0;
  }
  
  .video-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #050509;
    position: relative;
    box-shadow: 0 18px 44px rgba(20, 10, 38, 0.24);
  }
  
  .video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #050509;
  }
  
  .video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.74);
    pointer-events: none;
  }
  
  .video-placeholder i {
    font-size: 52px;
  }
  
  .video-placeholder span {
    font-weight: 700;
  }
  
  /* =========================
     CHAT
  ========================= */
  .stream-chat {
    min-height: 520px;
    max-height: 720px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(52, 24, 94, 0.14);
    border: 1px solid rgba(104, 67, 174, 0.09);
  }
  
  .stream-chat-head {
    padding: 16px;
    background: linear-gradient(135deg, #7b3ff2, #ff4fb4);
    color: #ffffff;
  }
  
  .stream-chat-head h3 {
    margin: 0;
    font-size: 18px;
  }
  
  .stream-chat-head span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    opacity: 0.86;
  }
  
  .stream-chat-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background:
      radial-gradient(circle at top right, rgba(123, 63, 242, 0.07), transparent 30%),
      #fbf8ff;
  }

  .stream-chat-messages::-webkit-scrollbar {
    display: none;
  }
  
  .chat-message {
    display: flex;
    gap: 9px;
    margin-bottom: 12px;
  }
  
  .chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #7b3ff2, #ff4fb4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    overflow: hidden;
  }
  
  .chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .chat-bubble {
    max-width: calc(100% - 44px);
    background: #ffffff;
    border-radius: 16px;
    padding: 9px 11px;
    box-shadow: 0 8px 18px rgba(61, 27, 108, 0.08);
  }
  
  .chat-name {
    display: block;
    font-size: 12px;
    color: #6d44be;
    font-weight: 800;
    margin-bottom: 2px;
  }
  
  .chat-text {
    color: #25143f;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
  }
  
  .system-message {
    text-align: center;
    color: #856ea5;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0;
  }
  
  .stream-chat-input-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid #eee6ff;
  }
  
  .stream-chat-input-row input {
    flex: 1;
    height: 42px;
    border: 1px solid #e3d7ff;
    border-radius: 999px;
    outline: none;
    padding: 0 14px;
    font-family: inherit;
    color: #25143f;
  }
  
  .stream-chat-input-row input:focus {
    border-color: #8d56ff;
    box-shadow: 0 0 0 3px rgba(141, 86, 255, 0.12);
  }
  
  .emoji-btn,
  .send-chat-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 auto;
  }
  
  .emoji-btn {
    background: #f3edff;
    color: #6f39d5;
    font-size: 20px;
  }
  
  .send-chat-btn {
    background: linear-gradient(135deg, #7b3ff2, #ff4fb4);
    color: #ffffff;
  }
  
  .emoji-panel {
    position: absolute;
    left: 10px;
    bottom: 62px;
    width: 220px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(35, 16, 63, 0.22);
    border: 1px solid #eee6ff;
    z-index: 20;
  }
  
  .emoji-panel button {
    border: none;
    background: #f8f3ff;
    border-radius: 10px;
    height: 30px;
    cursor: pointer;
    font-size: 17px;
  }
  
  /* =========================
     MODALS
  ========================= */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 8, 26, 0.58);
    backdrop-filter: blur(4px);
    z-index: 9990;
  }
  
  .rules-modal,
  .setup-modal {
    position: fixed;
    inset: 0;
    z-index: 9991;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: none;
  }
  
  .rules-card,
  .setup-card {
    width: min(430px, 100%);
    background: #ffffff;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    position: relative;
    pointer-events: auto;
  }
  
  .rules-card {
    text-align: center;
  }
  
  .rules-card h2,
  .setup-card h2 {
    margin: 0 0 18px;
    font-size: 24px;
    color: #24123f;
  }
  
  .rules-card p {
    color: #6c5b84;
    line-height: 1.55;
    margin: 0 0 14px;
  }
  
  .setup-card select {
    width: 100%;
    height: 44px;
    border: 1px solid #e3d7ff;
    border-radius: 14px;
    padding: 0 12px;
    outline: none;
    font-family: inherit;
    color: #25143f;
    background: #ffffff;
  }

  .setup-card select:focus {
    border-color: #8d56ff;
    box-shadow: 0 0 0 3px rgba(141, 86, 255, 0.12);
  }
  
  .modal-close-btn {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f4ecff;
    color: #5f2ed5;
    cursor: pointer;
  }
  
  .confirm-start-btn,
  .understand-btn {
    width: 100%;
    margin-top: 18px;
    min-height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7b3ff2, #ff4fb4);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(123, 63, 242, 0.25);
  }
  
  .understand-btn {
    background: linear-gradient(135deg, #ff3b7a, #d6005a);
    box-shadow: 0 12px 28px rgba(255, 59, 122, 0.35);
  }
  
  /* =========================
     NOTIFICATIONS SMALL FALLBACK
  ========================= */
  .notification-badge {
    display: none;
  }
  
  .notification-badge.show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .notification-dropdown {
    z-index: 9999;
  }
  
  /* =========================
     RESPONSIVE
  ========================= */
  @media (max-width: 1024px) {
    .broadcast-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  
    .room-layout {
      grid-template-columns: 1fr;
    }
  
    .stream-chat {
      min-height: 430px;
    }
  }
  
  @media (max-width: 700px) {
    .broadcast-page {
      width: min(100% - 20px, 1180px);
      padding-top: 22px;
    }
  
    .broadcast-top {
      flex-direction: column;
      align-items: stretch;
    }
  
    .start-broadcast-btn {
      justify-content: center;
      width: 100%;
    }

    .broadcast-list-section,
    .broadcast-room {
      padding: 16px;
      border-radius: 22px;
    }
  
    .broadcast-list {
      grid-template-columns: 1fr;
    }
  
    .room-title-row {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .end-broadcast-btn {
      width: 100%;
      justify-content: center;
    }
  
    .video-box {
      border-radius: 18px;
    }
  }

  @media (max-width: 480px) {
    .rules-card,
    .setup-card {
      padding: 20px;
      border-radius: 22px;
    }
  }

/* =========================================
   MOBILNÍ ROZŠÍŘENÍ 320 – 611 px
   ========================================= */

@media (max-width: 611px) {

  .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: sticky !important;
    top: 0 !important;
    padding: 0 108px 0 0 !important;
    height: auto !important;
    min-height: 52px !important;
  }

  .logo {
    flex: 0 0 auto !important;
    position: static !important;
    transform: none !important;
  }

  .logo img {
    height: 32px !important;
    max-width: 140px !important;
    display: block !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-icons {
    position: absolute !important;
    right: 12px !important;
    top: 7px !important;
    transform: none !important;
    gap: 12px !important;
    display: flex !important;
  }

  .icon-circle {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }

  .broadcast-page {
    padding: 14px 0 60px !important;
  }

  .broadcast-top {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 0 12px !important;
  }

  .broadcast-top h1 {
    font-size: 22px !important;
  }

  .start-broadcast-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    border-radius: 16px !important;
  }

  .broadcast-list-section {
    padding: 14px 12px !important;
    border-radius: 20px !important;
  }

  .broadcast-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .broadcast-card {
    border-radius: 18px !important;
  }

  .broadcast-heading-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .broadcast-heading-row h2 {
    font-size: 20px !important;
  }

  .broadcast-room {
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .room-layout {
    grid-template-columns: 1fr !important;
  }

  .room-title-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .end-broadcast-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .video-box {
    border-radius: 16px !important;
  }

  .stream-chat {
    border-radius: 16px !important;
    min-height: 300px !important;
  }

  .stream-chat-input-row input {
    font-size: 14px !important;
  }

  .back-to-list-btn {
    font-size: 13px !important;
    padding: 9px 14px !important;
  }

  .rules-card,
  .setup-card {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .rules-card h2,
  .setup-card h2 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
  }

  .confirm-start-btn,
  .understand-btn {
    min-height: 44px !important;
    font-size: 14px !important;
    border-radius: 16px !important;
  }
}

/* ============================================================
   DARK PREMIUM THEME – VYSÍLÁNÍ (≤ 768 px)
   Pokrývá oblast 611–768 px. Fullscreen pod 600 px je již tmavý.
   ============================================================ */
@media (max-width: 768px) {
  body {
    background: #0f0f0f !important;
  }

  /* List section */
  .broadcast-list-section {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.07) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: none !important;
  }

  .broadcast-heading-row h1,
  .room-title-row h1 {
    color: #ffffff !important;
  }

  /* Broadcast card */
  .broadcast-card {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
  }

  .broadcast-card-body h3 {
    color: #ffffff !important;
  }

  .broadcast-card-meta span {
    background: rgba(255,59,122,0.10) !important;
    color: #ff3b7a !important;
  }

  .join-broadcast-btn {
    background: linear-gradient(135deg, #ff3b7a, #d6005a) !important;
    box-shadow: 0 8px 20px rgba(255,59,122,0.28) !important;
  }

  /* Empty */
  .broadcast-empty {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.10) !important;
    color: rgba(255,255,255,0.52) !important;
  }

  /* Broadcast room (non-fullscreen) */
  .broadcast-room {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.07) !important;
    box-shadow: none !important;
  }

  .back-to-list-btn {
    background: rgba(255,255,255,0.07) !important;
    color: rgba(255,255,255,0.82) !important;
    box-shadow: none !important;
  }

  /* Stream chat (non-fullscreen) */
  .stream-chat {
    background: #1a1a1a !important;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
  }

  .stream-chat-messages {
    background: #121212 !important;
  }

  .chat-bubble {
    background: rgba(255,255,255,0.08) !important;
  }

  .chat-text {
    color: rgba(255,255,255,0.88) !important;
  }

  .chat-name {
    color: #ff3b7a !important;
  }

  .stream-chat-input-row {
    background: #1a1a1a !important;
    border-top-color: rgba(255,255,255,0.08) !important;
  }

  .stream-chat-input-row input {
    background: rgba(255,255,255,0.06) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.12) !important;
  }

  .emoji-btn {
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.80) !important;
  }

  /* Modals */
  .setup-card,
  .rules-card {
    background: #1a1a1a !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.60) !important;
  }

  .setup-card h2,
  .rules-card h2 {
    color: #ffffff !important;
  }

  .rules-card p {
    color: rgba(255,255,255,0.62) !important;
  }

  .setup-card select {
    background: rgba(255,255,255,0.06) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.12) !important;
  }

  .modal-close-btn {
    background: rgba(255,255,255,0.10) !important;
    color: #ffffff !important;
  }

  .confirm-start-btn {
    background: linear-gradient(135deg, #ff3b7a, #d6005a) !important;
    box-shadow: 0 8px 20px rgba(255,59,122,0.28) !important;
  }
}

 /* =====================================
   MOBILE VYSÍLÁNÍ - FULLSCREEN 2LOOVE STYLE
===================================== */
@media (max-width: 600px) {
  body {
    background: #050509 !important;
    overflow-x: hidden !important;
  }

  .broadcast-page {
    width: 100% !important;
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .broadcast-top,
  .broadcast-list-section {
    padding: 14px 12px !important;
  }

  body:has(#broadcastRoom:not(.hidden)) .broadcast-top,
  body:has(#broadcastRoom:not(.hidden)) .back-to-list-btn,,
  body:has(#broadcastRoom:not(.hidden)) .system-message {
    display: none !important;
  }

  .broadcast-room {
    width: 100% !important;
    min-height: calc(100vh - 116px) !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #050509 !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .room-layout {
    display: block !important;
    width: 100% !important;
    height: calc(100vh - 116px) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .video-column,
  .video-box {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .video-box {
    aspect-ratio: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #050509 !important;
  }

  .video-box video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .video-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.18), rgba(0,0,0,.28));
    pointer-events: none;
    z-index: 2;
  }

  .room-title-row {
    position: fixed !important;
    top: 118px !important;
    right: 8px !important;
    left: auto !important;
    z-index: 200 !important;
    margin: 0 !important;
    justify-content: flex-end !important;
  }

  .room-title-row h1 {
    display: none !important;
  }

  .end-broadcast-btn {
    position: fixed !important;
    top: 118px !important;
    right: 8px !important;
    width: auto !important;
    max-width: 145px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    z-index: 220 !important;
    opacity: 0.95 !important;
  }

  .stream-chat {
    position: absolute !important;
    inset: 0 !important;
    z-index: 30 !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  .stream-chat-head {
    display: none !important;
  }

  .stream-chat-messages {
    position: absolute !important;
    left: 10px !important;
    right: 72px !important;
    bottom: 78px !important;
    max-height: 34vh !important;
    padding: 0 !important;
    overflow-y: auto !important;
    background: transparent !important;
    pointer-events: auto !important;
  }

  .chat-message {
    margin-bottom: 7px !important;
    gap: 7px !important;
    align-items: flex-end !important;
  }

  .chat-avatar {
    width: 28px !important;
    height: 28px !important;
    border: 2px solid rgba(255,255,255,.75) !important;
  }

  .chat-bubble {
    background: rgba(0,0,0,.42) !important;
    color: #fff !important;
    border-radius: 16px !important;
    padding: 7px 10px !important;
    max-width: 100% !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.22) !important;
    backdrop-filter: blur(8px) !important;
  }

  .chat-name {
    color: #ffd8ff !important;
    font-size: 11px !important;
  }

  .chat-text {
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .stream-chat-input-row {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 10px !important;
    z-index: 40 !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 999px !important;
    background: rgba(0,0,0,.36) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.28) !important;
    pointer-events: auto !important;
  }

  .stream-chat-input-row input {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    height: 42px !important;
    background: rgba(255,255,255,.16) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .stream-chat-input-row input::placeholder {
    color: rgba(255,255,255,.72) !important;
  }

  .emoji-btn,
  .send-chat-btn {
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    color: #fff !important;
  }

  .emoji-btn {
    background: rgba(255,255,255,.18) !important;
  }

  .send-chat-btn {
    background: linear-gradient(135deg, #7b3ff2, #ff4fb4) !important;
  }

  .emoji-panel {
    left: 8px !important;
    bottom: 62px !important;
    width: 230px !important;
    background: rgba(20, 10, 32, .92) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    backdrop-filter: blur(14px) !important;
    z-index: 60 !important;
  }

  .emoji-panel button {
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
  }
}

@media (min-width: 600px) {
  .broadcast-top { justify-content: center !important; }
}

@media (min-width: 791px) and (max-width: 1024px) {
  .navbar .nav-links { display: none !important; }
}

