:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --app-height: 100vh;
  --bg-page: #2f3138;
  --bg-chat: #31343c;
  --bg-input: #24272d;
  --bg-bubble: #20232a;
  --bg-self: #f68b32;
  --text-main: #f5f7fb;
  --text-soft: #b7bcc8;
  --text-faint: #8c92a1;
  --accent: #f68b32;
  --vip: #9a78ff;
  --composer-height: 58px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: var(--app-height);
  background: var(--bg-page);
  color: var(--text-main);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow: hidden;
}

body {
  height: var(--app-height);
}

button,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.panel,
.side-panel {
  display: none;
}

.panel.is-active,
.side-panel.is-active {
  display: flex;
}

.live-app {
  height: var(--app-height);
  padding:
    var(--safe-top)
    var(--safe-right)
    calc(12px + var(--safe-bottom))
    var(--safe-left);
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-page);
  overflow: hidden;
}

.visually-hidden {
  display: none !important;
}

.player-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 0 auto;
}

.player-frame {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 40vh, 520px);
  background: transparent;
}

.fullscreen-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  min-width: 56px;
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Hide built-in ccPlayer fullscreen and volume controls, keep only our custom fullscreen button */
#livePlayer .btn-fullscreen,
#livePlayer .btn-exitfullscreen,
#livePlayer .btn-volume,
#livePlayer .li-volume,
#livePlayer .fullscreen-bar,
#livePlayer #volume-slider,
#livePlayer .icon-volume,
#livePlayer [class*="btn-fullscreen"],
#livePlayer [class*="btn-exitfullscreen"],
#livePlayer [class*="btn-volume"],
#livePlayer [class*="li-volume"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide native video controls shown by WebKit/WebView */
#livePlayer video::-webkit-media-controls,
#livePlayer video::-webkit-media-controls-enclosure,
#livePlayer video::-webkit-media-controls-panel,
#livePlayer video::-webkit-media-controls-play-button,
#livePlayer video::-webkit-media-controls-start-playback-button,
#livePlayer video::-webkit-media-controls-volume-slider,
#livePlayer video::-webkit-media-controls-mute-button,
#livePlayer video::-webkit-media-controls-fullscreen-button,
#livePlayer video::-webkit-media-controls-overlay-play-button,
#livePlayer video::-webkit-media-controls-timeline,
#livePlayer video::-webkit-media-controls-current-time-display,
#livePlayer video::-webkit-media-controls-time-remaining-display {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
}

.stage-panel {
  position: absolute;
  inset: 0;
  align-items: stretch;
}

.stage-canvas,
#livePlayer {
  width: 100%;
  height: 100%;
  background: transparent;
}

.chat-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #31343c 0%, #2d3038 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.chat-shell-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 8px;
}

.chat-shell-copy {
  min-width: 0;
}

.chat-shell-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 139, 50, 0.9);
}

.chat-shell-title {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
}

.portrait-side-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.portrait-side-tab {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.portrait-side-tab.is-active {
  background: rgba(246, 139, 50, 0.2);
  color: #fffaf4;
}

.chat-toggle-btn,
.floating-chat-toggle {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font: inherit;
}

.chat-toggle-btn {
  display: none;
  min-height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
}

.floating-chat-toggle {
  position: absolute;
  left: calc(14px + var(--safe-left));
  bottom: calc(14px + var(--safe-bottom));
  z-index: 8;
  min-width: 58px;
  min-height: 34px;
  padding: 0 14px;
  background: rgba(18, 21, 28, 0.64);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.notice {
  margin: 10px 12px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(246, 139, 50, 0.12);
  color: #ffd7b5;
  font-size: 12px;
  line-height: 1.5;
}

.side-panel {
  flex: 1;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.intro-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 14px calc(16px + var(--safe-bottom));
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}

.intro-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.intro-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.intro-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(246, 139, 50, 0.9);
  text-transform: uppercase;
}

.intro-count {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
}

.intro-desc {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}

.intro-desc p:first-child {
  margin-top: 0;
}

.intro-desc p:last-child {
  margin-bottom: 0;
}

.intro-link-btn {
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 139, 50, 0.18);
  color: #fff7ee;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.feed {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

.feed::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.feed-empty {
  margin: auto;
  width: 100%;
  padding: 20px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
}

.feed-item.system {
  justify-content: center;
}

.feed-system-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.feed-item.is-self {
  justify-content: flex-end;
}

.feed-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef3ff 0%, #d8e2ff 100%);
  color: #4e648d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.feed-item.is-self .feed-avatar {
  order: 2;
}

