:root {
  --bg: #001d13;
  --panel: rgba(0, 44, 29, .78);
  --line: rgba(232, 167, 45, .42);
  --gold: #f0aa2c;
  --text: #fff7ea;
  --muted: rgba(255,255,255,.72);
  --red: #ff2d55;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 40% 0, rgba(0,92,56,.35), transparent 42%),
    linear-gradient(180deg, #002f1f, #00140d);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button { cursor: pointer; }

a { color: inherit; }

[hidden] { display: none !important; }

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.live-top {
  height: 76px;
  padding: 0 46px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,18,12,.83);
  display: grid;
  grid-template-columns: 250px auto minmax(360px, 520px) auto;
  align-items: center;
  gap: 26px;
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
}

.live-brand img {
  width: 205px;
  display: block;
}

.live-desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.live-desktop-nav a {
  text-decoration: none;
  color: rgba(255,255,255,.86);
  font-weight: 850;
  padding: 27px 0;
  border-bottom: 3px solid transparent;
}

.live-desktop-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.live-search {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr 48px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}

.live-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 0 18px;
}

.live-search button {
  border: 0;
  background: transparent;
  color: white;
}

.live-top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-top-actions button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: white;
}

.live-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold);
}

.live-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-layout {
  width: min(1840px, calc(100vw - 54px));
  margin: 18px auto 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 480px;
  gap: 18px;
}

.live-stage {
  min-width: 0;
}

.live-video-card {
  position: relative;
  height: calc(100vh - 188px);
  min-height: 600px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

#localVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: block;
}

.live-empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(0,61,38,.45), transparent 44%),
    #020202;
  padding: 24px;
}

.live-empty.hide {
  display: none;
}

.live-empty img {
  width: 150px;
  opacity: .95;
}

.live-empty h1 {
  margin: 10px 0 0;
  font-size: 32px;
}

.live-empty p {
  margin: 0;
  color: var(--muted);
}

.live-badges {
  position: absolute;
  left: 26px;
  top: 24px;
  z-index: 5;
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-badge,
.timer,
.viewer-count {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.status-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
}

.status-badge.live {
  background: #ff2d35;
}

.status-badge.offline {
  background: rgba(0,0,0,.48);
}

.viewer-count svg {
  width: 22px;
  height: 22px;
}

.live-actions {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: grid;
  gap: 14px;
  text-align: center;
}

.live-actions button {
  width: 68px;
  min-height: 68px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  color: white;
  display: grid;
  place-items: center;
  gap: 5px;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

.live-actions button.active {
  color: var(--red);
}

.live-actions img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.live-actions b,
.live-actions span {
  font-size: 12px;
}

.live-caption {
  position: absolute;
  left: 28px;
  bottom: 26px;
  right: 120px;
  z-index: 6;
  color: white;
  text-shadow: 0 3px 18px rgba(0,0,0,.8);
}

.author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-row img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.author-row strong {
  font-size: 24px;
}

.verified {
  background: #10b981;
  color: white;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
}

.live-title-input,
.live-description-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  display: block;
}

.live-title-input {
  font-size: 31px;
  font-weight: 950;
  margin-top: 12px;
}

.live-description-input {
  min-height: 55px;
  resize: none;
  font-size: 18px;
  line-height: 1.45;
}

.live-title-input::placeholder,
.live-description-input::placeholder {
  color: rgba(255,255,255,.78);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--gold);
  font-weight: 900;
}

.stream-controls {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.stream-controls button {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0,45,29,.74);
  color: white;
  font-weight: 900;
}

.stream-controls .start {
  background: #0bb36c;
}

.stream-controls .end {
  background: #d62828;
}

.stream-controls button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.live-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.side-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,45,29,.74);
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
  overflow: hidden;
}

.side-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}

.side-card h2 {
  margin: 0;
  font-size: 19px;
}

.side-card header span {
  color: var(--muted);
  font-weight: 800;
}

.pinned-note {
  margin: 0 18px 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
}

.pinned-note strong {
  color: var(--gold);
}

