/*
 * Logged-in app skin based on the supplied Nusumo design reference.
 * Scope these visual overrides to the thenusumo theme and existing PHP
 * markup; production templates continue to own data and interactions.
 */

body.night_mode,
body.night-mode,
body.dark-mode {
  --sl-bg: #08070d;
  --sl-card: #0d0b13;
  --sl-card-2: #14121a;
  --sl-card-glass: rgba(13, 11, 19, 0.84);
  --sl-text: #e6e1e9;
  --sl-sub: #a29cb2;
  --sl-line: rgba(255, 255, 255, 0.075);
  --sl-chip: rgba(255, 255, 255, 0.04);
  --sl-chip-hover: rgba(255, 255, 255, 0.08);
  --sl-accent: #a678ff;
  --sl-accent-2: #ff6ad5;
  --sl-cyan: #22d3ee;
  --sl-grad: linear-gradient(120deg, #a678ff 0%, #c77df2 52%, #ff6ad5 100%);
  --sl-glow: 0 0 0 1px rgba(166, 120, 255, 0.3), 0 14px 40px rgba(166, 120, 255, 0.16);
  --sl-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 18px 40px rgba(0, 0, 0, 0.32);
  background:
    radial-gradient(760px 420px at 18% -8%, rgba(166, 120, 255, 0.12), transparent 70%),
    radial-gradient(680px 460px at 92% 4%, rgba(255, 106, 213, 0.07), transparent 72%),
    #08070d !important;
  background-attachment: fixed;
  color: #e6e1e9;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.night_mode .header,
body.night-mode .header,
body.dark-mode .header {
  background: rgba(13, 11, 19, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(16px);
}

body.night_mode .header::before,
body.night-mode .header::before,
body.dark-mode .header::before {
  height: 3px !important;
  background: linear-gradient(90deg, #a678ff 0%, #c77df2 52%, #ff6ad5 100%) !important;
}

body.night_mode .left-menu-pro-v1 .btest,
body.night-mode .left-menu-pro-v1 .btest,
body.dark-mode .left-menu-pro-v1 .btest {
  background: rgba(13, 11, 19, 0.94) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22) !important;
}

body.night_mode .left-menu-pro-v1 .i_left_menu_box,
body.night-mode .left-menu-pro-v1 .i_left_menu_box,
body.dark-mode .left-menu-pro-v1 .i_left_menu_box {
  color: #c8c1d2 !important;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body.night_mode .left-menu-pro-v1 .i_left_menu_box:hover,
body.night-mode .left-menu-pro-v1 .i_left_menu_box:hover,
body.dark-mode .left-menu-pro-v1 .i_left_menu_box:hover {
  color: #fff !important;
  background: rgba(166, 120, 255, 0.12) !important;
}

body.night_mode .left-menu-pro-v1 .i_left_menu_box.is-active,
body.night-mode .left-menu-pro-v1 .i_left_menu_box.is-active,
body.dark-mode .left-menu-pro-v1 .i_left_menu_box.is-active {
  color: #fff !important;
  background: linear-gradient(110deg, rgba(166, 120, 255, 0.2), rgba(255, 106, 213, 0.09)) !important;
  box-shadow: inset 0 0 0 1px rgba(166, 120, 255, 0.2) !important;
}

body.night_mode .left-menu-pro-v1 .i_left_menu_box.is-active svg,
body.night-mode .left-menu-pro-v1 .i_left_menu_box.is-active svg,
body.dark-mode .left-menu-pro-v1 .i_left_menu_box.is-active svg {
  color: #c7aaff !important;
}

body.night_mode .left-menu-pro-v1 .i_left_menu_box:hover svg,
body.night-mode .left-menu-pro-v1 .i_left_menu_box:hover svg,
body.dark-mode .left-menu-pro-v1 .i_left_menu_box:hover svg,
body.night_mode .left-menu-pro-v1 .i_left_menu_box.is-active::before,
body.night-mode .left-menu-pro-v1 .i_left_menu_box.is-active::before,
body.dark-mode .left-menu-pro-v1 .i_left_menu_box.is-active::before {
  color: #c7aaff !important;
  background-color: #a678ff !important;
}

body.night_mode .i_post_body,
body.night-mode .i_post_body,
body.dark-mode .i_post_body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%), #0d0b13 !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16) !important;
}

body.night_mode .i_postFormContainer,
body.night-mode .i_postFormContainer,
body.dark-mode .i_postFormContainer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%), #0d0b13 !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16) !important;
}