.feed-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 44px);
}

.feed-item.is-self .feed-body {
  align-items: flex-end;
}

.feed-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.2;
}

.feed-item.is-self .feed-head {
  flex-direction: row-reverse;
}

.feed-name {
  color: var(--accent);
  font-weight: 600;
}

.feed-item.is-vip .feed-name {
  color: var(--vip);
}

.feed-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 600;
}

.feed-time {
  color: var(--text-faint);
  font-size: 11px;
}

.feed-bubble {
  padding: 9px 12px;
  border-radius: 4px;
  background: var(--bg-bubble);
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.feed-item.is-self .feed-bubble {
  background: var(--bg-self);
  color: #fff7ee;
}

.composer {
  position: static;
  flex: 0 0 auto;
  padding: 10px 12px calc(12px + var(--safe-bottom));
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.18);
}

.composer-row {
  min-height: var(--composer-height);
  display: flex;
  align-items: center;
  gap: 8px;
}

.composer-shell {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 19px;
  background: var(--bg-input);
}

.composer-input {
  width: 100%;
  min-height: 22px;
  height: 22px;
  max-height: 66px;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  color: var(--text-main);
  font-size: 14px;
  line-height: 22px;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  display: block;
}

.composer-input::placeholder {
  color: var(--text-faint);
}

.primary-btn {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 15px;
  background: var(--accent);
  color: #fff8f2;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.error-panel {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(13, 14, 18, 0.82);
  z-index: 4;
}

.error-card {
  width: min(100%, 360px);
  padding: 20px 18px;
  border-radius: 14px;
  background: #363841;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
}

.error-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.error-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.player-shell:fullscreen,
.player-shell:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #000000;
}

.player-shell:fullscreen .player-frame,
.player-shell:-webkit-full-screen .player-frame {
  height: 100%;
  min-height: 100%;
}

.player-shell:fullscreen .stage-canvas,
.player-shell:-webkit-full-screen .stage-canvas,
.player-shell:fullscreen #livePlayer,
.player-shell:-webkit-full-screen #livePlayer {
  width: 100%;
  height: 100%;
}

body.orientation-landscape.device-phone .live-app,
body.device-tablet .live-app {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  grid-template-rows: 1fr;
  height: var(--app-height);
}

body.orientation-landscape.device-phone .player-shell,
body.device-tablet .player-shell,
body.orientation-landscape.device-phone .chat-shell,
body.device-tablet .chat-shell {
  min-height: 0;
}

body.orientation-landscape.device-phone .player-shell,
body.device-tablet .player-shell {
  height: 100%;
}

body.orientation-landscape.device-phone .player-frame,
body.device-tablet .player-frame {
  flex: 1;
  min-height: 0;
  height: calc(var(--app-height) - var(--safe-top) - var(--safe-bottom));
}