.pinned-note p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.88);
  line-height: 1.5;
}

.chat-card {
  height: calc(100vh - 190px);
  min-height: 600px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}

.chat-list {
  overflow-y: auto;
  padding: 8px 18px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.chat-message {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
}

.chat-message img,
.chat-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  object-fit: cover;
  background: rgba(255,255,255,.12);
  color: white;
  font-weight: 900;
}

.chat-message strong {
  color: var(--gold);
  margin-right: 8px;
}

.chat-message p {
  margin: 0;
  color: white;
  line-height: 1.35;
}

.chat-message time {
  color: rgba(255,255,255,.52);
  font-size: 12px;
}

.empty-chat {
  color: var(--muted);
  padding: 15px 0;
}

.chat-form {
  margin: 14px;
  height: 48px;
  display: grid;
  grid-template-columns: 1fr 48px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  overflow: hidden;
}

.chat-form input {
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 0 16px;
}

.chat-form button {
  border: 0;
  background: transparent;
  color: white;
  display: grid;
  place-items: center;
}

.top-list {
  padding: 0 20px 18px;
  display: grid;
  gap: 12px;
}

.top-viewer {
  display: grid;
  grid-template-columns: 28px 42px 1fr auto;
  align-items: center;
  gap: 10px;
}

.top-viewer img,
.top-viewer span.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
}

.reaction-row {
  padding: 0 20px 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reaction-row button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0,0,0,.26);
  font-size: 22px;
}

.live-bottom-nav {
  display: none;
}

.viewer-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.viewer-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,20,12,.82);
  backdrop-filter: blur(8px);
}

.viewer-auth-card {
  position: relative;
  width: min(460px, 100%);
  background: white;
  color: #111;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 34px 120px rgba(0,0,0,.44);
}

.viewer-auth-card button,
.viewer-auth-card a {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-top: 12px;
  font-weight: 900;
}

.viewer-auth-card button {
  border: 0;
  background: #003d26;
  color: white;
}

@media (max-width: 1180px) {
  body {
    background: #000;
  }

  .live-top {
    height: 92px;
    padding: 0 26px;
    grid-template-columns: 1fr auto 1fr;
    border-bottom: 0;
    background: #000;
  }

  .live-brand img {
    width: 190px;
  }

  .live-desktop-nav,
  .live-search,
  .live-top-actions button {
    display: none;
  }

  .live-top::after {
    content: "LIVE";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 27px;
    font-weight: 950;
  }

  .live-avatar {
    justify-self: end;
  }

  .live-layout {
    width: 100%;
    margin: 0;
    grid-template-columns: 1fr;
  }

  .live-stage {
    min-height: calc(100vh - 92px);
  }

  .live-video-card {
    height: calc(100vh - 184px);
    min-height: 0;
    border-radius: 28px 28px 0 0;
    border-left: 0;
    border-right: 0;
  }

  .live-side {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 86px;
    z-index: 30;
    pointer-events: none;
  }

  .chat-card {
    height: 290px;
    min-height: 0;
    margin: 0 28px;
    display: grid;
    border-radius: 18px;
    pointer-events: auto;
  }

  .live-side > .side-card:not(.chat-card) {
    display: none;
  }

  .chat-card header,
  .pinned-note {
    display: none;
  }

  .chat-list {
    max-height: 190px;
  }

  .stream-controls {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 102px;
    z-index: 32;
    justify-content: center;
  }

  .stream-controls button {
    height: 38px;
    padding: 0 12px;
  }

  .live-caption {
    right: 100px;
    bottom: 30px;
  }

  .live-title-input {
    font-size: 25px;
  }

  .live-description-input {
    font-size: 16px;
  }

  .live-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(86px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(255,255,255,.12);
    background: #000;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }

  .live-bottom-nav a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    display: grid;
    place-items: center;
    padding-top: 10px;
    font-weight: 850;
  }

  .live-bottom-nav svg {
    width: 30px;
    height: 30px;
  }

  .live-bottom-nav small {
    font-size: 12px;
  }

  .live-bottom-nav a.active {
    color: var(--gold);
  }
}