body.night_mode .i_post_form,
body.night-mode .i_post_form,
body.dark-mode .i_post_form {
  background: #08070d !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.night_mode .i_post_form:focus-within,
body.night-mode .i_post_form:focus-within,
body.dark-mode .i_post_form:focus-within {
  border-color: rgba(166, 120, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(166, 120, 255, 0.1);
}

body.night_mode .i_post_body:hover,
body.night-mode .i_post_body:hover,
body.dark-mode .i_post_body:hover {
  border-color: rgba(166, 120, 255, 0.22);
}

body.night_mode .i_form_buttons > .publish_btn,
body.night-mode .i_form_buttons > .publish_btn,
body.dark-mode .i_form_buttons > .publish_btn,
body.night_mode .profile_wrapper .i_btn_become_fun,
body.night-mode .profile_wrapper .i_btn_become_fun,
body.dark-mode .profile_wrapper .i_btn_become_fun {
  background: linear-gradient(120deg, #a678ff 0%, #c77df2 55%, #ff6ad5 100%) !important;
  color: #100b18 !important;
  box-shadow: 0 8px 22px rgba(166, 120, 255, 0.2);
}

body.night_mode .i_form_buttons > .publish_btn:hover,
body.night-mode .i_form_buttons > .publish_btn:hover,
body.dark-mode .i_form_buttons > .publish_btn:hover,
body.night_mode .profile_wrapper .i_btn_become_fun:hover,
body.night-mode .profile_wrapper .i_btn_become_fun:hover,
body.dark-mode .profile_wrapper .i_btn_become_fun:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

body.night_mode .i_post_text,
body.night-mode .i_post_text,
body.dark-mode .i_post_text,
body.night_mode .i_post_username,
body.night-mode .i_post_username,
body.dark-mode .i_post_username {
  color: #e6e1e9;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.night_mode .i_post_shared_time,
body.night-mode .i_post_shared_time,
body.dark-mode .i_post_shared_time {
  color: #a29cb2;
}

body.night_mode .profile_wrapper .i_profile_infos_wrapper,
body.night-mode .profile_wrapper .i_profile_infos_wrapper,
body.dark-mode .profile_wrapper .i_profile_infos_wrapper {
  background: rgba(13, 11, 19, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.075) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

body.night_mode .profile_wrapper .i_profile_avatar,
body.night-mode .profile_wrapper .i_profile_avatar,
body.dark-mode .profile_wrapper .i_profile_avatar {
  border-color: #0d0b13 !important;
  background-color: #0d0b13 !important;
}

body.night_mode .i_postSavedHeader,
body.night-mode .i_postSavedHeader,
body.dark-mode .i_postSavedHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(110deg, rgba(166, 120, 255, 0.14), rgba(255, 106, 213, 0.06)), #0d0b13 !important;
  border: 1px solid rgba(166, 120, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  color: #e6e1e9 !important;
}

body.night_mode .i_postSavedHeader svg,
body.night-mode .i_postSavedHeader svg,
body.dark-mode .i_postSavedHeader svg {
  width: 32px;
  height: 32px;
  margin: 0;
  fill: #c7aaff;
}

body.night-mode .dlib,
body.night_mode .dlib,
body.dark-mode .dlib {
  --dl-bg: #0d0b13 !important;
  --dl-card: #14121a !important;
  --dl-line: rgba(255, 255, 255, 0.08) !important;
  --dl-text: #e6e1e9 !important;
  --dl-sub: #a29cb2 !important;
  --dl-accent: #a678ff !important;
  --dl-grad: linear-gradient(120deg, #a678ff, #c77df2 55%, #ff6ad5) !important;
  --dl-shadow: 0 1px 0 rgba(255, 255, 255, 0.025) inset, 0 18px 40px rgba(0, 0, 0, 0.32) !important;
}

body.night-mode .creators_hero,
body.night_mode .creators_hero,
body.dark-mode .creators_hero {
  background: linear-gradient(120deg, rgba(166, 120, 255, 0.18), rgba(255, 106, 213, 0.08)), #0d0b13 !important;
  border-color: rgba(166, 120, 255, 0.22) !important;
}

body.night-mode .creators_hero::after,
body.night_mode .creators_hero::after,
body.dark-mode .creators_hero::after {
  background: radial-gradient(circle, rgba(255, 106, 213, 0.28), transparent 66%) !important;
}

body.night-mode .creators_menu_shell,
body.night_mode .creators_menu_shell,
body.dark-mode .creators_menu_shell {
  background: rgba(13, 11, 19, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.night-mode .dashboard_earnings_chart,
body.night_mode .dashboard_earnings_chart,
body.dark-mode .dashboard_earnings_chart,
body.night-mode .dashboard_revenue_cards .chart_row_box,
body.night_mode .dashboard_revenue_cards .chart_row_box,
body.dark-mode .dashboard_revenue_cards .chart_row_box {
  background: #0d0b13 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24) !important;
}

body.night-mode.reels-page-body .reels-left-rail .i_left_menu_box:hover svg [stroke],
body.night_mode.reels-page-body .reels-left-rail .i_left_menu_box:hover svg [stroke],
body.dark-mode.reels-page-body .reels-left-rail .i_left_menu_box:hover svg [stroke] {
  stroke: #c7aaff !important;
}

body.night-mode.reels-page-body .reels-empty-icon,
body.night_mode.reels-page-body .reels-empty-icon,
body.dark-mode.reels-page-body .reels-empty-icon {
  background: linear-gradient(135deg, rgba(166, 120, 255, 0.16), rgba(255, 106, 213, 0.1)) !important;
  color: #c7aaff !important;
}

body.night-mode.reels-page-body .reels-empty-kicker,
body.night_mode.reels-page-body .reels-empty-kicker,
body.dark-mode.reels-page-body .reels-empty-kicker {
  color: #c7aaff !important;
}

body.night-mode.reels-page-body .reels-empty-btn-primary,
body.night_mode.reels-page-body .reels-empty-btn-primary,
body.dark-mode.reels-page-body .reels-empty-btn-primary {
  background: linear-gradient(120deg, #a678ff, #c77df2 55%, #ff6ad5) !important;
}

body.night-mode .story-live .story-bubble,
body.night_mode .story-live .story-bubble,
body.dark-mode .story-live .story-bubble {
  background: linear-gradient(135deg, #a678ff, #ff6ad5) !important;
  box-shadow: 0 14px 30px rgba(166, 120, 255, 0.28) !important;
}

body.night-mode .uploaded_storie_container .add_my_text:focus,
body.night_mode .uploaded_storie_container .add_my_text:focus,
body.dark-mode .uploaded_storie_container .add_my_text:focus {
  border-color: #a678ff !important;
  box-shadow: 0 0 0 3px rgba(166, 120, 255, 0.18) !important;
}

body.night_mode .settings_wrapper .i_settings_menu_wrapper,
body.night-mode .settings_wrapper .i_settings_menu_wrapper,
body.dark-mode .settings_wrapper .i_settings_menu_wrapper,
body.night_mode .settings_wrapper .i_settings_wrapper_in,
body.night-mode .settings_wrapper .i_settings_wrapper_in,
body.dark-mode .settings_wrapper .i_settings_wrapper_in {
  background: #0d0b13;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.night_mode .settings_wrapper .i_s_menus_title,
body.night-mode .settings_wrapper .i_s_menus_title,
body.dark-mode .settings_wrapper .i_s_menus_title {
  background: #14121a;
  color: #a29cb2;
}

body.night_mode .settings_wrapper .i_s_menu_box,
body.night-mode .settings_wrapper .i_s_menu_box,
body.dark-mode .settings_wrapper .i_s_menu_box {
  border-radius: 10px;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body.night_mode .settings_wrapper .i_s_menu_box:hover,
body.night-mode .settings_wrapper .i_s_menu_box:hover,
body.dark-mode .settings_wrapper .i_s_menu_box:hover {
  background: rgba(166, 120, 255, 0.1);
  color: #e6e1e9;
}

body.night_mode .settings_wrapper .i_s_menu_box.active_p,
body.night-mode .settings_wrapper .i_s_menu_box.active_p,
body.dark-mode .settings_wrapper .i_s_menu_box.active_p {
  background: linear-gradient(110deg, rgba(166, 120, 255, 0.2), rgba(255, 106, 213, 0.09));
  color: #fff;
}

body.night_mode .i_chat_wrapper,
body.night-mode .i_chat_wrapper,
body.dark-mode .i_chat_wrapper {
  background: #0d0b13;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  overflow: hidden;
}

body.night_mode .chat_middle_container,
body.night-mode .chat_middle_container,
body.dark-mode .chat_middle_container {
  border-left-color: rgba(255, 255, 255, 0.075);
}

body.night_mode .notificationsContainer,
body.night-mode .notificationsContainer,
body.dark-mode .notificationsContainer {
  background: #0d0b13;
  border-color: rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

body.night_mode .notificationsFilterBtn:hover,
body.night-mode .notificationsFilterBtn:hover,
body.dark-mode .notificationsFilterBtn:hover,
body.night_mode .notificationsFilterBtn.active,
body.night-mode .notificationsFilterBtn.active,
body.dark-mode .notificationsFilterBtn.active {
  border-color: rgba(166, 120, 255, 0.7);
  background: rgba(166, 120, 255, 0.16);
  color: #d8c6ff;
}

body.night_mode .notificationsMarkAll,
body.night-mode .notificationsMarkAll,
body.dark-mode .notificationsMarkAll {
  background: linear-gradient(120deg, #a678ff 0%, #c77df2 55%, #ff6ad5 100%);
  color: #100b18;
}

body.night_mode .notificationsMarkAll:hover,
body.night-mode .notificationsMarkAll:hover,
body.dark-mode .notificationsMarkAll:hover {
  filter: brightness(1.08);
}

body.night_mode .notificationsContainer .notificationFeedItem,
body.night-mode .notificationsContainer .notificationFeedItem,
body.dark-mode .notificationsContainer .notificationFeedItem {
  background: #0d0b13;
  border-color: rgba(255, 255, 255, 0.06);
}

body.night_mode .notificationsContainer .notificationFeedItem.isUnread,
body.night-mode .notificationsContainer .notificationFeedItem.isUnread,
body.dark-mode .notificationsContainer .notificationFeedItem.isUnread {
  background: rgba(166, 120, 255, 0.08);
}

body.night_mode .notificationsContainer .notificationFeedItem.isUnread::before,
body.night-mode .notificationsContainer .notificationFeedItem.isUnread::before,
body.dark-mode .notificationsContainer .notificationFeedItem.isUnread::before {
  background: #a678ff;
}

body.night-mode .nv-item.is-active,
body.night-mode .nv-d-item.is-active {
  background: linear-gradient(135deg, rgba(166, 120, 255, 0.28), rgba(255, 106, 213, 0.15)) !important;
  box-shadow: inset 0 0 0 1px rgba(166, 120, 255, 0.32) !important;
}

body.night-mode .nv-av,
body.night-mode .nv-d-av {
  box-shadow: 0 0 0 2px #0d0b13, 0 0 0 4px rgba(166, 120, 255, 0.66);
}

body.night-mode .nv-badge {
  background: linear-gradient(135deg, #a678ff, #ff6ad5);
  box-shadow: 0 0 0 2px #08070d;
}

body.night-mode.dizzy_live_page {
  --lv-accent: #ff6ad5;
  --lv-accent-2: #a678ff;
  --lv-bg: #08070d;
  --lv-panel: #0d0b13;
  --lv-panel-2: #14121a;
}

body.night_mode :is(button, a, input, select, textarea):focus-visible,
body.night-mode :is(button, a, input, select, textarea):focus-visible,
body.dark-mode :is(button, a, input, select, textarea):focus-visible {
  outline-color: #a678ff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body.night_mode *,
  body.night-mode *,
  body.dark-mode * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 700px) {
  body.night_mode .i_post_body,
  body.night-mode .i_post_body,
  body.dark-mode .i_post_body,
  body.night_mode .i_postFormContainer,
  body.night-mode .i_postFormContainer,
  body.dark-mode .i_postFormContainer {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Shared primary button: replace the parent theme's hard-coded blue with the design accent. */
body.night_mode .i_nex_btn,
body.night-mode .i_nex_btn,
body.dark-mode .i_nex_btn {
  background-image: var(--sl-grad) !important;
  color: #0d0b13 !important;
  box-shadow: var(--sl-glow);
}

body.night_mode .i_sidebar_profile_btn,
body.night-mode .i_sidebar_profile_btn,
body.dark-mode .i_sidebar_profile_btn {
  background: var(--sl-chip) !important;
  color: var(--sl-text) !important;
  border: 1px solid var(--sl-line) !important;
}
body.night_mode .i_sidebar_profile_btn:hover,
body.night-mode .i_sidebar_profile_btn:hover,
body.dark-mode .i_sidebar_profile_btn:hover {
  background: var(--sl-chip-hover) !important;
}

/* Empty profile state sits on the user's wallpaper; keep it readable on any background. */
body.night_mode .pf_empty,
body.night-mode .pf_empty,
body.dark-mode .pf_empty {
  background: var(--sl-card-glass);
  border: 1px solid var(--sl-line);
  border-radius: 20px;
  padding: 32px 24px;
  margin: 24px auto;
  max-width: 520px;
  backdrop-filter: blur(14px);
}
body.night_mode .pf_empty_t,
body.night-mode .pf_empty_t,
body.dark-mode .pf_empty_t {
  color: var(--sl-text) !important;
}

/* Neutral-grey surfaces inherited from the parent dark theme -> design card tones. */
body.night_mode .noPost,
body.night-mode .noPost,
body.dark-mode .noPost,
body.night_mode .live_item,
body.night-mode .live_item,
body.dark-mode .live_item,
body.night_mode .i_settings_wrapper_title,
body.night-mode .i_settings_wrapper_title,
body.dark-mode .i_settings_wrapper_title {
  background: var(--sl-card) !important;
  border: 1px solid var(--sl-line);
  color: var(--sl-text);
}
body.night_mode .notificationsFilterBtn,
body.night-mode .notificationsFilterBtn,
body.dark-mode .notificationsFilterBtn,
body.night_mode .chart_row_box_item,
body.night-mode .chart_row_box_item,
body.dark-mode .chart_row_box_item {
  background: var(--sl-card-2) !important;
  border-color: var(--sl-line);
}

/* Audio rooms list: align gold accent with the violet/pink brand gradient */
body.night_mode .audio-rooms-page{--ar-gold:#c9a6ff;--ar-gold-2:#ff6ad5}
body.night_mode .audio-rooms-hero .audio-room-primary,
body.night_mode .audio-rooms-list .audio-room-empty .audio-room-primary{background:var(--sl-grad,linear-gradient(135deg,#a678ff,#ff6ad5))!important;color:#fff!important;box-shadow:0 14px 34px rgba(166,120,255,.35)}

/* Audio room interior + sheets: brand accent instead of gold */
body.night_mode.ar-immersive,body.night_mode .ar-sheet-card,body.night_mode .ar-style-card,body.night_mode .ar-stage-wrap,body.night_mode .ar-dock{--ar-gold:#c9a6ff;--ar-gold-2:#ff6ad5}
body.night_mode .ar-person.is-host .ar-role-chip,body.night_mode .ar-dock-btn.ar-dock-gift,body.night_mode .ar-send,body.night_mode .ar-recharge,body.night_mode .ar-msg-host,body.night_mode .ar-music-add,body.night_mode .ar-requests .audio-room-request-row button[data-audio-action="approve_speaker"],body.night_mode .ar-qty button.is-selected,body.night_mode .ar-tip-presets button[aria-checked="true"],body.night_mode .ar-mood-filter button[aria-pressed="true"],body.night_mode .ar-track button.ar-track-use{color:#fff!important}
body.night_mode .ar-dock-btn.ar-dock-gift{box-shadow:0 8px 26px rgba(166,120,255,.4)}
body.night_mode .ar-dock-btn[data-ar-music-dock][aria-pressed="false"],body.night_mode .ar-music.is-empty .ar-music-icon,body.night_mode .ar-badge.is-wait{background:rgba(166,120,255,.2);border-color:rgba(166,120,255,.45)}
body.night_mode .ar-pill-btn{color:#fff!important;box-shadow:0 8px 22px rgba(166,120,255,.35)}

/* Age gate (shown on landing/register too): brand gradient instead of red-yellow */
.age_confirm_yes{background:linear-gradient(120deg,#a678ff 0%,#c77df2 52%,#ff6ad5 100%)!important;box-shadow:0 12px 26px rgba(166,120,255,.35)!important}

/* Video player (Video.js): floating glass control pill, brand gradient progress and play button */
:root{--dizzy-player-accent:#a678ff}
.video-js.dizzy-pro-video,.lg-outer .video-js{border-radius:20px;background:#07060d;font-family:inherit;box-shadow:0 18px 44px rgba(0,0,0,.45)}
.video-js.dizzy-pro-video .vjs-control-bar,.lg-outer .video-js .vjs-control-bar{left:10px;right:10px;bottom:10px;width:auto;height:46px;padding:0 10px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(15,13,24,.62);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);box-shadow:0 10px 30px rgba(0,0,0,.4)}
.video-js.dizzy-pro-video .vjs-control-bar .vjs-button>.vjs-icon-placeholder:before,.lg-outer .video-js .vjs-control-bar .vjs-button>.vjs-icon-placeholder:before{line-height:46px;font-size:1.7em}
.video-js.dizzy-pro-video .vjs-current-time,.video-js.dizzy-pro-video .vjs-duration,.video-js.dizzy-pro-video .vjs-time-divider{display:block;line-height:46px;padding:0 .25em;min-width:0;font-size:12px;font-weight:600;opacity:.9}
.video-js.dizzy-pro-video .vjs-time-divider{min-width:0;padding:0}
.video-js.dizzy-pro-video .vjs-progress-control .vjs-progress-holder,.lg-outer .video-js .vjs-progress-holder{height:5px;margin:0 8px;border-radius:999px;background:rgba(255,255,255,.18)}
.video-js.dizzy-pro-video .vjs-progress-control:hover .vjs-progress-holder{height:8px}
.video-js.dizzy-pro-video .vjs-play-progress,.lg-outer .video-js .vjs-play-progress{background:linear-gradient(90deg,#a678ff,#ff6ad5);border-radius:999px}
.video-js.dizzy-pro-video .vjs-play-progress:before,.lg-outer .video-js .vjs-play-progress:before{top:-.32em;width:13px;height:13px;border-radius:50%;background:#fff;color:#fff;font-size:0;box-shadow:0 0 0 4px rgba(166,120,255,.35),0 0 14px rgba(255,106,213,.7)}
.video-js.dizzy-pro-video .vjs-volume-level,.lg-outer .video-js .vjs-volume-level{background:linear-gradient(90deg,#a678ff,#ff6ad5)}
.video-js.dizzy-pro-video .vjs-load-progress,.video-js.dizzy-pro-video .vjs-load-progress div{background:rgba(255,255,255,.16)}
.video-js.dizzy-pro-video .vjs-big-play-button,.lg-outer .video-js .vjs-big-play-button{width:72px;height:72px;line-height:72px;border:0;border-radius:50%;background:linear-gradient(135deg,#a678ff 0%,#ff6ad5 100%);box-shadow:0 14px 36px rgba(166,120,255,.5),inset 0 0 0 1px rgba(255,255,255,.25)}
.video-js.dizzy-pro-video .vjs-big-play-button .vjs-icon-placeholder:before,.lg-outer .video-js .vjs-big-play-button .vjs-icon-placeholder:before{font-size:38px;line-height:72px}
.video-js.dizzy-pro-video:hover .vjs-big-play-button,.video-js.dizzy-pro-video .vjs-big-play-button:focus{background:linear-gradient(135deg,#b88dff 0%,#ff80df 100%)}
.video-js.dizzy-pro-video .vjs-control:hover,.video-js.dizzy-pro-video .vjs-control:focus{color:#ff6ad5;text-shadow:none}
.video-js.dizzy-pro-video .vjs-menu .vjs-menu-content,.lg-outer .video-js .vjs-menu .vjs-menu-content{border-radius:14px;background:rgba(15,13,24,.92);border:1px solid rgba(255,255,255,.1);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.video-js.dizzy-pro-video .vjs-menu li.vjs-selected{background:linear-gradient(120deg,#a678ff,#ff6ad5);color:#fff}
.video-js.dizzy-pro-video .vjs-menu li:hover{background:rgba(166,120,255,.25)}
.video-js.dizzy-pro-video .vjs-spinner,.video-js.dizzy-pro-video .vjs-loading-spinner{border-color:rgba(166,120,255,.6)}
.video-js.dizzy-pro-video.vjs-fullscreen,.video-js.dizzy-pro-video.vjs-fullscreen .vjs-tech{border-radius:0}
@media (max-width:600px){.video-js.dizzy-pro-video .vjs-control-bar{left:6px;right:6px;bottom:6px;height:42px;padding:0 4px}.video-js.dizzy-pro-video .vjs-picture-in-picture-control,.video-js.dizzy-pro-video .vjs-remaining-time{display:none}}

/* ---- Motion ported from the design prototype (pageIn, fadeDown, menuIn, toastIn, msgIn, pulseDot, speakPulse, shimmer, sheen) ---- */
@keyframes nsPageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes nsFadeDown{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@keyframes nsMenuIn{from{opacity:0;transform:translateY(-4px) scale(.98)}to{opacity:1;transform:none}}
@keyframes nsToastIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes nsMsgIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes nsPulseDot{0%{box-shadow:0 0 0 0 rgba(255,84,112,.6)}70%{box-shadow:0 0 0 6px rgba(255,84,112,0)}100%{box-shadow:0 0 0 0 rgba(255,84,112,0)}}
@keyframes nsSpeakPulse{0%,100%{box-shadow:0 0 0 2px rgba(166,120,255,.75),0 0 20px -4px rgba(166,120,255,.55)}50%{box-shadow:0 0 0 4px rgba(166,120,255,.4),0 0 30px -2px rgba(166,120,255,.7)}}
@keyframes nsSheen{0%{background-position:-200% 0}100%{background-position:200% 0}}
body.night_mode .th_middle{animation:nsPageIn .45s cubic-bezier(.2,.7,.2,1) both}
body.night_mode .i_post_body{animation:nsPageIn .45s cubic-bezier(.2,.7,.2,1) both}
body.night_mode .i_post_body:nth-child(2){animation-delay:.05s}
body.night_mode .i_post_body:nth-child(3){animation-delay:.1s}
body.night_mode .i_post_body:nth-child(n+4){animation-delay:.14s}
body.night_mode .i_header_others_box{animation:nsMenuIn .16s cubic-bezier(.2,.7,.2,1) both}
body.night_mode .i_alert_wrapper{animation:nsToastIn .3s cubic-bezier(.2,.7,.2,1) both}
body.night_mode .msg_o_avatar,body.night_mode [class^="msg_"]:not(.msg_o_avatar):not(.msg_txt){animation:nsMsgIn .25s cubic-bezier(.2,.7,.2,1) both}
body.night_mode .audio-room-person.is-speaking img,body.night_mode .audio-room-person.is-speaking .audio-room-person-fallback{animation:nsSpeakPulse 2.2s infinite}
body.night_mode .ar-person.is-speaking .ar-avatar{animation:nsSpeakPulse 2.2s infinite}
body.night_mode .noPost,body.night_mode .live_item{background-image:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.04) 50%,transparent 70%);background-size:200% 100%;animation:nsSheen 3.4s linear infinite}
@media (prefers-reduced-motion:reduce){
  body.night_mode .th_middle,body.night_mode .i_post_body,body.night_mode .i_header_others_box,body.night_mode .i_alert_wrapper,body.night_mode [class^="msg_"],body.night_mode .audio-room-person.is-speaking img,body.night_mode .ar-person.is-speaking .ar-avatar,body.night_mode .noPost,body.night_mode .live_item{animation:none!important}
}

/* Reel close: answer the tap at once while the home page loads */
body.reels-leaving { opacity: .55; transition: opacity .12s ease; pointer-events: none; }
body.reels-leaving .reel video { visibility: hidden; }