body.orientation-landscape.device-phone .chat-shell,
body.device-tablet .chat-shell {
  flex: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

body.device-tablet {
  max-width: 1320px;
  margin: 0 auto;
}

body.fullscreen-active {
  background: #000000;
}

body.fullscreen-active .live-app {
  padding: 0;
  background: #000000;
}

body.fullscreen-active .player-shell {
  position: absolute;
  inset: 0;
  z-index: 1;
}

body.fullscreen-active .player-frame {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

body.fullscreen-active .chat-shell,
body.landscape-active .chat-shell {
  position: absolute;
  left: calc(14px + var(--safe-left));
  right: auto;
  bottom: calc(14px + var(--safe-bottom));
  width: min(420px, 42vw);
  max-width: 420px;
  height: min(42vh, 320px);
  flex: none;
  z-index: 6;
  border-left: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

body.fullscreen-active .chat-shell.collapsed,
body.landscape-active .chat-shell.collapsed {
  transform: translateY(calc(100% + 28px));
  opacity: 0;
  pointer-events: none;
}

body.fullscreen-active .portrait-side-tabs,
body.landscape-active .portrait-side-tabs {
  display: none;
}

body.fullscreen-active .chat-shell-head,
body.landscape-active .chat-shell-head {
  display: none;
}

body.fullscreen-active .notice,
body.landscape-active .notice {
  margin: 0 0 10px;
  align-self: flex-start;
  max-width: min(360px, 100%);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

body.fullscreen-active .side-panel,
body.landscape-active .side-panel {
  position: relative;
}

body.fullscreen-active .side-panel::before,
body.fullscreen-active .side-panel::after,
body.landscape-active .side-panel::before,
body.landscape-active .side-panel::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  pointer-events: none;
  z-index: 2;
}

body.fullscreen-active .side-panel::before,
body.landscape-active .side-panel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 100%);
}

body.fullscreen-active .side-panel::after,
body.landscape-active .side-panel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0) 100%);
}

body.fullscreen-active .feed,
body.landscape-active .feed {
  padding: 8px 0 8px 0;
  gap: 8px;
}

body.fullscreen-active .feed-item,
body.landscape-active .feed-item {
  align-items: flex-start;
  gap: 0;
}

body.fullscreen-active .feed-avatar,
body.landscape-active .feed-avatar,
body.fullscreen-active .feed-time,
body.landscape-active .feed-time,
body.fullscreen-active .feed-role,
body.landscape-active .feed-role {
  display: none !important;
}

body.fullscreen-active .feed-body,
body.landscape-active .feed-body {
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
}

body.fullscreen-active .feed-item.is-self .feed-body,
body.landscape-active .feed-item.is-self .feed-body {
  align-items: flex-start;
}

body.fullscreen-active .feed-head,
body.landscape-active .feed-head {
  display: inline-flex;
  flex: 0 0 auto;
  padding-top: 6px;
}

body.fullscreen-active .feed-item.is-self .feed-head,
body.landscape-active .feed-item.is-self .feed-head {
  flex-direction: row;
}

body.fullscreen-active .feed-name,
body.landscape-active .feed-name {
  color: rgba(221, 226, 233, 0.86);
  font-size: 12px;
  font-weight: 600;
}

body.fullscreen-active .feed-name::after,
body.landscape-active .feed-name::after {
  content: '：';
}

body.fullscreen-active .feed-bubble,
body.landscape-active .feed-bubble {
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
}