@media (max-width: 640px) {
  .live-actions {
    right: 16px;
    gap: 12px;
  }

  .live-actions button {
    width: 58px;
    min-height: 58px;
  }

  .live-badges {
    left: 18px;
    top: 18px;
  }

  .timer,
  .viewer-count,
  .status-badge {
    min-height: 37px;
    padding: 0 11px;
  }

  .chat-card {
    margin: 0 18px;
  }
}


/* BADAWY LIVESTREAM CAMERA PERMISSION UI */
.camera-permission-box {
  width: min(460px, calc(100% - 30px));
  margin-top: 18px;
  border: 1px solid rgba(240,170,44,.55);
  border-radius: 16px;
  background: rgba(0,0,0,.58);
  padding: 18px;
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

.camera-permission-box strong {
  display: block;
  color: #f0aa2c;
  font-size: 18px;
  margin-bottom: 7px;
}

.camera-permission-box p {
  margin: 0 0 14px !important;
  color: rgba(255,255,255,.86) !important;
  line-height: 1.45;
}

.camera-permission-box button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: linear-gradient(135deg, #f0aa2c, #ffc14a);
  color: #1c1200;
  font-weight: 950;
}

/* REAL LIVESTREAM HOST / VIEWER MODE */
body.viewer-mode .stream-controls {
  display: none !important;
}

body.viewer-mode .live-title-input,
body.viewer-mode .live-description-input {
  pointer-events: none !important;
}

body.viewer-mode #cameraEmpty h1::after {
  content: "";
}

body.viewer-mode #cameraEmpty h1 {
  font-size: 28px;
}

body.viewer-mode #cameraEmpty p {
  max-width: 480px;
}

body.viewer-mode #cameraEmpty img {
  width: 120px;
}

body.viewer-mode .live-actions {
  display: grid !important;
}

body.viewer-mode .live-video-card {
  cursor: default;
}

body.host-mode .live-video-card {
  cursor: default;
}

/* BADAWY LIVESTREAM: HOST SELFIE CAMERA CORRECTION */
body.host-mode #localVideo.mirror-selfie {
  transform: scaleX(-1) !important;
}

/* BADAWY LIVESTREAM: REAL COMMENT LIKE + REPLY UI */
.live-chat-message {
  grid-template-columns: 42px minmax(0, 1fr) 38px !important;
  align-items: start !important;
}

.live-chat-left img,
.live-chat-left .chat-initial,
.live-reply-main img,
.live-reply-main .chat-initial {
  width: 38px !important;
  height: 38px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  display: grid !important;
  place-items: center !important;
}

.live-chat-body {
  min-width: 0 !important;
}

.live-chat-body p,
.live-reply-main p {
  margin: 0 !important;
  line-height: 1.42 !important;
  color: #fff !important;
}

.live-chat-body p strong,
.live-reply-main p strong {
  color: #f0aa2c !important;
  margin-right: 8px !important;
  font-weight: 950 !important;
}

.live-chat-body p span,
.live-reply-main p span {
  color: #fff !important;
}

.live-chat-meta {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  margin-top: 5px !important;
  color: rgba(255,255,255,.55) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.live-chat-meta button {
  border: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.62) !important;
  font-weight: 950 !important;
  padding: 0 !important;
}

.live-chat-actions {
  display: grid !important;
  justify-items: center !important;
  gap: 3px !important;
}

.live-chat-actions button {
  width: 32px !important;
  height: 32px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.72) !important;
  padding: 0 !important;
}

.live-chat-actions button.active {
  color: #ff2d55 !important;
}

.live-chat-actions button.active svg path {
  fill: #ff2d55 !important;
  stroke: #ff2d55 !important;
}

.live-chat-actions svg {
  width: 22px !important;
  height: 22px !important;
}

.live-chat-actions svg path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
}

.live-chat-actions span {
  color: rgba(255,255,255,.70) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  min-height: 12px !important;
}

.live-reply-form {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 7px !important;
  margin-top: 8px !important;
}

.live-reply-form[hidden] {
  display: none !important;
}

