.bookmark-empty {
  color: var(--text-muted);
  font-size: 10px;
  white-space: nowrap;
}


      html[data-theme-mode="light"] #chrome-menu-dropdown,
      html[data-theme-mode="light"] #site-info-popup,
      html[data-theme-mode="light"] #extensions-popup,
      html[data-theme-mode="light"] #shield-extension-popup { background: var(--bg-surface); border-color: var(--border-focus); }

      html[data-theme-mode="light"] .chrome-menu-item:hover { background: var(--bg-hover); }

      html[data-theme-mode="light"] .chrome-menu-item { color: var(--text-primary); }

      #bookmarks-overflow-menu {
        position: fixed;
        z-index: 49;
        display: none;
        width: min(260px, calc(100vw - 20px));
        max-height: min(60vh, 360px);
        overflow-y: auto;
        padding: 5px;
        border: 1px solid var(--border-focus);
        border-radius: 10px;
        background: var(--bg-surface);
        box-shadow: 0 14px 36px rgba(0,0,0,.62);
      }

      #bookmarks-overflow-menu.visible { display: block; }

      .bookmark-overflow-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        width: 100%;
        padding: 7px 9px;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: var(--text-primary);
        text-align: left;
        cursor: pointer;
        font-family: var(--font-ui);
      }

      .bookmark-overflow-item:hover { background: var(--bg-hover); }

      .bookmark-overflow-item strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 400; }

      .bookmark-overflow-item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: 9px; }

      #extensions-popup {
        position: fixed;
        z-index: 48;
        display: none;
        width: min(340px, calc(100vw - 20px));
        max-height: min(70vh, 500px);
        overflow: hidden;
        border: 1px solid var(--border-focus);
        border-radius: 11px;
        background: var(--bg-surface);
        box-shadow: 0 14px 36px rgba(0,0,0,.62);
      }

      #media-popup {
        position: fixed; top: 0; left: 0; display: none; width: min(320px, calc(100vw - 24px));
        padding: 12px; background: var(--bg-surface); border: 1px solid var(--border-focus); border-radius: 12px;
        box-shadow: 0 14px 36px rgba(0,0,0,.5); z-index: 60;
      }

      #media-popup.visible { display: block; }

      .media-popup-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--border-hairline); color: var(--text-primary); font-size: 12px; }

      .media-popup-header button { width: 24px; height: 24px; border: 0; background: transparent; color: var(--text-secondary); font-size: 18px; cursor: pointer; }

      #media-items { display: grid; gap: 6px; max-height: 310px; overflow: auto; padding-top: 8px; }

      .media-empty { padding: 16px 6px; color: var(--text-muted); font-size: 11px; text-align: center; }

      .media-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; align-items: center; padding: 8px; background: var(--bg-surface-2); border-radius: 8px; }

      .media-item-copy { min-width: 0; display: grid; gap: 3px; }

      .media-item-copy strong, .media-item-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

      .media-item-copy strong { color: var(--text-primary); font-size: 11px; font-weight: 500; }

      .media-item-copy span { color: var(--text-muted); font-size: 9px; }

      .media-item-actions { display: flex; gap: 4px; }

      .media-item-actions button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--border-focus); border-radius: 7px; background: var(--bg-surface-3); color: var(--text-secondary); cursor: pointer; }

      .media-item-actions button:hover { background: var(--bg-hover); }

      .media-item-actions button:hover { color: var(--text-primary); }

      .media-item-actions svg { width: 16px; height: 16px; }

      .media-sliders { grid-column: 1 / -1; display: flex; gap: 9px; }

      .media-slider { display: flex; align-items: center; min-width: 0; gap: 5px; }

      .media-slider.seek { flex: 1 1 64%; }

      .media-slider.volume { flex: 0 1 36%; }

      .media-slider svg { flex: 0 0 auto; width: 12px; height: 12px; color: var(--text-muted); }

      .media-sliders input { width: 100%; min-width: 0; height: 14px; accent-color: var(--accent); }

      #extensions-popup.visible { display: block; }

      #shield-extension-popup {
        position: fixed;
        z-index: 50;
        display: none;
        width: min(292px, calc(100vw - 20px));
        border: 1px solid var(--border-focus);
        border-radius: 11px;
        background: var(--bg-surface);
        box-shadow: 0 14px 36px rgba(0,0,0,.62);
      }

      #shield-extension-popup.visible { display: block; }

      .shield-popup-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 11px 12px 9px;
        border-bottom: 1px solid var(--border-hairline);
      }

      .shield-popup-heading { display: flex; align-items: center; gap: 9px; min-width: 0; }

      .shield-popup-heading > svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent); }

      .shield-popup-heading div { display: grid; gap: 2px; min-width: 0; }

      .shield-popup-heading strong { color: var(--text-primary); font-size: 12px; font-weight: 500; }

      .shield-popup-heading span { color: var(--text-muted); font-size: 9px; }

      .shield-popup-header > button { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--text-muted); font-size: 17px; cursor: pointer; }

      .shield-popup-header > button:hover { background: var(--bg-hover); color: var(--text-primary); }

      .shield-popup-body { display: grid; gap: 10px; padding: 10px 12px 12px; }

      .shield-popup-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

      .shield-popup-metrics > div { display: grid; gap: 3px; min-width: 0; }

      .shield-popup-metrics span { color: var(--text-muted); font-size: 9px; }

      .shield-popup-metrics strong { color: var(--text-primary); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }

      .shield-popup-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; padding-top: 8px; border-top: 1px solid var(--border-hairline); color: var(--text-secondary); font-size: 10px; cursor: pointer; }

      .shield-popup-toggle input {
        appearance: none;
        width: 28px;
        height: 16px;
        margin: 0;
        border: 1px solid var(--border-strong);
        border-radius: 999px;
        background: var(--bg-surface-3);
        cursor: pointer;
        position: relative;
        transition: background 0.14s ease, border-color 0.14s ease;
      }
      .shield-popup-toggle input::after {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        top: 2px;
        left: 2px;
        border-radius: 50%;
        background: var(--text-muted);
        transition: transform 0.14s ease, background 0.14s ease;
      }
      .shield-popup-toggle input:checked {
        border-color: var(--accent);
        background: var(--accent);
      }
      .shield-popup-toggle input:checked::after {
        transform: translateX(12px);
        background: var(--accent-fg);
      }
      .shield-popup-toggle input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
      .shield-popup-toggle input:disabled { cursor: not-allowed; opacity: .55; }

      #shield-popup-status:empty { display: none; }

      #shield-popup-status { margin: 0; color: var(--danger); font-size: 9px; line-height: 1.4; }

      #shield-popup-settings { width: 100%; }

      .chrome-popup-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 11px 12px 9px;
        border-bottom: 1px solid var(--border-hairline);
      }

      .chrome-popup-header strong { font-size: 12px; font-weight: 500; }

      .chrome-popup-header button, .extension-popup-action {
        min-height: 28px;
        padding: 0 9px;
        border: 1px solid var(--border-focus);
        border-radius: 7px;
        background: var(--bg-surface-2);
        color: var(--text-primary);
        cursor: pointer;
        font: 10px var(--font-ui);
      }

      .chrome-popup-header button:hover, .extension-popup-action:hover { background: var(--bg-surface-3); }

      #extension-popup-list { max-height: 340px; overflow-y: auto; padding: 5px; }

      .extension-popup-note, .extension-popup-empty { margin: 0; padding: 10px; color: var(--text-muted); font-size: 10px; line-height: 1.5; }

      .extension-popup-group { margin: 7px 8px 3px; color: var(--text-muted); font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

      .bookmark-editor-backdrop {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
        background: rgba(0,0,0,.68);
      }

      .bookmark-editor-backdrop.visible { display: flex; }

      .bookmark-editor {
        width: min(380px, 100%);
        padding: 16px;
        border: 1px solid var(--border-focus);
        border-radius: 12px;
        background: var(--bg-surface);
        box-shadow: 0 18px 48px rgba(0,0,0,.7);
      }

      .bookmark-editor h2 { margin: 0 0 13px; font-size: 14px; font-weight: 500; }

      .bookmark-editor label { display: block; margin: 10px 0 5px; color: var(--text-secondary); font-size: 10px; }

      .bookmark-editor input { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--border-focus); border-radius: var(--radius-control); outline: 0; background: var(--bg-surface-2); color: var(--text-primary); font: 11px var(--font-ui); }

      .bookmark-editor input:focus { border-color: var(--accent); }

      .bookmark-editor-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 15px; }

      .bookmark-editor-actions button { min-height: 32px; padding: 0 11px; border: 1px solid var(--border-focus); border-radius: var(--radius-control); background: var(--bg-surface-2); color: var(--text-primary); cursor: pointer; font: 10px var(--font-ui); }

      .bookmark-editor-actions button[type="submit"] { background: var(--accent); border-color: transparent; color: var(--accent-fg); }

      #bookmark-editor-delete { margin-right: auto; border-color: color-mix(in srgb, var(--danger) 35%, transparent); color: var(--danger); background: transparent; }

      #bookmark-editor-delete[hidden] { display: none; }

      #bookmark-editor-delete:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); }

      #bookmark-editor-status { min-height: 1.3em; margin-top: 8px; color: var(--danger); font-size: 10px; }

      #extensions-popup { width: min(310px, calc(100vw - 20px)); }

      .extension-popup-row { position: relative; display: flex; align-items: center; gap: 7px; padding: 6px; border-radius: 7px; }

      .extension-popup-row:hover { background: var(--bg-hover); }

      .extension-popup-icon { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: var(--bg-surface-2); color: var(--text-primary); font-size: 14px; }

      button.extension-popup-icon { cursor: pointer; transition: background .14s ease, color .14s ease; }

      button.extension-popup-icon:hover, button.extension-popup-icon:focus-visible { background: var(--bg-surface-3); color: var(--accent); }

      button.extension-popup-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

      .extension-popup-icon svg { width: 15px; height: 15px; }

      .extension-popup-copy { flex: 1; min-width: 0; }

      .extension-popup-copy strong, .extension-popup-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

      .extension-popup-copy strong { font-size: 10px; font-weight: 500; }

      .extension-popup-copy span { color: var(--text-muted); font-size: 9px; }

      .extension-popup-enabled {
        appearance: none;
        width: 28px;
        height: 16px;
        flex: 0 0 28px;
        margin: 0 3px;
        border: 1px solid var(--border-strong);
        border-radius: 999px;
        background: var(--bg-surface-3);
        cursor: pointer;
        position: relative;
        transition: background 0.14s ease, border-color 0.14s ease;
      }
      .extension-popup-enabled::after {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        top: 2px;
        left: 2px;
        border-radius: 50%;
        background: var(--text-muted);
        transition: transform 0.14s ease, background 0.14s ease;
      }
      .extension-popup-enabled:checked {
        border-color: var(--accent);
        background: var(--accent);
      }
      .extension-popup-enabled:checked::after {
        transform: translateX(12px);
        background: var(--accent-fg);
      }
      .extension-popup-enabled:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
      }

      .extension-popup-pin, .extension-popup-more { width: 25px; height: 25px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--text-muted); cursor: pointer; }

      .extension-popup-pin[aria-pressed="true"] { color: var(--accent); }

      .extension-popup-pin svg, .extension-popup-more svg { width: 14px; height: 14px; vertical-align: middle; }

      .extension-popup-actions { display: flex; gap: 7px; padding: 7px; border-top: 1px solid var(--border-hairline); }

      .extension-popup-action { flex: 1; }

      .favorite-menu-trigger { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 1px solid var(--border-hairline); border-radius: 50%; background: var(--bg-surface-2); color: var(--text-secondary); opacity: 0; cursor: pointer; font-size: 13px; transition: opacity .12s ease, background .12s ease, color .12s ease; }

      .favorite-item:hover .favorite-menu-trigger, .favorite-item:focus-within .favorite-menu-trigger { opacity: 1; }

      .favorite-menu-trigger:hover { background: var(--bg-surface-3); color: var(--text-primary); }

      #address-suggestions {
        position: fixed;
        z-index: 55;
        display: none;
        max-height: min(340px, 55vh);
        overflow-y: auto;
        padding: 5px;
        border: 1px solid var(--border-focus);
        border-radius: 12px;
        background: var(--bg-surface);
        box-shadow: 0 12px 30px rgba(0,0,0,.55);
      }

      #address-suggestions.visible { display: grid; gap: 2px; }

      .address-suggestion {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 34px;
        padding: 6px 9px;
        border: 0;
        border-radius: 7px;
        background: transparent;
        color: var(--text-primary);
        text-align: left;
        font: 11px var(--font-ui);
        cursor: pointer;
      }

      .address-suggestion.has-description { min-height: 46px; align-items: flex-start; }

      .address-suggestion-copy { min-width: 0; display: grid; gap: 2px; }

      .address-suggestion-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

      .address-suggestion-description {
        overflow: hidden;
        color: var(--text-muted);
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .address-suggestion-status {
        display: flex;
        align-items: center;
        min-height: 34px;
        padding: 6px 9px;
        color: var(--text-muted);
        font: 11px var(--font-ui);
      }

      .address-suggestion::before { content: '⌕'; color: var(--text-muted); font-size: 15px; line-height: 1; }

      .address-suggestion:hover, .address-suggestion[aria-selected="true"] { background: var(--bg-hover); }

      #bookmark-context-menu {
        position: fixed;
        z-index: 70;
        display: none;
        min-width: 130px;
        padding: 4px;
        border: 1px solid var(--border-focus);
        border-radius: 8px;
        background: var(--bg-surface);
        box-shadow: 0 10px 28px rgba(0,0,0,.6);
      }

      #bookmark-context-menu.visible { display: block; }

      #bookmark-context-menu button { display: block; width: 100%; padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: var(--text-primary); text-align: left; cursor: pointer; font: 10px var(--font-ui); }

      #bookmark-context-menu button:hover { background: var(--bg-hover); }

      #bookmark-context-menu button:last-child { color: var(--danger); }

      #favorite-context-menu {
        position: fixed;
        z-index: 70;
        display: none;
        min-width: 150px;
        padding: 4px;
        border: 1px solid var(--border-focus);
        border-radius: 8px;
        background: var(--bg-surface);
        box-shadow: 0 10px 28px rgba(0,0,0,.6);
      }

      #favorite-context-menu.visible { display: block; }

      #favorite-context-menu button { display: block; width: 100%; padding: 7px 9px; border: 0; border-radius: 5px; background: transparent; color: var(--text-primary); text-align: left; cursor: pointer; font: 10px var(--font-ui); }

      #favorite-context-menu button:hover { background: var(--bg-hover); }

      html[data-corners="square"] :is(#media-popup, .media-item, .chrome-popup, .bookmark-editor, #bookmark-context-menu, #favorite-context-menu, #chrome-menu-dropdown, #site-info-popup) {
        border-radius: var(--radius-panel);
      }

      #favorite-context-menu button:last-child { color: var(--danger); }


      .site-info-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 26px;
        flex: 0 0 22px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--lock-green);
        cursor: pointer;
        transition: background 0.14s ease;
      }

      .site-info-trigger:hover,
      .site-info-trigger[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.08);
      }

      .site-info-trigger[data-security-state="http"] { color: var(--warning); }

      .site-info-trigger[data-security-state="https"] { color: var(--lock-green); }

      .site-info-trigger:focus-visible,
      .site-info-close:focus-visible,
      .site-data-button:focus-visible,
      #site-shield-toggle:focus-visible,
      .site-data-confirm button:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
      }


      #site-info-popup {
        position: fixed;
        z-index: 46;
        display: none;
        width: min(300px, calc(100vw - 24px));
        padding: 13px 12px 11px;
        border: 1px solid var(--border-hairline);
        border-radius: 10px;
        background: var(--bg-surface);
        color: var(--text-primary);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.56);
        user-select: text;
      }

      #site-info-popup.visible { display: block; }

      .site-info-header {
        position: absolute;
        top: 7px;
        right: 7px;
      }

      .site-info-close {
        width: 23px;
        height: 23px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--text-secondary);
        cursor: pointer;
        font-size: 17px;
      }

      .site-info-close:hover { background: var(--bg-strip); color: var(--text-primary); }

      .site-info-summary { display: flex; align-items: flex-start; gap: 9px; padding-right: 22px; }

      .site-info-popup-lock { width: 16px; height: 18px; flex: 0 0 16px; margin-top: 1px; color: var(--lock-green); }

      .site-info-popup-lock[data-security-state="http"] { color: var(--warning); }

      .site-info-popup-lock[data-security-state="idle"] { color: var(--text-muted); }

      .site-info-summary-copy { min-width: 0; }

      .site-info-origin {
        overflow-wrap: anywhere;
        color: var(--text-primary);
        font-size: 12.5px;
        font-weight: 500;
        line-height: 1.35;
      }

      .site-info-status {
        margin-bottom: 2px;
        color: var(--text-secondary);
        font-size: 12.5px;
        font-weight: 500;
        line-height: 1.35;
      }

      .site-info-status[data-security-state="https"] { color: var(--lock-green); }

      .site-info-status[data-security-state="http"] { color: var(--warning); }

      .site-shield-row {
        display: grid;
        grid-template-columns: 17px minmax(0, 1fr) auto;
        align-items: center;
        gap: 9px;
        margin-top: 12px;
        padding-top: 10px;
        border-top: 1px solid var(--border-hairline);
      }

      .site-shield-icon { width: 17px; height: 17px; color: var(--text-muted); }

      .site-shield-row[data-state="active"] .site-shield-icon { color: var(--lock-green); }

      .site-shield-row[data-state="off"] .site-shield-icon { color: var(--warning); }

      .site-shield-copy { min-width: 0; display: grid; gap: 2px; }

      .site-shield-copy strong { color: var(--text-primary); font-size: 10px; font-weight: 500; }

      .site-shield-copy span { overflow: hidden; color: var(--text-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

      #site-shield-toggle {
        min-height: 27px;
        padding: 0 8px;
        border: 1px solid var(--border-hairline);
        border-radius: 7px;
        background: var(--bg-strip);
        color: var(--text-secondary);
        font: 9px var(--font-ui);
        cursor: pointer;
      }

      #site-shield-toggle:hover:not(:disabled) { background: var(--bg-hover); color: var(--text-primary); }

      #site-shield-toggle:disabled { cursor: not-allowed; opacity: .45; }

      .site-data-button {
        width: 100%;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 11px;
        padding: 0 12px;
        border: 0;
        border-radius: 999px;
        background: var(--lock-green);
        color: var(--bg-canvas);
        cursor: pointer;
        font-family: inherit;
        font-size: 12px;
        font-weight: 500;
      }

      .site-data-button:hover:not(:disabled) { filter: brightness(1.12); }

      .site-data-button:disabled { cursor: not-allowed; opacity: 0.42; }

      .site-data-button svg { width: 15px; height: 15px; flex: 0 0 15px; }

      .site-data-confirm {
        display: none;
        margin-top: 8px;
        padding: 8px;
        border: 1px solid var(--border-hairline);
        border-radius: 8px;
        background: var(--bg-strip);
      }

      .site-data-confirm.visible { display: block; }

      .site-data-confirm p { color: var(--text-secondary); font-size: 10px; line-height: 1.4; }

      .site-data-confirm-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 7px; }

      .site-data-confirm button {
        min-height: 27px;
        padding: 0 10px;
        border: 1px solid var(--border-hairline);
        border-radius: 6px;
        background: var(--bg-toolbar);
        color: var(--text-primary);
        cursor: pointer;
        font: inherit;
        font-size: 10px;
      }

      .site-data-confirm button:last-child { background: var(--lock-green); border-color: transparent; color: var(--bg-canvas); }

      .site-data-confirm button:disabled { cursor: wait; opacity: 0.6; }

      #site-data-status { min-height: 0; margin-top: 5px; color: var(--text-secondary); font-size: 9px; line-height: 1.4; }

      #site-data-status:empty { display: none; }


      #chrome-menu-dropdown {
        position: fixed;
        top: calc(var(--header-h) + 2px);
        right: 10px;
        z-index: 45;
        background: var(--bg-surface);
        border: 1px solid var(--border-focus);
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
        padding: 5px;
        min-width: 196px;
        display: none;
      }

      #chrome-menu-dropdown.visible { display: block; }

      .chrome-menu-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 11px;
        border-radius: 6px;
        color: var(--text-primary);
        font-size: 12.5px;
        font-weight: 400;
        cursor: pointer;
        transition: background 0.12s ease, color 0.12s ease;
      }

      .chrome-menu-item:hover {
        background: var(--bg-hover);
        color: var(--text-primary);
      }

      #recently-closed-list { display: grid; gap: 2px; max-height: 190px; overflow-y: auto; margin: 2px 4px 5px; padding-left: 7px; border-left: 1px solid var(--border-focus); }

      #recently-closed-list[hidden] { display: none; }

      .recently-closed-entry { display: block; width: 100%; overflow: hidden; padding: 6px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--text-secondary); font: inherit; font-size: 11px; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }

      .recently-closed-entry:hover { background: var(--bg-hover); color: var(--text-primary); }

      .chrome-menu-shortcut {
        color: var(--text-muted);
        font-size: 11px;
      }

      .chrome-menu-divider {
        height: 1px;
        background: var(--border-hairline);
        margin: 4px 6px;
      }



      #reload-toast {
        position: fixed;
        bottom: -32px;
        right: 1rem;
        display: flex;
        align-items: center;
        gap: 0.35rem;
        background: var(--bg-surface);
        color: var(--text-primary);
        font-family: inherit;
        font-size: 0.75rem;
        font-weight: 400;
        padding: 7px 14px;
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
        border: 1px solid var(--border-focus);
        pointer-events: none;
        z-index: 50;
        transition: bottom 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
        opacity: 0;
        transform: translateY(8px);
        white-space: nowrap;
      }

      #reload-toast.visible {
        bottom: 1.1rem;
        opacity: 1;
        transform: translateY(0);
      }

      #reload-toast.leaving {
        opacity: 0;
        transform: translateY(6px);
      }

      #reload-toast .dots span {
        opacity: 0.25;
        transition: opacity 0.15s;
      }

      #reload-toast .dots span.active { opacity: 1; }

      :is(#chrome-menu-dropdown, #bookmarks-overflow-menu, #extensions-popup, #shield-extension-popup, #media-popup, #address-suggestions, #bookmark-context-menu, #favorite-context-menu, #site-info-popup, #site-data-confirm) {
        opacity: 0;
        transform: translateY(-4px) scale(.99);
        transform-origin: top right;
        transition: opacity 150ms ease, transform 150ms ease, display 150ms allow-discrete;
        transition-behavior: allow-discrete;
      }

      :is(#chrome-menu-dropdown, #bookmarks-overflow-menu, #extensions-popup, #shield-extension-popup, #media-popup, #address-suggestions, #bookmark-context-menu, #favorite-context-menu, #site-info-popup, #site-data-confirm).visible {
        opacity: 1;
        transform: translateY(0) scale(1);
      }

      :is(.bookmark-editor-backdrop, .favorite-editor-backdrop) {
        opacity: 0;
        transition: opacity 180ms ease, display 180ms allow-discrete;
        transition-behavior: allow-discrete;
      }

      :is(.bookmark-editor-backdrop, .favorite-editor-backdrop).visible { opacity: 1; }

      :is(.bookmark-editor-backdrop, .favorite-editor-backdrop) :is(.bookmark-editor, .favorite-editor) {
        opacity: 0;
        transform: scale(.975);
        transition: opacity 180ms ease, transform 180ms cubic-bezier(.2,.7,.2,1);
      }

      :is(.bookmark-editor-backdrop, .favorite-editor-backdrop).visible :is(.bookmark-editor, .favorite-editor) {
        opacity: 1;
        transform: scale(1);
      }

      @starting-style {
        :is(#chrome-menu-dropdown, #bookmarks-overflow-menu, #extensions-popup, #shield-extension-popup, #media-popup, #address-suggestions, #bookmark-context-menu, #favorite-context-menu, #site-info-popup, #site-data-confirm).visible {
          opacity: 0;
          transform: translateY(-4px) scale(.99);
        }

        :is(.bookmark-editor-backdrop, .favorite-editor-backdrop).visible { opacity: 0; }
        :is(.bookmark-editor-backdrop, .favorite-editor-backdrop).visible :is(.bookmark-editor, .favorite-editor) {
          opacity: 0;
          transform: scale(.975);
        }
      }