body.fullscreen-active .feed-item.is-self .feed-bubble,
body.landscape-active .feed-item.is-self .feed-bubble {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.fullscreen-active .composer,
body.landscape-active .composer {
  padding: 10px 0 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.fullscreen-active .composer-shell,
body.landscape-active .composer-shell {
  min-height: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
}

body.fullscreen-active .composer-input,
body.landscape-active .composer-input {
  color: #ffffff;
}

body.fullscreen-active .composer-input::placeholder,
body.landscape-active .composer-input::placeholder {
  color: rgba(235, 239, 245, 0.62);
}

body.fullscreen-active .primary-btn,
body.landscape-active .primary-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

body.fullscreen-active .floating-chat-toggle,
body.landscape-active .floating-chat-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  left: auto;
  right: calc(92px + var(--safe-right));
  bottom: calc(14px + var(--safe-bottom));
}

body.fullscreen-active .fullscreen-btn,
body.landscape-active .fullscreen-btn {
  right: calc(14px + var(--safe-right));
  bottom: calc(14px + var(--safe-bottom));
}

body.fullscreen-active .notice,
body.landscape-active .notice {
  margin: 0 14px;
}

body.fullscreen-active .feed,
body.landscape-active .feed {
  padding: 18px 14px 12px;
}

body.fullscreen-active .composer,
body.landscape-active .composer {
  padding: 10px 14px calc(14px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.04);
}

/* Final landscape/fullscreen chat presentation */
body.fullscreen-active .chat-shell,
body.landscape-active .chat-shell {
  left: calc(34px + var(--safe-left));
  right: auto;
  bottom: calc(14px + var(--safe-bottom));
  width: min(420px, 42vw);
  max-width: 420px;
  height: min(58vh, 440px);
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.fullscreen-active .chat-shell-head,
body.landscape-active .chat-shell-head {
  display: none;
}

body.fullscreen-active .notice,
body.landscape-active .notice {
  margin: 0 0 10px;
  padding: 0;
  align-self: flex-start;
  max-width: min(360px, 100%);
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
}

body.fullscreen-active .side-panel::before,
body.fullscreen-active .side-panel::after,
body.landscape-active .side-panel::before,
body.landscape-active .side-panel::after {
  display: none;
}

body.fullscreen-active .side-panel::before,
body.landscape-active .side-panel::before {
  background: none;
}

body.fullscreen-active .side-panel::after,
body.landscape-active .side-panel::after {
  background: none;
}

body.fullscreen-active .feed,
body.landscape-active .feed {
  padding: 8px 0 8px 0;
  gap: 8px;
}

body.fullscreen-active .feed-item,
body.landscape-active .feed-item,
body.fullscreen-active .feed-item.is-self,
body.landscape-active .feed-item.is-self {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
}

body.fullscreen-active .feed-avatar,
body.landscape-active .feed-avatar,
body.fullscreen-active .feed-time,
body.landscape-active .feed-time,
body.fullscreen-active .feed-role,
body.landscape-active .feed-role {
  display: none !important;
}

body.fullscreen-active .feed-body,
body.landscape-active .feed-body,
body.fullscreen-active .feed-item.is-self .feed-body,
body.landscape-active .feed-item.is-self .feed-body {
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
}

body.fullscreen-active .feed-head,
body.landscape-active .feed-head,
body.fullscreen-active .feed-item.is-self .feed-head,
body.landscape-active .feed-item.is-self .feed-head {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding-top: 6px;
}

body.fullscreen-active .feed-name,
body.landscape-active .feed-name {
  color: rgba(221, 226, 233, 0.86);
  font-size: 12px;
  font-weight: 600;
}

body.fullscreen-active .feed-name::after,
body.landscape-active .feed-name::after {
  content: '：';
}

body.fullscreen-active .feed-self-badge,
body.landscape-active .feed-self-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  color: rgba(235, 239, 245, 0.7);
  font-size: 10px;
  font-weight: 700;
}

body.fullscreen-active .feed-bubble,
body.landscape-active .feed-bubble,
body.fullscreen-active .feed-item.is-self .feed-bubble,
body.landscape-active .feed-item.is-self .feed-bubble {
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(242, 245, 248, 0.9);
  font-size: 13px;
  line-height: 1.5;
}

body.fullscreen-active .feed-system-chip,
body.landscape-active .feed-system-chip {
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
}

body.fullscreen-active .composer,
body.landscape-active .composer {
  padding: 10px 0 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

body.fullscreen-active .composer-shell,
body.landscape-active .composer-shell {
  min-height: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(15, 18, 24, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

body.fullscreen-active .composer-input,
body.landscape-active .composer-input {
  color: #ffffff;
}

body.fullscreen-active .composer-input::placeholder,
body.landscape-active .composer-input::placeholder {
  color: rgba(235, 239, 245, 0.62);
}

body.fullscreen-active .primary-btn,
body.landscape-active .primary-btn {
  background: rgba(15, 18, 24, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

body.fullscreen-active .floating-chat-toggle,
body.landscape-active .floating-chat-toggle {
  left: auto;
  right: calc(14px + var(--safe-right));
  bottom: calc(58px + var(--safe-bottom));
}