.live-reply-form input {
  height: 34px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  padding: 0 12px !important;
  outline: 0 !important;
}

.live-reply-form button {
  height: 34px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f0aa2c !important;
  color: #1c1200 !important;
  padding: 0 13px !important;
  font-weight: 950 !important;
}

.live-replies {
  display: grid !important;
  gap: 8px !important;
  margin-top: 9px !important;
  padding-left: 8px !important;
  border-left: 2px solid rgba(255,255,255,.12) !important;
}

.live-reply-item {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 34px !important;
  gap: 8px !important;
  align-items: start !important;
}

.live-reply-main {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 8px !important;
}

.live-reply-main img,
.live-reply-main .chat-initial {
  width: 30px !important;
  height: 30px !important;
  font-size: 12px !important;
}


/* BADAWY LIVESTREAM MOBILE COMMENTS: HIDDEN UNTIL COMMENT BUTTON */
.close-mobile-chat {
  display: none;
}

@media (max-width: 1180px) {
  body:not(.mobile-chat-open) .live-side {
    display: none !important;
  }

  body.mobile-chat-open .live-side {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    top: auto !important;
    z-index: 80 !important;
    pointer-events: auto !important;
  }

  body.mobile-chat-open .chat-card {
    height: min(54vh, 460px) !important;
    min-height: 310px !important;
    margin: 0 14px !important;
    border-radius: 22px 22px 0 0 !important;
    background: rgba(0, 43, 28, .96) !important;
    border: 1px solid rgba(240,170,44,.58) !important;
    box-shadow: 0 -22px 80px rgba(0,0,0,.55) !important;
    display: grid !important;
    grid-template-rows: auto 1fr auto !important;
  }

  body.mobile-chat-open .chat-card header {
    display: flex !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.10) !important;
  }

  body.mobile-chat-open .pinned-note {
    display: none !important;
  }

  body.mobile-chat-open .chat-list {
    max-height: none !important;
    padding: 12px 14px !important;
    overflow-y: auto !important;
  }

  body.mobile-chat-open .chat-form {
    margin: 10px 12px 12px !important;
  }

  .close-mobile-chat {
    margin-left: auto !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    display: grid !important;
    place-items: center !important;
  }

  .close-mobile-chat svg {
    width: 21px !important;
    height: 21px !important;
  }

  .live-actions #liveCommentBtn {
    display: grid !important;
  }

  .live-actions {
    z-index: 50 !important;
  }

  .live-caption {
    z-index: 20 !important;
  }
}

/* Desktop: keep chat side visible normally */
@media (min-width: 1181px) {
  .live-side {
    display: grid !important;
  }

  .close-mobile-chat {
    display: none !important;
  }
}


/* BTV_MOBILE_LIVESTREAM_FULLSCREEN_PATCH */
.btv-mobile-live-hidden {
  display: none !important;
}

