@charset "UTF-8";
/* ==UserStyle==
 * @name            Sidra
 * @author          Ryan
 * @version         0.1.4
 * @compatibility   Firefox 120
 * @homepageURL     https://github.com/benzBrake/FirefoxCustomize
 * @notes utils 来自 black7375/Firefox-UI-Fix，很多样式来自 bmFtZQ/edge-frfox、aminomancer/uc.css.js、Aris-t2/CustomCSSforFx、MrOtherGuy/firefox-csshacks
==/UserStyle== */
@import "special/windows.css" layer(HighPriority) (-moz-platform: windows);
@layer LowPriority, HighPriority;
@-moz-document url-prefix("chrome://"),
  url-prefix("moz-extension://"),
  url("about:downloads") {
  /* Edge-Frfox - colors.css
  * https://github.com/bmFtZQ/edge-frfox */
  /*
    MARK: Default colours
  */
  :root:not([lwtheme]),
  :root[privatebrowsingmode=temporary]:where([style*="--lwt-accent-color: rgb(28, 27, 34)"]:not([style*="--newtab-background-color-secondary: rgb(66, 65, 77)"])) {
    /* Toolbars */
    --lwt-accent-color: light-dark(#cecece, #1c1c1c) !important;
    --lwt-accent-color-inactive: light-dark(#e8e8e8, #2e2e2e) !important;
    --lwt-text-color: light-dark(#000, #fff) !important;
    --lwt-text-color-inactive: light-dark(#3a3a3a, #cbcbcb) !important;
    --tab-selected-textcolor: light-dark(#000, #fff) !important;
    --tab-selected-textcolor-inactive: light-dark(#3e3e3e, #cbcbcb) !important;
    --tab-selected-bgcolor: var(--toolbar-bgcolor) !important;
    --tab-attention-icon-color: light-dark(#0078d4, #93d0ff) !important;
    --toolbar-bgcolor: light-dark(#f7f7f7, #3b3b3b) !important;
    --toolbar-non-lwt-bgcolor: var(--toolbar-bgcolor) !important;
    --toolbar-color: light-dark(#000, #fff) !important;
    --toolbarbutton-icon-fill: var(--toolbar-color) !important;
    --toolbarbutton-icon-fill-attention: light-dark(
      #0078d4,
      #4c98d1
    ) !important;
    --toolbarseparator-color: color-mix(
      in srgb,
      currentColor 25%,
      transparent
    ) !important;
    --chrome-content-separator-color: light-dark(#bfbfbf, #686868) !important;
    --newtab-background-color: light-dark(#f7f7f7, #252525) !important;
    --tabpanel-background-color: var(
      --newtab-background-color,
      var(--toolbar-bgcolor, transparent)
    ) !important;
    /* Toolbar button overlays */
    --toolbarbutton-hover-background: color-mix(
      in srgb,
      currentColor 8%,
      transparent
    ) !important;
    --toolbarbutton-active-background: color-mix(
      in srgb,
      currentColor 13.5%,
      transparent
    ) !important;
    /* Tab audio indicator overlay icon */
    --tab-icon-overlay-fill: var(--toolbar-color) !important;
    --tab-icon-overlay-stroke: var(--toolbar-bgcolor) !important;
    /* URL bar */
    --toolbar-field-background-color: light-dark(#fff, #2b2b2b) !important;
    --toolbar-field-color: light-dark(#000, #fff) !important;
    --toolbar-field-border-color: transparent !important;
    --toolbar-field-focus-background-color: var(
      --toolbar-field-background-color
    ) !important;
    --toolbar-field-focus-color: var(--toolbar-field-color) !important;
    --toolbar-field-focus-border-color: light-dark(
      #0055d780,
      #63ade5
    ) !important;
    --urlbar-icon-fill-opacity: 0.58 !important;
    --urlbar-box-bgcolor: light-dark(
      rgb(0 0 0 / 0.09),
      rgb(255 255 255 / 0.11)
    ) !important;
    --urlbar-box-hover-bgcolor: light-dark(
      rgb(0 0 0 / 0.09),
      rgb(255 255 255 / 0.11)
    ) !important;
    --urlbar-box-active-bgcolor: light-dark(
      rgb(0 0 0 / 0.22),
      rgb(255 255 255 / 0.28)
    ) !important;
    --urlbar-box-focus-bgcolor: var(--urlbar-box-hover-bgcolor) !important;
    /* URL bar suggestions */
    --link-color: light-dark(#0078d4, #75b6e8) !important;
    --uc-urlbarView-accent-color: light-dark(#1a6397, #75b6e8) !important;
    --urlbarView-highlight-background: light-dark(#f2f2f2, #383838) !important;
    --urlbarView-highlight-color: light-dark(#000, #fff) !important;
    --urlbarView-hover-background: light-dark(#e5e5e5, #444444) !important;
    --urlbarView-separator-color: light-dark(#efefef, #5f5f5f) !important;
    /* Menus/panels */
    --arrowpanel-background: light-dark(#fff, #4a4a4a) !important;
    --arrowpanel-color: light-dark(#1c1c1c, #fff) !important;
    --arrowpanel-border-color: light-dark(#fff, #636363) !important;
    --arrowpanel-dimmed: light-dark(#565656, #565656) !important;
    --arrowpanel-dimmed-further: light-dark(#707070, #707070) !important;
    --panel-separator-color: light-dark(#dadada, #636363) !important;
    --panel-description-color: light-dark(#000a, #fffb) !important;
    --panel-disabled-color: light-dark(#9e9e9e, #b9b9b9) !important;
    --panel-item-hover-bgcolor: light-dark(#eee, #646464) !important;
    --panel-item-active-bgcolor: light-dark(#ddd, #747474) !important;
    --panel-banner-item-update-supported-bgcolor: light-dark(
      #188038,
      #81c995
    ) !important;
    /* Primary button */
    --button-primary-bgcolor: light-dark(#0078d4, #006cbe) !important;
    --button-primary-color: light-dark(#fff, #fff) !important;
    --button-primary-hover-bgcolor: light-dark(#006bbd, #1c7cc5) !important;
    --button-primary-active-bgcolor: light-dark(#0060aa, #3289cb) !important;
    /* Secondary button */
    --button-bgcolor: light-dark(#efefef, #5c5c5c) !important;
    --button-color: light-dark(#000, #fff) !important;
    --button-hover-bgcolor: light-dark(#d5d5d5, #6e6e6e) !important;
    --button-active-bgcolor: light-dark(#c0c0c0, #7c7c7c) !important;
    /* Text input field, e.g. bookmarks editor */
    --focus-outline-color: light-dark(#0055d780, #63ade5) !important;
    --input-bgcolor: light-dark(#fff, #4a4a4a) !important;
    --input-color: light-dark(#2b2b2b, #fff) !important;
    --input-border-color: light-dark(#bebebe, #808080) !important;
    --error-text-color: light-dark(#ff9aa2, #ff9aa2) !important;
    --input-error-border-color: light-dark(#ff848a, #ff848a) !important;
    /* Side bar colours. */
    --sidebar-background-color: light-dark(#f7f7f7, #3b3b3b) !important;
    --sidebar-text-color: light-dark(#000, #fff) !important;
    --sidebar-border-color: light-dark(#bfbfbf, #686868) !important;
    /* ::::: Dialog theme ::::: */
    accent-color: var(--button-primary-bgcolor) !important;
  }
  :root:not([lwtheme]) #window-modal-dialog::backdrop,
  :root[privatebrowsingmode=temporary]:where([style*="--lwt-accent-color: rgb(28, 27, 34)"]:not([style*="--newtab-background-color-secondary: rgb(66, 65, 77)"])) #window-modal-dialog::backdrop {
    /* Overlay when dialog is shown. */
    background-color: rgba(20, 20, 20, 0.2) !important;
  }
  :root:not([lwtheme])[dialogroot],
  :root[privatebrowsingmode=temporary]:where([style*="--lwt-accent-color: rgb(28, 27, 34)"]:not([style*="--newtab-background-color-secondary: rgb(66, 65, 77)"]))[dialogroot] {
    /* Dialog */
    --in-content-page-background: var(--arrowpanel-background) !important;
    --in-content-page-color: var(--arrowpanel-color) !important;
    /* Primary button */
    --in-content-primary-button-text-color: var(
      --button-primary-color
    ) !important;
    --in-content-primary-button-background: var(
      --button-primary-bgcolor
    ) !important;
    --in-content-primary-button-background-hover: var(
      --button-primary-hover-bgcolor
    ) !important;
    --in-content-primary-button-background-active: var(
      --button-primary-active-bgcolor
    ) !important;
    /* Secondary button */
    --in-content-button-text-color: var(--button-color) !important;
    --in-content-button-background: var(--button-bgcolor) !important;
    --in-content-button-background-hover: var(
      --button-hover-bgcolor
    ) !important;
    --in-content-button-background-active: var(
      --button-active-bgcolor
    ) !important;
    /* Text input */
    --in-content-box-background: var(--input-bgcolor) !important;
    --in-content-box-border-color: var(--input-border-color) !important;
  }
  /* Ensure that dark mode is enabled completely in private browsing mode. */
  @media -moz-pref("browser.theme.dark-private-windows") {
    :root[privatebrowsingmode=temporary],
    :root[privatebrowsingmode=temporary] #nav-bar,
    :root[privatebrowsingmode=temporary] #PersonalToolbar {
      --toolbar-color-scheme: dark !important;
      --tab-selected-color-scheme: dark !important;
      color-scheme: dark !important;
    }
  }
  /* Apply colours to the default 'Auto' theme. */
  @media not -moz-pref("widget.windows.mica") {
    :root:not([lwtheme]) #navigator-toolbox {
      background-color: var(--lwt-accent-color) !important;
      color: var(--lwt-text-color) !important;
      /* Inactive window background colours. */
    }
    :root:not([lwtheme]) #navigator-toolbox:-moz-window-inactive {
      background-color: var(--lwt-accent-color-inactive, var(--lwt-accent-color)) !important;
      color: var(--lwt-text-color-inactive, var(--lwt-text-color)) !important;
    }
  }
  /* Make sure that the tab toolbar opacity is always 1, inactive window colours
  * are already supplied by this theme. */
  :root[customtitlebar] #titlebar:-moz-window-inactive {
    opacity: 1 !important;
  }
  /* Make the titlebar buttons black/white on default themes */
  :root:not([lwtheme])[customtitlebar] .titlebar-buttonbox {
    color: var(--lwt-text-color) !important;
  }
  /* Status/link preview panel */
  #statuspanel-label {
    background-color: var(--toolbar-field-focus-background-color) !important;
    color: var(--toolbar-field-focus-color) !important;
    border-color: transparent !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1333333333), 0 0 0 1px light-dark(rgba(0, 0, 0, 0.0666666667), rgba(0, 0, 0, 0.1333333333)) !important;
    border-radius: 0 4px 0 0 !important;
  }
  #statuspanel[mirror] #statuspanel-label {
    border-radius: 4px 0 0 0 !important;
  }
  /*
    MARK: Windows
  */
  @media (-moz-platform: windows) {
    /* Colour the text selection background and foreground. */
    ::selection {
      background-color: light-dark(#0078d4, #93b8e7) !important;
      color: light-dark(#fff, #000) !important;
    }
    tooltip {
      background-color: var(--arrowpanel-background) !important;
      color: var(--arrowpanel-color) !important;
      border-color: var(--arrowpanel-border-color) !important;
    }
    /* Use accent colour in titlebar when Windows option is enabled. */
    /* Library window colour theme. */
  }
  @media (-moz-platform: windows) and (-moz-windows-accent-color-in-titlebar) {
    @media -moz-pref("browser.theme.windows.accent-color-in-tabs.enabled") {
      /* Uses :root:root to beat specificity of floating tabs adjustments. */
      :root:root:not([lwtheme]) {
        --lwt-accent-color: ActiveCaption !important;
        --lwt-text-color: CaptionText !important;
        --lwt-accent-color-inactive: InActiveCaption !important;
        --lwt-text-color-inactive: InActiveCaptionText !important;
      }
    }
  }
  @media (-moz-platform: windows) {
    .titlebar-button:not(.titlebar-close):hover {
      background-color: color-mix(in srgb, currentColor 11%, transparent) !important;
    }
    .titlebar-button:not(.titlebar-close):hover:active {
      background-color: color-mix(in srgb, currentColor 20%, transparent) !important;
    }
    .titlebar-close:hover {
      stroke: white !important;
      background-color: #e81123 !important;
    }
    .titlebar-close:hover:active {
      background-color: #dc5c66 !important;
    }
    toolbar[brighttext] .titlebar-close:hover:active {
      background-color: #971821 !important;
    }
    window#places {
      --organizer-color: light-dark(#000, #fff) !important;
      --organizer-deemphasized-color: light-dark(#666, #bbb) !important;
      --organizer-toolbar-background: light-dark(#f7f7f7, #3b3b3b) !important;
      --organizer-pane-background: light-dark(#f7f7f7, #2b2b2b) !important;
      --organizer-content-background: light-dark(#f7f7f7, #1c1c1c) !important;
      --organizer-hover-background: light-dark(#00000025, #ffffff25) !important;
      --organizer-selected-background: light-dark(
        #006cbe80,
        #006cbe80
      ) !important;
      --organizer-outline-color: light-dark(#0055d7a0, #63ade5) !important;
      --organizer-toolbar-field-background: light-dark(
        #fff,
        #2b2b2b
      ) !important;
      --organizer-toolbar-field-background-focused: light-dark(
        #fff,
        #2b2b2b
      ) !important;
      --organizer-border-color: light-dark(#bfbfbf, #686868) !important;
      scrollbar-color: light-dark(rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.4)) light-dark(rgba(247, 247, 247, 0.2509803922), rgba(43, 43, 43, 0.2509803922)) !important;
    }
    #placesViewsBox #downloadsListBox richlistitem[selected=true] {
      background-color: light-dark(#006cbe, #006cbe) !important;
      color: light-dark(#fff, #fff) !important;
    }
    #placeContentColumns :is(treecol, treecolpicker) {
      background-color: light-dark(#f7f7f7, #3b3b3b) !important;
      color: light-dark(#000, #fff) !important;
      border-inline-start: 1px solid light-dark(#bfbfbf, #686868) !important;
      box-shadow: inset 0 -1px light-dark(#bfbfbf, #686868) !important;
      appearance: none !important;
    }
    #placeContentColumns :is(treecol, treecolpicker):where(:hover) {
      background-color: light-dark(#cecece, #4a4a4a) !important;
      color: light-dark(#000, #fff) !important;
    }
  }
  /* Prevent macOS vibrancy appearance, instead using a solid background. */
  #sidebar-box {
    appearance: none !important;
  }
  .sidebar-panel:not([lwt-sidebar]) {
    color: light-dark(#000, #fff) !important;
    scrollbar-color: light-dark(rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.4)) light-dark(rgba(247, 247, 247, 0.2509803922), rgba(59, 59, 59, 0.2509803922)) !important;
    /* Sidebar search box (Windows) */
  }
  @media (-moz-platform: windows) {
    .sidebar-panel:not([lwt-sidebar]) #sidebar-search-container > #search-box, .sidebar-panel:not([lwt-sidebar]) #viewButton {
      appearance: none !important;
      background-color: var(--toolbar-field-background-color) !important;
      color: inherit !important;
      border: 1px solid var(--input-border-color) !important;
      border-radius: 4px !important;
      padding: 6px 8px !important;
    }
    .sidebar-panel:not([lwt-sidebar]) #sidebar-search-container > #search-box:focus, .sidebar-panel:not([lwt-sidebar]) #viewButton:focus {
      outline: 2px solid var(--input-border-color) !important;
      outline-offset: -2px !important;
      border-color: transparent !important;
    }
  }
  @-moz-document url(chrome://browser/content/syncedtabs/sidebar.xhtml) {
    body {
      background: transparent !important;
    }
  }
  /*
    MARK: Linux / GTK csd
  */
  @media (-moz-gtk-csd-available) {
    :root:not([lwtheme]),
    :root[privatebrowsingmode=temporary]:where([style*="--lwt-accent-color: rgb(28, 27, 34)"]:not([style*="--newtab-background-color-secondary: rgb(66, 65, 77)"])) {
      /* Used for mixing colours differently in light/dark themes. */
      --uc-tint: light-dark(black, white);
      /* Colour adjusted for readability. */
      --uc-accent-adjusted: light-dark(
        color-mix(in oklch, AccentColor 92%, black),
        color-mix(in oklch, AccentColor 60%, white)
      );
      /* Toolbars */
      --lwt-accent-color: light-dark(
        color-mix(in srgb, ActiveCaption 90%, black),
        ActiveCaption
      ) !important;
      --lwt-accent-color-inactive: light-dark(
        color-mix(in srgb, InactiveCaption 94%, black),
        InactiveCaption
      ) !important;
      --lwt-text-color: CaptionText !important;
      --lwt-text-color-inactive: color-mix(
        in srgb,
        CaptionText 65%,
        transparent
      ) !important;
      --tab-selected-textcolor: var(--toolbar-color) !important;
      --tab-selected-textcolor-inactive: color-mix(
        in srgb,
        var(--toolbar-color) 65%,
        transparent
      ) !important;
      --tab-selected-bgcolor: var(--toolbar-bgcolor) !important;
      --tab-attention-icon-color: var(--uc-accent-adjusted) !important;
      --toolbar-bgcolor: light-dark(
        -moz-dialog,
        color-mix(in srgb, -moz-dialog 92%, white)
      ) !important;
      --toolbar-color: -moz-dialogtext !important;
      --toolbarbutton-icon-fill-attention: var(--uc-accent-adjusted) !important;
      --chrome-content-separator-color: color-mix(
        in srgb,
        currentColor 17%,
        var(--toolbar-bgcolor)
      ) !important;
      --newtab-background-color: light-dark(
        -moz-dialog,
        color-mix(in srgb, -moz-dialog 82%, black)
      ) !important;
      /* URL bar */
      --toolbar-field-background-color: light-dark(
        Field,
        color-mix(in srgb, Field 96%, -moz-dialogtext)
      ) !important;
      --toolbar-field-color: FieldText !important;
      --toolbar-field-focus-border-color: light-dark(
        color-mix(in srgb, var(--focus-outline-color) 50%, transparent),
        var(--focus-outline-color)
      ) !important;
      --urlbar-box-bgcolor: var(--button-bgcolor) !important;
      --urlbar-box-hover-bgcolor: var(--button-hover-bgcolor) !important;
      --urlbar-box-active-bgcolor: var(--button-active-bgcolor) !important;
      /* URL bar suggestions. */
      --link-color: var(--uc-accent-adjusted) !important;
      --uc-urlbarView-accent-color: var(--uc-accent-adjusted) !important;
      --urlbarView-highlight-background: var(
        --panel-item-hover-bgcolor
      ) !important;
      --urlbarView-highlight-color: var(--toolbar-field-color) !important;
      --urlbarView-hover-background: var(
        --panel-item-active-bgcolor
      ) !important;
      --urlbarView-separator-color: var(--panel-separator-color) !important;
      /* Menus/panels */
      --arrowpanel-background: Field !important;
      --arrowpanel-color: FieldText !important;
      --arrowpanel-border-color: light-dark(
        transparent,
        var(--panel-separator-color)
      ) !important;
      --arrowpanel-dimmed: color-mix(
        in srgb,
        currentColor 17%,
        transparent
      ) !important;
      --arrowpanel-dimmed-further: color-mix(
        in srgb,
        currentColor 30%,
        transparent
      ) !important;
      --panel-separator-color: color-mix(
        in srgb,
        currentColor 17%,
        var(--arrowpanel-background)
      ) !important;
      --panel-description-color: GrayText !important;
      --panel-disabled-color: GrayText !important;
      --panel-item-hover-bgcolor: color-mix(
        in srgb,
        currentColor 8%,
        transparent
      ) !important;
      --panel-item-active-bgcolor: color-mix(
        in srgb,
        currentColor 13%,
        transparent
      ) !important;
      /* Primary button */
      --button-primary-bgcolor: AccentColor !important;
      --button-primary-color: AccentColorText !important;
      --button-primary-hover-bgcolor: color-mix(
        in srgb,
        var(--uc-tint) 10%,
        var(--button-primary-bgcolor)
      ) !important;
      --button-primary-active-bgcolor: color-mix(
        in srgb,
        var(--uc-tint) 20%,
        var(--button-primary-bgcolor)
      ) !important;
      /* Secondary button */
      --button-bgcolor: color-mix(
        in srgb,
        currentColor 10%,
        transparent
      ) !important;
      --button-color: currentColor !important;
      --button-hover-bgcolor: color-mix(
        in srgb,
        currentColor 14%,
        transparent
      ) !important;
      --button-active-bgcolor: color-mix(
        in srgb,
        currentColor 20%,
        transparent
      ) !important;
      /* Text input field, e.g. bookmarks editor. */
      --focus-outline-color: var(--uc-accent-adjusted) !important;
      --input-bgcolor: var(--arrowpanel-background) !important;
      --input-color: var(--arrowpanel-color) !important;
      --input-border-color: color-mix(
        in srgb,
        currentColor 35%,
        var(--arrowpanel-background)
      ) !important;
      /* Sidebar */
      --sidebar-background-color: var(--toolbar-bgcolor) !important;
      --sidebar-text-color: var(--toolbar-color) !important;
      --sidebar-border-color: var(--chrome-content-separator-color) !important;
    }
    /* Use the same sidebar splitter style as other platforms. */
    .sidebar-splitter {
      border: 0 solid var(--sidebar-border-color) !important;
      border-inline-end-width: 1px !important;
      width: 4px !important;
      background-color: transparent !important;
      margin-inline-start: -4px !important;
    }
  }
  /* Apply colours to the default 'Auto' theme. */
  @media not -moz-pref("widget.windows.mica") {
    :root:not([lwtheme]) #navigator-toolbox {
      background-color: var(--lwt-accent-color) !important;
      color: var(--lwt-text-color) !important;
      /* Inactive window background colours. */
    }
    :root:not([lwtheme]) #navigator-toolbox:-moz-window-inactive {
      background-color: var(--lwt-accent-color-inactive, var(--lwt-accent-color)) !important;
      color: var(--lwt-text-color-inactive, var(--lwt-text-color)) !important;
    }
  }
  /* Make sure that the tab toolbar opacity is always 1, inactive window colours
     * are already supplied by this theme. */
  :root[tabsintitlebar] #titlebar:-moz-window-inactive {
    opacity: 1 !important;
  }
  /* Make the titlebar buttons black/white on default themes */
  :root:not([lwtheme])[tabsintitlebar] .titlebar-buttonbox {
    color: var(--lwt-text-color) !important;
  }
  /* Status/link preview panel */
  #statuspanel-label {
    background-color: var(--toolbar-field-focus-background-color) !important;
    color: var(--toolbar-field-focus-color) !important;
    border-color: transparent !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1333333333), 0 0 0 1px light-dark(rgba(0, 0, 0, 0.0666666667), rgba(0, 0, 0, 0.1333333333)) !important;
    border-radius: 0 4px 0 0 !important;
  }
  #statuspanel[mirror] #statuspanel-label {
    border-radius: 4px 0 0 0 !important;
  }
  /*
      MARK: Windows
    */
  @media (-moz-platform: windows) {
    /* Colour the text selection background and foreground. */
    ::selection {
      background-color: light-dark(#0078d4, #93b8e7) !important;
      color: light-dark(#fff, #000) !important;
    }
    tooltip {
      background-color: var(--arrowpanel-background) !important;
      color: var(--arrowpanel-color) !important;
      border-color: var(--arrowpanel-border-color) !important;
    }
    /* Use accent colour in titlebar when Windows option is enabled. */
    /* Library window colour theme. */
  }
  @media (-moz-platform: windows) and (-moz-windows-accent-color-in-titlebar) and (-moz-bool-pref: browser.theme.windows.accent-color-in-tabs.enabled) {
    /* Uses :root:root to beat specificity of floating tabs adjustments. */
    :root:root:not([lwtheme]) {
      --lwt-accent-color: ActiveCaption !important;
      --lwt-text-color: CaptionText !important;
      --lwt-accent-color-inactive: InActiveCaption !important;
      --lwt-text-color-inactive: InActiveCaptionText !important;
    }
  }
  @media (-moz-platform: windows) {
    .titlebar-button:not(.titlebar-close):hover {
      background-color: color-mix(in srgb, currentColor 11%, transparent) !important;
    }
    .titlebar-button:not(.titlebar-close):hover:active {
      background-color: color-mix(in srgb, currentColor 20%, transparent) !important;
    }
    .titlebar-close:hover {
      stroke: white !important;
      background-color: #e81123 !important;
    }
    .titlebar-close:hover:active {
      background-color: #dc5c66 !important;
    }
    toolbar[brighttext] .titlebar-close:hover:active {
      background-color: #971821 !important;
    }
    window#places {
      --organizer-color: light-dark(#000, #fff) !important;
      --organizer-deemphasized-color: light-dark(#666, #bbb) !important;
      --organizer-toolbar-background: light-dark(#f7f7f7, #3b3b3b) !important;
      --organizer-pane-background: light-dark(#f7f7f7, #2b2b2b) !important;
      --organizer-content-background: light-dark(#f7f7f7, #1c1c1c) !important;
      --organizer-hover-background: light-dark(#00000025, #ffffff25) !important;
      --organizer-selected-background: light-dark(
        #006cbe80,
        #006cbe80
      ) !important;
      --organizer-outline-color: light-dark(#0055d7a0, #63ade5) !important;
      --organizer-toolbar-field-background: light-dark(
        #fff,
        #2b2b2b
      ) !important;
      --organizer-toolbar-field-background-focused: light-dark(
        #fff,
        #2b2b2b
      ) !important;
      --organizer-border-color: light-dark(#bfbfbf, #686868) !important;
      scrollbar-color: light-dark(rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.4)) light-dark(rgba(247, 247, 247, 0.2509803922), rgba(43, 43, 43, 0.2509803922)) !important;
    }
    #placesViewsBox #downloadsListBox richlistitem[selected=true] {
      background-color: light-dark(#006cbe, #006cbe) !important;
      color: light-dark(#fff, #fff) !important;
    }
    #placeContentColumns :is(treecol, treecolpicker) {
      background-color: light-dark(#f7f7f7, #3b3b3b) !important;
      color: light-dark(#000, #fff) !important;
      border-inline-start: 1px solid light-dark(#bfbfbf, #686868) !important;
      box-shadow: inset 0 -1px light-dark(#bfbfbf, #686868) !important;
      appearance: none !important;
    }
    #placeContentColumns :is(treecol, treecolpicker):where(:hover) {
      background-color: light-dark(#cecece, #4a4a4a) !important;
      color: light-dark(#000, #fff) !important;
    }
  }
  /* Prevent macOS vibrancy appearance, instead using a solid background. */
  #sidebar-box {
    appearance: none !important;
  }
  .sidebar-panel:not([lwt-sidebar]) {
    color: light-dark(#000, #fff) !important;
    scrollbar-color: light-dark(rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.4)) light-dark(rgba(247, 247, 247, 0.2509803922), rgba(59, 59, 59, 0.2509803922)) !important;
    /* Sidebar search box (Windows) */
  }
  @media (-moz-platform: windows) {
    .sidebar-panel:not([lwt-sidebar]) #sidebar-search-container > #search-box, .sidebar-panel:not([lwt-sidebar]) #viewButton {
      appearance: none !important;
      background-color: var(--toolbar-field-background-color) !important;
      color: inherit !important;
      border: 1px solid var(--input-border-color) !important;
      border-radius: 4px !important;
      padding: 6px 8px !important;
    }
    .sidebar-panel:not([lwt-sidebar]) #sidebar-search-container > #search-box:focus, .sidebar-panel:not([lwt-sidebar]) #viewButton:focus {
      outline: 2px solid var(--input-border-color) !important;
      outline-offset: -2px !important;
      border-color: transparent !important;
    }
  }
  @-moz-document url(chrome://browser/content/syncedtabs/sidebar.xhtml) {
    body {
      background: transparent !important;
    }
  }
  /*
      MARK: Linux / GTK csd
    */
  @media (-moz-gtk-csd-available) {
    :root:not([lwtheme]),
    :root[privatebrowsingmode=temporary]:where([style*="--lwt-accent-color: rgb(28, 27, 34)"]:not([style*="--newtab-background-color-secondary: rgb(66, 65, 77)"])) {
      /* Used for mixing colours differently in light/dark themes. */
      --uc-tint: light-dark(black, white);
      /* Colour adjusted for readability. */
      --uc-accent-adjusted: light-dark(
        color-mix(in oklch, AccentColor 92%, black),
        color-mix(in oklch, AccentColor 60%, white)
      );
      /* Toolbars */
      --lwt-accent-color: light-dark(
        color-mix(in srgb, ActiveCaption 90%, black),
        ActiveCaption
      ) !important;
      --lwt-accent-color-inactive: light-dark(
        color-mix(in srgb, InactiveCaption 94%, black),
        InactiveCaption
      ) !important;
      --lwt-text-color: CaptionText !important;
      --lwt-text-color-inactive: color-mix(
        in srgb,
        CaptionText 65%,
        transparent
      ) !important;
      --tab-selected-textcolor: var(--toolbar-color) !important;
      --tab-selected-textcolor-inactive: color-mix(
        in srgb,
        var(--toolbar-color) 65%,
        transparent
      ) !important;
      --tab-selected-bgcolor: var(--toolbar-bgcolor) !important;
      --tab-attention-icon-color: var(--uc-accent-adjusted) !important;
      --toolbar-bgcolor: light-dark(
        -moz-dialog,
        color-mix(in srgb, -moz-dialog 92%, white)
      ) !important;
      --toolbar-color: -moz-dialogtext !important;
      --toolbarbutton-icon-fill-attention: var(--uc-accent-adjusted) !important;
      --chrome-content-separator-color: color-mix(
        in srgb,
        currentColor 17%,
        var(--toolbar-bgcolor)
      ) !important;
      --newtab-background-color: light-dark(
        -moz-dialog,
        color-mix(in srgb, -moz-dialog 82%, black)
      ) !important;
      /* URL bar */
      --toolbar-field-background-color: light-dark(
        Field,
        color-mix(in srgb, Field 96%, -moz-dialogtext)
      ) !important;
      --toolbar-field-color: FieldText !important;
      --toolbar-field-focus-border-color: light-dark(
        color-mix(in srgb, var(--focus-outline-color) 50%, transparent),
        var(--focus-outline-color)
      ) !important;
      --urlbar-box-bgcolor: var(--button-bgcolor) !important;
      --urlbar-box-hover-bgcolor: var(--button-hover-bgcolor) !important;
      --urlbar-box-active-bgcolor: var(--button-active-bgcolor) !important;
      /* URL bar suggestions. */
      --link-color: var(--uc-accent-adjusted) !important;
      --uc-urlbarView-accent-color: var(--uc-accent-adjusted) !important;
      --urlbarView-highlight-background: var(
        --panel-item-hover-bgcolor
      ) !important;
      --urlbarView-highlight-color: var(--toolbar-field-color) !important;
      --urlbarView-hover-background: var(
        --panel-item-active-bgcolor
      ) !important;
      --urlbarView-separator-color: var(--panel-separator-color) !important;
      /* Menus/panels */
      --arrowpanel-background: Field !important;
      --arrowpanel-color: FieldText !important;
      --arrowpanel-border-color: light-dark(
        transparent,
        var(--panel-separator-color)
      ) !important;
      --arrowpanel-dimmed: color-mix(
        in srgb,
        currentColor 17%,
        transparent
      ) !important;
      --arrowpanel-dimmed-further: color-mix(
        in srgb,
        currentColor 30%,
        transparent
      ) !important;
      --panel-separator-color: color-mix(
        in srgb,
        currentColor 17%,
        var(--arrowpanel-background)
      ) !important;
      --panel-description-color: GrayText !important;
      --panel-disabled-color: GrayText !important;
      --panel-item-hover-bgcolor: color-mix(
        in srgb,
        currentColor 8%,
        transparent
      ) !important;
      --panel-item-active-bgcolor: color-mix(
        in srgb,
        currentColor 13%,
        transparent
      ) !important;
      /* Primary button */
      --button-primary-bgcolor: AccentColor !important;
      --button-primary-color: AccentColorText !important;
      --button-primary-hover-bgcolor: color-mix(
        in srgb,
        var(--uc-tint) 10%,
        var(--button-primary-bgcolor)
      ) !important;
      --button-primary-active-bgcolor: color-mix(
        in srgb,
        var(--uc-tint) 20%,
        var(--button-primary-bgcolor)
      ) !important;
      /* Secondary button */
      --button-bgcolor: color-mix(
        in srgb,
        currentColor 10%,
        transparent
      ) !important;
      --button-color: currentColor !important;
      --button-hover-bgcolor: color-mix(
        in srgb,
        currentColor 14%,
        transparent
      ) !important;
      --button-active-bgcolor: color-mix(
        in srgb,
        currentColor 20%,
        transparent
      ) !important;
      /* Text input field, e.g. bookmarks editor. */
      --focus-outline-color: var(--uc-accent-adjusted) !important;
      --input-bgcolor: var(--arrowpanel-background) !important;
      --input-color: var(--arrowpanel-color) !important;
      --input-border-color: color-mix(
        in srgb,
        currentColor 35%,
        var(--arrowpanel-background)
      ) !important;
      /* Sidebar */
      --sidebar-background-color: var(--toolbar-bgcolor) !important;
      --sidebar-text-color: var(--toolbar-color) !important;
      --sidebar-border-color: var(--chrome-content-separator-color) !important;
    }
    /* Use the same sidebar splitter style as other platforms. */
    .sidebar-splitter {
      border: 0 solid var(--sidebar-border-color) !important;
      border-inline-end-width: 1px !important;
      width: 4px !important;
      background-color: transparent !important;
      margin-inline-start: -4px !important;
    }
  }
  :root[tabbarstyle="0"][tabposition="2"] #navigator-toolbox {
    /* Fix Navigator Toolbox Layout For Floorp */
    display: grid;
  }
  :root[lwtheme-mozlightdark] #tabbrowser-tabpanels, :root:is([style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"], [style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"]) #tabbrowser-tabpanels {
    /* Change Colour of page when loading 网页加载时网页背景色 */
    background-color: #f7f7f7 !important;
  }
  /* Windows has 1px missing space on top of window, but not when accent colour is
   * applied to the title bar. */
  @media (-moz-platform: windows) and (not (-moz-windows-accent-color-in-titlebar)) {
    :root[sizemode=normal][tabsintitlebar]:not([inFullscreen]) #navigator-toolbox {
      padding-top: 1px !important;
    }
  }
  /* Add a shadow when the toolbars move over content, eg. in macOS hovering over
   * the menu bar in fullscreen mode. */
  #navigator-toolbox[style*=transform] {
    box-shadow: 0 -3px 5px 3px light-dark(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)) !important;
  }
  /* Remove the shadow and background from the status bar. */
  #status-bar {
    --toolbar-field-focus-background-color: transparent;
  }
  #status-bar #statuspanel-label {
    box-shadow: none !important;
    border: none !important;
  }
  .titlebar-buttonbox-container {
    /** 控制按钮边距 */
    padding-inline-end: var(--contorl-padding-start-end, 0px);
    /** 强制控制按钮与标签栏和导航栏对其 */
  }
  @media -moz-pref("userChromeJS.Sidra.ControlButton.ShowOnLeft") {
    .titlebar-buttonbox-container {
      padding-inline: var(--contorl-padding-start-end, 0px) 0px;
    }
  }
  :is(#nav-bar, #TabsToolbar) > .titlebar-buttonbox-container > .titlebar-buttonbox {
    height: 100%;
  }
  @media (-moz-platform: windows) {
    .titlebar-min {
      list-style-image: url("./images/icons/win11-minimize.svg") !important;
    }
  }
  @media (-moz-platform: windows) and (resolution > 1.25dppx) {
    .titlebar-min {
      list-style-image: url("./images/icons/win11-minimize.svg#high-dpi") !important;
    }
  }
  @media (-moz-platform: windows) {
    .titlebar-max {
      list-style-image: url("./images/icons/win11-maximize.svg") !important;
    }
    .titlebar-restore {
      list-style-image: url("./images/icons/win11-restore.svg") !important;
    }
    .titlebar-close {
      list-style-image: url("./images/icons/win11-close.svg") !important;
      /* Alternative icon that uses a thicker stroke, making it easier to see when
         * displayed on a dark background, only needed at 100% UI scale.
         */
    }
  }
  @media (-moz-platform: windows) and (resolution = 1dppx) {
    toolbar[brighttext] .titlebar-close, .titlebar-close:hover {
      list-style-image: url("./images/icons/win11-close-dark.svg") !important;
    }
  }
  @media -moz-pref("userChromeJS.Sidra.ControlButton.ShowOnLeft") {
    :is(#toolbar-menubar, #nav-bar, #TabsToolbar) > *:not(#private-mask):not(#private-browsing-indicator-with-label):not(.titlebar-buttonbox-container) {
      order: 3;
      -moz-box-ordinal-group: 3;
    }
    :is(#toolbar-menubar, #nav-bar, #TabsToolbar) > #private-mask, :is(#toolbar-menubar, #nav-bar, #TabsToolbar) > #private-browsing-indicator-with-label {
      order: 2;
      -moz-box-ordinal-group: 2;
    }
    :is(#toolbar-menubar, #nav-bar, #TabsToolbar) > .titlebar-buttonbox-container {
      order: 1 !important;
      -moz-box-ordinal-group: 1 !important;
    }
    :root[sidra-controlstyle=default] .titlebar-close,
    :root[sidra-controlstyle=default] .uc-titlebar-close {
      order: -1 !important;
      -moz-box-ordinal-group: 0 !important;
    }
    :root[sidra-controlstyle=default] .titlebar-max,
    :root[sidra-controlstyle=default] .uc-titlebar-max,
    :root[sidra-controlstyle=default] .titlebar-restore,
    :root[sidra-controlstyle=default] .uc-titlebar-restore {
      order: 2;
      -moz-box-ordinal-group: 2;
    }
    :root[sidra-controlstyle=default] .titlebar-min,
    :root[sidra-controlstyle=default] .uc-titlebar-min {
      order: 3;
      -moz-box-ordinal-group: 3;
    }
  }
  @media -moz-pref("userChromeJS.Sidra.Tabs.TabsOnBottom.Enabled") {
    #navigator-toolbox {
      position: relative;
    }
    @media -moz-pref("userChromeJS.Sidra.ControlButton.ShowOnLeft") {
      :root:is([sidra-tabstyle=default], [sidra-tabstyle="2"], [sidra-tabstyle="3"], [sidra-tabstyle="5"], [sidra-tabstyle="6"], [sidra-tabstyle="7"], [sidra-tabstyle="8"], [sidra-tabstyle="9"], [sidra-tabstyle="10"], [sidra-tabstyle="11"], [sidra-tabstyle="12"], [sidra-tabstyle="13"]) .titlebar-buttonbox-container {
        left: 0;
        right: auto;
      }
    }
  }
  /** Mostly copy from WaveFox */
  @media -moz-pref("userChromeJS.Sidra.Tabs.Compact") {
    @property --drag-space {
      syntax: "<length>";
      inherits: true;
      initial-value: 0px;
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.DragSpace.Left.Disabled") {
      .titlebar-spacer[type=pre-tabs] {
        display: none !important;
      }
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.DragSpace.Right.Disabled") {
      .titlebar-spacer[type=post-tabs] {
        display: none !important;
      }
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.DragSpace.Top.Windowed.Enabled") {
      :root[sizemode=normal] {
        --drag-space: 8px;
      }
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.DragSpace.Top.Maximized.Enabled") {
      :root[sizemode=maximized] {
        --drag-space: 8px;
      }
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.DragSpace.Top.Fullscreen.Enabled") {
      :root[sizemode=fullscreen] {
        --drag-space: 8px;
      }
    }
    #TabsToolbar :is(.tabbrowser-tab,
    .toolbarbutton-1,
    separator,
    #personal-bookmarks,
    #search-container,
    .accessibility-indicator,
    .private-browsing-indicator,
    #private-browsing-indicator-with-label) {
      margin-top: var(--drag-space) !important;
    }
    /* ---------- Shadow DOM ---------- */
    #tabbrowser-arrowscrollbox {
      --drag-space-only-tabs: var(--drag-space) !important;
    }
    #scrollbutton-up,
    #scrollbutton-down,
    spacer[part=overflow-start-indicator],
    spacer[part=overflow-end-indicator] {
      margin-top: var(--drag-space-only-tabs, revert) !important;
    }
    #TabsToolbar {
      --toolbarbutton-inner-padding: inherit !important;
    }
    #TabsToolbar::before {
      content: "";
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      bottom: 0px;
      inset-inline-start: 0px;
      box-shadow: var(--inner-box-border, inset 0 0 0 transparent), var(--inner-box-shadow, inset 0 0 0 transparent);
      pointer-events: none;
      z-index: 2;
    }
    #TabsToolbar #search-container {
      padding-block: 0 !important;
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.NewtabBtn.Pinned") {
      #tabs-newtab-button,
      #newPrivateTab-button {
        display: none !important;
      }
      #tabbrowser-tabs[hasadjacentnewtabbutton]:not([overflow]) ~ :is(#new-tab-button, #privateTab-button) {
        display: revert !important;
      }
    }
    .accessibility-indicator,
    #private-browsing-indicator-with-label {
      height: auto !important;
      width: auto !important;
      box-sizing: border-box !important;
      padding: 0 var(--toolbarbutton-outer-padding) !important;
      margin: 0 !important;
      background: none !important;
      border: 0 !important;
      outline: 0;
      fill: currentColor !important;
      -moz-context-properties: fill, fill-opacity !important;
      align-items: center !important;
    }
    #private-mask,
    #private-browsing-indicator-with-label {
      background: none !important;
      appearance: none !important;
    }
    #private-mask > image,
    #private-browsing-indicator-with-label > image {
      content: "";
      box-sizing: border-box !important;
      width: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
      height: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
      background-image: url("./images/skin/privateBrowsing.svg") !important;
      background-size: 16px !important;
      background-position: center !important;
      background-repeat: no-repeat !important;
      padding: var(--toolbarbutton-inner-padding) !important;
      border-radius: var(--toolbarbutton-border-radius) !important;
      list-style-image: unset !important;
    }
    #private-mask > label,
    #private-browsing-indicator-with-label > label {
      display: none !important;
    }
    #private-mask,
    #private-browsing-indicator-with-label {
      -moz-context-properties: fill, fill-opacity !important;
      fill: currentColor !important;
    }
    .accessibility-indicator > .button-box {
      width: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
      height: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
      padding: var(--toolbarbutton-inner-padding) !important;
      border-radius: var(--toolbarbutton-border-radius) !important;
    }
    .accessibility-indicator:is(:hover, :focus-visible) > .button-box,
    toolbarbutton#private-browsing-indicator-with-label:is(:hover, :focus-visible) > image {
      background-color: var(--arrowpanel-dimmed) !important;
    }
    .accessibility-indicator:is(:hover:active, [open]) > .button-box,
    toolbarbutton#private-browsing-indicator-with-label:is(:hover:active, [open]) > image {
      background-color: var(--arrowpanel-dimmed-further) !important;
    }
    #alltabs-button[visibility=hidden] {
      visibility: collapse !important;
      display: none !important;
    }
    #alltabs-button[visibility=visible],
    #tabbrowser-tabs[overflow] ~ #alltabs-button[visibility=auto] {
      display: flex !important;
      display: -moz-box !important;
    }
    @media (prefers-contrast) {
      #TabsToolbar .tabbrowser-tab {
        background-color: var(--lwt-accent-color) !important;
      }
    }
    tab:not(:active) .tab-background {
      transition: none !important;
    }
    #TabsToolbar #firefox-view-button[open] > .toolbarbutton-icon:-moz-lwtheme,
    .tab-background[selected]:not([multiselected=true]):-moz-lwtheme {
      outline: none !important;
    }
    :root[italic-unread-tabs] .tabbrowser-tab[notselectedsinceload]:not([pending]),
    :root[italic-unread-tabs] .tabbrowser-tab[notselectedsinceload][pending][busy] {
      font-style: italic !important;
    }
    #TabsToolbar {
      --toolbarbutton-inner-padding: inherit !important;
      position: relative !important;
    }
    #TabsToolbar::before {
      content: "";
      display: block;
      position: absolute;
      width: 100%;
      height: 100%;
      bottom: 0px;
      inset-inline-start: 0px;
      box-shadow: var(--additional-inner-box-shadow, inset 0 0 0 transparent), var(--inner-box-shadow, inset 0 0 0 transparent);
      pointer-events: none;
      z-index: 2;
    }
    #TabsToolbar #search-container {
      padding-block: 0 !important;
    }
    #TabsToolbar-customization-target > :is(toolbarbutton, toolbaritem):first-child,
    #TabsToolbar-customization-target > toolbarpaletteitem:first-child > :is(toolbarbutton, toolbaritem) {
      margin-inline-start: calc(var(--toolbar-start-end-padding) - var(--toolbarbutton-outer-padding)) !important;
    }
    #TabsToolbar-customization-target > :is(toolbarbutton, toolbaritem):last-child,
    #TabsToolbar-customization-target > toolbarpaletteitem:last-child > :is(toolbarbutton, toolbaritem) {
      margin-inline-end: calc(var(--toolbar-start-end-padding) - var(--toolbarbutton-outer-padding)) !important;
    }
    #tabbrowser-tabs:not([overflow]) .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden])) {
      margin-inline-start: 0px !important;
    }
    #tabbrowser-tabs:not([overflow]) .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([hidden])),
    #tabbrowser-tabs[overflow] .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden])),
    #tabbrowser-tabs[overflow][haspinnedtabs] {
      margin-inline-start: var(--tab-first-last-inline-margin) !important;
    }
    .tabbrowser-tab:nth-last-child(1 of .tabbrowser-tab:not([hidden])) {
      margin-inline-end: var(--tab-first-last-inline-margin) !important;
    }
    #tabs-newtab-button {
      margin-inline-start: calc(-1 * var(--tab-first-last-inline-margin) / 2) !important;
    }
    .toolbarbutton-1:has(+ #tabbrowser-tabs:not([overflow])),
    .toolbarbutton-1:has(+ #tabbrowser-tabs[overflow][haspinnedtabs]) {
      margin-inline-end: calc(-1 * var(--tab-first-last-inline-margin) / 2 + 1px) !important;
      z-index: 0 !important;
    }
    /** Floorp 样式修复 */
    :root[tabposition="4"] #TabsToolbar {
      background-image: var(--lwt-additional-images);
      background-repeat: var(--lwt-background-tiling);
      background-position: var(--lwt-background-alignment);
      background-color: var(--lwt-accent-color-inactive, var(--lwt-accent-color));
    }
    :root[tabposition="4"] #urlbar-container {
      margin-top: 0 !important;
    }
    :root[tabbarstyle="2"] #TabsToolbar {
      --tab-first-last-inline-margin: 0;
      --tab-first-last-inline-margin: 0;
    }
    #TabsToolbar :is(.tabbrowser-tab,
    .toolbarbutton-1,
    separator,
    #personal-bookmarks,
    #search-container,
    .accessibility-indicator,
    .private-browsing-indicator,
    #private-browsing-indicator-with-label) {
      margin-top: var(--drag-space, 0px) !important;
    }
    #tabbrowser-arrowscrollbox {
      --margin-top: var(--drag-space, 0px) !important;
    }
    #scrollbutton-up,
    #scrollbutton-down,
    spacer[part=overflow-start-indicator],
    spacer[part=overflow-end-indicator] {
      margin-top: var(--margin-top, revert) !important;
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.Separators.Enabled") {
      /* ---------------------------------------- Separators ---------------------------------------- */
      :root {
        --separators-color-saturation: 0.25;
      }
      .tab-stack {
        margin-inline-end: 1px !important;
      }
      .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([hidden])) .tab-stack::before,
      #tabbrowser-tabs[overflow][haspinnedtabs] .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden])) .tab-stack::before,
      .tab-stack::after {
        content: "";
        display: block;
        position: absolute;
        width: 1px;
        height: 50%;
        border-inline-end: 1px solid currentColor;
        top: 25%;
        opacity: var(--separators-color-saturation);
        box-sizing: border-box;
        pointer-events: none;
      }
      .tab-stack::before {
        inset-inline-end: 100%;
        transform: translateX(calc(-1 * var(--tab-separator-offset)));
      }
      :root:-moz-locale-dir(rtl) .tab-stack::before {
        transform: translateX(var(--tab-separator-offset));
      }
      .tab-stack::after {
        inset-inline-start: 100%;
        transform: translateX(var(--tab-separator-offset));
      }
      :root:-moz-locale-dir(rtl) .tab-stack::after {
        transform: translateX(calc(-1 * var(--tab-separator-offset)));
      }
      .tabbrowser-tab:not([hidden]):is([selected], :hover, [multiselected]) .tab-stack::before,
      .tabbrowser-tab:not([hidden]):is([selected], :hover, [multiselected]) .tab-stack::after,
      .tabbrowser-tab:not([hidden]):has(+ .tabbrowser-tab:is([selected], :hover, [multiselected]):not([hidden])) .tab-stack::after,
      .tabbrowser-tab:not([hidden]):has(+ .tabbrowser-tab[hidden] + .tabbrowser-tab:is([selected], :hover, [multiselected]):not([hidden])) .tab-stack::after,
      .tabbrowser-tab:not([hidden]):has(+ .tabbrowser-tab[hidden] ~ .tabbrowser-tab[hidden] + .tabbrowser-tab:is([selected], :hover, [multiselected]):not([hidden])) .tab-stack::after {
        opacity: 0 !important;
      }
      #tabbrowser-tabs[overflow] .tabbrowser-tab[pinned]:not([selected], :hover, [multiselected]):has(+ .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden]))) .tab-stack::after,
      #tabbrowser-tabs[overflow] .tabbrowser-tab[pinned]:not([selected], :hover, [multiselected]):has(+ .tabbrowser-tab[hidden] + .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden]))) .tab-stack::after,
      #tabbrowser-tabs[overflow] .tabbrowser-tab[pinned]:not([selected], :hover, [multiselected]):has(+ .tabbrowser-tab[hidden] ~ .tabbrowser-tab[hidden] + .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden]))) .tab-stack::after {
        opacity: var(--separators-color-saturation) !important;
      }
    }
    @layer LowPriority, HighPriority;
    @layer LowPriority {
      .tab-close-button {
        list-style-image: url("./images/icons/close-9px.svg") !important;
      }
      /* ---------------------------------------- Tabs (SVG) ---------------------------------------- */
      :root[sidra-tabstyle="1"] {
        --left-svg: url("./images/tabs/option_1/left_corners.svg");
        --center-svg: url("./images/tabs/option_1/center.svg");
        --right-svg: url("./images/tabs/option_1/right_corners.svg");
      }
      :root[sidra-tabstyle="2"] {
        --left-svg: url("./images/tabs/option_2/left_corners.svg");
        --center-svg: url("./images/tabs/option_2/center.svg");
        --right-svg: url("./images/tabs/option_2/right_corners.svg");
      }
      :root[sidra-tabstyle="3"] {
        --left-svg: url("./images/tabs/option_3/left_corners.svg");
        --center-svg: url("./images/tabs/option_3/center.svg");
        --right-svg: url("./images/tabs/option_3/right_corners.svg");
      }
      :root[sidra-tabstyle="4"] {
        --left-svg: url("./images/tabs/option_4/left_corners.svg");
        --center-svg: url("./images/tabs/option_4/center.svg");
        --right-svg: url("./images/tabs/option_4/right_corners.svg");
      }
      :root[sidra-tabstyle="5"] {
        --left-svg: url("./images/tabs/option_5/left_corners.svg");
        --center-svg: url("./images/tabs/option_5/center.svg");
        --right-svg: url("./images/tabs/option_5/right_corners.svg");
      }
      :root[sidra-tabstyle="6"] {
        --left-svg: url("./images/tabs/option_1/left_corners.svg");
        --center-svg: url("./images/tabs/option_1/center.svg");
        --right-svg: url("./images/tabs/option_1/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 4);
      }
      :root[sidra-tabstyle="7"] {
        --left-svg: url("./images/tabs/option_6/left_corners.svg");
        --center-svg: url("./images/tabs/option_6/center.svg");
        --right-svg: url("./images/tabs/option_6/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 4);
        --outer-drop-border-offset: 1px;
      }
      :root[sidra-tabstyle="8"] {
        --left-svg: url("./images/tabs/option_7/left_corners.svg");
        --center-svg: url("./images/tabs/option_7/center.svg");
        --right-svg: url("./images/tabs/option_7/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 4);
        --outer-drop-border-offset: 1px;
      }
      :root[sidra-tabstyle="9"] {
        --left-svg: url("./images/tabs/option_8/left_corners.svg");
        --center-svg: url("./images/tabs/option_8/center.svg");
        --right-svg: url("./images/tabs/option_8/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 4);
        --outer-drop-border-offset: 1px;
      }
      :root[sidra-tabstyle="10"] {
        --left-svg: url("./images/tabs/option_9/left_corners.svg");
        --center-svg: url("./images/tabs/option_9/center.svg");
        --right-svg: url("./images/tabs/option_9/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 2 - 6px);
        --outer-drop-border-offset: 1px;
      }
      :root[sidra-tabstyle="11"] {
        --left-svg: url("./images/tabs/option_10/left_corners.svg");
        --center-svg: url("./images/tabs/option_10/center.svg");
        --right-svg: url("./images/tabs/option_10/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 2);
        --outer-drop-border-offset: 1px;
      }
      :root[sidra-tabstyle="12"] {
        --left-svg: url("./images/tabs/option_11/left_corners.svg");
        --center-svg: url("./images/tabs/option_11/center.svg");
        --right-svg: url("./images/tabs/option_11/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 2);
        --outer-drop-border-offset: 1px;
      }
      :root[sidra-tabstyle="13"] {
        --left-svg: url("./images/tabs/option_12/left_corners.svg");
        --center-svg: url("./images/tabs/option_12/center.svg");
        --right-svg: url("./images/tabs/option_12/right_corners.svg");
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 2);
        --outer-drop-border-offset: 1px;
      }
      :root:is([sidra-tabstyle="6"], [sidra-tabstyle="7"], [sidra-tabstyle="8"], [sidra-tabstyle="10"], [sidra-tabstyle="11"], [sidra-tabstyle="12"], [sidra-tabstyle="13"]) {
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 4);
      }
      :root[sidra-tabstyle="9"] {
        --tab-first-last-inline-margin: calc(var(--tab-min-height) / 2 - 6px);
      }
      /* -------------------- Floating Tabs -------------------- */
      :root:is([sidra-tabstyle="1"], [sidra-tabstyle="2"], [sidra-tabstyle="3"], [sidra-tabstyle="4"], [sidra-tabstyle="5"]) {
        --tab-first-last-inline-margin: calc(var(--tab-block-margin) / 2);
        --tab-scroll-animation-inline-margin: calc(
          -1 * var(--tab-first-last-inline-margin)
        );
        --tab-scroll-animation-inline-padding: calc(
          var(--tab-first-last-inline-margin) * 2
        );
        --tab-bg-block-margin: var(--tab-block-margin);
        --my-tab-inline-padding: var(--tab-first-last-inline-margin);
        --tab-separator-offset: var(--tab-first-last-inline-margin);
      }
      /* -------------------- Attached Tabs -------------------- */
      :root:is([sidra-tabstyle="6"], [sidra-tabstyle="7"], [sidra-tabstyle="8"], [sidra-tabstyle="9"], [sidra-tabstyle="10"], [sidra-tabstyle="11"], [sidra-tabstyle="12"], [sidra-tabstyle="13"]) {
        --tab-scroll-animation-inline-margin: calc(
          -1 * var(--tab-first-last-inline-margin)
        );
        --tab-scroll-animation-inline-padding: var(--tab-first-last-inline-margin);
        --tab-bg-block-margin: 0px;
        --my-tab-inline-padding: 0px;
        --tab-separator-offset: 0px;
        --pinned-tabs-width-offset: 2px;
      }
      /* ---------------------------------------- Main Window ---------------------------------------- */
      :root {
        --tab-shadow-max-size: 0px !important;
        --tab-attention-indicator-position: 50% calc(50% + 12px);
        --tabstrip-min-height: auto !important;
      }
      /* ---------------------------------------- Nav Bar ---------------------------------------- */
      #nav-bar {
        border: none !important;
      }
      /* ---------------------------------------- Titlebar ---------------------------------------- */
      :root[tabsintitlebar] .browser-titlebar {
        will-change: auto !important;
        transition: color var(--inactive-window-transition) !important;
      }
      :root[tabsintitlebar] .browser-titlebar:-moz-window-inactive {
        color: color-mix(in srgb, currentColor calc(var(--inactive-titlebar-opacity) * 100%), transparent) !important;
        opacity: 1 !important;
      }
      /* ---------------------------------------- Density ---------------------------------------- */
      :root[uidensity=compact] {
        --tab-min-height: 32px !important;
      }
      :root[onload="TMP_TBP_Startup();"][uidensity=compact] {
        --tab-min-height: 24px !important;
      }
      :root[uidensity=touch] {
        --tab-min-height: 40px !important;
      }
      /* ---------------------------------------- Tabs ---------------------------------------- */
      .tabbrowser-tab {
        --tab-label-mask-size: 0px !important;
        overflow-clip-margin: var(--tab-min-height) !important;
        padding-inline: var(--my-tab-inline-padding) !important;
      }
      .tabbrowser-tab[visuallyselected] {
        color: var(--toolbar-color) !important;
        position: relative;
        z-index: 2 !important;
      }
      @media -moz-pref("userChromeJS.Sidra.Tabs.SelectedTab.FillWithToolbarBg.Enabled") {
        .tabbrowser-tab[visuallyselected] .tab-background {
          --gradient-background-image: linear-gradient(
            var(--toolbar-bgcolor),
            var(--toolbar-bgcolor)
          );
          --gradient-background-attachment: fixed;
          --gradient-background-size: auto auto;
          --gradient-background-position: left top;
          --gradient-background-repeat: no-repeat;
          --amo-background-image-1: var(--lwt-header-image, none);
          --amo-background-attachment-1: fixed;
          --amo-background-size-1: auto auto;
          --amo-background-position-1: right top;
          --amo-background-repeat-1: no-repeat;
          --amo-background-image-2: var(--lwt-additional-images, none);
          --amo-background-attachment-2: fixed, fixed, fixed;
          --amo-background-size-2: auto auto, auto auto, auto auto;
          --amo-background-position-2: var(--lwt-background-alignment);
          --amo-background-repeat-2: var(--lwt-background-tiling);
          background-color: transparent !important;
          background-image: var(--gradient-background-image), var(--amo-background-image-1), var(--amo-background-image-2) !important;
          background-attachment: var(--gradient-background-attachment), var(--amo-background-attachment-1), var(--amo-background-attachment-2) !important;
          background-size: var(--gradient-background-size), var(--amo-background-size-1), var(--amo-background-size-2) !important;
          background-position: var(--gradient-background-position), var(--amo-background-position-1), var(--amo-background-position-2) !important;
          background-repeat: var(--gradient-background-repeat), var(--amo-background-repeat-1), var(--amo-background-repeat-2) !important;
        }
      }
      .tabbrowser-tab:not([visuallyselected]) {
        color: inherit !important;
      }
      .tabbrowser-tab:not([visuallyselected]):hover .tab-background {
        background-color: var(--toolbarbutton-hover-background) !important;
      }
      .tabbrowser-tab:not([visuallyselected])[multiselected] .tab-background {
        background-color: var(--toolbarbutton-active-background) !important;
      }
      #tabbrowser-tabs[movingtab] .tabbrowser-tab:not([visuallyselected]) {
        z-index: 0 !important;
      }
      .tabbrowser-tab .tab-background {
        mask-image: var(--left-svg), var(--center-svg), var(--right-svg);
        mask-size: auto 100%, calc(100% - var(--tab-min-height) * 2) 100%, auto 100%;
        mask-position: left center, center center, right center;
        mask-repeat: no-repeat, no-repeat, no-repeat;
        box-shadow: none !important;
        outline: none !important;
        margin-block: var(--tab-bg-block-margin) !important;
        margin-inline: calc(-1 * var(--tab-min-height) / 2) !important;
        border-radius: 0px !important;
        pointer-events: none !important;
      }
      .tabbrowser-tab[pinned] .tab-content {
        padding-inline: calc((var(--tab-min-height) - 16px) / 2 + var(--pinned-tabs-width-offset, 0px)) !important;
      }
      .tabbrowser-tab:not([pinned]) .tab-content {
        padding-inline: 10px !important;
      }
      #tabbrowser-tabs[overflow] .tab-drop-indicator {
        inset-inline-start: var(--tab-first-last-inline-margin) !important;
      }
      .tabbrowser-tab[pending] .tab-icon-image {
        filter: saturate(0) !important;
      }
      .tab-close-button {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        padding: 2px !important;
        margin: 0px !important;
      }
      .tab-close-button:hover {
        background-color: var(--toolbarbutton-hover-background) !important;
      }
      .tab-close-button:hover:active {
        background-color: var(--toolbarbutton-active-background) !important;
      }
      /* -------------------- Container Indicators -------------------- */
      .tab-context-line {
        margin: 0px !important;
      }
      /* -------------------- Tab Icon Indicators -------------------- */
      .tabbrowser-tab:is([image], [pinned]) .tab-content[attention]:not([selected]),
      .tab-content[pinned][titlechanged]:not([selected]) {
        background-position: var(--tab-attention-indicator-position) !important;
      }
      /* ---------------------------------------- Tab Bar ---------------------------------------- */
      #TabsToolbar #search-container {
        padding-block: 0 !important;
      }
      /* ---------------------------------------- Indents ---------------------------------------- */
      #tabbrowser-tabs:not([overflow]) .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden])) {
        margin-inline-start: 0px !important;
      }
      #tabbrowser-tabs:not([overflow]) .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([hidden])),
      #tabbrowser-tabs[overflow] .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden])),
      #tabbrowser-tabs[overflow][haspinnedtabs] {
        margin-inline-start: var(--tab-first-last-inline-margin) !important;
      }
      .tabbrowser-tab:nth-last-child(1 of .tabbrowser-tab:not([hidden])) {
        margin-inline-end: var(--tab-first-last-inline-margin) !important;
      }
      /* ---------------------------------------- Tab Scroll Animation ---------------------------------------- */
      #tabbrowser-tabs[overflow] .tabbrowser-tab:not([pinned]) {
        box-sizing: content-box !important;
      }
      #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:not([pinned]) {
        pointer-events: none !important;
        box-sizing: content-box !important;
        padding-inline: var(--tab-scroll-animation-inline-padding) !important;
        margin-inline: var(--tab-scroll-animation-inline-margin) !important;
        overflow-clip-margin: 0px !important;
      }
      #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:not([pinned]) .tab-stack {
        pointer-events: auto !important;
      }
      #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden])) {
        margin-inline-start: 0px !important;
      }
      #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:nth-last-child(1 of .tabbrowser-tab:not([hidden])) {
        margin-inline-end: 0px !important;
      }
      @media -moz-pref("userChromeJS.Sidra.Tabs.TabCounter.Enabled") {
        /* -------------------- Tab Counter -------------------- */
        #tabbrowser-tabs {
          counter-reset: TabCounter;
        }
        .tabbrowser-tab {
          counter-increment: TabCounter;
        }
        #tabbrowser-tabs ~ #alltabs-button::after {
          content: counter(TabCounter);
        }
      }
      /* -------------------- Selected Tab Indicator -------------------- */
      @media -moz-pref("userChromeJS.Sidra.Tabs.SelectedTabIndicator.Enabled") {
        .tabbrowser-tab[visuallyselected][usercontextid] .tab-background {
          box-shadow: inset 0 -2px 0 var(--tab-loading-fill) !important;
        }
        .tabbrowser-tab[visuallyselected]:not([usercontextid]) .tab-background {
          box-shadow: inset 0 2px 0 var(--tab-loading-fill) !important;
        }
      }
    }
    #tabbrowser-tabs[overflow] .tabbrowser-tab:not([pinned]) {
      box-sizing: content-box !important;
    }
    #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:not([pinned]) {
      pointer-events: none !important;
      box-sizing: content-box !important;
      padding-inline: var(--tab-scroll-animation-inline-padding) !important;
      margin-inline: var(--tab-scroll-animation-inline-margin) !important;
      overflow-clip-margin: 0px !important;
    }
    #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:not([pinned]) .tab-stack {
      pointer-events: auto !important;
    }
    #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:nth-child(1 of .tabbrowser-tab:not([pinned], [hidden])) {
      margin-inline-start: 0px !important;
    }
    #tabbrowser-tabs[overflow]:not([movingtab]) .tabbrowser-tab:nth-last-child(1 of .tabbrowser-tab:not([hidden])) {
      margin-inline-end: 0px !important;
    }
    @media -moz-pref("userChromeJS.Sidra.Tabs.TabsOnBottom.Enabled") {
      /* -------------------- Title Bar -------------------- */
      #TabsToolbar {
        order: 3 !important;
      }
      #toolbar-menubar {
        order: 0 !important;
        background-color: var(--toolbar-bgcolor) !important;
        color: var(--toolbar-color) !important;
        --toolbarbutton-icon-fill: inherit !important;
        --toolbarbutton-hover-background: inherit !important;
        --toolbarbutton-active-background: inherit !important;
      }
      #TabsToolbar::before {
        transform: rotateX(180deg);
      }
      /* -------------------- Nav Bar -------------------- */
      #nav-bar {
        order: 1 !important;
      }
      /* -------------------- Personal Bar -------------------- */
      #PersonalToolbar {
        order: 2 !important;
      }
      /* -------------------- Tabs -------------------- */
      :root {
        --drag-space: 0px !important;
      }
      .tab-background {
        transform: rotateX(180deg);
      }
      /* -------------------- Window Control Buttons -------------------- */
      #TabsToolbar > :is(.titlebar-buttonbox-container, .titlebar-spacer) {
        display: none !important;
      }
      #toolbar-menubar[inactive] ~ #nav-bar > .titlebar-buttonbox-container {
        display: block !important;
      }
    }
  }
  /** 工具栏溢出菜单横排按钮间距调整 */
  .widget-overflow-list .toolbaritem-combined-buttons .toolbarbutton-1 > .toolbarbutton-text {
    padding-inline-end: 4px !important;
  }
  .widget-overflow-list #zoom-controls[cui-areatype=toolbar] > #zoom-reset-button > .toolbarbutton-text {
    min-width: calc(5ch + 4px) !important;
    padding-inline: 0 !important;
  }
  :is(toolbar, .customization-palette) .toolbaritem-combined-buttons.chromeclass-toolbar-additional {
    margin-inline: 0 !important;
  }
  :is(toolbar, .customization-palette) .toolbaritem-combined-buttons.chromeclass-toolbar-additional:not(:hover) > separator {
    width: 0.67px !important;
    height: 20px !important;
    margin-inline-end: -0.67px !important;
    background-image: linear-gradient(currentColor 0, currentColor 100%) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 1px 20px !important;
    opacity: 0.2 !important;
  }
  :is(toolbar, .customization-palette) .toolbarbutton-combined-buttons-dropmarker,
  #PersonalToolbar .toolbaritem-combined-buttons .toolbarbutton-combined-buttons-dropmarker {
    margin-block: var(--toolbarbutton-inner-padding) !important;
  }
  :is(toolbar, .customization-palette) .toolbarbutton-combined-buttons-dropmarker > .toolbarbutton-icon {
    padding-inline: 2px !important;
    padding-block: 2px !important;
    height: 20px !important;
    width: 16px !important;
  }
  .customization-palette .toolbarbutton-1 {
    appearance: none !important;
    margin: 0 !important;
    padding: 0 var(--toolbarbutton-outer-padding) !important;
    justify-items: center !important;
  }
  .customization-palette .toolbarbutton-1 > .toolbarbutton-icon {
    width: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
    height: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
  }
  .customization-palette .toolbarbutton-1 > .toolbarbutton-icon,
  toolbar .toolbarbutton-1 > .toolbarbutton-text,
  toolbar .toolbarbutton-1 > .toolbarbutton-badge-stack {
    padding: var(--toolbarbutton-inner-padding) !important;
    border-radius: var(--toolbarbutton-border-radius) !important;
  }
  :is(toolbar, .customization-palette) .toolbarbutton-combined-buttons-dropmarker > .toolbarbutton-icon {
    padding-inline: 2px !important;
    padding-block: 2px !important;
    height: 20px !important;
    width: 16px !important;
  }
  :is(toolbar, .customization-palette) .toolbaritem-combined-buttons.unified-extensions-item toolbarbutton {
    padding: 0 var(--toolbarbutton-outer-padding) !important;
  }
  :is(toolbar, .customization-palette):not(#PersonalToolbar) #edit-controls > #cut-button,
  :is(toolbar, .customization-palette) #profiler-button > #profiler-button-button {
    padding-left: 2px !important;
  }
  :is(toolbar, .customization-palette):not(#PersonalToolbar) #edit-controls > #paste-button,
  :is(toolbar, .customization-palette) #profiler-button > #profiler-button-dropmarker {
    padding-right: 2px !important;
  }
  #wrapper-zoom-controls[place=palette] > #zoom-controls > #zoom-out-button,
  #wrapper-edit-controls[place=palette] > #edit-controls > #cut-button,
  #wrapper-profiler-button[place=palette] > #profiler-button > #profiler-button-button,
  #wrapper-zoom-controls[place=palette] > #zoom-controls > #zoom-in-button,
  #wrapper-edit-controls[place=palette] > #edit-controls > #paste-button,
  #wrapper-profiler-button[place=palette] > #profiler-button > #profiler-button-dropmarker {
    align-items: center !important;
    flex: 0 !important;
  }
  :where(toolbar:not(#PersonalToolbar), .customization-palette) #zoom-controls > :is(#zoom-out-button, #zoom-in-button) {
    margin-block: var(--toolbarbutton-inner-padding) !important;
    width: unset !important;
    padding: 0 !important;
    padding-inline: 2px !important;
  }
  :where(toolbar:not(#PersonalToolbar), .customization-palette) #zoom-controls > :is(#zoom-out-button, #zoom-in-button) > .toolbarbutton-icon {
    height: 20px !important;
    width: 20px !important;
    padding: 4px !important;
  }
  #zoom-in-button > .toolbarbutton-icon {
    padding-inline-start: 0 !important;
  }
  #zoom-controls > #zoom-reset-button > .toolbarbutton-text {
    min-width: revert !important;
  }
  #zoom-controls > #zoom-reset-button > .toolbarbutton-text:before {
    margin-top: 1.2px;
    transform: translateY(-50%);
  }
  :root[uidensity=compact] #zoom-controls > #zoom-reset-button > .toolbarbutton-text:before {
    margin-top: 3px;
  }
  :root[uidensity=touch] #zoom-controls > #zoom-reset-button > .toolbarbutton-text:before {
    margin-top: 0px;
  }
  #wrapper-zoom-controls[place=palette] > #zoom-controls > #zoom-reset-button {
    display: revert !important;
  }
  #wrapper-zoom-controls[place=palette] > #zoom-controls > #zoom-reset-button::before {
    content: "100%" !important;
    line-height: 1.5em !important;
    height: 20px !important;
    min-height: 20px !important;
    box-sizing: border-box !important;
    font-size: 0.98em;
    padding-inline: 5px !important;
    background: hsla(0, 0%, 100%, 0.045);
    border: 1px solid var(--toolbarbutton-hover-background);
    border-radius: 10px !important;
    opacity: 0.4 !important;
  }
  :where(toolbar:not(#PersonalToolbar), .customization-palette) #zoom-controls > #zoom-reset-button {
    margin-block: var(--toolbarbutton-inner-padding) !important;
  }
  :where(toolbar:not(#PersonalToolbar), .customization-palette, panel) #zoom-controls > #zoom-reset-button > .toolbarbutton-text {
    height: 20px !important;
    min-height: 20px !important;
    font-size: 0.98em;
    background: hsla(0, 0%, 100%, 0.045);
    border: 1px solid var(--toolbarbutton-hover-background);
    border-radius: 10px !important;
  }
  :where(toolbar:not(#PersonalToolbar), .customization-palette, panel) #zoom-controls > #zoom-reset-button:not([disabled]):is(:hover, :focus-visible) > .toolbarbutton-text {
    border-color: transparent;
    background-color: var(--toolbarbutton-hover-background) !important;
  }
  :where(toolbar:not(#PersonalToolbar), .customization-palette, panel) #zoom-controls > #zoom-reset-button:not([disabled]):hover:active > .toolbarbutton-text {
    background-color: var(--toolbarbutton-active-background) !important;
  }
  #zoom-controls[cui-areatype=panel] > #zoom-reset-button {
    padding-block: 0 !important;
    margin: 0 !important;
    min-height: revert !important;
    background: none !important;
  }
  #zoom-controls[cui-areatype=panel] > #zoom-reset-button > .toolbarbutton-text {
    padding: var(--toolbarbutton-inner-padding) !important;
    flex: 1 !important;
    padding-block: 4px !important;
    height: auto !important;
    border-radius: 50px !important;
  }
  :is(toolbar, .customization-palette):not(#PersonalToolbar) #zoom-controls separator {
    display: none !important;
  }
  /** 修正用户头像在定制窗口里的显示 */
  #wrapper-fxa-toolbar-menu-button #fxa-avatar-image {
    padding: var(--toolbarbutton-inner-padding) !important;
    width: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
    height: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
  }
  [appname=Floorp] #statusBar {
    background-color: var(--toolbar-bgcolor) !important;
  }
  @media -moz-pref("userChromeJS.Sidra.Urlbar.Compact") {
    #urlbar {
      border-radius: 30px !important;
      border: 0 !important;
    }
    #page-action-buttons > *:not(.urlbar-page-action) {
      order: 99;
      -moz-box-ordinal-group: 99;
    }
    #page-action-buttons > #star-button-box {
      order: -1;
      -moz-box-ordinal-group: 0;
    }
    #urlbar[breakout][breakout-extend] {
      border: none !important;
      box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px !important;
    }
    @media not -moz-pref("userChromeJS.Sidra.Urlbar.Focus.Border.Enabled") {
      /* 地址栏/搜索栏选中边框 */
      #urlbar[focused]:not([suppress-focus-border]) > #urlbar-background,
      #searchbar:focus-within {
        outline: unset !important;
      }
    }
    @media -moz-pref("userChromeJS.Sidra.Urlbar.Megarbar.Disabled") {
      #urlbar[breakout][breakout-extend] {
        margin-left: 0 !important;
        width: var(--urlbar-width) !important;
        margin-top: calc((var(--urlbar-container-height) - var(--urlbar-height)) / 2) !important;
      }
      #urlbar[breakout][breakout-extend] > .urlbar-input-container {
        height: var(--urlbar-height) !important;
        padding-block: var(--urlbar-container-padding) !important;
        padding-inline: var(--urlbar-container-padding) !important;
      }
      #urlbar[breakout][breakout-extend] > #urlbar-background {
        animation-name: unset !important;
      }
      #urlbar[breakout][breakout-extend] > :is(#urlbar-input-container, .urlbar-input-container) {
        height: var(--urlbar-height) !important;
        padding-block: 1px !important;
        padding-inline: 1px !important;
        border-bottom-left-radius: 0px !important;
        border-bottom-right-radius: 0px !important;
      }
      /* disable result item roundness */
      #urlbar[breakout] .urlbarView-row-inner {
        border-radius: 0px !important;
      }
      /* disable 'breakout' animation */
      #urlbar[breakout],
      #urlbar[breakout] * {
        animation: unset !important;
        duration: 0s !important;
        animation-duration: 0s !important;
      }
      .urlbarView-body-inner {
        border-top: 0px !important;
      }
    }
    @media -moz-pref("userChromeJS.Sidra.Urlbar.Popup.Compact") {
      #urlbar[breakout][breakout-extend] > .urlbarView {
        padding: unset !important;
        margin: unset !important;
        --urlbarView-item-block-padding: 3px;
      }
      #urlbar[breakout] .urlbarView {
        margin-inline: unset !important;
        width: 100% !important;
      }
      /* disable space wasting inside popup around result items */
      #urlbar[breakout] #urlbar-results {
        padding: 0px !important;
        margin: 0px !important;
      }
      #urlbar[breakout] #urlbar-results .urlbarView-body-outer,
      #urlbar[breakout] #urlbar-results .urlbarView-row,
      #urlbar[breakout] #urlbar-results .urlbarView-row-inner {
        margin-inline-start: 0 !important;
        padding-inline-start: 0 !important;
        margin-inline-end: 0 !important;
        padding-inline-end: 0 !important;
      }
      /*
      #urlbar[breakout] #urlbar-results .urlbarView-row-inner {
        padding-inline-start: 4px !important;
        padding-inline-end: 4px !important;
      }*/
      #urlbar[breakout] .urlbarView-row {
        padding-block: 0px !important;
      }
      /* disable space wasting inside popup around search engines */
      #urlbar[breakout] .search-one-offs {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
      }
      #main-window:not([uidensity=compact]) #identity-box {
        margin-inline-end: unset !important;
      }
    }
  }
  /* Edge-Frfox - personalbar.css
   * https://github.com/bmFtZQ/edge-frfox */
  /*
    MARK: Variables
  */
  :root {
    --bookmark-block-padding: 6px !important;
    --bookmark-inline-padding: 6px !important;
    --bookmark-block-margin: 2px !important;
    --bookmark-inline-margin: 2px !important;
    --uc-bookmark-toolbar-padding-bottom: 2px;
    --bookmarks-toolbar-overlapping-browser-height: calc(
      var(--uc-bookmark-toolbar-padding-bottom) + 16px +
        (var(--bookmark-block-margin) + var(--bookmark-block-padding)) * 2
    ) !important;
  }
  #PersonalToolbar {
    padding-bottom: var(--uc-bookmark-toolbar-padding-bottom) !important;
  }
  /*
    MARK: Bookmark items
  */
  #personal-toolbar-empty-description,
  #PersonalToolbar .toolbarbutton-1,
  toolbarbutton.bookmark-item:not(.subviewbutton) {
    margin-block: var(--bookmark-block-margin) !important;
    margin-inline: var(--bookmark-inline-margin) !important;
    padding-block: var(--bookmark-block-padding) !important;
    padding-inline: var(--bookmark-inline-padding) !important;
    font-size: 12px !important;
    /* Adjust vertical label position on Windows */
  }
  @media (-moz-platform: windows) {
    #personal-toolbar-empty-description .toolbarbutton-text,
    #PersonalToolbar .toolbarbutton-1 .toolbarbutton-text,
    toolbarbutton.bookmark-item:not(.subviewbutton) .toolbarbutton-text {
      margin-block: -1px 0 !important;
    }
  }
  #PersonalToolbar .toolbarbutton-1 {
    padding: 0 !important;
  }
  /* Spacing between icon and label for bookmarks bar items */
  #managed-bookmarks > .toolbarbutton-icon,
  #bookmarks-toolbar-placeholder > .toolbarbutton-icon,
  #PlacesToolbarItems > .bookmark-item > .toolbarbutton-icon[label]:not([label=""]),
  #OtherBookmarks.bookmark-item[container] > .toolbarbutton-icon {
    margin-inline-end: 8px !important;
  }
  /* Sizing for bookmarks bar icons */
  #PersonalToolbar .toolbarbutton-1 > .toolbarbutton-icon {
    width: calc(2 * var(--bookmark-block-padding) + 16px) !important;
    height: calc(2 * var(--bookmark-block-padding) + 16px) !important;
    padding: var(--bookmark-block-padding) !important;
  }
  /*
    MARK: Separators
  */
  #PlacesToolbarItems > toolbarseparator {
    padding-inline: calc(3px - var(--bookmark-inline-margin)) !important;
    align-items: center !important;
    /* Fractional scaling adjustments (150%, 175%, etc.) */
  }
  #PlacesToolbarItems > toolbarseparator::before {
    content: "";
    border-inline-start: 1px solid var(--toolbarseparator-color) !important;
    height: 16px !important;
    border-image: none !important;
  }
  @media (1dppx < resolution < 2dppx) {
    #PlacesToolbarItems > toolbarseparator::before {
      border-inline-start-width: 1.5px !important;
    }
  }
  /* Left and Right padding of bookmarks bar */
  #PersonalToolbar {
    padding-inline: calc(var(--toolbar-start-end-padding) - 2px) calc(var(--toolbar-start-end-padding) + 4px) !important;
  }
  @media -moz-pref("userChromeJS.Sidra.PlacesToolbar.Align.Center") {
    #PlacesToolbarItems:has(+ #PlacesChevron[collapsed=true]) {
      -moz-box-pack: center;
      justify-content: center;
    }
  }
  @media -moz-pref("userChromeJS.Sidra.PlacesToolbar.IconsOnly.Enabled") {
    #PersonalToolbar toolbarbutton.bookmark-item:not(.subviewbutton, [id]) {
      margin-inline: 2px !important;
      padding: 0 !important;
    }
    #PlacesToolbar toolbarbutton.bookmark-item[id] {
      padding-inline: var(--toolbarbutton-inner-padding) !important;
    }
    #PersonalToolbar toolbarbutton.bookmark-item:not(.subviewbutton, [id]) .toolbarbutton-icon {
      margin: 0 !important;
      width: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
      height: calc(2 * var(--toolbarbutton-inner-padding) + 16px) !important;
      padding: var(--toolbarbutton-inner-padding) !important;
      border-radius: var(--toolbarbutton-border-radius) !important;
    }
    #PersonalToolbar toolbarbutton.bookmark-item:not(.subviewbutton, [id]) .toolbarbutton-text {
      display: none !important;
    }
    /* display the background on the icon, not the button, similar to regular
    toolbar widgets. allows us to use padding to space the buttons instead of
    margins, so when we drag a bookmark between buttons, it doesn't get dropped
    at the end of the bookmarks */
    :root:not([fluent-reveal-hover], [fluent-reveal-click]) #PersonalToolbar toolbarbutton.bookmark-item:not(.subviewbutton, [id]) {
      background: none !important;
      margin-inline: 0 !important;
      padding: 0 2px !important;
    }
    :root:not([fluent-reveal-hover], [fluent-reveal-click]) #PlacesToolbarDropIndicator {
      margin-inline-start: -18px !important;
    }
    :root:not([fluent-reveal-hover], [fluent-reveal-click]) #PersonalToolbar toolbarbutton.bookmark-item:not(.subviewbutton, [id]):is(:hover,
    :-moz-drag-over,
    :focus-visible) .toolbarbutton-icon {
      background-color: var(--button-solid-hover-background) !important;
    }
    :root:not([fluent-reveal-hover], [fluent-reveal-click]) #PersonalToolbar toolbarbutton.bookmark-item:not(.subviewbutton, [id]):hover:active .toolbarbutton-icon {
      background-color: var(--button-solid-active-background) !important;
    }
  }
  @media -moz-pref("userChromeJS.Sidra.PlacesToolbar.Compact.Minimum.Enabled") {
    :root {
      --bookmark-block-padding: 2px !important;
      --bookmark-inline-padding: 2px !important;
      --bookmark-block-margin: 1px !important;
      --bookmark-inline-margin: 1px !important;
      --uc-bookmark-toolbar-padding-bottom: 1px;
      --bookmarks-toolbar-overlapping-browser-height: calc(
        var(--uc-bookmark-toolbar-padding-bottom) + 16px +
          (var(--bookmark-block-margin) + var(--bookmark-block-padding)) * 2
      ) !important;
    }
  }
  @media -moz-pref("userChromeJS.Sidra.Sidebar.Compact") {
    #sidebar-box {
      --sidebar-background-color: var(--toolbar-bgcolor);
    }
    [appname=Floorp] #sidebar-select-box {
      background-color: var(--toolbar-bgcolor) !important;
    }
    #sidebar-header {
      background-color: var(--sidebar-background-color);
    }
    #sidebar-search-container {
      margin: 8px;
      border: 1px solid var(--arrowpanel-border-color);
      padding: 0 !important;
      overflow: hidden;
    }
    @media -moz-pref("layout.css.osx-font-smoothing.enabled") {
      #sidebar-search-container {
        margin: 4px;
      }
    }
    #sidebar-search-container #search-box {
      appearance: none !important;
      padding: 5px 8px !important;
    }
    #SM_splitter {
      position: relative;
      width: var(--uc-appcontent-spliter-width, 4px);
      min-width: 1px !important;
      background-color: transparent !important;
      background-image: none !important;
      border-inline-width: 1px 0;
      opacity: 0;
    }
    #SM_splitter[open=true] {
      --offset: calc(0 - var(--uc-appcontent-spliter-width, 4px));
    }
    #SM_splitter[open=true]:not([positionend=true]) {
      left: var(--offset);
    }
    #SM_splitter[open=true][positionend=true] {
      right: var(--offset);
    }
    #SM_header {
      padding: 8px;
      font-size: 1.333em;
    }
    #SM_header_toolbar {
      padding-inline: 0;
    }
    :root[uidensity=compact] #sidebar-header,
    :root[uidensity=compact] #SM_header {
      padding: 4px !important;
    }
    @media -moz-pref("userChromeJS.Sidra.Sidebar.AutoHide.Enabled") {
      #sidebar-box {
        --uc-sidebar-width: 36px;
        --uc-sidebar-hover-width: 280px;
        --uc-autohide-sidebar-delay: 600ms; /* Wait 0.6s before hiding sidebar */
        --uc-autohide-transition-duration: 115ms;
        --uc-autohide-transition-type: linear;
        position: relative;
        min-width: var(--uc-sidebar-width) !important;
        width: var(--uc-sidebar-width) !important;
        max-width: var(--uc-sidebar-width) !important;
        z-index: 1;
      }
      #sidebar-box[positionend] {
        direction: rtl;
      }
      #sidebar-box[positionend] > * {
        direction: ltr;
      }
      #sidebar-box[positionend]:-moz-locale-dir(rtl) {
        direction: ltr;
      }
      #sidebar-box[positionend]:-moz-locale-dir(rtl) > * {
        direction: rtl;
      }
      #main-window[sizemode=fullscreen] #sidebar-box {
        --uc-sidebar-width: 1px;
      }
      #sidebar-splitter {
        display: none;
      }
      #sidebar-header {
        overflow: hidden;
        color: var(--chrome-color, inherit) !important;
        padding-inline: 0 !important;
      }
      #sidebar-header::before,
      #sidebar-header::after {
        content: "";
        display: flex;
        padding-left: 8px;
      }
      #sidebar-header,
      #sidebar {
        min-width: var(--uc-sidebar-width) !important;
        will-change: min-width;
      }
      @media not -moz-pref("userChromeJS.Sidra.Sidebar.AutoHide.Blur.Enabled") {
        #sidebar-header,
        #sidebar {
          transition: min-width var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important;
        }
      }
      @media -moz-pref("userChromeJS.Sidra.Sidebar.AutoHide.Blur.Enabled") {
        #sidebar-header,
        #sidebar {
          transition: min-width var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay), filter var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay) !important;
        }
      }
      #sidebar-box:hover > #sidebar-header,
      #sidebar-box:hover > #sidebar {
        min-width: var(--uc-sidebar-hover-width) !important;
        transition-delay: 0ms !important;
      }
      @media -moz-pref("userChromeJS.Sidra.Sidebar.AutoHide.Blur.Enabled") {
        #sidebar-box:not(:hover, :active, :focus-within) > #sidebar {
          filter: blur(4px);
        }
      }
      .sidebar-panel {
        background-color: transparent !important;
        color: var(--newtab-text-primary-color) !important;
      }
      .sidebar-panel #search-box {
        -moz-appearance: none !important;
        background-color: rgba(249, 249, 250, 0.1) !important;
        color: inherit !important;
      }
      /* Add sidebar divider and give it background */
      #sidebar,
      #sidebar-header {
        border-inline: 1px solid var(--uc-appcontent-border-color, rgb(80, 80, 80));
        border-inline-width: 0px 1px;
      }
      #sidebar-header {
        border-top: 1px solid var(--uc-appcontent-border-color, rgb(80, 80, 80));
      }
      #sidebar {
        background-color: inherit !important;
      }
      #sidebar-box:not([positionend]) > :-moz-locale-dir(rtl),
      #sidebar-box[positionend] > * {
        border-inline-width: 1px 0px;
      }
      /* Move statuspanel to the other side when sidebar is hovered so it doesn't get covered by sidebar */
      #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel {
        inset-inline: auto 0px !important;
      }
      #sidebar-box:not([positionend]):hover ~ #appcontent #statuspanel-label {
        margin-inline: 0px !important;
        border-left-style: solid !important;
      }
    }
    @media -moz-pref("userChromeJS.Sidra.Sidebar.Modoki.AutoHide.Enabled") {
      #browser:has(#SM_toolbox[open=true]) {
        position: relative;
      }
      #SM_toolbox[open=true][style*="--width"] {
        --uc-autohide-sidebar-delay: 600ms; /* Wait 0.6s before hiding sidebar */
        --uc-autohide-transition-duration: 115ms;
        --uc-autohide-transition-type: linear;
        --sidebar-background-color: transparent;
        transition: width var(--uc-autohide-transition-duration) var(--uc-autohide-transition-type) var(--uc-autohide-sidebar-delay);
        will-change: width;
        position: absolute;
        height: 100%;
        top: 0;
        z-index: 1;
        border-top: 1px solid var(--uc-appcontent-border-color, rgb(80, 80, 80));
        min-width: unset;
      }
      #SM_toolbox[open=true][style*="--width"] > #SM_content {
        width: calc(100% - var(--width));
      }
      #SM_toolbox[open=true][style*="--width"]:not([positionend=true]) {
        border-right: 1px solid var(--uc-appcontent-border-color, rgb(80, 80, 80));
        left: 0;
      }
      #SM_toolbox[open=true][style*="--width"]:not([positionend=true]):not([moz-collapsed]) ~ #appcontent {
        margin-inline-start: 34px;
      }
      #SM_toolbox[open=true][style*="--width"][positionend=true] {
        right: 0;
      }
      #SM_toolbox[open=true][style*="--width"][positionend=true]:not([moz-collapsed]) ~ #appcontent {
        margin-inline-end: 34px;
      }
      #SM_toolbox[open=true][style*="--width"]:not(:hover, [disiable-auto-hide=true]) {
        --width: 34px !important ;
      }
      #SM_toolbox[open=true][style*="--width"] ~ #SM_splitter {
        visibility: collapse;
      }
      #SM_toolbox[positionend=true] {
        border-left: 1px solid var(--uc-appcontent-border-color, rgb(80, 80, 80));
      }
    }
  }
  #menubar-items {
    display: flex !important;
    display: -moz-box !important;
    justify-content: center !important;
    -moz-box-pack: center !important;
  }
  @media -moz-pref("userChromeJS.Sidra.Menubar.AccessKey.Disabled") {
    /*屏蔽Alt切换菜单 */
    #toolbar-menubar[autohide=true] {
      display: none !important;
    }
  }
  @media -moz-pref("userChromeJS.Sidra.MenuPopup.Compact") {
    /* Edge-Frfox - popup.css */
    :root {
      --panel-subview-body-padding: 2px 0 !important;
      --arrowpanel-border-radius: 8px !important;
      --arrowpanel-menuitem-border-radius: 4px !important;
      --arrowpanel-menuitem-margin: var(--uc-arrowpanel-menuitem-margin-block)
        var(--uc-arrowpanel-menuitem-margin-inline) !important;
      --arrowpanel-menuitem-padding-block: 6px !important;
      --arrowpanel-menuitem-padding-inline: 10px !important;
      --uc-arrowpanel-menuicon-margin-inline: 14px;
      --uc-arrowpanel-menuitem-margin-inline: 4px;
      --uc-arrowpanel-menuitem-margin-block: 2px;
      --panel-separator-margin-vertical: 2px !important;
      --panel-separator-margin-horizontal: 0 !important;
      --uc-panel-zoom-button-padding: 8px;
      --uc-panel-zoom-button-inline-padding: 9px;
      --uc-panel-zoom-padding-block: calc(
        var(--panel-separator-margin-vertical) +
          var(--uc-arrowpanel-menuitem-margin-block)
      );
      --uc-autocomplete-panel-menuitem-margin: 4px;
      --uc-autocomplete-panel-menuicon-padding-inline: 14px;
      --uc-autocomplete-panel-separator-margin-vertical: 4px;
      --uc-permission-itemcontainer-padding-block: 8px;
      --uc-permission-item-margin-block: 4px;
      --uc-permission-item-padding-inline: 16px;
      --uc-contextmenu-border-radius: 8px;
      --uc-contextmenu-padding: calc(
          4px - var(--uc-contextmenu-menuitem-border-width)
        )
        0;
      --uc-contextmenu-menuitem-border-radius: calc(
        4px + var(--uc-contextmenu-menuitem-border-width)
      );
      --uc-contextmenu-menuitem-padding-block: 6px;
      --uc-contextmenu-menuitem-padding-inline: 10px;
      --uc-contextmenu-menuitem-border-width: 2px;
      --uc-contextmenu-menuicon-margin-inline: 12px;
      --uc-contextmenu-menuitem-margin-inline: calc(
        4px - var(--uc-contextmenu-menuitem-border-width)
      );
      --uc-contextmenu-menuitem-margin-block: 0px;
      --uc-contextmenu-menuitem-margin: var(
          --uc-contextmenu-menuitem-margin-block
        )
        var(--uc-contextmenu-menuitem-margin-inline);
      --uc-contextmenu-separator-vertical: calc(
        4px - var(--uc-contextmenu-menuitem-border-width)
      );
      --uc-contextmenu-separator-horizontal: 0;
    }
    :root[uidensity=compact] {
      --uc-arrowpanel-menuicon-margin-inline: 8px;
      --arrowpanel-menuitem-padding-block: 4px !important;
      --arrowpanel-menuitem-padding-inline: 6px !important;
      --uc-contextmenu-menuitem-padding-block: 4px;
      --uc-contextmenu-menuitem-padding-inline: 6px;
      --uc-contextmenu-menuicon-margin-inline: 6px;
      --uc-panel-zoom-button-padding: 4px;
      --uc-panel-zoom-button-inline-padding: 6px;
      --uc-autocomplete-panel-menuicon-padding-inline: 8px;
      --uc-permission-item-padding-inline: 8px;
    }
    /* app menu */
    .addon-banner-item,
    .panel-banner-item {
      margin: 2px 4px 2px !important;
      padding-inline: 4px 12px !important;
      padding-block: var(--arrowpanel-menuitem-padding-block) !important;
      border-radius: var(--arrowpanel-menuitem-border-radius) !important;
    }
    #appMenu-fxa-label2 label,
    #PanelUI-fxa-menu-syncnow-button label {
      margin-block: 0 !important;
    }
    .widget-overflow-list .toolbarbutton-1:not(.toolbarbutton-combined) > .toolbarbutton-text,
    .subviewbutton:not(#appMenu-zoom-controls > .subviewbutton) > .toolbarbutton-icon + .toolbarbutton-text,
    #appMenu-fxa-label2 > vbox {
      padding-inline-start: var(--uc-arrowpanel-menuicon-margin-inline) !important;
    }
    #PanelUI-remotetabs-view-managedevices:before,
    #appMenu-zoom-controls:before {
      content: "";
      display: flex !important;
      display: -moz-box !important;
      width: 16px;
      height: 16px;
      margin-inline-end: var(--uc-arrowpanel-menuicon-margin-inline);
      background-image: var(--menu-image);
    }
    @media not -moz-pref("userChromeJS.Sidra.Icons.Compact") {
      #fxa-manage-account-button > vbox,
      #PanelUI-fxa-menu-syncnow-button > hbox {
        padding-inline-start: calc(16px + var(--uc-arrowpanel-menuicon-margin-inline)) !important;
      }
    }
    .subviewbutton > .toolbarbutton-icon {
      width: 16px !important;
    }
    /* firefox profile avatar in appmenu */
    #appMenu-fxa-label2::before {
      content: "";
      display: flex;
      height: 16px;
      width: 16px;
      background: var(--avatar-image-url) 0/16px;
      scale: 1.25;
      border-radius: 99px;
    }
    /* disable proton account separator */
    #appMenu-fxa-separator {
      border-image: none !important;
    }
    #appMenu-fxa-status2:not([fxastatus]) {
      padding-block: 0 !important;
    }
    #appMenu-fxa-status2:not([fxastatus]) > #appMenu-fxa-label2 {
      margin-inline-end: calc(var(--arrowpanel-menuitem-padding-inline) * -1) !important;
    }
    /* zoom controls */
    #appMenu-zoom-controls {
      border-top: 1px solid var(--panel-separator-color) !important;
      padding-inline: calc(var(--arrowpanel-menuitem-padding-inline) + var(--uc-arrowpanel-menuitem-margin-inline)) var(--uc-arrowpanel-menuitem-margin-inline) !important;
      padding-block: var(--uc-panel-zoom-padding-block) !important;
      margin: var(--panel-separator-margin-vertical) 0 calc(var(--panel-separator-margin-vertical) * -1) !important;
    }
    #appMenu-zoom-controls > .subviewbutton {
      padding: var(--uc-panel-zoom-button-padding) var(--uc-panel-zoom-button-inline-padding) !important;
      margin: 0 !important;
    }
    #appMenu-zoom-controls > #appMenu-zoomReset-button2 {
      padding: var(--uc-panel-zoom-button-padding) calc(var(--uc-panel-zoom-button-padding) / 2) !important;
    }
    /* #appMenu-zoomReduce-button2, */
    #appMenu-zoom-controls > #appMenu-fullscreen-button2 {
      margin-left: calc((var(--panel-separator-margin-vertical) + var(--uc-arrowpanel-menuitem-margin-block)) * 2 + 1px) !important;
    }
    #appMenu-zoom-controls > #appMenu-fullscreen-button2::before {
      content: "";
      border-inline-start: 1px solid var(--panel-separator-color);
      display: block;
      position: relative;
      height: 32px;
      margin-block: calc(var(--uc-panel-zoom-button-padding) * -1);
      transform: translateX(calc(var(--uc-panel-zoom-button-inline-padding) * -1 - (var(--panel-separator-margin-vertical) + var(--uc-arrowpanel-menuitem-margin-block)) - 1px));
    }
    #appMenu-zoomReset-button2 {
      height: calc(16px + var(--uc-panel-zoom-button-padding) * 2) !important;
      min-height: calc(16px + var(--uc-panel-zoom-button-padding) * 2) !important;
    }
    #appMenu-zoomReduce-button2:not([disabled], [open], :active):is(:hover),
    #appMenu-zoomEnlarge-button2:not([disabled], [open], :active):is(:hover),
    #appMenu-fullscreen-button2:not([disabled], [open], :active):is(:hover),
    #appMenu-zoomReset-button2:not([disabled], [open], :active):is(:hover) {
      background-color: var(--panel-item-hover-bgcolor) !important;
    }
    #appMenu-zoomReduce-button2:not([disabled]):is([open], :hover:active),
    #appMenu-zoomEnlarge-button2:not([disabled]):is([open], :hover:active),
    #appMenu-fullscreen-button2:not([disabled]):is([open], :hover:active),
    #appMenu-zoomReset-button2:not([disabled]):is([open], :hover:active) {
      background-color: var(--panel-item-active-bgcolor) !important;
    }
    #appMenu-zoomReduce-button2 > .toolbarbutton-icon,
    #appMenu-zoomEnlarge-button2 > .toolbarbutton-icon {
      fill: currentColor !important;
      stroke: none !important;
    }
    #appMenu-zoomReset-button2 > .toolbarbutton-text,
    #appMenu-fullscreen-button2 > .toolbarbutton-icon {
      background-color: transparent !important;
      padding: 0 !important;
    }
    #appMenu-zoomReduce-button2 {
      list-style-image: url("./images/icons/zoom-out.svg") !important;
    }
    #appMenu-zoomEnlarge-button2 {
      list-style-image: url("./images/icons/plus.svg") !important;
    }
    .subviewbutton[shortcut]::after {
      opacity: 0.7 !important;
    }
    #widget-overflow-mainView .panel-subview-body {
      padding-bottom: 0 !important;
    }
    .PanelUI-subView > .panel-header + toolbarseparator {
      margin-bottom: 0 !important;
    }
    .PanelUI-subView > .panel-header + toolbarseparator + .panel-subview-body {
      padding-top: var(--panel-separator-margin-vertical) !important;
    }
    #identity-popup-security-button {
      margin-bottom: var(--panel-separator-margin-vertical) !important;
    }
    #permission-popup-mainView-panel-header,
    #identity-popup-mainView-panel-header,
    #protections-popup-mainView-panel-header,
    .panel-header {
      min-height: calc((var(--arrowpanel-menuitem-padding-block) + 4px) * 2 + 16px) !important;
    }
    /* URL bar popup */
    .panel-footer > button {
      border-radius: 2px !important;
    }
    .identity-popup-security-connection > hbox > description {
      margin-inline-start: 0 !important;
    }
    .identity-popup-security-connection.identity-button {
      margin-inline-end: calc(-1 * (var(--arrowpanel-menuitem-padding-inline) - 10px)) !important;
    }
    #identity-popup-mainView-panel-header-span,
    #permission-popup-mainView-panel-header-span,
    #identity-popup-mainView-panel-header label,
    #permission-popup-mainView-panel-header label,
    #protections-popup-mainView-panel-header-span {
      margin-block: 0 !important;
    }
    .permission-popup-section {
      padding-block: var(--uc-permission-itemcontainer-padding-block) !important;
    }
    #permission-popup-permissions-content {
      padding-inline: var(--uc-permission-item-padding-inline) !important;
    }
    .permission-popup-permission-item,
    #permission-popup-storage-access-permission-list-header {
      margin-block: var(--uc-permission-item-margin-block) !important;
    }
    .permission-popup-permission-label,
    .permission-popup-permission-header-label {
      margin-inline-start: var(--uc-arrowpanel-menuicon-margin-inline) !important;
    }
    #editBookmarkPanel > #editBookmarkHeaderSeparator,
    #editBookmarkPanel > .panel-subview-body > #editBookmarkSeparator {
      margin-inline: 0 !important;
    }
    /* subview */
    .panel-header {
      padding: 4px !important;
      padding-top: 4px !important;
    }
    .panel-header + toolbarseparator,
    #identity-popup-mainView-panel-header + toolbarseparator,
    #permission-popup-mainView-panel-header + toolbarseparator,
    #protections-popup-mainView-panel-header-section + toolbarseparator {
      margin-block-start: 0 !important;
    }
    .panel-header > .subviewbutton-back {
      margin: 0 !important;
      padding: var(--arrowpanel-menuitem-padding-block) !important;
    }
    .panel-subview-footer-button {
      margin-bottom: 4px !important;
    }
    .webextension-popup-browser,
    .webextension-popup-stack {
      margin-block-start: calc(var(--panel-separator-margin-vertical) * -0.5) !important;
    }
    #PlacesToolbar menuitem,
    #PlacesToolbar menu,
    panelview .toolbarbutton-1,
    .subviewbutton,
    .widget-overflow-list .toolbarbutton-1 {
      min-height: calc(16px + var(--uc-contextmenu-menuitem-padding-block) * 2) !important;
    }
    /*
    MARK: Downloads
    */
    .downloadTypeIcon {
      height: 16px !important;
      width: 16px !important;
    }
    .downloadButton {
      min-width: calc(16px + var(--uc-toolbarbutton-inner-inline-padding) * 2) !important;
      height: calc(16px + var(--toolbarbutton-inner-padding) * 2) !important;
      border-radius: var(--toolbarbutton-border-radius) !important;
    }
    .downloadProgress::-moz-progress-bar,
    .downloadProgress > div {
      background-color: var(--toolbarbutton-icon-fill-attention) !important;
    }
    .downloadMainArea {
      padding-block: 4px !important;
      padding-inline: 12px !important;
      border-radius: 0 !important;
    }
    #downloadsListBox > richlistitem {
      padding-inline-end: 8px !important;
      border-radius: var(--arrowpanel-menuitem-border-radius) !important;
    }
    #downloadsListBox,
    .downloadsPanelFooterButton {
      margin: var(--arrowpanel-menuitem-margin) !important;
      width: auto !important;
      min-width: auto !important;
    }
    #downloadsPanel-blockedSubview,
    #downloadsPanel-mainView {
      padding: var(--panel-separator-margin-vertical) 0 !important;
    }
    #emptyDownloads {
      padding: 1.5em 16px 1.7em !important;
    }
    #downloadsHistory .button-text {
      margin-block: 0 !important;
      margin-inline: 0 !important;
    }
    .PanelUI-subView .subviewbutton-nav::after,
    #PlacesToolbar menu > .menu-right,
    .subviewbutton > .menu-right {
      fill-opacity: 1 !important;
    }
    @media -moz-pref("userChromeJS.Sidra.Menupopup.Compact.Extensions.Menu") {
      :root {
        --uei-icon-size: 16px !important;
      }
      /*
      MARK: Extensions
      */
      /* #region */
      panelview#unified-extensions-view .toolbaritem-combined-buttons {
        margin-inline-start: var(--arrowpanel-menuitem-margin-inline) !important;
      }
      panelview#unified-extensions-view .toolbaritem-combined-buttons .toolbaritem-combined-buttons:is(:not([cui-areatype=toolbar]),
      [overflowedItem=true]) > toolbarbutton:not(.toolbarbutton-1)[disabled] {
        opacity: 1 !important;
        color: var(--panel-disabled-color) !important;
      }
      /* Removes space above extensions items. */
      #unified-extensions-messages-container {
        margin-block: 0 !important;
      }
      /* Hide site access permissions label. */
      .unified-extensions-item-message-deck {
        display: none !important;
      }
      /* Use smaller toolbar extension icon if available. */
      toolbaritem:is([overflowedItem=true], [cui-areatype=panel]) > .webextension-browser-action {
        list-style-image: var(--webextension-toolbar-image, var(--webextension-menupanel-image, inherit)) !important;
      }
    }
    /* Use smaller font-size in extensions menu on Windows. */
    @media (-moz-platform: windows) {
      #unified-extensions-panel .toolbarbutton-text {
        font: menu !important;
        font-family: inherit !important;
      }
    }
    /* Prevent extension labels from using >1 line, adding ellipsis if necessary. */
    .unified-extensions-item-contents {
      flex: 1 !important;
    }
    .unified-extensions-item-contents > .unified-extensions-item-name, .unified-extensions-item-contents > .unified-extensions-item-message-deck > .unified-extensions-item-message {
      max-width: calc(100% - 4px) !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      white-space: nowrap !important;
    }
    /* Extension item menu button. */
    .unified-extensions-item-row-wrapper > [class^=unified-extensions-item] {
      padding: 0 !important;
    }
    .unified-extensions-item-row-wrapper > [class^=unified-extensions-item] > .toolbarbutton-icon {
      border: none !important;
      padding-inline: var(--arrowpanel-menuitem-padding-inline) !important;
      padding-block: var(--arrowpanel-menuitem-padding-block) !important;
      margin-inline-start: var(--uc-arrowpanel-menuitem-margin-inline) !important;
    }
    /* Add grayscale filter to extensions with no access to current site. */
    .unified-extensions-list .unified-extensions-item-action-button:has(.unified-extensions-item-message[data-l10n-id=origin-controls-state-no-access]) .unified-extensions-item-icon {
      filter: grayscale(1) !important;
    }
    /* Adjust spacing between the extension item's icon and label. */
    .unified-extensions-item-name,
    .unified-extensions-item-message {
      padding-inline-start: var(--uc-arrowpanel-menuicon-margin-inline) !important;
    }
    .unified-extensions-item-icon,
    .unified-extensions-item .webextension-browser-action > .toolbarbutton-badge-stack {
      margin-inline-end: 0 !important;
    }
    /* #endregion */
    /*
    MARK: Autocomplete
    */
    panel[type=autocomplete-richlistbox] {
      --panel-shadow: none !important;
      --panel-background: var(--arrowpanel-background) !important;
      --panel-color: var(--arrowpanel-color) !important;
      --panel-padding: var(--uc-contextmenu-padding) !important;
      --panel-border-radius: var(--uc-contextmenu-border-radius) !important;
      --panel-border-color: var(--arrowpanel-border-color) !important;
    }
    panel[type=autocomplete-richlistbox] > .autocomplete-richlistbox {
      background: transparent !important;
      color: inherit !important;
    }
    panel[type=autocomplete-richlistbox] .autocomplete-richlistitem[originaltype=loginsFooter] {
      justify-content: start !important;
      color: inherit !important;
      background-color: transparent !important;
      padding-inline-start: var(--uc-contextmenu-menuitem-padding-inline) !important;
      position: relative !important;
      overflow: visible !important;
      margin-top: calc(var(--uc-contextmenu-separator-vertical) * 2 + 1px) !important;
      /* Separator */
    }
    panel[type=autocomplete-richlistbox] .autocomplete-richlistitem[originaltype=loginsFooter]::before {
      content: "";
      position: absolute;
      width: calc(100% + var(--uc-contextmenu-menuitem-margin-inline) * 2);
      border-top: 1px solid var(--panel-separator-color);
      top: calc((var(--uc-contextmenu-separator-vertical) + var(--uc-contextmenu-menuitem-border-width)) * -1 - 1px);
      left: calc(var(--uc-contextmenu-menuitem-margin-inline) * -1);
    }
    panel[type=autocomplete-richlistbox] .autocomplete-richlistitem:hover {
      background-color: var(--panel-item-hover-bgcolor) !important;
    }
    panel[type=autocomplete-richlistbox] .autocomplete-richlistitem[selected] {
      background-color: var(--panel-item-active-bgcolor) !important;
      color: inherit !important;
    }
    panel[type=autocomplete-richlistbox] .ac-site-icon {
      fill: currentColor !important;
      margin-block: auto !important;
      margin-inline: 0 var(--uc-autocomplete-panel-menuicon-padding-inline) !important;
    }
    panel[type=autocomplete-richlistbox] .ac-title {
      margin-inline-start: 0 !important;
    }
    panel[type=autocomplete-richlistbox] .two-line-wrapper {
      padding: 0 !important;
      gap: 0 !important;
    }
    panel[type=autocomplete-richlistbox] .two-line-wrapper > .labels-wrapper > .line2-label:empty {
      /* Remove padding on empty element. */
      padding-top: 0 !important;
    }
    #PopupAutoComplete .ac-site-icon {
      display: flex !important;
    }
    /*
      MARK: Search bar suggestions
    */
    #PopupSearchAutoComplete {
      /* Search engine selector. */
    }
    #PopupSearchAutoComplete .search-panel-header {
      padding-block: 2px !important;
      padding-inline: var(--uc-contextmenu-menuitem-padding-inline) !important;
      margin: 0 var(--uc-arrowpanel-menuitem-margin-inline) !important;
      border-radius: var(--arrowpanel-menuitem-border-radius) !important;
    }
    #PopupSearchAutoComplete .autocomplete-richlistitem > .ac-type-icon {
      margin-inline-start: 0 !important;
    }
    #PopupSearchAutoComplete .search-one-offs {
      padding-block: 0 5px !important;
    }
    #PopupSearchAutoComplete .search-one-offs #searchbar-one-offs-header-label {
      margin-inline-start: 0 !important;
    }
    #PopupSearchAutoComplete .search-one-offs .search-panel-one-offs-container {
      margin-inline: 1px 7px !important;
    }
    /* Context Menu */
    menupopup:not(.PanelUI-subView),
    menupopup:not(.PanelUI-subView) menuitem,
    menupopup:not(.PanelUI-subView) menu,
    menupopup:not(.PanelUI-subView) menuseparator,
    panel:not([type=autocomplete-richlistbox]) {
      appearance: none !important;
    }
    menupopup:not(.PanelUI-subView),
    menulist > menupopup:not(.PanelUI-subView) > menucaption {
      -moz-window-shadow: none !important;
      background: 0 !important;
      border: 0 !important;
      color: var(--arrowpanel-color) !important;
    }
    .popup-internal-box,
    .menupopup-arrowscrollbox {
      background: var(--arrowpanel-background) !important;
      border: 1px solid var(--arrowpanel-border-color) !important;
    }
    /* make room for menu shadow */
    menupopup:not(.PanelUI-subView) {
      padding: 4px 12px 20px !important;
      margin: -6px -12px -16px !important;
    }
    /* cut off shadow so it doesn't get in the way of the menubar items */
    menubar menupopup {
      padding: 1px 8px 20px !important;
      margin: -1px -4px -16px !important;
    }
    menupopup,
    panel {
      --uc-margin: 0 !important;
      --uc-outline-color: #0001;
      --uc-box-shadow: 0 8px 12px #0003, 0 4px 5px #0002, 0 2px 4px #0002;
    }
    @media (prefers-color-scheme: dark) {
      menupopup,
      panel {
        --uc-outline-color: #0002;
        --uc-box-shadow: 0 8px 12px #0003, 0 4px 5px #0003, 0 2px 4px #0002;
      }
    }
    /* use default shadow for subview menupopup (eg. bookmarks) */
    menupopup.PanelUI-subView {
      --uc-box-shadow: 0 0 0 1px var(--panel-border-color);
      --uc-margin: 1px !important;
      margin-top: -5px !important;
    }
    @media -moz-pref("widget.windows.mica.popups") {
      panel {
        padding: 12px 8px;
        --panel-shadow: var(--uc-box-shadow) !important;
      }
    }
    .menupopup-arrowscrollbox {
      box-shadow: var(--uc-box-shadow) !important;
      outline: 0.5px solid var(--uc-outline-color) !important;
    }
    .popup-internal-box {
      margin: 0 !important;
    }
    .popup-internal-box,
    .menupopup-arrowscrollbox {
      padding: var(--uc-contextmenu-padding) !important;
      border-radius: var(--uc-contextmenu-border-radius) !important;
      color: inherit !important;
    }
    menupopup menu[disabled=true],
    menupopup menuitem[disabled=true] {
      color: var(--panel-disabled-color) !important;
    }
    menupopup menu:hover:not([disabled=true]),
    menupopup menuitem:hover:not([disabled=true]),
    menupopup menu[_moz-menuactive]:not([disabled=true]),
    menupopup menuitem[_moz-menuactive]:not([disabled=true]) {
      background-color: var(--panel-item-hover-bgcolor) !important;
      color: inherit !important;
    }
    menupopup menuitem:hover:active:not([disabled=true]),
    menupopup menu:hover:active:not([disabled=true]) {
      background-color: var(--panel-item-active-bgcolor) !important;
      color: inherit !important;
    }
    menupopup menuseparator,
    panel menuseparator {
      margin: var(--uc-contextmenu-separator-vertical) 0 !important;
      padding: 0 !important;
      background: none !important;
      border-top: 1px solid var(--panel-separator-color) !important;
    }
    menupopup menuseparator::before,
    panel menuseparator::before {
      content: unset !important;
    }
    #PlacesToolbar menupopup[placespopup=true] menuseparator::before {
      display: none !important;
    }
    menupopup menu,
    menupopup menuitem,
    menupopup menucaption,
    panel[type=autocomplete-richlistbox] richlistitem {
      padding: var(--uc-contextmenu-menuitem-padding-block) var(--uc-contextmenu-menuitem-padding-inline) !important;
      margin: var(--uc-contextmenu-menuitem-margin) !important;
      border-radius: var(--uc-contextmenu-menuitem-border-radius) !important;
      border: var(--uc-contextmenu-menuitem-border-width) solid transparent !important;
      background-clip: padding-box !important;
      min-height: calc(16px + (var(--uc-contextmenu-menuitem-padding-block) + var(--uc-contextmenu-menuitem-border-width)) * 2) !important;
    }
    :not(:not(menubar) > menu, #ContentSelectDropdown) > menupopup > menuitem:not(.menuitem-iconic,
    [type=checkbox],
    [type=radio],
    .in-menulist,
    .in-menulist menuitem,
    .unified-nav-current),
    :not(:not(menubar) > menu, #ContentSelectDropdown) > menupopup > menu:not(.menu-iconic,
    [type=checkbox],
    [type=radio],
    .in-menulist,
    .in-menulist menu,
    .unified-nav-current),
    :not(:not(menubar) > menu, #ContentSelectDropdown) > menupopup > menucaption {
      padding-inline-start: calc(var(--uc-contextmenu-menuitem-padding-inline) + 16px + var(--uc-contextmenu-menuicon-margin-inline)) !important;
    }
    .menu-iconic-icon {
      margin-block: 0 !important;
      margin-inline-end: 0 !important;
      margin-inline-start: 0 !important;
    }
    menu > .menu-iconic-text,
    menuitem > .menu-iconic-text,
    #context-navigation > .menuitem-iconic::after {
      padding-inline-start: var(--uc-contextmenu-menuicon-margin-inline) !important;
    }
    .menu-text,
    .menu-iconic-text {
      margin-inline-start: 0 !important;
      padding-block: 0 !important;
    }
    .menu-accel,
    .menu-iconic-accel {
      margin-inline-end: 0 !important;
      padding-block: 0 !important;
      opacity: 0.7 !important;
    }
    .menu-iconic > .menu-iconic-left,
    .menuitem-iconic > .menu-iconic-left {
      padding-inline-end: 0 !important;
      padding-block: 0 !important;
    }
    menuitem:is(.menuitem-iconic:not([data-usercontextid]),
    [type=checkbox],
    [type=radio],
    [checked],
    [selected]) .menu-iconic-icon {
      -moz-context-properties: fill !important;
      fill: currentColor !important;
    }
    .menu-right,
    .menu-accel-container {
      appearance: none !important;
      margin-inline-end: 0 !important;
      -moz-context-properties: fill;
      fill: currentColor !important;
    }
    menupopup menuitem:is([type=checkbox], [type=radio]) .menu-iconic-icon,
    menulist > menupopup > menuitem .menu-iconic-icon,
    menu .menu-right {
      height: 16px !important;
      width: 16px !important;
    }
    menulist > menupopup > menuitem:is([checked=true], [selected=true])::before,
    menupopup > menuitem::before,
    menupopup > menu::before,
    menupopup > menuitem::after {
      display: none !important;
    }
    menuitem:is([type=checkbox], [checked=true], [type=radio]) > .menu-iconic-left > .menu-iconic-icon {
      display: flex !important;
    }
    menuitem[checked=true] > .menu-iconic-left,
    menu > .menu-iconic-left,
    menuitem > .menu-iconic-left {
      margin: 0 !important;
      padding: 0 !important;
    }
    #context-navigation:not([hidden]) {
      padding: 0 !important;
      --menuitem-min-width: calc(
        16px + var(--uc-contextmenu-menuitem-padding-inline) * 2
      ) !important;
      min-width: calc(4 * var(--menuitem-min-width));
    }
    #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
      width: 16px !important;
      height: 16px !important;
      padding: 0 !important;
    }
    #context-navigation {
      margin-inline: var(--uc-contextmenu-menuitem-margin-inline) !important;
    }
    #context-navigation > .menuitem-iconic {
      justify-content: center !important;
    }
    #context-navigation > .menuitem-iconic {
      margin: 0 !important;
    }
    #context-navigation > .menuitem-iconic {
      flex-grow: 1 !important;
      width: unset !important;
    }
    #context-navigation > .menuitem-iconic[_moz-menuactive=true] > .menu-iconic-left > .menu-iconic-icon {
      background-color: transparent !important;
    }
    #context-bookmarkpage[starred] .menu-iconic-icon {
      fill: var(--lwt-toolbarbutton-icon-fill-attention, var(--toolbarbutton-icon-fill-attention, currentColor)) !important;
    }
    @media -moz-pref("userChromeJS.Sidra.MenuPopup.SubMenuPopup.Compact") {
      menupopup menupopup > :is(menu, menuitem):not(.menu-iconic,
      .menuitem-iconic,
      [type=checkbox],
      [type=radio],
      [data-l10n-id=places-empty-bookmarks-folder]) {
        padding-inline-start: calc(var(--uc-contextmenu-menuitem-padding-inline) + 16px + var(--uc-contextmenu-menuicon-margin-inline)) !important;
        background-image: var(--menu-image);
        background-position: var(--uc-contextmenu-menuitem-padding-inline) center;
        background-size: 16px;
        background-repeat: no-repeat;
      }
      #firefox_tampermonkey_net-menuitem-_root :is(menu, menuitem) > .menu-text {
        transform: translateX(-18px);
        clip-path: inset(0px 0px 0px 18px);
      }
    }
    #allTabsMenu-allTabsView-tabs > .all-tabs-item {
      margin: var(--arrowpanel-menuitem-margin) !important;
    }
    #context-navigation:not([hidden]) {
      padding: 0 !important;
      --menuitem-min-width: calc(
        16px + var(--uc-contextmenu-menuitem-padding-inline) * 2
      ) !important;
      min-width: calc(4 * var(--menuitem-min-width));
    }
    #context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
      width: 16px !important;
      height: 16px !important;
      padding: 0 !important;
    }
    #context-navigation {
      margin-inline: var(--uc-contextmenu-menuitem-margin-inline) !important;
    }
    #context-navigation > .menuitem-iconic {
      justify-content: center !important;
    }
    #context-navigation > .menuitem-iconic {
      margin: 0 !important;
    }
    #context-navigation > .menuitem-iconic {
      flex-grow: 1 !important;
      width: unset !important;
    }
    #context-navigation > .menuitem-iconic[_moz-menuactive=true] > .menu-iconic-left > .menu-iconic-icon {
      background-color: transparent !important;
    }
    #context-bookmarkpage[starred] .menu-iconic-icon {
      fill: var(--lwt-toolbarbutton-icon-fill-attention, var(--toolbarbutton-icon-fill-attention, currentColor)) !important;
    }
    @media not -moz-pref("userChromeJS.Sidra.Menupopup.Use.Smaller.Text") {
      @media (-moz-platform: windows) {
        .menu-text,
        .menu-iconic-text,
        panel .toolbarbutton-text,
        panel[type=autocomplete-richlistbox] .ac-title,
        #context-navigation > .menuitem-iconic::after {
          margin-inline-start: 0 !important;
          margin-block: -3px -1px !important;
          padding-block: 0 !important;
        }
        .menu-text,
        .menu-iconic-text,
        panel .toolbarbutton-text,
        #appMenu-fxa-status2,
        .panel-header,
        panel[type=autocomplete-richlistbox],
        #context-navigation > .menuitem-iconic::after {
          font-size: 13.6px !important;
        }
      }
    }
    /* ::::: Dialog theme ::::: */
    /* Dialog shadow and outline adjustments. */
    .dialogBox:not(.spotlightBox) {
      border-radius: 8px !important;
      outline: 0.5px solid var(--panel-separator-color) !important;
      box-shadow: 0 20px 38px rgba(0, 0, 0, 0.23), 0 5px 9px rgba(0, 0, 0, 0.22) !important;
    }
    dialog {
      /* Dialog title. */
      /* Input focus style. */
    }
    dialog #titleContainer {
      /* Add larger gap between icon and title text. */
      /* Match font style in Edge. */
      /* Adjust vertical alignment of title text. */
    }
    dialog #titleContainer .titleIcon {
      padding-inline-end: 8px !important;
    }
    dialog #titleContainer #titleText {
      font-size: 1.18em !important;
      font-weight: 700 !important;
    }
    @media (-moz-platform: macOS) {
      dialog #titleContainer:not([noicon]) > #titleCropper {
        translate: 0 calc(-1px - max(0.55 * var(--icon-size) - 0.6em, 0px)) !important;
      }
    }
    dialog input:where([type=email],
    [type=tel],
    [type=text],
    [type=password],
    [type=url],
    [type=number]):focus {
      outline: 2px solid var(--in-content-box-border-color) !important;
      outline-offset: -2px !important;
    }
    /** 菜单右侧二级菜单指示小箭头 */
    #protections-popup-mainView .subviewbutton-nav:not(.notFound)::after,
    #identity-popup-mainView .subviewbutton-nav::after,
    .widget-overflow-list .subviewbutton-nav::after,
    .PanelUI-subView .subviewbutton-nav::after,
    .menu-right {
      content: url("./images/icons/arrow-filled-right.svg") !important;
      opacity: 0.6 !important;
      scale: 0.75 !important;
    }
    #contentAreaContextMenu > #context-media-eme-separator ~ [image*=moz-extension]:is(menu, menuitem) {
      max-width: 320px !important;
    }
    @media -moz-pref("userChromeJS.Sidra.ContextMenu.Navigation.Disabled") {
      #context-navigation,
      #context-sep-navigation {
        display: none;
      }
    }
    /* FF123+ tab preview pop-up.
    * CSS reference: https://searchfox.org/mozilla-central/source/browser/components/tabpreview/tabpreview.css
    * Requires `browser.tabs.cardPreview.enabled` set to `true` */
    .tab-preview-container {
      background-color: var(--arrowpanel-background) !important;
      color: var(--arrowpanel-color) !important;
      border: 0.5px solid var(--panel-separator-color) !important;
      border-radius: 8.5px !important;
      /* Place thumbnail at the top of the tooltip. */
      display: flex !important;
      flex-direction: column-reverse !important;
    }
    .tab-preview-container .tab-preview-uri {
      color: var(--panel-description-color) !important;
    }
  }
  /* Edge-Frfox - findbar.css
   * https://github.com/bmFtZQ/edge-frfox */
  /*
    MARK: Findbar textbox
  */
  @media -moz-pref("userChromeJS.Sidra.FindBar.Compact") {
    /*
      MARK: Findbar textbox
    */
    .findbar-textbox {
      border: 0 !important;
      border-radius: var(--toolbarbutton-border-radius) !important;
      background-color: var(--toolbar-field-background-color) !important;
      /* Add shadow when in light mode with no theme applied, like the URL bar. */
    }
    :root:not([lwtheme]) .findbar-textbox {
      box-shadow: 0 0 4px light-dark(rgba(0, 0, 0, 0.1), transparent) !important;
    }
    .findbar-textbox:focus {
      outline-width: 2px !important;
      outline-offset: -1px !important;
    }
    .findbar-textbox[status=notfound] {
      outline: 2px solid var(--input-error-border-color, #e22850) !important;
      outline-offset: -1px !important;
    }
    /* Prevent focus outline from being cut off on the findbar textbox. */
    .findbar-container {
      overflow-inline: visible !important;
      /* Add ability to drag window from empty space in the findbar. */
    }
    .findbar-container::after {
      content: "";
      flex: 1;
      align-self: stretch;
      margin-block: -6px;
      -moz-window-dragging: drag;
    }
    /*
      MARK: Findbar buttons
    */
    .findbar-find-previous,
    .findbar-find-next,
    findbar .close-icon {
      border-radius: var(--toolbarbutton-border-radius) !important;
    }
    .findbar-find-previous:not([disabled]):hover,
    .findbar-find-next:not([disabled]):hover,
    findbar .close-icon:not([disabled]):hover {
      background-color: var(--toolbarbutton-hover-background, rgba(190, 190, 190, 0.2)) !important;
    }
    .findbar-find-previous:not([disabled]):hover:active,
    .findbar-find-next:not([disabled]):hover:active,
    findbar .close-icon:not([disabled]):hover:active {
      background-color: var(--toolbarbutton-active-background, rgba(190, 190, 190, 0.4)) !important;
    }
  }
  /* Edge-Frfox - tree.css */
  /* Change height of tree items and add rounded corners */
  treechildren::-moz-tree-row,
  treecol:not([hideheader=true]),
  .tree-columnpicker-button {
    min-height: max(28px, 1.3em) !important;
    border-radius: 2px !important;
  }
  /* Change the background colour on hover */
  @media not (prefers-contrast) {
    treechildren::-moz-tree-row(hover) {
      background-color: var(--toolbarbutton-hover-background) !important;
    }
  }
  /* Change the background colour when pressed */
  treechildren::-moz-tree-row(selected) {
    background-color: var(--toolbarbutton-active-background) !important;
  }
  /* Change the background colour when focused */
  treechildren::-moz-tree-row(selected, focus) {
    background-color: var(--button-primary-bgcolor) !important;
  }
  treechildren::-moz-tree-row(current, focus) {
    outline: var(--default-focusring);
    outline-color: var(--button-primary-bgcolor) !important;
    outline-offset: calc(-1 * var(--default-focusring-width));
  }
  treechildren::-moz-tree-image(selected),
  treechildren::-moz-tree-twisty(selected),
  treechildren::-moz-tree-cell-text(selected) {
    color: inherit !important;
  }
  treechildren::-moz-tree-image(selected, focus),
  treechildren::-moz-tree-twisty(selected, focus),
  treechildren::-moz-tree-cell-text(selected, focus) {
    color: var(--button-primary-color) !important;
  }
  /* Spacing between icon and label */
  treechildren::-moz-tree-image {
    margin-inline-end: 8px !important;
  }
  /* Separator appearance */
  treechildren::-moz-tree-separator {
    border-top: 1px solid var(--toolbarseparator-color) !important;
    border-bottom: none !important;
  }
  /* Change the colour of the drop feedback elements */
  treechildren::-moz-tree-cell-text(primary, dropOn) {
    background-color: var(--button-primary-bgcolor) !important;
    color: var(--button-primary-color) !important;
  }
  treechildren::-moz-tree-drop-feedback {
    background-color: var(--toolbarbutton-icon-fill-attention) !important;
    border-radius: 2px !important;
  }
  /* Change the appearance for the expandable items */
  treechildren::-moz-tree-twisty {
    padding-top: 0 !important;
    padding-inline: 4px !important;
    width: 16px !important;
    list-style-image: url("../icons/arrow-filled-right.svg") !important;
  }
  treechildren:-moz-locale-dir(rtl)::-moz-tree-twisty(closed) {
    list-style-image: url("../icons/arrow-filled-left.svg") !important;
  }
  treechildren::-moz-tree-twisty(open) {
    list-style-image: url("../icons/arrow-filled-down.svg") !important;
  }
  /* Change the identation of child items */
  treechildren::-moz-tree-indentation {
    width: 16px !important;
  }
}
@layer HighPriority {
  @-moz-document url-prefix("chrome://"),
  url-prefix("moz-extension://"),
  url("about:downloads") {
    @layer LowPriority, HighPriority;
    @layer HighPriority {
      @media -moz-pref("userChromeJS.Sidra.MenuPopup.Compact") {}
    }
    @media -moz-pref("userChromeJS.Sidra.Icons.Compact") {
      .subviewbutton,
      .menuitem-iconic:not([data-usercontextid]) {
        -moz-context-properties: fill, fill-opacity !important;
        fill: currentColor !important;
      }
      :root {
        --uc-new-tab-icon: url("./images/icons/new-tab-image.svg");
        --uc-window-icon-appmenu: url("./images/icons/window-appmenu.svg");
        --uc-private-windown-icon: url("./images/icons/private-window.svg");
        --uc-tab-icon: url("./images/icons/tab.svg");
        --uc-tab-copy-icon: url("./images/icons/duplicate-tab.svg");
        --uc-tab-multiple-icon: url("./images/icons/edit-select-all.svg");
        --uc-window-icon: url("./images/icons/window.svg");
        --uc-menu-icon: url("./images/icons/menu.svg");
        --uc-search-icon: url("./images/icons/search-glass.svg");
        --uc-close-icon: url("./images/icons/close.svg");
      }
      @media -moz-pref("userChromeJS.Sidra.Icons.CopyIcon.EdgeLike.Enabled") {
        :root {
          --copy-icon: url("./images/icons/edit-copy-edge.svg");
          --copy-without-tracking-icon: url("./images/icons/edit-copy-without-tracking-edge.svg");
        }
      }
      @media not -moz-pref("userChromeJS.Sidra.Icons.CopyIcon.EdgeLike.Enabled") {
        :root {
          --copy-icon: url("./images/icons/edit-copy.svg");
          --copy-without-tracking-icon: url("./images/icons/edit-copy-without-tracking.svg");
        }
      }
      .private-browsing-indicator-icon {
        list-style-image: url("./images/skin/account-private.svg") !important;
        border-radius: 100% !important;
      }
      .close-icon {
        list-style-image: var(--uc-close-icon) !important;
      }
      #password-notification-icon,
      #PopupAutoComplete > richlistbox > richlistitem[originaltype=generatedPassword] > .two-line-wrapper > .ac-site-icon,
      #PopupAutoComplete > richlistbox > richlistitem[originaltype=loginWithOrigin] > .two-line-wrapper > .ac-site-icon,
      #PopupAutoComplete > richlistbox > richlistitem[originaltype=login] > .ac-site-icon {
        list-style-image: url("./images/icons/passwords.svg") !important;
      }
      .urlbarView-row[source=tabs] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon,
      #urlbar-engine-one-off-item-tabs {
        list-style-image: var(--uc-tab-icon) !important;
      }
      .panel-header > .subviewbutton-back {
        list-style-image: url("./images/icons/arrow-left.svg") !important;
      }
      /*= Panel 杠弹出面板 - 首页 =====================================================*/
      /* firefox profile avatar in appmenu */
      #appMenu-fxa-status2 {
        --menu-image: var(--avatar-image-url);
      }
      #appMenu-proton-update-banner::before {
        content: url("./images/icons/whatsnew.svg");
      }
      #appMenu-proton-addon-banners > .addon-banner-item > .toolbarbutton-icon {
        display: inline-flex !important;
        display: -moz-inline-box !important;
        margin-inline-start: var(--arrowpanel-menuicon-padding);
        order: -1;
        -moz-box-ordinal-group: 0;
      }
      #appMenu-new-tab-button2 {
        list-style-image: var(--uc-new-tab-icon);
      }
      #appMenu-new-window-button2 {
        list-style-image: var(--uc-window-icon-appmenu);
      }
      #appMenu-new-private-window-button2 {
        list-style-image: var(--uc-private-windown-icon);
      }
      #appMenu-ssb-button {
        list-style-image: url("./images/icons/web.svg");
      }
      #appMenu-bookmarks-button {
        list-style-image: url("./images/icons/bookmark-star-on-tray.svg");
      }
      #appMenu-history-button {
        list-style-image: url("./images/icons/history.svg");
      }
      #appMenu-downloads-button {
        list-style-image: url("./images/icons/downloads.svg");
      }
      #appMenu-passwords-button {
        list-style-image: url("./images/icons/passwords.svg");
      }
      #appMenu-extensions-themes-button {
        list-style-image: url("./images/icons/extension.svg");
      }
      #openprofiledir {
        list-style-image: url("./images/icons/folder.svg");
      }
      #appMenu-print-button2 {
        list-style-image: url("./images/icons/print.svg");
      }
      #appMenu-save-file-button2 {
        list-style-image: url("./images/icons/save.svg");
      }
      #appMenu-find-button2 {
        list-style-image: url("./images/icons/search-page.svg");
      }
      #appMenu-translate-button {
        list-style-image: url("./images/icons/translate.svg");
      }
      #appMenu-zoom-controls2,
      #appMenu-zoom-controls {
        --menu-image: url("./images/icons/zoom-control.svg");
      }
      #appMenu-settings-button,
      #appMenu-advanced-settings-button {
        list-style-image: url("./images/icons/settings.svg");
      }
      #appMenu-certificate-manager-button {
        list-style-image: url("./images/icons/certificate-manager.svg");
      }
      #appMenu-more-button2 {
        list-style-image: url("./images/icons/menu.svg");
      }
      #appMenu-help-button2 {
        list-style-image: url("./images/icons/help.svg");
      }
      #appMenu-restart-button2,
      #rebootappmenu {
        list-style-image: url("./images/icons/reload.svg");
      }
      #appMenu-quit-button2 {
        list-style-image: url("./images/icons/quit.svg") !important;
      }
      /*= Panel 杠弹出面板 - 账户 =====================================================*/
      :root:not([appname=Floorp]) #fxa-manage-account-button > vbox {
        padding-inline-start: var(--uc-arrowpanel-menuicon-margin-inline) !important;
      }
      :root:not([appname=Floorp]) #PanelUI-fxa-menu-syncnow-button > hbox {
        padding-inline: 0 !important;
      }
      #fxa-manage-account-button:before {
        content: "";
        display: flex;
        display: -moz-box;
        background-image: var(--avatar-image-url);
        background-size: 16px;
        border-radius: 50%;
        width: 16px;
        height: 16px;
      }
      :root[appname=Floorp] #fxa-manage-account-button > vbox {
        padding-inline-start: var(--uc-contextmenu-menuitem-padding-inline);
      }
      .syncNowBtn {
        visibility: visible !important;
        order: -1 !important;
        -moz-box-ordinal-group: 0 !important;
        transform: scale(1.3);
      }
      @media (prefers-reduced-motion: no-preference) {
        #PanelUI-fxa-menu-syncnow-button[syncstatus=active] > .toolbarbutton-icon,
        #PanelUI-remotetabs-syncnow[syncstatus=active] > .toolbarbutton-icon,
        .syncNowBtn[syncstatus=active] {
          animation: syncRotateNew 0.8s linear infinite !important;
        }
      }
      @keyframes syncRotateNew {
        from {
          transform: scale(1.3) rotate(0);
        }
        to {
          transform: scale(1.3) rotate(360deg);
        }
      }
      .syncnow-label {
        padding-inline-start: var(--uc-arrowpanel-menuicon-margin-inline) !important;
      }
      #PanelUI-fxa-menu-setup-sync-button {
        list-style-image: url("chrome://browser/skin/sync.svg");
      }
      #PanelUI-fxa-menu-connect-device-button {
        list-style-image: url("./images/icons/devices.svg");
      }
      #PanelUI-fxa-menu-sendtab-button,
      .sendToDevice-device[clientId=""] {
        list-style-image: url("./images/icons/send-to-device.svg");
      }
      #PanelUI-fxa-menu-sync-prefs-button,
      .sendToDevice-device:not([clientId]) {
        list-style-image: url("./images/icons/settings.svg");
      }
      #PanelUI-fxa-menu-account-signout-button {
        list-style-image: url("./images/icons/sign-out.svg");
      }
      #PanelUI-sign-out-separator {
        display: none;
      }
      .sendToDevice-device[clientId=""] > .toolbarbutton-text,
      .sendToDevice-device:not([clientId]) > .toolbarbutton-text {
        margin-block: revert !important;
      }
      /*= Panel 杠弹出面板 - 书签 =====================================================*/
      #panelMenuBookmarkThisPage {
        list-style-image: url("./images/icons/bookmark-hollow.svg");
      }
      #panelMenuBookmarkThisPage[starred] {
        list-style-image: url("./images/icons/bookmark.svg");
      }
      #panelMenu_viewBookmarksToolbar {
        list-style-image: url("chrome://browser/skin/bookmarks-toolbar.svg");
      }
      #panelMenu_searchBookmarks {
        list-style-image: var(--uc-search-icon);
      }
      #panelMenu_viewBookmarksToolbar {
        list-style-image: url("./images/icons/bookmarks-toolbar-alt.svg");
      }
      #panelMenu_showAllBookmarks {
        list-style-image: url("./images/icons/manage.svg") !important;
      }
      /*= Panel 杠弹出面板 - 历史 =====================================================*/
      #appMenuRecentlyClosedTabs {
        list-style-image: var(--uc-tab-icon);
      }
      #appMenuRecentlyClosedWindows {
        list-style-image: var(--uc-window-icon);
      }
      #appMenuSearchHistory {
        list-style-image: var(--uc-search-icon);
      }
      #appMenuRestoreSession,
      #appMenu-restoreSession {
        list-style-image: url("./images/organizer/restore-session.svg");
      }
      #appMenuClearRecentHistory {
        list-style-image: url("./images/organizer/clean.svg");
      }
      #PanelUI-historyMore {
        list-style-image: url("./images/icons/history.svg");
      }
      #appMenu-library-recentlyClosedTabs .restoreallitem,
      #appMenu-library-recentlyClosedWindows .restoreallitem {
        list-style-image: url("./images/organizer/restore-session.svg");
      }
      /*= Panel 杠弹出面板 - 更多工具 ==================================================*/
      #appmenu-moreTools-button {
        list-style-image: url("./images/icons/customize.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton[key=key_toggleToolbox] {
        list-style-image: url("./images/icons/manage.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton[key=key_aboutProcesses] {
        list-style-image: url("./images/icons/tool-profiler.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton:nth-child(3) {
        list-style-image: url("./images/icons/bug.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton[key=key_browserToolbox] {
        list-style-image: url("./images/icons/window-dev-tools.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton[key=key_browserConsole] {
        list-style-image: url("./images/icons/console.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton[key=key_responsiveDesignMode] {
        list-style-image: url("./images/icons/command-responsivemode.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton:nth-last-child(3) {
        list-style-image: url("./images/icons/color-dropper.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton[key=key_viewSource] {
        list-style-image: url("./images/icons/search-page.svg");
      }
      :is(#appmenu-developer-tools-view, #PanelUI-developer-tools-view) .subviewbutton[data-l10n-id=appmenu-developer-tools-extensions] {
        list-style-image: url("./images/icons/extension.svg");
      }
      /*= Panel 杠弹出面板 - 帮助 =====================================================*/
      #appMenu_menu_openHelp {
        list-style-image: url("./images/icons/help.svg");
      }
      #appMenu_feedbackPage {
        list-style-image: url("./images/icons/comments.svg");
      }
      #appMenu_helpSafeMode {
        list-style-image: url("./images/icons/system-report.svg");
      }
      #appMenu_troubleShooting {
        list-style-image: var(--uc-menu-icon);
      }
      #appMenu-report-broken-site-button,
      #appMenu_help_reportSiteIssue,
      #protections-popup-report-broken-site-button {
        list-style-image: url("chrome://global/skin/icons/lightbulb.svg");
      }
      #appMenu_menu_HelpPopup_reportPhishingtoolmenu {
        list-style-image: url("chrome://global/skin/icons/warning.svg");
      }
      #appMenu_helpSwitchDevice {
        list-style-image: url("./images/icons/devices.svg");
      }
      #appMenu_aboutName {
        list-style-image: url("./images/icons/info.svg");
      }
      /*= Panel 杠弹出面板 - 库 =======================================================*/
      #appMenu-library-bookmarks-button {
        list-style-image: url("./images/icons/bookmark-star-on-tray.svg");
      }
      #appMenu-library-history-button {
        list-style-image: url("./images/icons/history.svg");
      }
      #appMenu-library-downloads-button {
        list-style-image: url("./images/icons/downloads.svg");
      }
      /*= Panel 杠弹出面板 - 下载 =====================================================*/
      #downloadsHistory {
        list-style-image: url("./images/icons/downloads.svg");
      }
      #downloadsHistory .button-text {
        padding-inline-start: var(--uc-arrowpanel-menuicon-margin-inline) !important;
      }
      #downloadsHistory .box-inherit.button-box {
        display: inline-flex !important;
        display: -moz-inline-box !important;
      }
      /*= Toolbar  工具栏 - 折叠菜单 ==================================================*/
      #overflowMenu-customize-button {
        list-style-image: url("./images/icons/customize.svg") !important;
      }
      /*= Tabbar - 所有标签菜单 =======================================================*/
      #allTabsMenu-undoCloseTab {
        list-style-image: url("./images/icons/edit-undo.svg");
      }
      #allTabsMenu-searchTab,
      #allTabsMenu-searchTabs {
        list-style-image: var(--uc-search-icon);
      }
      #allTabsMenu-closeDuplicateTabs {
        list-style-image: var(--uc-close-icon);
      }
      #allTabsMenu-containerTabsButton {
        list-style-image: url("./images/icons/container-tab.svg");
      }
      #allTabsMenu-hiddenTabsButton {
        list-style-image: url("./images/icons/eye-hide.svg");
      }
      #allTabsMenu-containerTabsView .subviewbutton:last-child {
        list-style-image: url("./images/icons/settings.svg");
      }
      /*= Tabbar - 来自其他设备的标签页 ================================================*/
      #PanelUI-remotetabs-view-managedevices {
        --menu-image: url("./images/icons/settings.svg");
      }
      #PanelUI-remotetabs-openAll {
        list-style-image: url("./images/icons/open-all.svg");
      }
      /* Header icons for the app menu sub menus (eg. fx account, history...) */
      .panel-header > h1 > span::before {
        content: "";
        background: var(--header-image, none) center/16px no-repeat;
        -moz-context-properties: fill, fill-opacity;
        fill: currentColor;
        padding-inline-start: calc(var(--uc-enabled, 0) * 16px);
        margin-inline-end: calc(var(--uc-enabled, 0) * 8px);
      }
      #PanelUI-fxa .panel-header > h1 > span::before {
        --header-image: var(--avatar-image-url);
        --uc-enabled: 1;
        transform: scale(1.25);
        border-radius: 99px;
        display: inline-block;
        height: 16px;
        vertical-align: text-bottom;
      }
      #PanelUI-bookmarks .panel-header > h1 > span::before {
        --header-image: url("./images/icons/bookmark-star-on-tray.svg");
        --uc-enabled: 1;
      }
      #PanelUI-history .panel-header > h1 > span::before {
        --header-image: url("./images/icons/history.svg");
        --uc-enabled: 1;
      }
      #PanelUI-helpView .panel-header > h1 > span::before {
        --header-image: url("./images/icons/help.svg");
        --uc-enabled: 1;
      }
      #appMenu-libraryView .panel-header > h1 > span::before {
        --header-image: url("./images/icons/library.svg");
        --uc-enabled: 1;
      }
      #unified-extensions-panel .panel-header > h1 > span::before {
        --header-image: url("./images/icons/extension.svg");
        --uc-enabled: 1;
      }
      #appmenu-moreTools .panel-header > h1 > span::before {
        --header-image: url("./images/icons/menu.svg");
        --uc-enabled: 1;
      }
      #allTabsMenu-containerTabsView .panel-header > h1 > span::before {
        --header-image: url("./images/icons/container-tab.svg");
        --uc-enabled: 1;
      }
      /*= BMB_bookmarksPopup =======================================================*/
      #BMB_viewBookmarksSidebar {
        --menu-image: url("./images/icons/sidebars.svg");
      }
      #BMB_viewBookmarksSidebar[data-l10n-args='{"isVisible":true}'] {
        --menu-image: var(--uc-close-icon);
      }
      #BMB_searchBookmarks {
        --menu-image: url("./images/icons/search-glass.svg");
      }
      #BMB_bookmarksShowAllTop,
      #BMB_bookmarksShowAll {
        --menu-image: url("./images/icons/manage.svg");
      }
      #BMB_viewBookmarksToolbar {
        --menu-image: url("./images/icons/bookmarks-toolbar-alt.svg");
      }
      #BMB_viewBookmarksToolbar[data-l10n-args='{"isVisible":true}'] {
        --menu-image: var(--uc-close-icon);
      }
      /*= sidebarMenu-popup ========================================================*/
      #sidebar-switcher-bookmarks {
        --menu-image: url("./images/icons/bookmark-star-on-tray.svg");
      }
      #sidebar-box[sidebarcommand=viewBookmarksSidebar] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
        list-style-image: url("./images/icons/bookmark-star-on-tray.svg") !important;
      }
      #sidebar-switcher-history {
        --menu-image: url("./images/icons/history.svg");
      }
      #sidebar-box[sidebarcommand=viewHistorySidebar] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
        list-style-image: url("./images/icons/history.svg") !important;
      }
      #sidebar-switcher-tabs {
        --menu-image: url("./images/icons/devices.svg");
      }
      #sidebar-switcher-genai-chat {
        --menu-image: url("./images/icons/intelligence.svg");
      }
      #sidebar-box[sidebarcommand=viewTabsSidebar] #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
        list-style-image: url("./images/icons/devices.svg") !important;
      }
      #sidebar-reverse-position.subviewbutton {
        list-style-image: url("./images/icons/switch.svg") !important;
      }
      #sidebar-reverse-position:is(menuitem) {
        --menu-image: url("./images/icons/switch.svg");
      }
      #sidebarMenu-popup > *.subviewbutton[data-l10n-id=sidebar-menu-close] {
        list-style-image: var(--uc-close-icon);
      }
      #sidebarMenu-popup > *:is(menuitem)[data-l10n-id=sidebar-menu-close] {
        --menu-image: var(--uc-close-icon);
      }
      /*= 侧边工具栏 ========================================================*/
      #unloadWebpanelMenu {
        --menu-image: url("./images/icons/close.svg");
      }
      #deleteWebpanelMenu {
        --menu-image: url("./images/icons/edit-delete.svg");
      }
      #muteMenu {
        --menu-image: url("./images/icons/media-mute.svg");
      }
      #changeZoomLevelMenu {
        --menu-image: url("./images/icons/zoom-control.svg");
      }
      #changeUAWebpanelMenu {
        --menu-image: url("./images/icons/switch.svg");
      }
      /*= 导航栏图标 ================================================================*/
      #nav-bar-overflow-button {
        list-style-image: url("./images/icons/chevron.svg") !important;
      }
      :root[fxastatus=not_configured] #fxa-avatar-image {
        list-style-image: url("./images/skin/account.svg") !important;
      }
      #back-button {
        list-style-image: url("./images/icons/back.svg") !important;
      }
      #forward-button {
        list-style-image: url("./images/icons/forward.svg") !important;
      }
      #reload-button {
        list-style-image: url("./images/icons/reload.svg") !important;
      }
      #stop-button {
        list-style-image: url("./images/icons/close.svg") !important;
      }
      #sidebar-button {
        list-style-image: url("./images/icons/sidebars-right.svg") !important;
      }
      #sidebar-button:-moz-locale-dir(ltr):not([positionend]),
      #sidebar-button:-moz-locale-dir(rtl)[positionend] {
        list-style-image: url("./images/icons/sidebars.svg") !important;
      }
      #downloads-button,
      #downloads-indicator-anchor {
        list-style-image: url("./images/icons/downloads.svg") !important;
      }
      #developer-button {
        list-style-image: url("./images/icons/developer.svg") !important;
      }
      #logins-button {
        list-style-image: url("./images/icons/passwords.svg") !important;
      }
      #PanelUI-menu-button {
        list-style-image: var(--uc-menu-icon) !important;
      }
      #privatebrowsing-button {
        list-style-image: var(--uc-private-windown-icon) !important;
      }
      #open-file-button {
        list-style-image: url("./images/icons/open.svg") !important;
      }
      #panic-button {
        list-style-image: url("./images/icons/forget.svg") !important;
      }
      #firefox-view-button {
        list-style-image: url("./images/icons/firefox-view.svg") !important;
      }
      #sync-button {
        list-style-image: url("./images/icons/tab.svg") !important;
      }
      #history-panelmenu {
        list-style-image: url("./images/icons/history.svg") !important;
      }
      #save-page-button {
        list-style-image: url("./images/icons/save.svg") !important;
      }
      #print-button {
        list-style-image: url("./images/icons/print.svg") !important;
      }
      #find-button {
        list-style-image: url("./images/icons/search-page.svg") !important;
      }
      #email-link-button {
        list-style-image: url("./images/icons/mail.svg") !important;
      }
      #screenshot-button {
        list-style-image: url("./images/icons/screenshot.svg") !important;
      }
      #profiler-button-button > .toolbarbutton-icon {
        list-style-image: url("./images/icons/tool-profiler.svg") !important;
      }
      #characterencoding-button {
        list-style-image: url("./images/icons/alphabet.svg") !important;
      }
      #zoom-out-button {
        list-style-image: url("./images/icons/zoom-out.svg") !important;
      }
      #zoom-in-button {
        list-style-image: url("./images/icons/plus.svg") !important;
      }
      #cut-button {
        list-style-image: url("./images/icons/edit-cut.svg") !important;
      }
      #copy-button {
        list-style-image: url("./images/icons/edit-copy.svg") !important;
      }
      #paste-button {
        list-style-image: url("./images/icons/edit-paste.svg") !important;
      }
      #preferences-button {
        list-style-image: url("./images/icons/settings.svg") !important;
      }
      #PlacesChevron {
        list-style-image: url("./images/icons/arrow-right.svg") !important;
      }
      /*= 地址栏图标 ==========================================================*/
      #identity-icon {
        list-style-image: url("./images/icons/info.svg") !important;
      }
      #identity-box[pageproxystate=valid].chromeUI #identity-icon {
        list-style-image: url("./images/icons/firefox.svg") !important;
      }
      #identity-box[pageproxystate=valid].localResource #identity-icon {
        list-style-image: url("./images/icons/page-portrait.svg") !important;
      }
      #urlbar:not(.searchButton) > #urlbar-input-container > #identity-box[pageproxystate=invalid] #identity-icon {
        list-style-image: url("./images/icons/search-glass.svg") !important;
      }
      #urlbar[actiontype=extension] > #urlbar-input-container > #identity-box #identity-icon,
      #identity-box[pageproxystate=valid].extensionPage #identity-icon {
        list-style-image: url("./images/icons/extension.svg") !important;
      }
      #identity-box[pageproxystate=valid].verifiedDomain #identity-icon,
      #identity-box[pageproxystate=valid].mixedActiveBlocked #identity-icon {
        list-style-image: url("./images/icons/security.svg") !important;
      }
      #identity-popup-clear-sitedata-button {
        list-style-image: url("./images/icons/edit-delete.svg");
      }
      #identity-popup-more-info {
        list-style-image: var(--uc-menu-icon);
      }
      #protections-popup-trackersView-settings-button {
        list-style-image: url("./images/icons/manage.svg");
      }
      #urlbar-input-container[pageproxystate=valid] > #tracking-protection-icon-container > #tracking-protection-icon-box > #tracking-protection-icon {
        list-style-image: url("./images/icons/tracking-protection.svg") !important;
      }
      /* security */
      .identity-popup-security-connection {
        list-style-image: url("./images/icons/security-broken.svg") !important;
      }
      #identity-box[pageproxystate=valid].notSecure #identity-icon,
      #identity-box[pageproxystate=valid].mixedActiveContent #identity-icon,
      #identity-box[pageproxystate=valid].httpsOnlyErrorPage #identity-icon {
        list-style-image: url("./images/icons/security-broken.svg") !important;
      }
      #identity-popup[connection=chrome] .identity-popup-security-connection {
        list-style-image: url("./images/icons/firefox.svg") !important;
      }
      #identity-popup[connection=file] .identity-popup-security-connection {
        list-style-image: url("./images/icons/page-portrait.svg") !important;
      }
      #identity-popup[connection^=secure] .identity-popup-security-connection {
        list-style-image: url("./images/icons/security.svg") !important;
      }
      #identity-popup[ciphers=weak] .identity-popup-security-connection,
      #identity-popup[mixedcontent~=passive-loaded][isbroken] .identity-popup-security-connection,
      #identity-popup[connection=secure-cert-user-overridden] .identity-popup-security-connection,
      #identity-popup[connection=cert-error-page] .identity-popup-security-connection {
        list-style-image: url("./images/icons/security-warning.svg") !important;
      }
      #identity-popup[connection=net-error-page] .identity-popup-security-connection {
        list-style-image: url("./images/icons/info.svg") !important;
      }
      #identity-popup[connection=extension] .identity-popup-security-connection {
        list-style-image: url("./images/icons/extension.svg") !important;
      }
      #urlbar-go-button {
        list-style-image: url("./images/icons/arrow-right.svg") !important;
      }
      #identity-popup-mainView-panel-header-span::before {
        --header-image: url("./images/icons/info.svg");
        --uc-enabled: 1;
      }
      [data-l10n-id=urlbar-result-menu-remove-from-history] {
        --menu-image: url("./images/icons/edit-delete.svg");
      }
      [data-l10n-id=urlbar-result-menu-learn-more] {
        --menu-image: url("./images/icons/info.svg");
      }
      /*= 查找栏图标 ================================================================*/
      .findbar-find-previous {
        list-style-image: url("./images/icons/arrow-up.svg") !important;
      }
      .findbar-find-next {
        list-style-image: url("./images/icons/arrow-down.svg") !important;
      }
      #pageAction-panel-bookmark,
      #star-button {
        list-style-image: url("./images/icons/bookmark-hollow.svg") !important;
      }
      #pageAction-panel-bookmark[starred],
      #star-button[starred] {
        list-style-image: url("./images/icons/bookmark.svg") !important;
      }
      /* tab icons */
      .tab-icon-image[src="chrome://branding/content/icon32.png"],
      .tab-icon-image[src="chrome://browser/skin/privatebrowsing/favicon.svg"] {
        content: url("./images/icons/new-tab-image.svg") !important;
      }
      .tab-icon-image[src="chrome://global/skin/icons/settings.svg"] {
        content: url("./images/icons/settings.svg") !important;
      }
      .tab-icon-image[src="chrome://mozapps/skin/extensions/extension.svg"] {
        content: url("./images/icons/extension.svg") !important;
      }
      .tab-icon-image[src="chrome://browser/skin/customize.svg"],
      .tab-icon-image[src="chrome://mozapps/skin/extensions/category-themes.svg"] {
        content: url("./images/icons/customize.svg") !important;
      }
      .tab-icon-image[src="chrome://global/skin/icons/defaultFavicon.svg"],
      #TabsToolbar .tabbrowser-tab .tab-icon-image:not([src]):not([busy]):not([pending]),
      #TabsToolbar .tabbrowser-tab .tab-icon-image:not([src]):not([busy]):not([pending]):not([selected]) {
        display: inline !important;
        content: url("./images/icons/new-tab-image.svg") !important;
      }
      /* permissions */
      #permissions-granted-icon {
        list-style-image: url("./images/icons/permissions.svg") !important;
      }
      .geo-icon {
        list-style-image: url("./images/icons/geo.svg") !important;
      }
      .geo-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/geo-blocked.svg") !important;
      }
      .xr-icon {
        list-style-image: url("./images/icons/xr.svg") !important;
      }
      .xr-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/xr-blocked.svg") !important;
      }
      .popup-notification-icon[popupid=web-notifications],
      .desktop-notification-icon {
        list-style-image: url("./images/icons/desktop-notification.svg") !important;
      }
      .desktop-notification-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/desktop-notification-blocked.svg") !important;
      }
      .camera-icon {
        list-style-image: url("./images/icons/camera.svg") !important;
      }
      .camera-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/camera-blocked.svg") !important;
      }
      .microphone-icon {
        list-style-image: url("./images/icons/microphone.svg") !important;
      }
      .microphone-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/microphone-blocked.svg") !important;
      }
      .screen-icon {
        list-style-image: url("./images/icons/screen.svg") !important;
      }
      .screen-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/screen-blocked.svg") !important;
      }
      .popup-notification-icon[popupid=persistent-storage],
      .persistent-storage-icon,
      .indexedDB-icon {
        list-style-image: url("./images/icons/persistent-storage.svg") !important;
      }
      .persistent-storage-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/persistent-storage-blocked.svg") !important;
      }
      .popup-icon {
        list-style-image: url("./images/icons/popup.svg") !important;
      }
      .autoplay-media-icon {
        list-style-image: url("./images/icons/autoplay-media.svg") !important;
      }
      .autoplay-media-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/autoplay-media-blocked.svg") !important;
      }
      #canvas-notification-icon,
      .popup-notification-icon[popupid=canvas-permissions-prompt],
      .canvas-icon {
        list-style-image: url("./images/icons/canvas.svg") !important;
      }
      .canvas-icon.blocked-permission-icon {
        list-style-image: url("./images/icons/canvas-blocked.svg") !important;
      }
      .midi-icon,
      .midi-sysex-icon,
      .popup-notification-icon[popupid=midi],
      .popup-notification-icon[popupid=midi-sysex] {
        list-style-image: url("./images/icons/midi.svg") !important;
      }
      .install-icon {
        list-style-image: url("./images/icons/extension.svg") !important;
      }
      .install-icon.blocked-permission-icon,
      .popup-notification-icon[popupid=xpinstall-disabled],
      .popup-notification-icon[popupid=addon-install-blocked],
      .popup-notification-icon[popupid=addon-install-origin-blocked] {
        list-style-image: url("./images/icons/extension-blocked.svg") !important;
      }
      /* 标签声音图标 */
      .tab-icon-overlay[soundplaying] {
        list-style-image: url("./images/icons/tab-audio-playing-small.svg") !important;
      }
      .tab-icon-overlay[muted] {
        list-style-image: url("./images/icons/tab-audio-muted-small.svg") !important;
      }
      .tab-icon-overlay[activemedia-blocked] {
        list-style-image: url("./images/icons/tab-audio-blocked-small.svg") !important;
      }
      /* 刷新、停止动画 */
      #stop-reload-button[animate] > #reload-button[displaystop] + #stop-button > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image {
        background-image: url("./images/icons/reload-to-stop.svg") !important;
      }
      #stop-reload-button[animate] > #reload-button > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image {
        background-image: url("./images/icons/stop-to-reload.svg") !important;
      }
      #reader-mode-button > .urlbar-icon {
        list-style-image: url("./images/icons/reader-mode.svg") !important;
      }
      @media -moz-pref("userChromeJS.Sidra.Icons.BookmarkFolder.EdgeLike.Enabled") {
        .bookmark-item[container] {
          list-style-image: url("./images/icons/folder.svg") !important;
        }
      }
      menupopup menuitem:is([type=checkbox], [type=radio]):not([checked=true]) {
        list-style-image: url("./images/icons/checkbox.svg") !important;
      }
      menupopup menuitem:is([checked=true], [selected=true]) .menu-iconic-icon {
        list-style-image: url("./images/icons/checkmark.svg") !important;
      }
      @media (-moz-platform: linux) {
        menupopup menuitem:is([checked=true], [selected=true]) .menu-iconic-icon {
          list-style-image: none !important;
        }
      }
      @media -moz-pref("userChromeJS.Sidra.MenuPopup.Compact") {
        @media -moz-pref("userChromeJS.Sidra.Icons.ContextMenu.Enabled") {
          @media (-moz-platform: windows), (-moz-gtk-csd-available) {
            #context-back {
              list-style-image: url("./images/icons/back.svg") !important;
            }
            #context-forward {
              list-style-image: url("./images/icons/forward.svg") !important;
            }
            #context-reload {
              list-style-image: url("./images/icons/reload.svg") !important;
            }
            #context-stop {
              list-style-image: var(--uc-close-icon) !important;
            }
            #context-bookmarkpage {
              list-style-image: url("./images/icons/bookmark-hollow.svg") !important;
            }
            #context-bookmarkpage[starred] {
              list-style-image: url("./images/icons/bookmark.svg") !important;
            }
          }
          #context-video-pictureinpicture:not([checked=true]) .menu-iconic-icon {
            list-style-image: url("./images/icons/media-pip.svg") !important;
          }
          #context-media-loop:not([checked=true]) .menu-iconic-icon {
            list-style-image: url("./images/icons/media-loop.svg") !important;
          }
          :not(:not(menubar) > menu, #ContentSelectDropdown) > menupopup > menuitem:not([type=checkbox],
          [type=radio],
          .in-menulist,
          .in-menulist menuitem,
          .unified-nav-current,
          [class*=identity-color]),
          :not(:not(menubar) > menu, #ContentSelectDropdown) > menupopup > menu:not([type=checkbox],
          [type=radio],
          .in-menulist,
          .in-menulist menu,
          .unified-nav-current) {
            background-image: var(--menu-image) !important;
            background-size: var(--menu-image-size, 16px) !important;
            background-position: var(--uc-contextmenu-menuitem-padding-inline) center !important;
            background-repeat: no-repeat !important;
            -moz-context-properties: fill, fill-opacity !important;
            fill: currentColor !important;
          }
          :not(:not(menubar) > menu, #ContentSelectDropdown) > menupopup > menuitem:not([type=checkbox],
          [type=radio],
          .in-menulist,
          .in-menulist menuitem,
          .unified-nav-current,
          [class*=identity-color]):before,
          :not(:not(menubar) > menu, #ContentSelectDropdown) > menupopup > menu:not([type=checkbox],
          [type=radio],
          .in-menulist,
          .in-menulist menu,
          .unified-nav-current):before {
            display: none !important;
          }
          @media -moz-pref("layout.css.osx-font-smoothing.enabled") {
            #context-back {
              --menu-image: url("./images/icons/back.svg");
            }
            #context-forward {
              --menu-image: url("./images/icons/forward.svg");
            }
            #context-reload {
              --menu-image: url("./images/icons/reload.svg");
            }
            #context-stop {
              --menu-image: var(--uc-close-icon);
            }
            #context-bookmarkpage {
              --menu-image: url("./images/icons/bookmark-hollow.svg");
            }
            #contentAreaContextMenu #context-bookmarkpage[starred] {
              --menu-image: url("./images/icons/bookmark.svg");
              fill: var(--toolbarbutton-icon-fill-attention, currentColor) !important;
            }
          }
          /** addMenu 增加的菜单  */
          .addMenu.copy {
            list-style-image: var(--copy-icon) !important;
          }
          #addMenu-viewsource,
          #addMenu-viewpartialsource-selection,
          [command=context-viewsource] {
            list-style-image: url("./images/icons/source-code.svg") !important;
          }
          #addMenu-inspect-a11y,
          [command=context-inspect-a11y] {
            list-style-image: url("./images/icons/accessibility.svg") !important;
          }
          #addMenu-inspect-page,
          [command=context-inspect] {
            list-style-image: url("./images/icons/inspect.svg") !important;
          }
          #addMenu-viewinfo {
            list-style-image: url("./images/icons/info.svg") !important;
          }
          #addMenu-search-select {
            list-style-image: url("./images/icons/search-glass.svg") !important;
          }
          #addMenu-view-and-save-image,
          [command=context-viewimage] {
            list-style-image: url("./images/icons/image-open.svg") !important;
          }
          [command=context-saveimage] {
            list-style-image: url("./images/icons/image-save.svg") !important;
          }
          #addMenu-print-selection {
            list-style-image: url("./images/icons/print.svg") !important;
          }
          #addMenu-content-open,
          #addMenu-context-openLinkInCurrentTab {
            list-style-image: url("./images/icons/open-in-current.svg") !important;
          }
          #addMenu-context-openLinkInTab {
            list-style-image: var(--uc-tab-icon) !important;
          }
          #addMenu-context-open-private,
          #addMenu-context-openLinkInPrivateTab,
          [command=context_toggleToPrivateContainer] {
            list-style-image: url("./images/icons/privateBrowsing.svg") !important;
          }
          #addMenu-context-open-with,
          menuitem[command=context-openlink] {
            list-style-image: var(--uc-window-icon) !important;
          }
          #addMenu-context-openLinkInNewTab,
          menuitem[command=context-openlinkincurrent] {
            list-style-image: var(--uc-tab-icon) !important;
          }
          #addMenu-context-openLinkInNewWindow,
          menuitem[command=context-openlinkinnewwindow] {
            list-style-image: var(--uc-window-icon) !important;
          }
          #addMenu-context-openLinkInPrivateWindow {
            list-style-image: var(--uc-private-windown-icon) !important;
          }
          #context_selectAllTabs ~ :is([command=context_closeOtherTabs],
          [command=context_closeTabsToTheEnd],
          [command=context_closeTabsToTheStart]) {
            list-style-image: var(--uc-close-icon) !important;
          }
          #addMenu-copy-link-and-title {
            list-style-image: url("./images/icons/website.svg") !important;
          }
          /** 原生菜单 */
          #context-savepage,
          #context-saveframe {
            --menu-image: url("./images/icons/save.svg");
          }
          #context-selectall,
          [data-l10n-id=text-action-select-all],
          #context_selectAllTabs,
          #toolbar-context-selectAllTabs {
            --menu-image: url("./images/icons/edit-select-all.svg");
          }
          #context-undo,
          [data-l10n-id=text-action-undo],
          #context_undoCloseTab,
          #toolbar-context-undoCloseTab {
            --menu-image: url("./images/icons/edit-undo.svg");
          }
          #context-redo,
          [data-l10n-id=text-action-redo] {
            --menu-image: url("./images/icons/edit-redo.svg");
          }
          #context-copy,
          [data-l10n-id=text-action-copy],
          #placesContext_copy,
          #syncedTabsCopySelected {
            --menu-image: var(--copy-icon);
          }
          #context-stripOnShareLink,
          #strip-on-share {
            --menu-image: var(--copy-without-tracking-icon);
          }
          #context-paste,
          #context-paste-no-formatting,
          [data-l10n-id=text-action-paste],
          #placesContext_paste_group,
          #placesContext_paste {
            --menu-image: url("./images/icons/edit-paste.svg");
          }
          #context-cut,
          [data-l10n-id=text-action-cut],
          #placesContext_cut {
            --menu-image: url("./images/icons/edit-cut.svg");
          }
          #context-delete,
          [data-l10n-id=text-action-delete],
          menuitem[id=placesContext_deleteBookmark],
          menuitem[id=placesContext_deleteFolder],
          menuitem[id=placesContext_delete],
          menuitem[id=placesContext_delete_history],
          menuitem[id=placesContext_deleteHost] {
            --menu-image: url("./images/icons/edit-delete.svg");
          }
          #paste-and-go,
          .searchbar-paste-and-search {
            --menu-image: url("./images/icons/paste-and-go.svg");
          }
          #context-print-selection,
          #context-printframe {
            --menu-image: url("./images/icons/print.svg");
          }
          #context-take-screenshot,
          #context-take-frame-screenshot {
            --menu-image: url("./images/icons/screenshot.svg");
          }
          #context-viewsource,
          #context-viewpartialsource-selection,
          #context-viewframesource {
            --menu-image: url("./images/icons/source-code.svg");
          }
          #context-inspect-a11y {
            --menu-image: url("./images/icons/accessibility.svg");
          }
          #context-inspect {
            --menu-image: url("./images/icons/inspect.svg");
          }
          #context-keywordfield {
            --menu-image: url("./images/icons/add.svg");
          }
          #context-searchselect {
            --menu-image: url("./images/icons/search-glass.svg");
          }
          #context-searchselect-private {
            --menu-image: url("./images/icons/search-private.svg");
          }
          #context-translate-selection {
            --menu-image: url("./images/icons/translate.svg");
          }
          #context-ask-chat {
            --menu-image: url("./images/icons/intelligence.svg");
          }
          #context-viewimage {
            --menu-image: url("./images/icons/image-open.svg");
          }
          #context-saveimage,
          #context-video-saveimage {
            --menu-image: url("./images/icons/image-save.svg");
          }
          #context-savevideo {
            --menu-image: url("./images/icons/video-save.svg");
          }
          #context-viewvideo {
            --menu-image: url("./images/icons/video-open.svg");
          }
          #context-saveaudio {
            --menu-image: url("./images/icons/audio-save.svg");
          }
          #context-copyimage-contents {
            --menu-image: url("./images/icons/image-copy.svg");
          }
          #context-copyimage,
          #context-copyvideourl,
          #context-copylink {
            --menu-image: url("./images/icons/link.svg");
          }
          #context-sendimage,
          #context-sendvideo,
          #context-sendaudio {
            --menu-image: url("./images/icons/mail.svg");
          }
          #context-setDesktopBackground,
          .viewCustomizeToolbar {
            --menu-image: url("./images/icons/customize.svg");
          }
          #context-reloadimage,
          #context_reloadTab,
          #context_reloadSelectedTabs,
          #toolbar-context-reloadSelectedTab,
          #toolbar-context-reloadSelectedTabs,
          #context-reloadframe {
            --menu-image: url("./images/icons/reload.svg");
          }
          #context-sendlinktodevice,
          #context_sendTabToDevice,
          #context-sendpagetodevice,
          #context-sendlinktodevice {
            --menu-image: url("./images/icons/devices.svg");
          }
          #context-sendpagetodevice .sendtab-target:not([clientId], [clientType]),
          #context-sendlinktodevice .sendtab-target:not([clientId], [clientType]) {
            --menu-image: url("./images/icons/manage.svg");
          }
          #context-sendpagetodevice .sendtab-target[clientId=""][clientType=""],
          #context-sendlinktodevice .sendtab-target[clientId=""][clientType=""] {
            --menu-image: url("./images/icons/send.svg");
          }
          #context-sendpagetodevice .sendtab-target[clientType=phone],
          #context-sendlinktodevice .sendtab-target[clientType=phone] {
            --menu-image: url("./images/icons/phone.svg");
          }
          #context-openlinkincurrent,
          #syncedTabsOpenSelected {
            --menu-image: url("./images/icons/open.svg");
          }
          #context-openlinkintab,
          #context-openlinkincontainertab,
          menuitem[id="placesContext_open:newtab"],
          menuitem[id="placesContext_openLinks:tabs"],
          menuitem[id="placesContext_openBookmarkLinks:tabs"],
          menuitem[id="placesContext_openBookmarkContainer:tabs"],
          #syncedTabsOpenSelectedInTab {
            --menu-image: url("./images/icons/tab.svg");
          }
          #openLinkInPrivateTab {
            --menu-image: url("./images/icons/privateBrowsing.svg");
          }
          menuitem[command="Browser:NewUserContextTab"][data-usercontextid="0"],
          #context_openANewTab,
          #toolbar-context-openANewTab,
          #addMenu-context-viewimage {
            --menu-image: url("./images/icons/new-tab-image.svg");
          }
          #context-openlinkinusercontext-menu,
          menu[id="placesContext_open:newcontainertab"],
          menu[id="placesContext_openContainer:tabs"],
          #syncedTabsOpenSelectedInContainerTab {
            --menu-image: url("./images/icons/container-tab.svg");
          }
          #context-openlink,
          menuitem[id="placesContext_open:newwindow"],
          #syncedTabsOpenSelectedInWindow {
            --menu-image: var(--uc-window-icon);
          }
          #context-openlinkprivate,
          menuitem[id="placesContext_open:newprivatewindow"],
          #syncedTabsOpenSelectedInPrivateWindow {
            --menu-image: url("./images/icons/private-window.svg");
          }
          #context-savelink,
          #ucjs_getUCJS_areamenu {
            --menu-image: url("./images/icons/downloads.svg");
          }
          #spell-add-to-dictionary {
            --menu-image: url("./images/icons/add-to-dictionary.svg");
          }
          #manage-saved-logins {
            --menu-image: url("./images/icons/passwords.svg");
          }
          #context-media-play,
          #context_playTab,
          #context_playSelectedTabs {
            --menu-image: url("./images/icons/media-play.svg");
          }
          #context-media-pause {
            --menu-image: url("./images/icons/media-pause.svg");
          }
          #context-media-mute,
          #context_toggleMuteTab,
          #context_toggleMuteSelectedTabs {
            --menu-image: url("./images/icons/media-mute.svg");
          }
          #context-media-unmute,
          #context_toggleMuteTab[muted],
          #context_toggleMuteSelectedTabs[muted] {
            --menu-image: url("./images/icons/media-unmute.svg");
          }
          #context-media-playbackrate {
            --menu-image: url("./images/icons/media-speed.svg");
          }
          #context-video-fullscreen {
            --menu-image: url("./images/icons/fullscreen.svg");
          }
          #context-leave-dom-fullscreen,
          menuitem[contexttype=fullscreen][label*=Exit] {
            --menu-image: url("./images/icons/fullscreen-exit.svg");
          }
          #context-media-hidecontrols,
          #context-media-showcontrols {
            --menu-image: url("./images/icons/permissions.svg");
          }
          #context_pinTab,
          #context_unpinTab,
          #context_pinSelectedTabs,
          #context_unpinSelectedTabs,
          .customize-context-moveToPanel {
            --menu-image: url("./images/icons/pin.svg");
          }
          #context_duplicateTab,
          #context_duplicateTabs {
            --menu-image: url("./images/icons/duplicate-tab.svg");
          }
          #splitViewTabContextMenuClose {
            --menu-image: var(--uc-close-icon);
          }
          #context_bookmarkTab,
          #context_bookmarkSelectedTabs,
          #context_bookmarkAllTabs,
          #context-bookmarklink,
          #toolbar-context-bookmarkSelectedTab,
          #toolbar-context-bookmarkSelectedTabs,
          #context-bookmarkframe {
            --menu-image: url("./images/icons/bookmark-hollow.svg");
          }
          menuitem[id="placesContext_show_bookmark:info"],
          menuitem[id="placesContext_show_folder:info"],
          menuitem[id="placesContext_show:info"] {
            --menu-image: url("./images/icons/edit.svg");
          }
          menuitem[id=placesContext_showAllBookmarks],
          .customize-context-manageExtension,
          .unified-extensions-context-menu-manage-extension {
            --menu-image: url("./images/icons/manage.svg");
          }
          menuitem[id="placesContext_new:bookmark"],
          menuitem[id="placesContext_new:folder"],
          menuitem[id="placesContext_new:separator"] {
            --menu-image: url("./images/icons/plus.svg");
          }
          #context-savelinktopocket,
          #context-pocket {
            --menu-image: url("./images/icons/pocket-outline.svg");
          }
          #context_moveTabOptions {
            --menu-image: url("./images/icons/move-tab.svg");
          }
          .share-tab-url-item {
            --menu-image: url("./images/icons/share.svg");
          }
          #context_reopenInContainer {
            --menu-image: url("./images/icons/container-tab.svg");
          }
          #context_MoveTabToOtherWorkspace {
            --menu-image: url("./images/icons/workspace.svg");
          }
          #context_splitView {
            --menu-image: url("./images/icons/column.svg");
          }
          #context_closeTab,
          #context_closeDuplicateTabs,
          #context_closeTabOptions,
          #context_closeTabsToTheStart,
          #context_closeTabsToTheEnd,
          #context_closeOtherTabs {
            --menu-image: var(--uc-close-icon);
          }
          #bsb-context-add,
          #bsb-context-link-add {
            --menu-image: url("./images/icons/add-page.svg");
          }
          #frame {
            --menu-image: url("./images/icons/frame.svg");
          }
          #context-openframeintab {
            --menu-image: var(--uc-new-tab-icon);
          }
          #context-openframe {
            --menu-image: var(--uc-window-icon);
          }
          #context-viewframeinfo {
            --menu-image: url("./images/icons/info.svg");
          }
          .customize-context-reportExtension,
          .unified-extensions-context-menu-report-extension {
            --menu-image: url("./images/icons/report.svg");
          }
          .customize-context-removeFromToolbar {
            --menu-image: url("./images/icons/edit-delete.svg");
          }
          #syncedTabsManageDevices {
            --menu-image: url("./images/icons/devices.svg");
          }
          #placesContext_openContainer\:tabs,
          #syncedTabsOpenAllInTabs {
            --menu-image: url("./images/icons/open-all.svg");
          }
          #syncedTabsBookmarkSelected {
            --menu-image: url("./images/icons/bookmark-hollow.svg");
          }
          #syncedTabsRefresh {
            --menu-image: url("./images/icons/reload.svg");
          }
          #placesContext_open {
            --menu-image: url("./images/icons/open-in-current.svg");
          }
          #placesContext_add\:bookmark,
          #placesContext_update_bookmark\:info,
          #placesContext_createBookmark {
            --menu-image: url("./images/icons/bookmark-hollow.svg");
          }
          #placesContext_sortBy\:name {
            --menu-image: url("./images/icons/order.svg");
          }
          #placesContext_copyTitle,
          #placesContext_copyLink {
            --menu-image: var(--copy-icon);
          }
          .openintabs-menuitem {
            --menu-image: url("./images/icons/open-all.svg");
          }
          .placesContext_showNodeInfo,
          .placesContext_showNodeInfo {
            --menu-image: url("chrome://global/skin/icons/info.svg");
          }
          #placesContext_showInFolder {
            --menu-image: url("./images/icons/folder.svg");
          }
          #toggle_PersonalToolbar {
            --menu-image: url("./images/icons/bookmark-star-on-tray.svg");
          }
          .pageActionContextMenuItem.manageExtensionItem {
            --menu-image: url("./images/icons/manage.svg");
          }
          .customize-context-removeExtension,
          .unified-extensions-context-menu-remove-extension,
          .pageActionContextMenuItem.removeExtensionItem {
            --menu-image: url("./images/icons/edit-delete.svg");
          }
          menuitem[data-l10n-id=origin-controls-no-access] {
            --menu-image: url("./images/icons/unavailable.svg");
          }
          .customize-context-copyExtensionId {
            --menu-image: var(--copy-icon);
          }
          .customize-context-disableExtension {
            --menu-image: url("./images/icons/media-pause.svg");
          }
          menuitem[url="chrome://userchrome/content/utils/ManageBrowsers.html"] {
            background-image: url("./images/icons/settings.svg");
            background-repeat: no-repeat;
            background-size: 16px;
            background-position: var(--uc-contextmenu-menuitem-padding-inline) center;
          }
          menuitem[url="chrome://userchrome/content/utils/ManageBrowsers.html"] .menu-iconic-icon {
            visibility: hidden;
          }
        }
      }
      toolbarbutton[data-l10n-id=user-context-manage-containers] {
        list-style-image: url("./images/icons/manage-profiles.svg");
      }
      menuitem[command="Browser:OpenAboutContainers"] {
        --menu-image: url("./images/icons/manage-profiles.svg");
      }
      /** 弹出窗口选项菜单 */
      #blockedPopupAllowSite {
        --menu-image: url("./images/icons/ok.svg");
      }
      [data-l10n-id=edit-popup-settings] {
        --menu-image: url("./images/icons/settings.svg");
      }
      [data-l10n-id=popup-show-popup-menuitem] {
        --menu-image: url("./images/icons/open.svg");
      }
      /* Tree items used for side bar and library windows */
      treechildren::-moz-tree-image {
        fill-opacity: 1 !important;
      }
      treechildren::-moz-tree-image(title) {
        list-style-image: url("./images/icons/page-portrait.svg") !important;
      }
      /* default folder icon */
      treechildren::-moz-tree-image(title, container),
      treechildren::-moz-tree-image(title, open) {
        list-style-image: url("./images/icons/folder.svg") !important;
      }
      /* bookmarks bar icon */
      treechildren::-moz-tree-image(container, queryFolder_toolbar_____) {
        list-style-image: url("./images/icons/bookmark-hollow.svg") !important;
      }
      /* bookmarks menu icon */
      treechildren::-moz-tree-image(container, queryFolder_menu________) {
        list-style-image: url("./images/icons/folder.svg") !important;
      }
      /* smart folder icon */
      treechildren::-moz-tree-image(query) {
        list-style-image: url("./images/icons/settings.svg") !important;
      }
      /* bookmarks category icon */
      treechildren::-moz-tree-image(query, OrganizerQuery_allbms_____v) {
        list-style-image: url("./images/icons/bookmark-hollow.svg") !important;
      }
      /* downloads category icon */
      treechildren::-moz-tree-image(query, OrganizerQuery_downloads__v) {
        list-style-image: url("./images/icons/downloads.svg") !important;
      }
      /* tags category icon */
      treechildren::-moz-tree-image(title, query, tagContainer),
      treechildren::-moz-tree-image(query, OrganizerQuery_tags_______v) {
        list-style-image: url("./images/icons/tag.svg") !important;
      }
      /* calendar icon for folders grouping items by date */
      treechildren::-moz-tree-image(title, query, dayContainer) {
        list-style-image: url("./images/icons/history.svg") !important;
      }
      treechildren::-moz-tree-image(title, query, hostContainer) {
        list-style-image: url("./images/icons/folder.svg") !important;
      }
      /* history category icon */
      treechildren::-moz-tree-image(query, OrganizerQuery_history____v) {
        list-style-image: url("./images/icons/history.svg") !important;
      }
      treechildren::-moz-tree-image(title, query, folder) {
        list-style-image: url("./images/icons/folder.svg") !important;
      }
      /*= Tabbar - UC脚本图标 =======================================================*/
      #CB-undoCloseTab {
        list-style-image: url("./images/icons/edit-undo.svg") !important;
      }
      #CB-SnapShot,
      #ScreenshotTools-button {
        list-style-image: url("./images/icons/screenshot-colorful.svg") !important;
      }
      #memoryMinimizationButton {
        list-style-image: url("./images/icons/system-task.svg") !important;
      }
      #CB-CleanHistory {
        list-style-image: url("./images/icons/broom.svg") !important;
      }
      #openInSidebarModokiMenu {
        --menu-image: url("./images/icons/sidebars.svg") !important;
      }
      #styloaix-button {
        list-style-image: url("./images/icons/skin.svg") !important;
      }
      #styloaix-button.icon-colored {
        fill: lightcoral;
      }
      #styloaix-reload-all {
        --menu-image: url("./images/icons/reload.svg");
      }
      #styloaix-open-folder {
        --menu-image: url("chrome://global/skin/icons/folder.svg");
      }
      #styloaix-new-style {
        --menu-image: url("./images/icons/file-add.svg");
      }
      #styloaix-newstyle-popup [oncommand*="gBrowser.currentURI.specIgnoringRef"]:not([oncommand*="gBrowser.currentURI.asciiHost"]) {
        --menu-imagee: url("chrome://global/skin/icons/defaultFavicon.svg");
      }
      #styloaix-newstyle-popup [oncommand*="gBrowser.currentURI.asciiHost"] {
        --menu-image: url("./images/icons/host.svg");
      }
      #styloaix-newstyle-popup [oncommand="UC.styloaix.openEditor();"] {
        --menu-image: url("./images/icons/file.svg");
      }
      #styloaix-style-edit {
        background-image: url("./images/text/edit.svg");
      }
      #styloaix-style-reload {
        background-image: url("./images/tab/reload-tab.svg");
      }
      #styloaix-style-delete {
        background-image: url("chrome://global/skin/icons/delete.svg");
      }
      [data-l10n-id=ucl-reload-all-styles] {
        --menu-image: url("./images/icons/reload.svg");
      }
      [data-l10n-id=ucl-open-style-folder] {
        --menu-image: url("./images/icons/folder.svg") !important;
      }
      [data-l10n-id=ucl-create-style] {
        --menu-image: url("./images/icons/create.svg");
      }
      #VideoBtn-Button {
        list-style-image: url("./images/icons/video-streaming.svg") !important;
      }
      #LinkGopher-Extract-All {
        --menu-image: url("./images/icons/copy-links.svg");
      }
      #LinkGopher-Extract-Magnet {
        --menu-image: url("./images/icons/magnet.svg");
      }
      #LinkGopher-Extract-Ed2k {
        --menu-image: url("./images/icons/donkey.svg");
      }
      #LinkGopher-Extract-By-Keyword {
        --menu-image: url("./images/icons/filter.svg");
      }
      #LinkGopher-Extract-Domain {
        --menu-image: url("./images/icons/website.svg");
      }
      #LinkGopher-About {
        --menu-image: url("./images/icons/info.svg");
      }
      @media -moz-pref("userChromeJS.Sidra.Menupopup.Compact.Extensions.Menu") {
        #unified-extensions-enable-all,
        #unified-extensions-view .unified-extensions-item-enable {
          list-style-image: url("./images/icons/media-play.svg") !important;
        }
        #unified-extensions-disable-all,
        #unified-extensions-view .unified-extensions-item-disable {
          list-style-image: url("./images/icons/media-pause.svg") !important;
        }
        #unified-extensions-manage-extensions {
          list-style-image: url("./images/icons/extension.svg") !important;
        }
        #unified-extensions-view .unified-extensions-item-up {
          list-style-image: url("./images/icons/arrow-up.svg") !important;
        }
        .unified-extensions-context-menu-move-widget-up {
          --menu-image: url("./images/icons/arrow-up.svg");
        }
        #unified-extensions-view .unified-extensions-item-down {
          list-style-image: url("./images/icons/arrow-down.svg") !important;
        }
        .unified-extensions-context-menu-move-widget-down {
          --menu-image: url("./images/icons/arrow-down.svg");
        }
        .unified-extensions-context-menu-copy-id {
          --menu-image: var(--copy-icon);
        }
      }
      #clearDownloadsButton {
        list-style-image: url("./images/organizer/clean.svg");
      }
      #clearDownloadsButton > .toolbarbutton-text {
        margin-inline-start: 6px !important;
      }
      #newbookmark,
      #newfolder,
      #newseparator {
        --menu-image: url("./images/icons/plus.svg");
      }
      #orgUndo {
        --menu-image: url("./images/icons/edit-undo.svg");
      }
      #orgRedo {
        --menu-image: url("./images/icons/edit-redo.svg");
      }
      #orgCut {
        --menu-image: url("./images/icons/edit-cut.svg");
      }
      #orgCopy {
        --menu-image: url("./images/icons/edit-copy.svg");
      }
      #orgPaste {
        --menu-image: url("./images/icons/edit-paste.svg");
      }
      #orgDelete {
        --menu-image: url("./images/icons/edit-delete.svg");
      }
      #orgSelectAll {
        --menu-image: url("./images/icons/edit-select-all.svg");
      }
      #orgClose {
        --menu-image: url("./images/icons/quit.svg");
      }
      #viewColumns {
        --menu-image: url("./images/organizer/columns.svg");
      }
      #viewSort {
        --menu-image: url("./images/organizer/order.svg");
      }
      #backupBookmarks {
        --menu-image: url("./images/organizer/download.svg");
      }
      #fileRestoreMenu {
        --menu-image: url("./images/organizer/upload.svg");
      }
      #fileRestorePopup > menuitem {
        --menu-image: url("./images/organizer/file.svg");
      }
      #fileRestorePopup > menuitem#restoreFromFile {
        --menu-image: url("./images/organizer/folder.svg");
      }
      #fileImport {
        --menu-image: url("./images/organizer/html.svg");
      }
      #fileExport {
        --menu-image: url("./images/organizer/export.svg");
      }
      #browserImport {
        --menu-image: url("chrome://devtools/skin/images/browsers/edge.svg");
      }
      .downloadPauseMenuItem {
        --menu-image: url("./images/icons/media-pause.svg");
      }
      .downloadResumeMenuItem {
        --menu-image: url("./images/icons/media-play.svg");
      }
      .downloadUnblockMenuItem {
        --menu-image: url("./images/organizer/unlock.svg");
      }
      .downloadUseSystemDefaultMenuItem {
        --menu-image: url("chrome://devtools/skin/images/browsers/ie.svg");
      }
      .downloadShowMenuItem {
        --menu-image: url("./images/organizer/folder.svg");
      }
      .downloadOpenReferrerMenuItem {
        --menu-image: url("./images/organizer/open-all.svg");
      }
      .downloadCopyLocationMenuItem {
        --menu-image: url("./images/organizer/copy-link.svg");
      }
      .downloadDeleteFileMenuItem,
      #downloadRemoveFromHistoryEnhanceMenuItem {
        --menu-image: url("./images/icons/edit-delete.svg");
      }
      .downloadRemoveFromHistoryMenuItem {
        --menu-image: url("./images/organizer/delete-row.svg");
      }
      menuitem:is([command=downloadsCmd_clearDownloads], [command=downloadsCmd_clearList]) {
        --menu-image: url("./images/organizer/clean.svg");
      }
    }
    @media -moz-pref("userChromeJS.Sidra.AppContent.Rounded.Enabled") {
      :root:not([sizemode=fullscreen]) {
        --uc-appcontent-raidus: 8px;
        --uc-appcontent-padding: 4px;
        --uc-appcontent-border-color: color-mix(
          in srgb,
          var(--toolbar-bgcolor) 80%,
          currentColor
        );
        --uc-appcontent-spliter-width: 2px;
      }
      :root:not([sizemode=fullscreen]) #navigator-toolbox {
        /** 去除导航栏底部边框 */
        border-bottom: 0px !important;
      }
      :root:not([sizemode=fullscreen]) #browser {
        background-color: var(--toolbar-bgcolor);
      }
      :root:not([sizemode=fullscreen]) #browser > #appcontent {
        padding: 0 var(--uc-appcontent-padding, 4px) var(--uc-appcontent-padding, 4px);
        background-color: var(--toolbar-bgcolor);
      }
      :root:not([sizemode=fullscreen]) #browser > #appcontent #tabbrowser-tabbox {
        border: 1px solid var(--uc-appcontent-border-color);
        border-radius: var(--uc-appcontent-raidus, 8px);
        overflow: hidden;
      }
      :root:not([sizemode=fullscreen]) #browser > #appcontent #tabbrowser-tabbox #tabbrowser-tabpanels {
        clip-path: xywh(0 0 100% 100% round var(--uc-appcontent-raidus, 8px)) !important;
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true] {
        border-bottom: none !important;
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true] #SM_tabbox {
        overflow: hidden;
        border-radius: var(--uc-appcontent-raidus, 8px);
      }
      @media not -moz-pref("userChromeJS.Sidra.Sidebar.Modoki.AutoHide.Enable") {
        :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true] #SM_tabbox {
          border: 1px solid var(--uc-appcontent-border-color);
        }
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true] #SM_tabbox browser {
        clip-path: xywh(0 0 100% 100% round var(--uc-appcontent-raidus, 8px)) !important;
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true]:not([positionend=true]):has(> #SM_contentbox[collapsed=true]) ~ #appcontent {
        padding-left: 0;
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true][positionend=true]:has(> #SM_contentbox[collapsed=true]) ~ #appcontent {
        padding-right: 0;
      }
      :root:not([sizemode=fullscreen]) #browser #sidebar-splitter {
        opacity: 0;
      }
      :root:not([sizemode=fullscreen]) #browser #sidebar-box {
        --sidebar-background-color: transparent;
      }
      :root:not([sizemode=fullscreen]) #browser #sidebar-box:not([positionend=true]) {
        padding-left: var(--uc-appcontent-padding, 4px);
      }
      :root:not([sizemode=fullscreen]) #browser #sidebar-box[positionend=true] {
        padding-right: var(--uc-appcontent-padding, 4px);
      }
      @media not -moz-pref("userChromeJS.Sidra.Sidebar.AutoHide.Enabled") {
        :root:not([sizemode=fullscreen]) #browser #sidebar-box #sidebar {
          overflow: hidden;
          border: 1px solid var(--uc-appcontent-border-color);
          border-radius: var(--uc-appcontent-raidus, 8px);
          clip-path: xywh(0 0 100% 100% round var(--uc-appcontent-raidus, 8px)) !important;
        }
      }
      :root:not([sizemode=fullscreen]) #browser:has(~ #status-bar[hidden=true]) #sidebar-box {
        margin-bottom: var(--uc-appcontent-padding, 4px) !important;
      }
      :root:not([sizemode=fullscreen]) #browser:has(~ #status-bar[hidden=true]) #SM_toolbox[open=true] {
        border-bottom: none !important;
        margin-bottom: var(--uc-appcontent-padding, 4px) !important;
      }
      :root:not([sizemode=fullscreen]) #browser:has(~ #status-bar:not([hidden=true])) #appcontent {
        padding-bottom: 0;
      }
      :root:not([sizemode=fullscreen]) #browser:has(~ #status-bar:not([hidden=true])) #sidebar,
      :root:not([sizemode=fullscreen]) #browser:has(~ #status-bar:not([hidden=true])) #SM_tabbox > #SM_tabpanels {
        margin-bottom: 0;
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=false]:not([aria-hidden=true])[position=left] ~ #appcontent {
        padding-left: 0;
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=false]:not([aria-hidden=true])[position=right] ~ #appcontent {
        padding-right: 0;
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true] {
        border-bottom: 1px solid var(--uc-appcontent-border-color);
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true]:not([positionend=true]) ~ #appcontent {
        padding-left: var(--uc-appcontent-padding, 4px);
      }
      @media -moz-pref("userChromeJS.Sidra.Sidebar.Modoki.AutoHide.Enabled") {
        :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true]:not([positionend=true]) ~ #appcontent {
          padding-left: var(--uc-appcontent-padding, 4px) !important;
        }
      }
      @media -moz-pref("userChromeJS.Sidra.Sidebar.Modoki.AutoHide.Enabled") {
        :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true]:not([positionend=true]) {
          border-radius: 0 var(--uc-appcontent-raidus, 8px) var(--uc-appcontent-raidus, 8px);
        }
      }
      :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true][positionend=true] ~ #appcontent {
        padding-right: var(--uc-appcontent-padding, 4px);
      }
      @media -moz-pref("userChromeJS.Sidra.Sidebar.Modoki.AutoHide.Enabled") {
        :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true][positionend=true] ~ #appcontent {
          padding-right: var(--uc-appcontent-padding, 4px) !important;
        }
      }
      @media -moz-pref("userChromeJS.Sidra.Sidebar.Modoki.AutoHide.Enabled") {
        :root:not([sizemode=fullscreen]) #browser #SM_toolbox[open=true][positionend=true] {
          border-radius: var(--uc-appcontent-raidus, 8px) 0 0 var(--uc-appcontent-raidus, 8px);
        }
      }
      :root:not([sizemode=fullscreen]) #browser #sidebar-box > #sidebar-header {
        border-bottom-color: transparent !important;
      }
      @media -moz-pref("userChromeJS.Sidra.Sidebar.AutoHide.Enabled") {
        :root:not([sizemode=fullscreen]) #browser #sidebar-box #sidebar-header {
          border-radius: var(--uc-appcontent-raidus, 8px) 0 0 0;
        }
      }
      :root:not([sizemode=fullscreen]) #sidebar-search-container {
        border-radius: 4px !important;
      }
      :root:not([sizemode=fullscreen]) #sidebar-search-container #search-box {
        border-radius: 4px 0 0 4px;
      }
      :root:not([sizemode=fullscreen]) #sidebar-search-container #viewButton {
        border-radius: 0 4px 4px 0;
      }
      :root:not([sizemode=fullscreen]) #status-bar,
      :root:not([sizemode=fullscreen]) #statusBar {
        border-top: 0px !important;
      }
      @media -moz-pref("userChromeJS.Sidra.Tabs.TabsOnBottom.Enabled") {
        :root:not([sizemode=fullscreen]) :root:is([sidra-tabstyle="6"], [sidra-tabstyle="7"], [sidra-tabstyle="8"], [sidra-tabstyle="9"], [sidra-tabstyle="10"], [sidra-tabstyle="11"], [sidra-tabstyle="12"], [sidra-tabstyle="13"]) #appcontent {
          padding-top: var(--uc-appcontent-padding, 4px) !important;
        }
        :root:not([sizemode=fullscreen]) :root:is([sidra-tabstyle="6"], [sidra-tabstyle="7"], [sidra-tabstyle="8"], [sidra-tabstyle="9"], [sidra-tabstyle="10"], [sidra-tabstyle="11"], [sidra-tabstyle="12"], [sidra-tabstyle="13"]) #TabsToolbar .toolbarbutton-1 {
          transform: translateY(calc(var(--uc-appcontent-padding, 4px) / 2));
        }
        :root:not([sizemode=fullscreen]) :is(#SM_toolbox, #appcontent, #status-bar, #statusBar) {
          --chrome-content-separator-color: var(--lwt-accent-color) !important;
        }
        :root:not([sizemode=fullscreen]) :is(#SM_toolbox, #appcontent, #status-bar, #statusBar):-moz-lwtheme {
          background-image: var(--lwt-additional-images) !important;
          background-repeat: var(--lwt-background-tiling) !important;
          background-position: var(--lwt-background-alignment) !important;
          background-color: var(--lwt-accent-color) !important;
          color: inherit;
        }
        :root:not([sizemode=fullscreen]) #SM_splitter,
        :root:not([sizemode=fullscreen]) #sidebar-splitter {
          border-color: var(--lwt-accent-color) !important;
          background-color: var(--lwt-accent-color) !important;
        }
        @media -moz-pref("userChromeJS.Sidra.Sidebar.Compact") {
          :root:not([sizemode=fullscreen]) #browser:not(:has(> #sidebar-box:is([sidebarcommand=treestyletab_piro_sakura_ne_jp-sidebar-action],
          [sidebarcommand=_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action]):not([hidden=true]))) #sidebar,
          :root:not([sizemode=fullscreen]) #browser:not(:has(> #sidebar-box:is([sidebarcommand=treestyletab_piro_sakura_ne_jp-sidebar-action],
          [sidebarcommand=_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action]):not([hidden=true]))) #sidebar-box,
          :root:not([sizemode=fullscreen]) #browser:not(:has(> #sidebar-box:is([sidebarcommand=treestyletab_piro_sakura_ne_jp-sidebar-action],
          [sidebarcommand=_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action]):not([hidden=true]))) #sidebar-header,
          :root:not([sizemode=fullscreen]) #browser:not(:has(> #sidebar-box:is([sidebarcommand=treestyletab_piro_sakura_ne_jp-sidebar-action],
          [sidebarcommand=_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action]):not([hidden=true]))) #sidebar-splitter {
            --sidebar-background-color: var(--lwt-accent-color) !important;
            --sidebar-border-color: var(--lwt-accent-color) !important;
            background-color: var(--lwt-accent-color) !important;
          }
        }
        :root:not([sizemode=fullscreen]) #SM_header:-moz-lwtheme #SM_controls {
          background-color: var(--lwt-accent-color) !important;
        }
        :root:not([sizemode=fullscreen]) #SM_header:-moz-lwtheme #SM_controls toolbarbutton:not([disabled]):hover {
          background-color: color-mix(in srgb, var(--panel-item-hover-bgcolor) 35%, var(--urlbar-box-bgcolor)) !important;
        }
        :root:not([sizemode=fullscreen]) :root[style*="--lwt-accent-color: rgb(240, 240, 244)"] :is(#SM_toolbox, #appcontent, #status-bar):-moz-window-inactive {
          --lwt-accent-color: #e0e0e0 !important;
        }
      }
    }
  }
}
@-moz-document url(chrome://browser/content/places/places.xhtml) {
  #detailsPane {
    /*取消信息栏高度下限 */
    min-height: auto !important;
  }
  #placesMenu > menu {
    background-color: transparent;
  }
  #placesMenu > menu:hover,
  #placesMenu > menu:focus {
    background-color: var(--toolbarbutton-hover-background, #f7f7f7);
  }
  #placesMenu > menu:active {
    background-color: var(--toolbarbutton-active-background, #f7f7f7);
  }
  #searchFilter {
    transition: background-color var(--animation-speed, 0.13s);
  }
  #searchFilter[focused] {
    outline: none;
  }
  #downloadsListBox {
    margin: 0 !important;
    scrollbar-width: thin;
  }
  #downloadsListBox > richlistitem[selected] {
    background-color: color-mix(in srgb, var(--panel-item-active-bgcolor, rgba(0, 108, 190, 0.5019607843)) 80%, blue) !important;
    outline: none !important;
    outline-offset: unset;
    border-radius: 0 !important;
    background-image: unset !important;
    padding-inline-end: 0px !important;
  }
  #downloadsListBox:focus > richlistitem[selected] {
    background-color: var(--panel-item-active-bgcolor, rgba(0, 108, 190, 0.5019607843)) !important;
  }
}
@-moz-document url-prefix("chrome://devtools/content/framework/toolbox-window.xhtml") {
  @media -moz-pref("userChromeJS.Sidra.DevTools.Compact") {
    #node-menu-edithtml {
      --menu-image: url(./images/devtools/edithtml.svg);
    }
    #node-menu-add,
    #storage-table-popup-add,
    menuitem[label*=添加] {
      --menu-image: url(./images/devtools/add.svg);
    }
    #node-menu-duplicatenode {
      --menu-image: url(./images/devtools/edit-copy.svg);
    }
    #node-menu-delete {
      --menu-image: url(./images/devtools/edit-delete.svg);
    }
    #node-menu-mutation-breakpoint {
      --menu-image: url(./images/devtools/mutation-breakpoint.svg);
    }
    #node-menu-useinconsole,
    menuitem[label*=控制台] {
      --menu-image: url(./images/devtools/console.svg);
    }
    #node-menu-showdomproperties {
      --menu-image: url(./images/devtools/showdomproperties.svg);
    }
    #node-menu-showaccessibilityproperties {
      --menu-image: url(./images/devtools/showaccessibilityproperties.svg);
    }
    #node-menu-screenshotnode {
      --menu-image: url(./images/devtools/screenshotnode.svg);
    }
    #node-menu-expand {
      --menu-image: url(./images/devtools/expand.svg);
    }
    #node-menu-collapse {
      --menu-image: url(./images/devtools/collapse.svg);
    }
    #node-menu-edithtml ~ [label=属性] {
      --menu-image: url(./images/devtools/attribute.svg);
    }
    #node-menu-edithtml ~ [label=更改伪类] {
      --menu-image: url(./images/devtools/select.svg);
    }
    #node-menu-edithtml ~ [label=画面滚动到节点] {
      --menu-image: url(./images/devtools/mouse-scrolling.svg);
    }
    #node-menu-edithtml ~ [label=复制],
    menuitem[label^=复制],
    menu[label^=复制],
    #console-menu-copy,
    #console-menu-copy-object,
    #console-menu-export-clipboard {
      --menu-image: url(./images/devtools/edit-copy.svg);
    }
    #node-menu-edithtml ~ [label=粘贴] {
      --menu-image: url(./images/devtools/paste.svg);
    }
    menuitem[label=全选] {
      --menu-image: url(./images/devtools/edit-select-all.svg);
    }
    #console-menu-store {
      --menu-image: url(./images/devtools/variable.svg);
    }
    #console-menu-export-file,
    menuitem[label*=另存] {
      --menu-image: url(./images/devtools/save.svg);
    }
    menuitem[label*=新建标签] {
      --menu-image: url(./images/devtools/new-tab.svg);
    }
  }
}
@-moz-document url("chrome://browser/content/downloads/contentAreaDownloadsView.xhtml?SM") {
  #contentAreaDownloadsView {
    padding: 0 !important;
  }
  #downloadsListBox {
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
}
@-moz-document url-prefix("chrome://") {
  @media -moz-pref("userChromeJS.Sidra.Icons.Extensions.Mods.Enabled") {
    #_d634138d-c276-4fc8-924b-40a0ea21d284_-BAP .toolbarbutton-icon {
      transform: scale(1.1);
    }
    menu[id^=_d634138d-c276-4fc8-924b-40a0ea21d284_-menuitem][ext-type=top-level-menu] > .menu-iconic-left > .menu-iconic-icon {
      transform: scale(1.3);
    }
    #_d634138d-c276-4fc8-924b-40a0ea21d284_-menuitem-_lock {
      --menu-image: url("./images/extensions/1password/lock.svg");
    }
    #_d634138d-c276-4fc8-924b-40a0ea21d284_-menuitem-_save {
      --menu-image: url("./images/extensions/1password/note.svg");
    }
    #_d634138d-c276-4fc8-924b-40a0ea21d284_-menuitem-_help {
      --menu-image: url("./images/extensions/help.svg");
    }
    #_d634138d-c276-4fc8-924b-40a0ea21d284_-menuitem-_settings {
      --menu-image: url("./images/extensions/settings.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_site_filtering_disabled {
      --menu-image: url("./images/extensions/unavailable.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_site_filtering_off {
      --menu-image: url("./images/extensions/adguard/quit.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_block_site_ads {
      --menu-image: url("./images/extensions/adguard/block.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_security_report {
      --menu-image: url("./images/extensions/adguard/security-portal.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_complaint_website {
      --menu-image: url("./images/extensions/adguard/report.svg");
    }
    #toolbar-context-menu > menu[id^=adguardadblocker_adguard_com-menuitem][ext-type=top-level-menu] {
      --menu-image: url("./images/extensions/adguard/adguard.svg");
    }
    #toolbar-context-menu > menu[id^=adguardadblocker_adguard_com-menuitem][ext-type=top-level-menu] menuseparator[id^=adguardadblocker_adguard_com-menuitem]:first-child {
      display: none;
    }
    #adguardadblocker_adguard_com-menuitem-_context_open_log {
      --menu-image: url("./images/extensions/adguard/log.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_open_settings {
      --menu-image: url("./images/extensions/settings.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_update_antibanner_filters {
      --menu-image: url("./images/extensions/adguard/update.svg");
    }
    #adguardadblocker_adguard_com-menuitem-_context_disable_protection {
      --menu-image: url("./images/extensions/adguard/pause.svg");
    }
    #_446900e4-71c2-419f-a6a7-df9c091e268b_-menuitem-_root {
      --menu-image: url("./images/extensions/passwords.svg");
    }
    menuitem[id^=_446900e4-71c2-419f-a6a7-df9c091e268b_-menuitem][id$=_noop] {
      --menu-image: url("./images/extensions/login.svg");
    }
    #_446900e4-71c2-419f-a6a7-df9c091e268b_-menuitem-_autofill-identity {
      --menu-image: url("./images/extensions/profile.svg");
    }
    #_446900e4-71c2-419f-a6a7-df9c091e268b_-menuitem-_autofill-card {
      --menu-image: url("./images/extensions/magnetic-card.svg");
    }
    #_446900e4-71c2-419f-a6a7-df9c091e268b_-menuitem-_generate-password {
      --menu-image: url("./images/extensions/password-reset.svg");
    }
    #_446900e4-71c2-419f-a6a7-df9c091e268b_-menuitem-_copy-identifier {
      --menu-image: url("./images/extensions/copy.svg");
    }
    #chrome-mask_overengineer_dev-BAP {
      list-style-image: url("./images/extensions/chrome.svg") !important;
    }
    #_copylinksplusplus-BAP {
      list-style-image: url("./images/extensions/copy-link-plus-plus/copy-link.svg") !important;
    }
    :root[lwt-toolbar-field=dark] toolbaritem[data-extensionid="{c0c63e02-d8b5-4b8d-accf-d29e3735f58a}"][cui-areatype=toolbar] .toolbarbutton-icon,
    :root[lwt-popup=dark] toolbarbutton[data-extensionid="{c0c63e02-d8b5-4b8d-accf-d29e3735f58a}"]:not(.unified-extensions-item-menu-button) image {
      filter: invert(1);
    }
    [data-l10n-id=custombuttons-viewmenu-item] > .menu-iconic-left {
      list-style-image: url("./images/extensions/custom-buttons/add-button.svg") !important;
    }
    :root[lwt-popup=dark] [data-l10n-id=custombuttons-viewmenu-item] > .menu-iconic-left {
      filter: invert(100%);
    }
    #_1018e4d6-728f-4b20-ad56-37578a4de76b_-menuitem-_Flagfox\:1\:options,
    #_1018e4d6-728f-4b20-ad56-37578a4de76b_-menuitem-_Flagfox\:0\:options {
      --menu-image: url("./images/extensions/settings.svg");
    }
    #_1018e4d6-728f-4b20-ad56-37578a4de76b_-menuitem-_Flagfox\:0\:submenu {
      --menu-image: url("./images/extensions/menu.svg");
    }
    #_copylinksplusplus-menuitem-_clpp-options {
      --menu-image: url("./images/extensions/settings.svg");
    }
    #_copylinksplusplus-menuitem-_clpp-options > .menu-iconic-left {
      visibility: hidden;
    }
    #image-picka_eight04_blogspot_com-BAP {
      list-style-image: url("./images/extensions/gallery.svg") !important;
    }
    #contentAreaContextMenu > [id^=image-picka_eight04_blogspot_com-menuitem] {
      --menu-image: url("./images/extensions/gallery.svg") !important;
    }
    #contentAreaContextMenu > [id^=image-picka_eight04_blogspot_com-menuitem] > .menu-iconic-left {
      visibility: hidden;
    }
    #contentAreaContextMenu > [id^=image-picka_eight04_blogspot_com-menuitem] > menupopup > menuitem {
      --menu-image: url("./images/extensions/image-picka/select-image.svg");
    }
    #toolbar-context-menu > menuitem[id^=image-picka_eight04_blogspot_com-menuitem] {
      --menu-image: url("./images/extensions/image-picka/select-image.svg");
    }
    #_5efceaa7-f3a2-4e59-a54b-85319448e305_-menuitem-_toggleTranslatePage {
      --menu-image: url("./images/extensions/immersive-translate/translation.svg");
    }
    #_5efceaa7-f3a2-4e59-a54b-85319448e305_-menuitem-_openOptionsPage {
      --menu-image: url("./images/extensions/settings.svg");
    }
    #_5efceaa7-f3a2-4e59-a54b-85319448e305_-menuitem-_openEbookViewer {
      --menu-image: url("./images/extensions/immersive-translate/book.svg");
    }
    #_5efceaa7-f3a2-4e59-a54b-85319448e305_-menuitem-_openEbookBuilder {
      --menu-image: url("./images/extensions/immersive-translate/epub.svg");
    }
    #_5efceaa7-f3a2-4e59-a54b-85319448e305_-menuitem-_translateLocalPdfFile {
      --menu-image: url("./images/extensions/immersive-translate/pdf.svg");
    }
    #mozilla_cc3_internetdownloadmanager_com-BAP {
      list-style-image: url("./images/extensions/internet-download-manager/idm.svg") !important;
    }
    #contentAreaContextMenu > [id^=mozilla_cc3_internet][id*=manager] .menu-iconic-icon {
      visibility: hidden;
    }
    #contentAreaContextMenu [id^=mozilla_cc3_internet][id*=manager] {
      --menu-image: url("./images/extensions/internet-download-manager/idm.svg");
    }
    #keepassxc-browser_keepassxc_org-BAP .toolbarbutton-icon {
      transform: scale(1.15);
    }
    #linkgopher_oooninja_com-BAP,
    .unified-extensions-item-action-button[data-extensionid="linkgopher@oooninja.com"] {
      list-style-image: url("./images/extensions/link-gopher/grab-links.svg") !important;
    }
    :root[lwt-toolbar-field=dark] toolbaritem[data-extensionid="{7deb155c-e51d-4bbb-a904-37dec499340c}"][cui-areatype=toolbar] .toolbarbutton-icon,
    :root[lwt-popup=dark] toolbarbutton[data-extensionid="{7deb155c-e51d-4bbb-a904-37dec499340c}"]:not(.unified-extensions-item-menu-button) image {
      filter: invert(1);
    }
    :root[lwt-toolbar-field=dark] toolbaritem[data-extensionid="media-controller.extension@tnychn"][cui-areatype=toolbar] .toolbarbutton-icon,
    :root[lwt-popup=dark] toolbarbutton[data-extensionid="media-controller.extension@tnychn"]:not(.unified-extensions-item-menu-button) image {
      filter: invert(1);
    }
    #extension_one-tab_com-browser-action,
    #extension_one-tab_com-BAP {
      list-style-image: url("./images/extensions/onetab/one-tab.svg") !important;
    }
    #contentAreaContextMenu > [id^=extension_one-tab_com-menuitem] > menupopup > menuitem:first-child,
    menu[label=OneTab]:not(.menu-iconic) {
      --menu-image: url("./images/extensions/onetab/one-tab.svg");
    }
    [id^=extension_one-tab_com-menuitem] :is(menuitem[label*=发送], menuitem[label*=Send]) {
      --menu-image: url("./images/extensions/onetab/save.svg");
    }
    [id^=extension_one-tab_com-menuitem] :is(menuitem[label^=帮助], menuitem[label^=Help]) {
      --menu-image: url("./images/extensions/help.svg");
    }
    :root[lwt-toolbar-field=dark] toolbaritem[data-extensionid="{eac1b56f-f3a7-40f4-9181-557dd6e63bf3}"][cui-areatype=toolbar] .toolbarbutton-icon,
    :root[lwt-popup=dark] toolbarbutton[data-extensionid="{eac1b56f-f3a7-40f4-9181-557dd6e63bf3}"]:not(.unified-extensions-item-menu-button) image {
      filter: invert(1);
    }
    :root[lwt-toolbar-field=dark] toolbaritem[data-extensionid="{98646173-7966-4aea-b2ca-4a7e75ff7682}"][cui-areatype=toolbar] .toolbarbutton-icon,
    :root[lwt-popup=dark] toolbarbutton[data-extensionid="{98646173-7966-4aea-b2ca-4a7e75ff7682}"]:not(.unified-extensions-item-menu-button) image {
      filter: invert(1);
    }
    #_98646173-7966-4aea-b2ca-4a7e75ff7682_-menuitem-_qr-img {
      --menu-image: url("./images/extensions/qrcode-util/read_qrcode.svg");
    }
    #rf-firefox_siber_com-menuitem-_SaveForms {
      --menu-image: url("./images/extensions/save.svg");
    }
    #rf-firefox_siber_com-menuitem-_ResetFields {
      --menu-image: url("./images/extensions/reset.svg");
    }
    #rf-firefox_siber_com-menuitem-_ClearFields {
      --menu-image: url("./images/extensions/empty.svg");
    }
    #rf-firefox_siber_com-menuitem-_PasswordGenerator {
      --menu-image: url("./images/extensions/password-reset.svg");
    }
    #rf-firefox_siber_com-menuitem-_Editor {
      --menu-image: url("./images/extensions/editor.svg");
    }
    #rf-firefox_siber_com-menuitem-_Options {
      --menu-image: url("./images/extensions/settings.svg");
    }
    :root[lwt-toolbar-field=dark] toolbaritem[data-extensionid="soundfixer@unrelenting.technology"][cui-areatype=toolbar] .toolbarbutton-icon,
    :root[lwt-popup=dark] toolbarbutton[data-extensionid="soundfixer@unrelenting.technology"]:not(.unified-extensions-item-menu-button) image {
      filter: invert(1);
    }
    #_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-manager {
      --menu-image: url("./images/extensions/stylus/css.svg");
    }
    #_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-options {
      --menu-image: url("./images/extensions/settings.svg");
    }
    #tabmix-alltabs-button {
      list-style-image: var(--uc-tab-icon) !important;
    }
    #tabmix-closedWindowsButton {
      list-style-image: var(--uc-window-icon) !important;
    }
    #tabmix-closedTabsButton {
      list-style-image: url("./images/extensions/tab-mix-plus/edit-undo.svg") !important;
    }
    #tm-duplicateinWin,
    #tm-duplicateinWinContext,
    #tm-detachTabContext {
      --menu-image: url("./images/extensions/tab-mix-plus/duplicate-to-new-window.svg");
    }
    #tm-mergeWindowsTab {
      --menu-image: url("./images/extensions/tab-mix-plus/merge.svg");
    }
    #tm-renameTab {
      --menu-image: url("./images/extensions/tab-mix-plus/rename.svg");
    }
    #tm-copyTabUrl {
      --menu-image: var(--copy-icon);
    }
    #tm-autoreloadTab_menu,
    #context_reloadTabOptions,
    #tm-autoreload_menu {
      --menu-image: url("./images/extensions/tab-mix-plus/reload.svg");
    }
    #tm-autoreloadTab_menu menuitem[anonid=start_custom_list],
    #context_reloadTabOptions menuitem[anonid=start_custom_list],
    #tm-autoreload_menu menuitem[anonid=start_custom_list] {
      --menu-image: url("./images/extensions/tab-mix-plus/rename.svg");
    }
    #tm-autoreloadTab_menu menuitem[oncommand*=enableAllTabs],
    #context_reloadTabOptions menuitem[oncommand*=enableAllTabs],
    #tm-autoreload_menu menuitem[oncommand*=enableAllTabs] {
      --menu-image: url("./images/extensions/tab-mix-plus/checkmark.svg");
    }
    #tm-autoreloadTab_menu menuitem[oncommand*=disableAllTabs],
    #context_reloadTabOptions menuitem[oncommand*=disableAllTabs],
    #tm-autoreload_menu menuitem[oncommand*=disableAllTabs] {
      --menu-image: url("./images/extensions/tab-mix-plus/checkbox.svg");
    }
    #tm-undoCloseList > .menu-iconic-left {
      list-style-image: url("./images/extensions/tab-mix-plus/edit-undo.svg") !important;
    }
    #tm-undoCloseList-menu .bookmark-item > .menu-iconic-left > .menu-iconic-icon:is([src=""], :not([src])) {
      list-style-image: var(--uc-new-tab-icon);
    }
    #tm-undoCloseList-menu .restoreallitem {
      --menu-image: url("./images/extensions/tab-mix-plus/open-all.svg");
    }
    #clearClosedTabsList {
      --menu-image: url("./images/extensions/tab-mix-plus/clean.svg");
    }
    #menu_clearClosedWindowsList,
    #clearClosedTabsList {
      list-style-image: url("./images/extensions/tab-mix-plus/clean.svg");
    }
    #tm-docShell {
      --menu-image: url("./images/extensions/tab-mix-plus/list.svg");
    }
    #tm-content-closetab {
      --menu-image: url("./images/extensions/tab-mix-plus/close.svg");
    }
    #tm-duplicateTabContext {
      --menu-image: var(--uc-tab-copy-icon);
    }
    #lockedClosedTabsList {
      background-image: var(--menu-image);
      background-repeat: no-repeat;
      background-size: 16px;
      background-position: var(--uc-contextmenu-menuitem-padding-inline) center;
    }
    #lockedClosedTabsList > .toolbarbutton-icon {
      visibility: hidden;
    }
    #lockedClosedTabsList[image] {
      --menu-image: url("./images/extensions/checkbox.svg") !important;
    }
    #lockedClosedTabsList[image*=chrome] {
      --menu-image: url("./images/extensions/checkmark.svg") !important;
    }
    #tm-tabsList .menu-iconic-left {
      list-style-image: var(--uc-tab-icon) !important;
    }
    #tm-content-undoCloseTab {
      --menu-image: url("./images/extensions/tab-mix-plus/edit-undo.svg") !important;
    }
    #tm-content-undoCloseList > .menu-iconic-left {
      list-style-image: url("./images/extensions/tab-mix-plus/edit-undo.svg") !important;
    }
    #tm-content-undoCloseList .bookmark-item > .menu-iconic-left > .menu-iconic-icon:is([src=""], :not([src])) {
      list-style-image: var(--uc-new-tab-icon);
    }
    #tm-content-undoCloseList .restoreallitem {
      --menu-image: url("./images/extensions/tab-mix-plus/open-all.svg");
    }
    #menu_clearClosedWindowsList + .subviewbutton-iconic,
    .subviewbutton-iconic.restoreallitem {
      list-style-image: url("./images/extensions/tab-mix-plus/open-all.svg");
    }
    #tm_delete-window {
      --menu-image: url("./images/extensions/tab-mix-plus/edit-delete.svg");
    }
    #tmOpen,
    #tmRestoreTab {
      --menu-image: url("./images/extensions/tab-mix-plus/edit-undo.svg");
    }
    #tmOpenInNewWindow {
      --menu-image: var(--uc-window-icon);
    }
    #tmOpenInNewTab {
      --menu-image: var(--uc-tab-icon);
    }
    #tmAddBookmark {
      --menu-image: url("./images/extensions/tab-mix-plus/bookmark-hollow.svg");
    }
    #tmcopyTabUrl {
      --menu-image: var(--copy-icon);
    }
    #tm_delete {
      --menu-image: url("./images/extensions/tab-mix-plus/edit-delete.svg");
    }
    #allTabsMenu_sortTabsButton {
      list-style-image: url("./images/extensions/tab-mix-plus/order.svg");
    }
    #firefox_tampermonkey_net-BAP > .toolbarbutton-badge-stack > .toolbarbutton-icon {
      transform: scale(0.95);
    }
    #toolbar-context-menu > #firefox_tampermonkey_net-menuitem-_root {
      --menu-image: url("./images/extensions/tamper-monkey/javascript.svg");
    }
    #firefox_tampermonkey_net-menuitem-_root > menupopup > menu {
      --menu-image: url("./images/extensions/tamper-monkey/javascript.svg");
    }
    #firefox_tampermonkey_net-menuitem-_root > menupopup > menu menuitem {
      --menu-image: url("./images/extensions/settings.svg");
    }
    :root[lwt-popup=dark] #treestyletab_piro_sakura_ne_jp-menuitem-_treestyletab .menu-iconic-icon {
      filter: invert(1);
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_browserActionItem\:0 {
      --menu-image: url("./images/extensions/tree-style-tab/skin.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_browserActionItem\:1 {
      --menu-image: url("./images/extensions/tree-style-tab/list.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_browserActionItem\:2,
    #treestyletab_piro_sakura_ne_jp-menuitem-_browserActionItem\:3 {
      --menu-image: url("./images/extensions/tree-style-tab/tab.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_browserActionItem\:4 {
      --menu-image: url("./images/extensions/tree-style-tab/event.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_browserActionItem\:5 {
      --menu-image: url("./images/extensions/menu.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_newTab {
      --menu-image: url("./images/extensions/tree-style-tab/new-tab-image.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_reloadTab,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_reloadTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_reloadDescendants,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:reloadTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:reloadDescendants {
      --menu-image: url("./images/extensions/tree-style-tab/reload.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_toggleMuteTab,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:toggleMuteTree {
      --menu-image: url("./images/extensions/tree-style-tab/media-mute.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_toggleMuteTab[label*=取消],
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:toggleMuteTree[label*=取消] {
      --menu-image: url("./images/extensions/tree-style-tab/media-unmute.svg");
    }
    menuitem#treestyletab_piro_sakura_ne_jp-menuitem-_context_pinTab {
      --menu-image: url("./images/extensions/tree-style-tab/pin.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_unpinTab {
      --menu-image: linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)), url("./images/extensions/tree-style-tab/pin.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_duplicateTab {
      --menu-image: url("./images/extensions/tree-style-tab/duplicate-tab.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_bookmarkTab,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_bookmarkTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:bookmarkTree {
      --menu-image: url("./images/extensions/tree-style-tab/bookmark-hollow.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_moveTab {
      --menu-image: url("./images/extensions/tree-style-tab/move-tab.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_sendTabsToDevice,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:sendTreeToDevice {
      --menu-image: url("./images/extensions/tree-style-tab/devices.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_reopenInContainer {
      --menu-image: url("./images/extensions/tree-style-tab/container-tab.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_selectAllTabs {
      --menu-image: url("./images/extensions/tree-style-tab/edit-select-all.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_collapseTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_collapseTreeRecursively,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_collapseAll,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:collapseTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:collapseTreeRecursively,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:collapseAll {
      --menu-image: url("./images/extensions/tree-style-tab/collapse.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_expandTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_expandTreeRecursively,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_expandAll,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:expandTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:expandTreeRecursively,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:expandAll {
      --menu-image: url("./images/extensions/tree-style-tab/expand.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_closeTab,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_closeMultipleTabs,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_closeTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_closeDescendants,
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_topLevel_closeOthers,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:closeTree,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:closeDescendants,
    #treestyletab_piro_sakura_ne_jp-menuitem-_grouped\:closeOthers {
      --menu-image: url("./images/extensions/tree-style-tab/close.svg");
    }
    #treestyletab_piro_sakura_ne_jp-menuitem-_context_undoCloseTab {
      --menu-image: url("./images/extensions/tree-style-tab/edit-undo.svg");
    }
    #ublock0_raymondhill_net-menuitem-_uBlock0-blockElement {
      --menu-image: url("./images/extensions/ublock/block.svg") !important;
    }
    #_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-menuitem-_SkipScripts {
      --menu-image: url("./images/extensions/violent-monkey/skip.svg");
    }
    #_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-menuitem-_showBadge {
      --menu-image: url("./images/extensions/violent-monkey/single-choice.svg");
    }
    #_aecec67f-0d10-4fa7-b7c7-609a2db280cf_-menuitem-_settings {
      --menu-image: url("./images/extensions/settings.svg");
    }
    :is(#_37fa1426-b82d-11db-8314-0800200c9a66_-BAP,
    #_c98e042b-917d-4bdb-b125-dd3ace21ab71_-BAP),
    .unified-extensions-item-action-button:is([data-extensionid="{37fa1426-b82d-11db-8314-0800200c9a66}"],
    [data-extensionid="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) {
      list-style-image: url("./images/extensions/x-notifier/notification.svg") !important;
    }
    :is(#_37fa1426-b82d-11db-8314-0800200c9a66_-BAP,
    #_c98e042b-917d-4bdb-b125-dd3ace21ab71_-BAP):not([badge]) .toolbarbutton-icon, :is(#_37fa1426-b82d-11db-8314-0800200c9a66_-BAP,
    #_c98e042b-917d-4bdb-b125-dd3ace21ab71_-BAP)[badge=""] .toolbarbutton-icon, :is(#_37fa1426-b82d-11db-8314-0800200c9a66_-BAP,
    #_c98e042b-917d-4bdb-b125-dd3ace21ab71_-BAP)[badge="0"] .toolbarbutton-icon {
      opacity: 0.3;
    }
  }
}
@-moz-document url-prefix("moz-extension://") {
  html {
    --menuitem-padding-start: var(
      --label-padding-start,
      calc(var(--uc-contextmenu-menuitem-padding-inline) + 16px)
    );
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] #mainmenu {
    margin: 0;
    padding: var(--panel-subview-body-padding);
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div#menuitems div.menuitem {
    cursor: default;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    height: calc(16px + 2 * var(--arrowpanel-menuitem-padding-block, 6px)) !important;
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
    padding-block: var(--arrowpanel-menuitem-padding-block, 6px) !important;
    padding-inline: var(--menuitem-padding-start) var(--arrowpanel-menuitem-padding-inline, 10px) !important;
    border-radius: var(--arrowpanel-menuitem-border-radius, 4px) !important;
    padding-inline: var(--uc-contextmenu-menuicon-margin-inline, 8px);
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: calc(var(--arrowpanel-menuitem-padding-inline, 10px) / 2) center;
    background-image: var(--menu-image);
    background-size: 16px !important;
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div#menuitems div.menuitem:hover, [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div#menuitems div.menuitem:focus {
    background-color: var(--uc-panel-item-hover-bgcolor, rgba(207, 207, 216, 0.6588235294)) !important;
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div#menuitems div.menuitem:active {
    background-color: var(--uc-panel-item-active-bgcolor, #cfcfd8) !important;
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div#menuitems div.menuitem:hover {
    background-color: var(--panel-item-hover-bgcolor) !important;
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div.divider {
    margin-top: 2px;
    margin-bottom: 2xp;
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div#articlelist {
    margin-left: var(--icon-gap);
    margin-right: 4px;
    margin-bottom: 0;
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] #reader {
    --menu-image: url("./images/extensions/feedbro/rss.svg");
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] #findfeeds {
    --menu-image: url("./images/extensions/feedbro/search-glass.svg");
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] #options {
    --menu-image: url("./images/extensions/settings.svg");
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] #explorer {
    --menu-image: url("./images/extensions/feedbro/news.svg");
  }
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] #articlelist,
  [uc-extension-id="{a9c2ad37-e940-4892-8dce-cd73c6cbbc0c}"] div.article-popup {
    background-color: transparent;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] {
    background-color: var(--arrowpanel-background) !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page {
    background-color: transparent;
    padding: var(--panel-subview-body-padding, 2px 0) !important;
    display: flex !important;
    display: -moz-box !important;
    flex-direction: column !important;
    -moz-box-orient: vertical !important;
    -moz-box-direction: normal !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > div.md-switch {
    display: flex !important;
    display: -moz-box !important;
    align-items: center !important;
    -moz-box-align: center !important;
    justify-content: flex-start !important;
    -moz-box-pack: start !important;
    cursor: default;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    height: calc(16px + 2 * var(--arrowpanel-menuitem-padding-block, 6px)) !important;
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
    padding: var(--arrowpanel-menuitem-padding-block, 6px) var(--arrowpanel-menuitem-padding-inline, 10px) !important;
    border-radius: var(--arrowpanel-menuitem-border-radius, 4px) !important;
    padding-inline: var(--uc-contextmenu-menuicon-margin-inline, 8px);
    overflow: hidden;
    background-image: url("./images/extensions/checkbox.svg") !important;
    background-repeat: no-repeat !important;
    background-position: var(--uc-contextmenu-menuitem-padding-inline) center !important;
    background-size: 16px !important;
    cursor: default !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > div.md-switch:hover, [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > div.md-switch:focus {
    background-color: var(--uc-panel-item-hover-bgcolor, rgba(207, 207, 216, 0.6588235294)) !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > div.md-switch:active {
    background-color: var(--uc-panel-item-active-bgcolor, #cfcfd8) !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > div.md-switch .md-switch-container {
    display: none !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > div.md-switch .md-switch-label {
    height: 16px !important;
    line-height: 16px !important;
    flex: 1;
    -moz-box-flex: 1;
    padding-inline-start: var(--menuitem-padding-start) !important;
    user-select: none;
    cursor: default !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > div.md-switch.md-checked {
    color: var(--md-theme-default-primary);
    background-image: url("./images/extensions/checkmark.svg") !important;
    background-repeat: no-repeat !important;
    background-position: var(--uc-contextmenu-menuitem-padding-inline) center !important;
    background-size: 16px !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > button.md-button {
    all: unset !important;
    display: flex !important;
    display: -moz-box !important;
    justify-content: flex-start !important;
    -moz-box-pack: start !important;
    align-items: center !important;
    -moz-box-align: center !important;
    cursor: default;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    height: calc(16px + 2 * var(--arrowpanel-menuitem-padding-block, 6px)) !important;
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
    padding: var(--arrowpanel-menuitem-padding-block, 6px) var(--arrowpanel-menuitem-padding-inline, 10px) !important;
    border-radius: var(--arrowpanel-menuitem-border-radius, 4px) !important;
    padding-inline: var(--uc-contextmenu-menuicon-margin-inline, 8px);
    overflow: hidden;
    background-image: url("./images/extensions/settings.svg") !important;
    background-repeat: no-repeat !important;
    background-position: var(--uc-contextmenu-menuitem-padding-inline) center !important;
    background-size: 16px !important;
    padding-block: 0 !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > button.md-button:hover, [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > button.md-button:focus {
    background-color: var(--uc-panel-item-hover-bgcolor, rgba(207, 207, 216, 0.6588235294)) !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > button.md-button:active {
    background-color: var(--uc-panel-item-active-bgcolor, #cfcfd8) !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > button.md-button:before {
    content: none !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > button.md-button > .md-ripple {
    height: 16px !important;
    padding: 0 !important;
    padding-inline-start: var(--menuitem-padding-start) !important;
    justify-content: flex-start !important;
    -moz-box-pack: start !important;
  }
  [uc-extension-id="headereditor-amo@addon.firefoxcn.net"] .popup-page > button.md-button > .md-ripple > .md-button-content {
    padding: 0 !important;
    cursor: default !important;
  }
  [uc-extension-id="linkgopher@oooninja.com"] > body {
    margin: 0;
    padding: 0;
    background-color: var(--arrowpanel-background);
  }
  [uc-extension-id="linkgopher@oooninja.com"] > body > .container {
    padding: var(--panel-subview-body-padding, 2px 0);
    display: flex;
    display: -moz-box;
    flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
  }
  [uc-extension-id="linkgopher@oooninja.com"] > body > .container button {
    border: 0 !important;
    background-color: unset;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    text-align: start;
    appearance: none;
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
    padding: var(--arrowpanel-menuitem-padding-block, 6px) var(--arrowpanel-menuitem-padding-inline, 10px) !important;
    border-radius: var(--arrowpanel-menuitem-border-radius, 4px);
    padding-inline: var(--uc-contextmenu-menuicon-margin-inline, 8px);
  }
  @media -moz-pref("userChromeJS.Sidra.MenuPopup.Compact") {
    [uc-extension-id="linkgopher@oooninja.com"] > body > .container button {
      padding-inline-start: var(--menuitem-padding-start) !important;
      background-image: var(--menu-image);
      background-position: var(--uc-contextmenu-menuitem-padding-inline) center;
      background-size: 16px;
      background-repeat: no-repeat;
    }
  }
  [uc-extension-id="linkgopher@oooninja.com"] > body > .container button:hover, [uc-extension-id="linkgopher@oooninja.com"] > body > .container button:focus {
    background-color: var(--panel-item-hover-bgcolor, rgba(207, 207, 216, 0.6588235294));
  }
  [uc-extension-id="linkgopher@oooninja.com"] > body > .container button:active {
    background-color: var(--panel-item-active-bgcolor, #cfcfd8);
  }
  [uc-extension-id="linkgopher@oooninja.com"] #extract-all {
    --menu-image: url("./images/extensions/link-gopher/links.svg");
  }
  [uc-extension-id="linkgopher@oooninja.com"] #extract-domains {
    --menu-image: url("./images/extensions/link-gopher/ioxhost.svg");
  }
  [uc-extension-id="linkgopher@oooninja.com"] #extract-some {
    --menu-image: url("./images/extensions/link-gopher/keyword.svg");
  }
  [uc-extension-id="linkgopher@oooninja.com"] #about-linkgopher {
    --menu-image: url("chrome://global/skin/icons/info.svg");
  }
  #newtab-action-selector,
  :where(ul#newTabButtonContextMenu, ul#tabContextMenu) {
    box-shadow: 1px 1px 0 var(--uc-arrowpanel-border-color) !important;
    background-color: var(--arrowpanel-background);
    border-radius: var(--menu-border-radius, 4px);
    padding: var(--panel-subview-body-padding, 4px 0) !important;
    border: 1px solid var(--theme-colors-panel_separator) !important;
  }
  #newtab-action-selector > li,
  :where(ul#newTabButtonContextMenu, ul#tabContextMenu) > li:not(.separator) {
    cursor: default;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    height: calc(16px + 2 * var(--arrowpanel-menuitem-padding-block, 6px)) !important;
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
    padding: var(--arrowpanel-menuitem-padding-block, 6px) var(--arrowpanel-menuitem-padding-inline, 10px) !important;
    border-radius: var(--arrowpanel-menuitem-border-radius, 4px) !important;
    padding-inline: var(--uc-contextmenu-menuicon-margin-inline, 8px);
    overflow: hidden;
    --menu-ui-background-color-active: var(
      --uc-panel-item-hover-bgcolor,
      #cfcfd8a8
    );
    --menu-ui-text-color-active: var(--uc-popup-text, currentColor);
    outline: none !important;
  }
  #newtab-action-selector > li:hover, #newtab-action-selector > li:focus,
  :where(ul#newTabButtonContextMenu, ul#tabContextMenu) > li:not(.separator):hover,
  :where(ul#newTabButtonContextMenu, ul#tabContextMenu) > li:not(.separator):focus {
    background-color: var(--uc-panel-item-hover-bgcolor, rgba(207, 207, 216, 0.6588235294)) !important;
  }
  #newtab-action-selector > li:active,
  :where(ul#newTabButtonContextMenu, ul#tabContextMenu) > li:not(.separator):active {
    background-color: var(--uc-panel-item-active-bgcolor, #cfcfd8) !important;
  }
  @media -moz-pref("userChromeJS.Sidra.MenuPopup.Compact") {
    #newtab-action-selector > li,
    :where(ul#newTabButtonContextMenu, ul#tabContextMenu) > li:not(.separator) {
      padding-inline-start: var(--menuitem-padding-start) !important;
      background-image: var(--menu-image);
      background-position: var(--uc-contextmenu-menuitem-padding-inline) center !important;
      background-size: 16px;
      background-repeat: no-repeat;
    }
  }
  :where(#newtab-action-selector,
  ul#newTabButtonContextMenu,
  ul#tabContextMenu) {
    border-radius: var(--arrowpanel-border-radius);
  }
  :where(#newtab-action-selector,
  ul#newTabButtonContextMenu,
  ul#tabContextMenu) > li.separator {
    min-height: 0;
    border-top: 1px solid var(--theme-colors-panel_separator) !important;
    border-bottom: none;
    margin: var(--panel-separator-margin) 0 !important;
    padding: 0;
  }
  :where(#newtab-action-selector, #newTabButtonContextMenu, #tabContextMenu) > li > span.icon {
    left: calc(var(--uc-arrowpanel-menuitem-margin-inline) + var(--uc-contextmenu-menuitem-padding-inline)) !important;
    fill: var(--arrowpanel-color);
  }
  ul#tabContextMenu > li > span.icon {
    position: absolute;
    display: block;
    width: 16px;
    height: 16px;
  }
  #newtab-action-selector + .menu-ui-marker {
    display: none;
  }
  @media -moz-pref("userChromeJS.Sidra.Icons.Compact") {
    #newTabButtonContextMenu > li[data-value=firefox-default],
    #treestyletab\@piro\.sakura\.ne\.jp-context_newTab {
      --menu-image: url("./images/extensions/tree-style-tab/new-tab-image.svg");
    }
    #treestyletab\@piro\.sakura\.ne\.jp-noContextTab\:context_reloadTab {
      --menu-image: url("./images/extensions/tree-style-tab/reload.svg");
    }
    #treestyletab\@piro\.sakura\.ne\.jp-noContextTab\:context_bookmarkSelected {
      --menu-image: url("./images/extensions/tree-style-tab/bookmark-hollow.svg");
    }
    #treestyletab\@piro\.sakura\.ne\.jp-noContextTab\:context_selectAllTabs {
      --menu-image: url("./images/extensions/tree-style-tab/edit-select-all.svg");
    }
    #treestyletab\@piro\.sakura\.ne\.jp-noContextTab\:context_undoCloseTab {
      --menu-image: url("./images/extensions/tree-style-tab/edit-undo.svg");
    }
  }
  :root.simulate-svg-context-fill tab-item:not(.collapsed).muted.faviconized tab-sound-button::before,
  :root.simulate-svg-context-fill tab-item:not(.collapsed).muted tab-sound-button::after,
  :root.simulate-svg-context-fill tab-item:not(.collapsed).has-muted-member.subtree-collapsed[data-child-ids].faviconized tab-sound-button::before,
  :root.simulate-svg-context-fill tab-item:not(.collapsed).has-muted-member.subtree-collapsed[data-child-ids] tab-sound-button::after {
    mask-image: url("./images/extensions/tree-style-tab/media-mute.svg") !important;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body {
    padding: var(--panel-subview-body-padding, 2px 0) !important;
    margin: 0 !important;
    width: 100%;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body hr {
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .ml {
    cursor: default;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    height: calc(16px + 2 * var(--arrowpanel-menuitem-padding-block, 6px)) !important;
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
    padding: var(--arrowpanel-menuitem-padding-block, 6px) var(--arrowpanel-menuitem-padding-inline, 10px) !important;
    border-radius: var(--arrowpanel-menuitem-border-radius, 4px);
    padding-inline: var(--uc-contextmenu-menuicon-margin-inline, 8px);
  }
  @media -moz-pref("userChromeJS.Sidra.MenuPopup.Compact") {
    :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
    [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .ml {
      padding-inline-start: calc(var(--menuitem-padding-start) + var(--uc-contextmenu-menuicon-margin-inline, 8px)) !important;
      background-image: var(--menu-image);
      background-position: var(--uc-contextmenu-menuitem-padding-inline) center;
      background-size: 16px;
      background-repeat: no-repeat;
    }
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .ml:hover, :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .ml:focus {
    border: 0px !important;
    background-color: var(--panel-item-hover-bgcolor, rgba(207, 207, 216, 0.6588235294)) !important;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .ml:active {
    background-color: var(--panel-item-active-bgcolor, #cfcfd8) !important;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body #chk {
    --menu-image: url("./images/extensions/x-notifier/reload.svg");
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body #open,
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body #dashboard {
    --menu-image: url("./images/extensions/x-notifier/new-tab-image.svg");
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body #options {
    --menu-image: url("./images/extensions/settings.svg");
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body #help {
    --menu-image: url("./images/extensions/help.svg");
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .menu:not(.ml) {
    cursor: default;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    cursor: default;
    -moz-context-properties: fill, fill-opacity !important;
    fill: currentColor !important;
    height: calc(16px + 2 * var(--arrowpanel-menuitem-padding-block, 6px)) !important;
    margin: var(--arrowpanel-menuitem-margin, 2px) !important;
    padding: var(--arrowpanel-menuitem-padding-block, 6px) var(--arrowpanel-menuitem-padding-inline, 10px) !important;
    border-radius: var(--arrowpanel-menuitem-border-radius, 4px) !important;
    padding-inline: var(--uc-contextmenu-menuicon-margin-inline, 8px);
    overflow: hidden;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .menu:not(.ml):hover, :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .menu:not(.ml):focus {
    background-color: var(--uc-panel-item-hover-bgcolor, rgba(207, 207, 216, 0.6588235294)) !important;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .menu:not(.ml):active {
    background-color: var(--uc-panel-item-active-bgcolor, #cfcfd8) !important;
  }
  :is([uc-extension-id="{37fa1426-b82d-11db-8314-0800200c9a66}"],
  [uc-extension-id="{c98e042b-917d-4bdb-b125-dd3ace21ab71}"]) body .menu:not(.ml) > .icon {
    margin-inline-end: var(--uc-contextmenu-menuicon-margin-inline, 8px) !important;
  }
}

/*# sourceMappingURL=userChrome.css.map */