@media (max-width: 900px) {
  body.btv-mobile-live-immersive,
  body.btv-mobile-live-immersive html,
  body.btv-mobile-live-immersive main {
    background: #000 !important;
  }

  body.btv-mobile-live-immersive main,
  body.btv-mobile-live-immersive .livestream-shell,
  body.btv-mobile-live-immersive .livestream-layout,
  body.btv-mobile-live-immersive .live-layout,
  body.btv-mobile-live-immersive .live-main,
  body.btv-mobile-live-immersive .live-main-card,
  body.btv-mobile-live-immersive .live-stage,
  body.btv-mobile-live-immersive .video-stage,
  body.btv-mobile-live-immersive .stream-stage,
  body.btv-mobile-live-immersive .live-player,
  body.btv-mobile-live-immersive .player-shell,
  body.btv-mobile-live-immersive .live-preview,
  body.btv-mobile-live-immersive .host-stage,
  body.btv-mobile-live-immersive .viewer-stage {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  body.btv-mobile-live-immersive video,
  body.btv-mobile-live-immersive .live-stage video,
  body.btv-mobile-live-immersive .video-stage video,
  body.btv-mobile-live-immersive .stream-stage video,
  body.btv-mobile-live-immersive .player-shell video,
  body.btv-mobile-live-immersive .host-stage video,
  body.btv-mobile-live-immersive .viewer-stage video {
    width: 100% !important;
    height: calc(100dvh - 92px) !important;
    min-height: calc(100dvh - 92px) !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
  }

  /* remove top spacing so video starts immediately */
  body.btv-mobile-live-immersive .live-stage,
  body.btv-mobile-live-immersive .video-stage,
  body.btv-mobile-live-immersive .stream-stage,
  body.btv-mobile-live-immersive .player-shell,
  body.btv-mobile-live-immersive .host-stage,
  body.btv-mobile-live-immersive .viewer-stage {
    position: relative !important;
    top: 0 !important;
  }

  /* right-side action buttons: remove circular ring/background */
  body.btv-mobile-live-immersive .live-actions,
  body.btv-mobile-live-immersive .stream-actions,
  body.btv-mobile-live-immersive .action-rail,
  body.btv-mobile-live-immersive .video-actions {
    gap: 16px !important;
  }

  body.btv-mobile-live-immersive .live-actions button,
  body.btv-mobile-live-immersive .stream-actions button,
  body.btv-mobile-live-immersive .action-rail button,
  body.btv-mobile-live-immersive .video-actions button,
  body.btv-mobile-live-immersive .live-actions .action-btn,
  body.btv-mobile-live-immersive .stream-actions .action-btn,
  body.btv-mobile-live-immersive .action-rail .action-btn,
  body.btv-mobile-live-immersive .video-actions .action-btn {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  body.btv-mobile-live-immersive .live-actions button svg,
  body.btv-mobile-live-immersive .stream-actions button svg,
  body.btv-mobile-live-immersive .action-rail button svg,
  body.btv-mobile-live-immersive .video-actions button svg,
  body.btv-mobile-live-immersive .live-actions .action-btn svg,
  body.btv-mobile-live-immersive .stream-actions .action-btn svg,
  body.btv-mobile-live-immersive .action-rail .action-btn svg,
  body.btv-mobile-live-immersive .video-actions .action-btn svg {
    width: 38px !important;
    height: 38px !important;
    stroke-width: 1.9 !important;
  }

  body.btv-mobile-live-immersive .live-actions button b,
  body.btv-mobile-live-immersive .stream-actions button b,
  body.btv-mobile-live-immersive .action-rail button b,
  body.btv-mobile-live-immersive .video-actions button b,
  body.btv-mobile-live-immersive .live-actions .count,
  body.btv-mobile-live-immersive .stream-actions .count,
  body.btv-mobile-live-immersive .action-rail .count,
  body.btv-mobile-live-immersive .video-actions .count {
    display: block !important;
    margin-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
  }

  /* modern clean share icon stroke */
  #shareBtn svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
}

/* BADAWY FINAL MOBILE LIVE HEADER REMOVAL */
@media (max-width: 1180px) {
  .live-top,
  header.live-top,
  .live-top::before,
  .live-top::after,
  .live-brand,
  .live-brand img,
  .live-avatar,
  .live-avatar img,
  .live-top-actions,
  .live-desktop-nav,
  .live-search {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  body,
  html {
    background: #000 !important;
  }

  .live-app {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: #000 !important;
  }

  .live-layout {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .live-stage {
    min-height: calc(100dvh - 86px) !important;
    height: calc(100dvh - 86px) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .live-video-card {
    height: calc(100dvh - 86px) !important;
    min-height: calc(100dvh - 86px) !important;
    max-height: calc(100dvh - 86px) !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
  }

  #localVideo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  .live-badges {
    top: 16px !important;
    left: 16px !important;
    z-index: 20 !important;
  }

  .live-actions {
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 30 !important;
  }

  .live-caption {
    left: 18px !important;
    right: 92px !important;
    bottom: 22px !important;
    z-index: 25 !important;
  }

  .live-bottom-nav {
    height: calc(86px + env(safe-area-inset-bottom)) !important;
    z-index: 80 !important;
  }
}
