#list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    background-color: var(--active-background-color);
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: auto;
    z-index: 1000;
    display: none;
}
    #list li {
      padding: 8px 12px;
      cursor: pointer;
    }

    .home-bookmark-search-hit {
      position: relative;
      z-index: 2;
    }

    .home-bookmark-search-marker {
      position: absolute;
      pointer-events: none;
      border: 2px solid var(--accent-color, #1E9FFF);
      border-radius: 10px;
      box-shadow: 0 0 0 4px rgba(30, 159, 255, 0.22);
      z-index: 1200;
      box-sizing: border-box;
    }

    .mock-browser:not(.diy-editing) .Tab__tab___2t-Xh.home-bookmark-search-hit {
      background: rgba(30, 159, 255, 0.12);
    }
    #list a {
        color: inherit
    }
    #list a:hover{
     color: var(--accent-color);
}
    .mobiStyle {
        width: 61.8%;
        margin: auto;
    }

    .home-weather {
        width: 61.8%;
        margin: 0 auto 8px;
        color: var(--primary-text-color);
    }

    .home-weather[hidden] {
        display: none !important;
    }

    .home-weather-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
        padding: 1px 0;
        box-sizing: border-box;
        line-height: 1.25;
        overflow: hidden;
    }

    .home-weather-left {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .home-weather-date {
        font-size: var(--tertiary-font-size, 12px);
        color: var(--primary-text-color);
        white-space: nowrap;
    }

    .home-weather-weekday {
        font-size: var(--tertiary-font-size, 12px);
        color: var(--secondary-text-color, #888);
        white-space: nowrap;
    }

    .home-weather-holiday {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        padding: 0 6px;
        border-radius: 999px;
        font-size: 11px;
        line-height: 18px;
        color: var(--accent-color);
        background: var(--alternative-background-color, rgba(0, 0, 0, 0.05));
        border: 1px solid var(--shadow-light-color, rgba(127, 127, 127, 0.22));
        white-space: nowrap;
    }

    .home-weather-holiday.is-workday {
        color: var(--secondary-text-color, #888);
    }

    .home-weather-holiday[hidden] {
        display: none !important;
    }

    .home-weather-right {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        min-width: 0;
        flex: 0 0 auto;
        flex-wrap: nowrap;
    }

    .home-weather-meta {
        font-size: 11px;
        color: var(--secondary-text-color, #888);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 0 1 auto;
        min-width: 0;
    }

    .home-weather-icon {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

    .home-weather-icon[hidden] {
        display: none !important;
    }

    .home-weather-city {
        font-size: var(--tertiary-font-size, 12px);
        color: var(--secondary-text-color, #888);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 5em;
    }

    .home-weather-temp {
        font-size: 18px;
        font-weight: 600;
        color: var(--primary-text-color);
        white-space: nowrap;
    }

    .home-weather-text {
        font-size: var(--tertiary-font-size, 12px);
        color: var(--primary-text-color);
        white-space: nowrap;
    }

    .home-weather-date,
    .home-weather-weekday {
        flex-shrink: 0;
    }

    .home-weather-meta:empty {
        display: none;
    }

    .home-weather-meta[hidden] {
        display: none !important;
    }

    @media (max-width: 767px) {
        .home-weather {
            width: 95%;
            margin-bottom: 6px;
        }

        .home-weather-card {
            padding: 2px 0;
            gap: 4px;
        }

        .home-weather-left {
            gap: 4px;
        }

        .home-weather-right {
            gap: 4px;
        }

        .home-weather-icon {
            width: 22px;
            height: 22px;
        }

        .home-weather-temp {
            font-size: 16px;
        }
    }

    @media (max-width: 420px) {
        .home-weather-card,
        .home-weather-left,
        .home-weather-right {
            gap: 3px;
        }

        .home-weather-date,
        .home-weather-weekday,
        .home-weather-city,
        .home-weather-text {
            font-size: 11px;
        }

        .home-weather-meta {
            font-size: 10px;
        }

        .home-weather-temp {
            font-size: 14px;
        }

        .home-weather-icon {
            width: 18px;
            height: 18px;
        }

        .home-weather-holiday {
            font-size: 10px;
            padding: 0 4px;
            line-height: 16px;
        }

        .home-weather-city {
            max-width: 3em;
        }

        .home-weather-left:has(.home-weather-holiday:not([hidden])) .home-weather-weekday {
            display: none;
        }

        .home-weather-left:has(.home-weather-holiday:not([hidden])) .home-weather-holiday {
            max-width: 4.5em;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }

    .surface {
        width: 80%;
        margin: auto;
    }

    .soForm {
        border: solid 2px var(--tab-link-border-color, #444);
        border-radius: 5px;
        position: relative;
        background: var(--background-color, transparent);
    }

    .soForm .input {
        height: 38px;
        border-right: 0;
        overflow: visible;
        display: flex;
        align-items: stretch;
        position: relative;
    }

    .soForm .so-input-main {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        position: relative;
    }

    .soForm input {
        flex: 1;
        min-width: 0;
        width: auto;
        height: 100%;
        line-height: 100%;
        border: 0;
        text-align: left;
        padding: 0 8px 0 12px;
        position: static;
        background: transparent;
        color: var(--primary-text-color);
    }

    .soForm .so-suggest-toggle {
        flex-shrink: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 2px 8px;
        border: none;
        border-left: none;
        outline: none;
        box-shadow: none;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .soForm .so-suggest-toggle:focus,
    .soForm .so-suggest-toggle:focus-visible,
    .soForm .so-suggest-toggle:active {
        outline: none;
        box-shadow: none;
        border: none;
    }

    .soForm .so-suggest-toggle-label {
        font-size: 10px;
        line-height: 1.1;
        color: var(--secondary-text-color);
        white-space: nowrap;
        transition: color 0.2s ease;
    }

    .soForm .so-suggest-toggle.is-on .so-suggest-toggle-label {
        color: var(--primary-text-color);
    }

    .soForm .so-suggest-toggle-svg {
        display: block;
        width: 34px;
        height: 18px;
    }

    .soForm .so-suggest-toggle-bg {
        fill: var(--active-background-color);
        stroke: var(--tab-link-border-color);
        stroke-width: 1;
        transition: fill 0.2s ease, stroke 0.2s ease;
    }

    .soForm .so-suggest-toggle.is-on .so-suggest-toggle-bg {
        fill: var(--accent-color);
        stroke: var(--accent-color);
    }

    .soForm .so-suggest-toggle-knob-wrap {
        transition: transform 0.2s ease;
    }

    .soForm .so-suggest-toggle-knob-wrap circle {
        fill: var(--primary-text-color);
        transition: fill 0.2s ease;
    }

    .soForm .so-suggest-toggle.is-on .so-suggest-toggle-knob-wrap circle {
        fill: hsl(var(--background-hsl));
    }

    .soForm .so-suggest-toggle.is-on .so-suggest-toggle-knob-wrap {
        transform: translateX(14px);
    }


    .soForm .subBtn {
        float: right;
        width: 60px;
    }

    .soForm .subBtn a,
    .subBtn a:visited,
    .soForm .subBtn button {
        display: block;
        height: 38px;
        width: 100%;
        border: 0;
        padding: 0;
        cursor: pointer;
        background-color: var(--primary-text-color);
        background-image: none;
        -webkit-mask-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAACuElEQVR42mL4//8/AwgTAViB2ACIM4C4BognQnEFEMdB5VgJGQKzDyCAGIiwmB2IvYD4MEgfAXwYqpadkMUAAUTIYjsgvoxk8B8g3gXEZUCcCsQpQFwOFfuDpO4yVC9OiwECCJ/FIUD8FmrQZyCuBGI1IGbCohYkpg5V8xmq5y3UDKwWAwQQLouTgfgb1IA1QKzPQDzQh+r5DzUjGZvFAAGEzWJdJFdPZSAfTEMKLV10iwECCN1iZiBeB9VwEIj5KbBYAIgPQc1aB4simH0AAYRucRRU4SsgVmagHChDzQKZGYFsMUAAIVvMhJRlChmoB4qQshoTzD6AAEK22BSq4Ac09VILqEHN/AfEJjD7AAII2eJkqMXniCmBSACsUDNBZifC7AMIIGSLa6GSaxmoD9ZDza6B2QcQQMgWz4JKzqaBxbOhZvfC7AMIIGSLZ9PTYoAAQra4DinPURusQw9qgABCtjgGKnkVX+1CBmCHmgkyOwZmH0AAIVtsAk3yP2mQnX6iZyeAAEIvubZCXdZIRYsboWZuRS65AAII3WJ/pILdgAqWGiBVOP7IFgMEELrFLEC8CqmIk6LAUimkIngFtAKC2wcQQNiqRUUgfo5UmHCQYSkHVO9/qFmK6NUiQADhaghEITUEQNWjNgmWakP1gPR+hZqF0RAACCB8TR8rIH6A1JJYCsQWeJo+ILllSA6+C8RmuJo+AAFEqLGnAcQ7kRpxf4H4AjTOZkPxCqjYXyR1ID1KSMGOYTFAABHTvAVpDID65jGepu0jqBo/qD4XIH4JbXGqo1sMEEAMJDToYY5wB+ImIO6H4mYgdsOSCEvR2tvCyBYDBBCpFpMCQEF9C8ny5UDMBrMPIIBoaTEDNIgfIFneBbMPIIBobTEIOADxL6jFJ2D2AQQQPSwGgRwgPg3EeTD7AAIMAIt7EEDP3/bdAAAAAElFTkSuQmCC');
        mask-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAACuElEQVR42mL4//8/AwgTAViB2ACIM4C4BognQnEFEMdB5VgJGQKzDyCAGIiwmB2IvYD4MEgfAXwYqpadkMUAAUTIYjsgvoxk8B8g3gXEZUCcCsQpQFwOFfuDpO4yVC9OiwECCJ/FIUD8FmrQZyCuBGI1IGbCohYkpg5V8xmq5y3UDKwWAwQQLouTgfgb1IA1QKzPQDzQh+r5DzUjGZvFAAGEzWJdJFdPZSAfTEMKLV10iwECCN1iZiBeB9VwEIj5KbBYAIgPQc1aB4simH0AAYRucRRU4SsgVmagHChDzQKZGYFsMUAAIVvMhJRlChmoB4qQshoTzD6AAEK22BSq4Ac09VILqEHN/AfEJjD7AAII2eJkqMXniCmBSACsUDNBZifC7AMIIGSLa6GSaxmoD9ZDza6B2QcQQMgWz4JKzqaBxbOhZvfC7AMIIGSLZ9PTYoAAQra4DinPURusQw9qgABCtjgGKnkVX+1CBmCHmgkyOwZmH0AAIVtsAk3yP2mQnX6iZyeAAEIvubZCXdZIRYsboWZuRS65AAII3WJ/pILdgAqWGiBVOP7IFgMEELrFLEC8CqmIk6LAUimkIngFtAKC2wcQQNiqRUUgfo5UmHCQYSkHVO9/qFmK6NUiQADhaghEITUEQNWjNgmWakP1gPR+hZqF0RAACCB8TR8rIH6A1JJYCsQWeJo+ILllSA6+C8RmuJo+AAFEqLGnAcQ7kRpxf4H4AjTOZkPxCqjYXyR1ID1KSMGOYTFAABHTvAVpDID65jGepu0jqBo/qD4XIH4JbXGqo1sMEEAMJDToYY5wB+ImIO6H4mYgdsOSCEvR2tvCyBYDBBCpFpMCQEF9C8ny5UDMBrMPIIBoaTEDNIgfIFneBbMPIIBobTEIOADxL6jFJ2D2AQQQPSwGgRwgPg3EeTD7AAIMAIt7EEDP3/bdAAAAAElFTkSuQmCC');
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-size: 18px;
        mask-size: 18px;
    }

    .soForm .subBtn a:hover,
    .soForm .subBtn button:hover {
        -webkit-mask-size: 20px;
        mask-size: 20px;
    }

    .soForm input:focus {
        outline: 0px;
    }

    .soForm .clearInput {
        display: none;
        flex-shrink: 0;
        position: static;
        top: auto;
        right: auto;
    }

    .soForm .clearInput a,
    .soForm .clearInput a:visited {
        display: block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 30px;
        text-align: center;
        color:var(--accent-color);
        font-weight: bold;
    }


    @media (max-width: 767px) {
        .soForm .subBtn {
        width: 48px !important;
    }
        .soForm {
            margin-top: 0;
            margin-bottom: 10px;
        }

        .soForm .so-suggest-toggle {
            padding: 2px 6px;
        }

        .soForm .so-suggest-toggle-label {
            font-size: 9px;
        }

        .soForm .so-suggest-toggle-svg {
            width: 30px;
            height: 16px;
        }

        .soForm .so-suggest-toggle.is-on .so-suggest-toggle-knob-wrap {
            transform: translateX(12px);
        }

        .surface {
            width: 95%;
            margin: auto;
        }

        .mobiStyle {
            margin-left: 0;
            margin-right: 0;
            border-radius: 0;
            width: 95%;
            margin: auto;
        }

    }

.diy {
        position: fixed;
        right: 100px;
        bottom: 0.5em;
        width: 4em;
        height: 4em;
        border: none;
        cursor: pointer;
        color: rgba(0, 0, 0, 0);
        background-color: rgba(0, 0, 0, 0);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 3em 3em;
        background-image: url("data:image/svg+xml, %3Csvg%20width%3D%2225%22%20height%3D%2226%22%20viewBox%3D%22528%20877%2025%2026%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%20transform%3D%22translate%28528%20877%29%22%3E%3Cellipse%20fill%3D%22%23FA507B%22%20transform%3D%22rotate%2845%2012.8%2012.98%29%22%20cx%3D%2212.8%22%20cy%3D%2213%22%20rx%3D%228.5%22%20ry%3D%228.5%22/%3E%3Cpath%20d%3D%22M9.6%2016c-.3-.2-.3-.8%200-1L15%209.3c.5-.3%201-.3%201.3%200%20.4.3.4%201%200%201.2L11%2016c-.3.3-.5.4-.8.4-.2%200-.4%200-.6-.3z%22%20fill%3D%22%23FFF%22/%3E%3Cpath%20d%3D%22M10.6%2016.3l-1.3.4c-.2%200-.4%200-.3-.3l.5-1.3%201%201.3z%22%20fill%3D%22%23FFF%22/%3E%3Cpath%20d%3D%22M13.5%209.5l2.7%203%22%20stroke%3D%22%23FA507B%22%20stroke-width%3D%221.5%22/%3E%3C/g%3E%3C/svg%3E");

    }
  .reset {
    color: #24292e;
    word-wrap: break-word;
    overflow: auto;
    line-height: 1.5;
    word-break: break-word;
  }

  .reset p {
    margin-top: 0;
    margin-bottom: 16px;
  }

  .chrome-tabs-content .chrome-tab-title {
    font-size: var(--primary-font-size);
    font-weight: bold;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
  }

  .mock-browser-content {
    background: var(--chrome-tab-active-bg, var(--background-color));
  }

  .mock-browser:not(.diy-editing) .tab-link-list .Tab__tab___2t-Xh {
    cursor: pointer;
  }

  .mock-browser:not(.diy-editing) .tab-link-list .Tab__tabHeader___2dINH {
    pointer-events: auto;
  }

  .tab-links-expand-btn {
    display: none;
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 32px;
    padding: 10px 6px;
    border: 1px solid rgba(127, 127, 127, 0.35);
    border-right: 0;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    color: var(--secondary-text-color, #888);
    background: var(--sidebar-background-color, #303030);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.18);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transform: translateY(-50%);
  }

  .tab-links-expand-btn[hidden] {
    display: none !important;
  }

  .tab-links-expand-btn__text {
    writing-mode: vertical-rl;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
  }

  .tab-links-expand-btn .icon-VKRw {
    width: 16px;
    height: 16px;
    color: var(--accent-color, #1988e0);
    transform: rotate(90deg);
  }

  .tab-links-expand-btn.is-expanded .icon-VKRw {
    transform: rotate(-90deg);
  }

  .tab-links-expand-btn .icon-VKRw svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
  }

  @media (max-width: 980px) {
    .tab-links-expand-btn:not([hidden]) {
      display: inline-flex;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing).tab-links-expanded .Tab__tab___2t-Xh {
      width: unset;
      height: auto;
      align-items: center;
      margin: 0.5em 0;
      padding: 0 0.6em;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing).tab-links-expanded .Tab__tabHeader___2dINH {
      height: 1.5em;
      min-height: 1.5em;
      align-items: center;
      padding: 0.3rem 0;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing).tab-links-expanded .Tab__tabHover___2bGs7 {
      font-size: 0.33rem !important;
      margin-left: 5px;
      font-weight: bold;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing).tab-links-expanded .Tab__tabIcon___3x837 {
      width: 1.2em !important;
      height: 1.2em !important;
      margin-right: 0.4em !important;
      flex: 0 0 1.2em !important;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing).tab-links-expanded .Tab__tabTitle___2wFlt {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing).tab-links-expanded .tab-link-list {
      overflow: hidden;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing):not(.tab-links-expanded) .Tab__tab___2t-Xh {
      width: calc(calc(100% / 4) - 5px);
      height: auto;
      align-items: center;
      margin: 0.5em 0;
      padding: 0 0.35em;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing):not(.tab-links-expanded) .Tab__tabHeader___2dINH {
      height: auto !important;
      min-height: 0 !important;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0.2em 0 !important;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing):not(.tab-links-expanded) .Tab__tabHover___2bGs7 {
      font-size: 0.3rem !important;
      margin-left: 5px;
      font-weight: bold;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing):not(.tab-links-expanded) .Tab__tabIcon___3x837 {
      width: 100% !important;
      height: auto !important;
      max-width: 100% !important;
      max-height: 2.6em !important;
      margin-right: 0 !important;
      flex: 0 0 auto !important;
      object-fit: contain;
    }

    body.home-mobile-bookmark-mobile .mock-browser:not(.diy-editing):not(.tab-links-expanded) .Tab__tabTitle___2wFlt {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
      white-space: nowrap;
    }

    body.home-mobile-bookmark-desktop .tab-links-expand-btn {
      display: none !important;
    }

    body:not(.home-diy-editing) .mock-browser .chrome-tabs {
      position: -webkit-sticky;
      position: sticky;
      top: var(--home-mobi-style-height, 0px);
      z-index: 11;
      background: var(--chrome-tabs-bar-bg, var(--background-color));
    }

    body:not(.home-diy-editing) .wrap-ScMw > .scroll-IT9j {
      overscroll-behavior-y: none;
    }

    body:not(.home-diy-editing) .scroll-IT9j > .mobiStyle {
      position: -webkit-sticky;
      position: sticky;
      top: 0;
      z-index: 12;
      background: var(--background-color);
      padding-top: env(safe-area-inset-top, 0px);
      padding-bottom: 8px;
    }
  }

  .mock-browser.diy-editing .chrome-tabs,
  .mock-browser.diy-editing .chrome-tabs-optional-shadow-below-bottom-bar {
    display: none !important;
  }

  body.home-diy-editing .mock-browser.diy-editing .chrome-tabs,
  body.home-diy-editing .mock-browser.diy-editing .chrome-tabs-optional-shadow-below-bottom-bar {
    display: none !important;
  }

  .diy-cross-drag-tip {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--primary-text-color, #4d4d4d);
    background: var(--alternative-background-color, rgba(0, 0, 0, 0.05));
    border: 1px solid rgba(127, 127, 127, 0.22);
  }

  .diy-cross-drag-tip__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }

  .diy-cross-drag-tip__head-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
  }

  .diy-cross-drag-tip[hidden] {
    display: none !important;
  }

  .diy-cross-drag-tip__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: var(--accent-color, #1988e0);
  }

  .diy-cross-drag-tip__text {
    margin: 0;
    min-width: 0;
    flex: 1;
  }

  .diy-cross-drag-tip__text-inner {
    display: block;
  }

  .diy-cross-drag-tip__toggle {
    display: none;
    margin-top: 4px;
    padding: 0;
    border: none;
    background: none;
    color: var(--accent-color, #1988e0);
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .diy-cross-drag-tip__toggle:hover,
  .diy-cross-drag-tip__toggle:focus {
    text-decoration: underline;
    outline: none;
  }

  .diy-cross-drag-tip__text strong {
    color: var(--accent-color, #1988e0);
    font-weight: 600;
  }

  .mock-browser.diy-editing .tab-content::before {
    display: none;
  }

  .diy-tab-header-row {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
  }

  .mock-browser.diy-editing .diy-tab-header-row {
    display: flex;
  }

  .diy-tab-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
  }

  .mock-browser.diy-editing .diy-tab-heading {
    display: flex;
  }

  .diy-tab-heading__name,
  .diy-tab-heading__fav {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .diy-tab-heading__name {
    flex: 1 1 180px;
  }

  .diy-tab-heading__fav {
    flex: 0 0 auto;
  }

  .diy-tab-heading__label {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--secondary-text-color, #999);
    font-weight: 600;
  }

  .diy-tab-fav-picker {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
  }

  .diy-tab-fav-picker.is-open {
    z-index: 80;
  }

  .mock-browser.diy-editing .tab-content.is-fav-picker-open {
    z-index: 50;
    overflow: visible;
  }

  .diy-tab-fav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    margin: 0;
    padding: 3px 7px 3px 5px;
    border: 1px solid rgba(127, 127, 127, 0.22);
    border-radius: 8px;
    background: rgba(127, 127, 127, 0.08);
    color: var(--primary-text-color, #333);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .diy-tab-fav-trigger:hover {
    background: rgba(127, 127, 127, 0.14);
    border-color: rgba(127, 127, 127, 0.34);
  }

  .diy-tab-fav-picker.is-open .diy-tab-fav-trigger {
    border-color: var(--accent-color, #1988e0);
    box-shadow: 0 0 0 2px rgba(25, 136, 224, 0.18);
  }

  .diy-tab-fav-trigger__icon.chrome-tab-favicon {
    pointer-events: none;
    position: static;
    transform: none;
    margin: 0;
    flex-shrink: 0;
  }

  .diy-tab-fav-trigger__caret {
    width: 0;
    height: 0;
    margin-left: 1px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.55;
    flex-shrink: 0;
    transition: transform 0.15s ease;
  }

  .diy-tab-fav-picker.is-open .diy-tab-fav-trigger__caret {
    transform: rotate(180deg);
  }

  .diy-tab-fav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: auto;
    /* 菜单右缘对齐触发按钮左缘，整体偏左展开 */
    right: 100%;
    margin-right: 6px;
    transform: none;
    z-index: 100;
    width: 196px;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(127, 127, 127, 0.22);
    background: var(--background-color, #fff);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }

  .diy-tab-fav-picker.is-open .diy-tab-fav-menu {
    display: block;
  }

  body.home-diy-editing .mock-browser.diy-editing:has(.diy-tab-fav-picker.is-open) .mock-browser-content {
    overflow-x: visible;
  }

  .diy-tab-fav-menu__grid {
    display: grid;
    grid-template-columns: repeat(5, 32px);
    gap: 4px;
    justify-content: start;
    max-height: none;
    overflow: visible;
  }

  .diy-tab-fav-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    background: transparent;
    line-height: 0;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
  }

  .diy-tab-fav-option:hover {
    background: rgba(127, 127, 127, 0.14);
  }

  .diy-tab-fav-option.is-selected {
    background: rgba(25, 136, 224, 0.16);
    box-shadow: inset 0 0 0 1px var(--accent-color, #1988e0);
  }

  .diy-tab-fav-option .chrome-tab-favicon {
    pointer-events: none;
    position: static;
    transform: none;
    margin: 0;
  }

  .diy-tab-title-input {
    flex: 1;
    min-width: 0;
    max-width: none;
  }

  .mock-browser.diy-editing .tab-content {
    position: relative;
    display: block !important;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px dashed rgba(127, 127, 127, 0.35);
    border-radius: 8px;
  }

  .mock-browser.diy-editing .tab-link-list {
    min-height: 2.75em;
  }

  .diy-tab-toolbar {
    display: none;
    position: static;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 3px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }

  .mock-browser.diy-editing .diy-tab-toolbar {
    display: inline-flex;
  }

  .diy-tab-toolbar .diy-tab-order-btn,
  .diy-tab-toolbar .diy-tab-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    color: var(--secondary-text-color, rgba(255, 255, 255, 0.72));
    line-height: 0;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  }

  .diy-tab-toolbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    pointer-events: none;
  }

  .diy-tab-toolbar__icon svg {
    width: 14px !important;
    height: 14px !important;
    display: block;
    fill: currentColor;
  }

  .diy-tab-toolbar__icon--delete svg {
    width: 13px !important;
    height: 13px !important;
  }

  .diy-tab-order-btn:hover:not(:disabled) {
    background: rgba(25, 136, 224, 0.16);
    color: var(--accent-color, #1988e0);
  }

  .diy-tab-delete-btn {
    color: #e57373;
  }

  .diy-tab-delete-btn:hover:not(:disabled) {
    background: rgba(220, 53, 69, 0.16);
    color: #ff8a80;
  }

  .diy-tab-toolbar .diy-tab-order-btn:disabled,
  .diy-tab-toolbar .diy-tab-delete-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .mock-browser.diy-editing .tab-content.diy-tab-panel-active {
    border-color: var(--accent-color, #1988e0);
    box-shadow: inset 0 0 0 1px rgba(25, 136, 224, 0.25);
  }

  .Tab__tab--dragging-ghost {
    opacity: 0.45;
  }

  .Tab__tab--dragging-chosen {
    cursor: grabbing !important;
  }

  .diy-editing .Tab__tab___2t-Xh.grab {
    cursor: grab;
  }

  .diy-add-category-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 6px 0 16px;
    padding: 12px;
    border: 1px dashed rgba(127, 127, 127, 0.35);
    border-radius: 8px;
  }

  .diy-add-category-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .diy-add-category-btn,
  .diy-import-category-btn,
  .diy-export-category-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--button-height, 36px);
    padding: 0 16px;
    border: 1px solid rgba(127, 127, 127, 0.35);
    border-radius: 999px;
    cursor: pointer;
    font-size: var(--primary-font-size, 14px);
    color: var(--primary-text-color, #4d4d4d);
    background: var(--alternative-background-color, rgba(0, 0, 0, 0.05));
    transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  }

  .diy-add-category-btn:hover:not(:disabled),
  .diy-import-category-btn:hover:not(:disabled),
  .diy-export-category-btn:hover:not(:disabled) {
    border-color: var(--accent-color, #1988e0);
    color: var(--accent-color, #1988e0);
  }

  .diy-add-category-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .diy-add-category-btn .icon-VKRw,
  .diy-import-category-btn .icon-VKRw,
  .diy-export-category-btn .icon-VKRw {
    color: var(--accent-color, #1988e0);
  }

  .diy-add-category-hint {
    margin: 0;
    font-size: 13px;
    color: var(--secondary-text-color, #999);
    text-align: center;
    line-height: 1.5;
  }

  .diy-add-category-modal .layout-xiEN {
    max-width: 520px;
  }

  .diy-add-category-modal-divider {
    margin: 12px 0;
    border-top: 1px solid var(--shadow-light-color, rgba(127, 127, 127, 0.25));
  }

  .diy-add-category-modal-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
  }

  .diy-add-category-modal-tip {
    margin: 8px 0 12px;
    font-size: 12px;
    color: var(--secondary-text-color, #999);
    line-height: 1.5;
  }

  .diy-import-modal .layout-xiEN {
    max-width: 560px;
  }

  .diy-import-modal-tip {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--secondary-text-color, #999);
  }

  .diy-import-modal-tip code {
    color: var(--accent-color, #1988e0);
  }

  .diy-import-paste {
    display: block;
    width: 100%;
    min-height: 168px;
    margin: 0 0 10px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid var(--shadow-light-color, rgba(127, 127, 127, 0.28));
    border-radius: 10px;
    background: var(--sidebar-background-color, #292929);
    color: var(--primary-text-color, #ccc);
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .diy-import-paste::placeholder {
    color: var(--secondary-text-color, #999);
    opacity: 0.9;
  }

  .diy-import-paste:focus {
    outline: none;
    border-color: var(--accent-color, #1988e0);
    background: var(--sidebar-background-color, #292929);
    box-shadow: 0 0 0 2px rgba(25, 136, 224, 0.2);
  }

  .diy-import-file {
    width: 100%;
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--primary-text-color, #333);
  }

  .diy-import-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
  }

  .diy-import-tool-btn {
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(127, 127, 127, 0.3);
    border-radius: 6px;
    background: var(--alternative-background-color, rgba(0, 0, 0, 0.04));
    color: var(--primary-text-color, #333);
    font-size: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .diy-import-tool-btn:hover,
  .diy-import-tool-btn:focus {
    border-color: rgba(25, 136, 224, 0.4);
    color: var(--accent-color, #1988e0);
    outline: none;
  }

  .diy-import-errors {
    display: none;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(234, 67, 53, 0.35);
    background: rgba(234, 67, 53, 0.08);
    color: #c5221f;
    font-size: 12px;
    line-height: 1.55;
    max-height: 140px;
    overflow-y: auto;
  }

  .diy-import-errors.is-visible {
    display: block;
  }

  .diy-import-errors ul {
    margin: 0;
    padding-left: 18px;
  }

  .diy-import-errors li + li {
    margin-top: 4px;
  }

  .diy-import-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
  }

  .diy-import-modal-actions .button-dQdc {
    min-width: 72px;
  }

  @media (max-width: 767px) {
    .diy-import-paste {
      min-height: 200px;
      font-size: 15px;
      padding: 14px;
    }

    .diy-add-category-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .diy-add-category-btn,
    .diy-import-category-btn,
    .diy-export-category-btn {
      width: 100%;
    }

    .diy-import-modal-actions {
      flex-direction: column;
    }

    .diy-import-modal-actions .button-dQdc {
      width: 100%;
    }
  }

  .diy-recommend-pick-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
  }

  .diy-recommend-pick-tool-btn {
    min-width: 56px;
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    padding: 0 10px;
  }

  .diy-recommend-pick-summary {
    font-size: 12px;
    color: var(--secondary-text-color, #999);
    white-space: nowrap;
  }

  .diy-recommend-pick-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 6px;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--shadow-light-color, rgba(127, 127, 127, 0.25));
    border-radius: 8px;
    background: var(--alternative-background-color, rgba(0, 0, 0, 0.03));
  }

  .diy-recommend-pick-empty {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--secondary-text-color, #999);
    line-height: 1.45;
    padding: 4px 2px;
  }

  .diy-recommend-pick-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-width: 0;
    padding: 6px 22px 5px 6px;
    border: 1px solid var(--shadow-light-color, rgba(127, 127, 127, 0.25));
    border-radius: 6px;
    background: var(--background-color, #fff);
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  }

  .diy-recommend-pick-item.is-checked {
    border-color: var(--accent-color, #1988e0);
    box-shadow: inset 0 0 0 1px var(--accent-color, #1988e0);
    background: rgba(25, 136, 224, 0.06);
  }

  .diy-recommend-pick-item input[type="checkbox"] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--accent-color, #1988e0);
  }

  .diy-recommend-pick-label {
    min-width: 0;
    font-size: 12px;
    line-height: 1.3;
    color: var(--primary-text-color, #4d4d4d);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .diy-recommend-pick-item.is-checked .diy-recommend-pick-label {
    color: var(--accent-color, #1988e0);
    font-weight: 600;
  }

  .diy-recommend-pick-count {
    font-size: 10px;
    line-height: 1.2;
    color: var(--secondary-text-color, #999);
  }

  .diy-recommend-pick-item.is-checked .diy-recommend-pick-count {
    color: var(--accent-color, #1988e0);
    opacity: 0.85;
  }

  @media (max-width: 767px) {
    .diy-recommend-pick-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 5px;
      max-height: 220px;
      padding: 5px;
    }

    .diy-recommend-pick-item {
      padding: 5px 20px 4px 5px;
    }

    .diy-recommend-pick-label {
      font-size: 11px;
    }

    .diy-recommend-pick-count {
      font-size: 10px;
    }
  }

  @media (min-width: 520px) {
    .diy-recommend-pick-list {
      grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    }
  }

  .tag-desc {
    display: flex;
    gap: 0.18rem;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex: 1;
    min-width: 0;
}

.search-links-wrap {
    display: flex;
    align-items: center;
    gap: var(--padding-small, 8px);
    margin: 0.5em 0;
}

.search-links-wrap .tag-desc {
    flex: 1;
    min-width: 0;
    padding-right: 0;
}

.search-edit-btn {
    position: static;
    flex-shrink: 0;
    transform: none;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: calc(var(--button-height) + 2px);
    height: calc(var(--button-height) + 2px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    color: #d69d00;
    background: var(--sidebar-background-color, #303030);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.search-edit-btn:not([hidden]) {
    display: inline-flex;
}

.search-edit-btn:hover,
.search-edit-btn:focus {
    color: #fff;
    background-color: #d69d00;
    border-color: #d69d00;
    outline: none;
}

.search-edit-btn svg {
    width: var(--icon-size);
    height: var(--icon-size);
    fill: currentColor;
    display: block;
    pointer-events: none;
}

.search-engine-modal-root {
    --search-engine-modal-max-h: min(90vh, 13.5rem);
    --search-engine-table-max-h: min(58vh, 9.5rem);
    --search-engine-bulk-max-h: min(54vh, 9rem);
}

.search-engine-modal-root .wrap-j7j8.search-engine-modal {
    width: min(94vw, 10.5rem) !important;
    max-width: min(94vw, 10.5rem) !important;
    max-height: var(--search-engine-modal-max-h);
    height: auto;
}

.search-engine-modal-root .search-engine-modal .body-WVBT {
    height: auto;
    max-height: var(--search-engine-modal-max-h);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-engine-modal-root .search-engine-content {
    padding: var(--padding-small) var(--padding-medium) var(--padding-small) !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    max-height: none;
    font-size: var(--primary-font-size);
}

.search-engine-modal-root .search-engine-content > :not(:last-child):not([data-is-label]):not([data-is-title]) {
    margin-bottom: var(--padding-small) !important;
}

.search-engine-modal-root .header-Tqac {
    min-height: var(--header-height);
    height: var(--header-height);
    flex-shrink: 0;
}

.search-engine-modal-root .title-Ntls {
    font-size: var(--head-font-size);
}

.search-engine-modal-root .header-Tqac .button-dQdc {
    width: var(--button-height);
    height: var(--button-height);
    min-height: 0;
    padding: 0;
}

.search-engine-toolbar {
    display: flex;
    gap: var(--padding-mini);
    flex-shrink: 0;
}

.search-engine-toolbar .button-dQdc {
    flex: 1;
    justify-content: center;
    height: var(--button-height);
    min-height: var(--button-height);
    line-height: var(--button-height);
    font-size: var(--secondary-font-size);
    padding: 0 var(--padding-small);
}

.search-engine-toolbar .button-dQdc[data-active="true"] {
    background-color: var(--accent-color);
    color: #fff;
}

.search-engine-hint {
    margin: 0;
    font-size: var(--tertiary-font-size);
    color: var(--secondary-text-color, #888);
    line-height: var(--primary-line-height);
    flex-shrink: 0;
}

.search-engine-error {
    display: none;
    margin-top: var(--padding-mini);
    padding: var(--padding-mini) var(--padding-small);
    border-radius: var(--border-radius);
    background: rgba(255, 80, 80, 0.12);
    color: #ff6b6b;
    font-size: var(--tertiary-font-size);
    line-height: var(--primary-line-height);
    white-space: pre-wrap;
    word-break: break-word;
    flex-shrink: 0;
}

.search-engine-error.is-visible {
    display: block;
}

.search-engine-table-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.search-engine-table-wrap {
    flex: 1;
    min-height: 5.5rem;
    max-height: var(--search-engine-table-max-h);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--shadow-color, rgba(255, 255, 255, 0.08));
    border-radius: var(--border-radius);
}

.search-engine-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.search-engine-table th,
.search-engine-table td {
    padding: var(--padding-mini) var(--padding-small);
    text-align: left;
    vertical-align: middle;
}

.search-engine-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    font-size: var(--tertiary-font-size);
    font-weight: 600;
    color: var(--secondary-text-color, #888);
    background: var(--sidebar-background-color, #303030);
    white-space: nowrap;
}

.search-engine-table .wrap-eXUL {
    min-width: 0;
    padding: var(--padding-mini) var(--padding-small);
}

.search-engine-table .text-V0Dk {
    width: 100%;
    min-height: 0;
    height: auto;
    font-size: var(--primary-font-size);
    line-height: var(--primary-line-height);
    padding: 0;
    box-sizing: border-box;
}

.search-engine-table .col-drag {
    width: 36px;
    padding: var(--padding-mini);
    text-align: center;
    vertical-align: middle;
}

.search-engine-drag-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    cursor: grab;
    color: var(--secondary-text-color, #888);
    opacity: 0.55;
    border-radius: var(--border-radius);
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    transition: opacity 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.search-engine-drag-handle:hover {
    opacity: 0.85;
}

.search-engine-drag-handle:active {
    cursor: grabbing;
    opacity: 1;
    color: var(--accent-color, #1988e0);
    background: rgba(25, 136, 224, 0.1);
}

.search-engine-drag-handle svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
    pointer-events: none;
}

.search-engine-table .col-name {
    width: 26%;
}

.search-engine-table .col-url {
    width: 58%;
}

.search-engine-table .col-name .wrap-eXUL,
.search-engine-table .col-url .wrap-eXUL {
    width: 100%;
    box-sizing: border-box;
}

.search-engine-table .search-engine-name,
.search-engine-table .search-engine-url {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    cursor: text;
}

.search-engine-table tr.search-engine-row--ghost {
    opacity: 0.45;
}

.search-engine-table tr.search-engine-row--chosen {
    background: rgba(25, 136, 224, 0.08);
}

.search-engine-table .col-action {
    width: 12%;
    text-align: center;
}

.search-engine-del {
    width: var(--button-height);
    height: var(--button-height);
    border: 0;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: var(--secondary-text-color, #888);
    background: transparent;
    font-size: var(--primary-font-size);
    line-height: 1;
    padding: 0;
}

.search-engine-del:hover {
    color: #ff6b6b;
    background: rgba(255, 80, 80, 0.1);
}

.search-engine-add {
    margin-top: var(--padding-mini) !important;
    justify-content: flex-start !important;
    flex-shrink: 0;
}

.search-engine-add .button-dQdc {
    height: var(--button-height);
    min-height: var(--button-height);
    line-height: var(--button-height);
    font-size: var(--secondary-font-size);
}

.search-engine-bulk-view {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.search-engine-bulk-view .wrap-eXUL {
    width: 100%;
    padding: var(--padding-mini) var(--padding-small);
    flex: 1;
    min-height: 0;
    display: flex;
}

.search-engine-bulk {
    width: 100%;
    flex: 1;
    min-height: 5rem;
    max-height: var(--search-engine-bulk-max-h);
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    font-size: var(--primary-font-size);
    line-height: var(--primary-line-height);
    padding: 0;
}

.search-engine-modal-root .search-engine-footer {
    margin-top: var(--padding-mini) !important;
    margin-bottom: 0 !important;
    gap: var(--padding-small);
    width: 100%;
    flex-shrink: 0;
}

.search-engine-modal-root .search-engine-footer .button-dQdc,
.search-engine-modal-root .search-engine-footer input.button-dQdc {
    height: var(--button-height);
    min-height: var(--button-height);
    line-height: var(--button-height);
    font-size: var(--primary-font-size);
}

.diy-footer-actions {
    width: auto;
    max-width: 100%;
    justify-content: center;
    gap: var(--padding-small);
}

body.home-diy-editing {
    --diy-footer-dock-height: 56px;
    --diy-panel-top: 0px;
    --diy-panel-max-height: min(48vh, 420px);
}

body.home-diy-editing main.small-n8_K.svMain {
    contain: none;
}

@media (min-width: 981px) {
    body.home-diy-editing .splitview-Bz0y .svSidebar,
    body.home-diy-editing .splitview-Bz0y .svSidebarBackdrop {
        left: -100vw !important;
        top: -100vw !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.home-diy-editing .svSidebarShowButton {
        display: none !important;
    }
}

body.home-diy-editing .footer-jiX_.is-diy-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    width: 100%;
    margin: 0;
    min-height: var(--header-height);
    padding: var(--padding-mini) var(--padding-medium);
    padding-bottom: max(var(--padding-mini), env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: linear-gradient(to top, var(--background-color) 72%, hsla(var(--background-hsl, 0 0% 100%), 0.92) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

body.home-diy-editing .surface {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80%;
    max-width: 100%;
    margin: var(--padding-small) auto 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: auto;
    z-index: auto;
}

body.home-diy-editing .surface .mock-browser.diy-editing {
    position: relative;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    max-height: var(--diy-panel-max-height);
    overflow: hidden;
    border-radius: 12px;
    background: var(--background-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(127, 127, 127, 0.22);
}

body.home-diy-editing .surface.is-diy-panel-maximized-host {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body.home-diy-editing .mock-browser.diy-editing.is-panel-maximized {
    position: fixed;
    top: calc(var(--diy-panel-top) + var(--padding-small));
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    bottom: calc(var(--diy-footer-dock-height) + var(--padding-small));
    height: calc(100vh - var(--diy-panel-top) - var(--diy-footer-dock-height) - 16px);
    max-height: none;
    margin: 0;
    z-index: 1185;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.14);
}

.diy-panel-expand-btn {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: -2px;
    padding: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--secondary-text-color, #888);
    background: transparent;
    transition: color 0.15s ease, background-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.mock-browser.diy-editing .diy-editing-toolbar {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 6px 10px 0;
}

.diy-editing-toolbar[hidden] {
    display: none !important;
}

.mock-browser.diy-editing .diy-panel-expand-btn {
    display: inline-flex;
}

.diy-panel-expand-btn:hover,
.diy-panel-expand-btn:focus {
    color: var(--accent-color, #1988e0);
    background: rgba(25, 136, 224, 0.1);
    outline: none;
}

.diy-panel-expand-btn__icon {
    width: 20px;
    height: 20px;
    display: block;
}

.diy-panel-expand-btn__icon--restore {
    display: none;
}

.mock-browser.diy-editing.is-panel-maximized .diy-panel-expand-btn__icon--expand {
    display: none;
}

.mock-browser.diy-editing.is-panel-maximized .diy-panel-expand-btn__icon--restore {
    display: block;
}

body.home-diy-editing .surface > .diy-cross-drag-tip {
    flex-shrink: 0;
    margin: 0;
}

body.home-diy-editing .mock-browser.diy-editing .mock-browser-content {
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--padding-small);
}

body.home-diy-editing .home-page-footer-dock {
    display: none !important;
}

body.home-diy-editing .scroll-IT9j {
    padding-bottom: calc(var(--diy-footer-dock-height) + var(--padding-medium));
}

.wrap-ScMw > .scroll-IT9j {
    padding-bottom: calc(var(--home-page-footer-dock-height, 44px) + var(--padding-medium, 12px));
}

@media (max-width: 980px) {
    body:not(.home-diy-editing) main.small-n8_K.svMain {
        padding-bottom: calc(var(--home-page-footer-dock-height, 80px) + var(--padding-mini, 6px));
        box-sizing: border-box;
    }

    body:not(.home-diy-editing) .scroll-IT9j > .footer-jiX_:not(.is-diy-dock) {
        display: none;
    }

    body:not(.home-diy-editing) .wrap-ScMw > .scroll-IT9j {
        padding-bottom: calc(var(--padding-large, 16px) + var(--padding-small, 8px));
    }

    body:not(.home-diy-editing) .mock-browser:not(.diy-editing) .tab-link-list {
        padding-bottom: var(--padding-small, 8px);
    }
}

.diy-footer-actions[data-variant="between"] {
    justify-content: center;
}

.diy-footer-actions > .diy-footer-btn-wrap {
    flex: 0 0 auto;
    justify-content: center;
}

.diy-footer-actions .diy-footer-btn {
    width: auto;
    min-width: 2.2rem;
    padding: 0 var(--padding-medium);
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .search-links-wrap {
        gap: var(--padding-mini, 6px);
    }

    .search-engine-modal-root {
        --search-engine-modal-max-h: min(92vh, 14rem);
        --search-engine-table-max-h: min(62vh, 10.5rem);
        --search-engine-bulk-max-h: min(58vh, 10rem);
    }

    .search-engine-modal-root .wrap-j7j8.search-engine-modal {
        width: min(96vw, 10.5rem) !important;
        max-width: min(96vw, 10.5rem) !important;
        max-height: var(--search-engine-modal-max-h);
    }

    .search-engine-modal-root .search-engine-modal .body-WVBT {
        max-height: var(--search-engine-modal-max-h);
    }

    .search-engine-table thead {
        display: none;
    }

    .search-engine-table,
    .search-engine-table tbody {
        display: block;
        width: 100%;
    }

    .search-engine-table tr.search-engine-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--padding-mini);
        width: 100%;
        padding: var(--padding-mini) 0;
        border-bottom: 1px solid var(--shadow-color, rgba(255, 255, 255, 0.08));
        box-sizing: border-box;
    }

    .search-engine-table tr.search-engine-row:last-child {
        border-bottom: 0;
    }

    .search-engine-table-wrap {
        min-height: 6rem;
        max-height: var(--search-engine-table-max-h);
        border: 0;
        background: transparent;
    }

    .search-engine-table td {
        display: block;
        padding: 0;
        min-width: 0;
        box-sizing: border-box;
    }

    .search-engine-table .col-drag {
        flex: 0 0 auto;
        width: auto;
        min-width: 44px;
        padding: 0;
        align-self: stretch;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-engine-drag-handle {
        width: 44px;
        min-height: 44px;
        height: 100%;
        flex-shrink: 0;
    }

    .search-engine-table .col-name {
        flex: 0 0 22%;
        width: auto;
        max-width: none;
    }

    .search-engine-table .col-url {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .search-engine-table .col-action {
        flex: 0 0 auto;
        width: auto;
        text-align: center;
    }

    .search-engine-table td:not(.col-action)::before {
        display: none;
    }

    .search-engine-table .col-name .wrap-eXUL,
    .search-engine-table .col-url .wrap-eXUL {
        width: 100%;
        min-width: 0;
        padding: var(--padding-mini);
    }

    .search-engine-table .search-engine-name,
    .search-engine-table .search-engine-url {
        font-size: var(--secondary-font-size);
        word-break: break-all;
    }

    .search-engine-del {
        flex-shrink: 0;
    }

    .search-engine-modal-root .search-engine-footer {
        flex-wrap: nowrap;
        width: 100%;
    }

    .search-engine-modal-root .search-engine-footer .button-dQdc,
    .search-engine-modal-root .search-engine-footer input.button-dQdc {
        flex: 1;
        min-width: 0;
        width: auto;
        padding: 0 var(--padding-mini);
        font-size: var(--secondary-font-size);
    }

    .diy-footer-actions {
        width: 100%;
        flex-wrap: nowrap;
        gap: var(--padding-mini);
        justify-content: stretch;
    }

    .diy-footer-actions[data-variant="between"] {
        justify-content: stretch;
    }

    .diy-footer-actions > .diy-footer-btn-wrap {
        flex: 1;
        min-width: 0;
        justify-content: stretch;
    }

    .diy-footer-actions .diy-footer-btn {
        width: 100%;
        min-width: 0;
        padding: 0 var(--padding-mini);
        font-size: var(--secondary-font-size);
        white-space: nowrap;
    }

    .footer-jiX_ {
        height: auto;
        min-height: var(--header-height);
        padding: var(--padding-mini) var(--padding-small);
        box-sizing: border-box;
    }

    body.home-diy-editing {
        --diy-panel-max-height: min(42vh, 360px);
    }

    body.home-diy-editing .surface {
        width: 95%;
        margin-top: var(--padding-mini);
    }

    body.home-diy-editing .mock-browser.diy-editing.is-panel-maximized {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        transform: none;
    }

    body.home-diy-editing .surface > .diy-cross-drag-tip {
        margin: 0;
        padding: 8px 10px;
        font-size: 12px;
    }

    body.home-diy-editing .diy-cross-drag-tip__head {
        gap: 8px;
    }

    .diy-cross-drag-tip__toggle {
        display: inline-flex;
        align-items: center;
    }

    .diy-cross-drag-tip:not(.is-tip-expanded) .diy-cross-drag-tip__text-inner {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    .diy-panel-expand-btn {
        width: 28px;
        height: 28px;
        margin-top: -1px;
    }

    .diy-panel-expand-btn__icon {
        width: 18px;
        height: 18px;
    }

    .diy-tab-header-row {
        flex-wrap: wrap;
        align-items: center;
    }

    .diy-tab-heading {
        flex: 1 1 100%;
        min-width: 0;
    }

    .diy-tab-heading__name {
        flex: 1 1 100%;
    }

    .diy-tab-toolbar {
        flex-shrink: 0;
        margin-left: auto;
    }
}

@media screen and (max-width: 500px) {
    .search-engine-modal-root {
        --search-engine-modal-max-h: 100%;
        --search-engine-table-max-h: none;
        --search-engine-bulk-max-h: none;
    }

    .search-engine-modal-root .wrap-j7j8.search-engine-modal {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        border-radius: 0;
        border: 0;
        animation: a .3s ease-in-out;
    }

    .search-engine-modal-root .search-engine-modal .body-WVBT {
        max-height: 100%;
        height: 100%;
    }

    .search-engine-table-wrap {
        min-height: 0;
    }

    .search-engine-bulk {
        min-height: 8rem;
        max-height: none;
    }
}

.tag-desc a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.12rem 0.24rem; 
    color: var(--primary-text-color);
    text-decoration: none;
    border-radius: 0.1rem; 
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    border: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

.tag-desc a:focus,
.tag-desc a:active {
    outline: none;
    border: 0;
    box-shadow: none;
}

.tag-desc a:focus:not(:focus-visible) {
    outline: none;
}

.tag-desc a:focus-visible {
    outline: 2px solid var(--accent-color, #1988e0);
    outline-offset: 2px;
}

#search-links .link.active,
.tag-desc a.active {
    background-color: var(--accent-color);
    color: hsl(var(--background-hsl));
}

.tag-desc a.active:focus,
.tag-desc a.active:active {
    outline: none;
    border: 0;
    box-shadow: none;
}

.home-page-footer-dock {
    position: fixed;
    left: 0;
    right: auto;
    bottom: 0;
    z-index: 1110;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(to top, var(--background-color) 78%, hsla(var(--background-hsl, 0 0% 100%), 0.96) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-page-footer-dock__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--padding-mini, 6px);
    padding: var(--padding-small, 8px) var(--padding-medium, 12px);
    padding-bottom: max(var(--padding-small, 8px), env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.home-page-footer-dock__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--padding-mini, 6px);
    width: 100%;
}

.home-page-footer-dock .home-reset-link {
    margin-left: 0;
}

.home-page-footer-dock__meta {
    display: block;
    margin: 0;
    width: 100%;
    text-align: center;
    font-size: var(--tertiary-font-size, 12px);
    color: var(--secondary-text-color, #888);
    line-height: var(--primary-line-height, 1.5);
}

.home-page-footer__beian {
    margin-left: 5px;
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.home-page-footer__beian:hover {
    color: var(--accent-color, #1988e0);
}

.home-reset-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--padding-mini, 6px);
    padding: 0;
    border: none;
    border-radius: 0;
    color: var(--secondary-text-color, #888);
    text-decoration: none;
    background: none;
    font-size: var(--tertiary-font-size, 12px);
    line-height: var(--primary-line-height, 1.5);
    transition: color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.home-reset-link:hover,
.home-reset-link:focus {
    color: var(--accent-color, #1988e0);
    outline: none;
}

.home-reset-link:active {
    opacity: 0.75;
}

.home-diy-tutorial-btn {
    position: fixed;
    right: var(--padding-medium, 12px);
    bottom: calc(var(--diy-footer-dock-height, 56px) + 10px);
    z-index: 1210;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(25, 136, 224, 0.35);
    background: var(--background-color, #fff);
    color: var(--accent-color, #1988e0);
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.home-diy-tutorial-btn:hover,
.home-diy-tutorial-btn:focus {
    background: rgba(25, 136, 224, 0.08);
    outline: none;
}

body.home-diy-tutorial-active .home-diy-tutorial-btn {
    display: none;
}

body.home-diy-tutorial-focus-top .surface {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

body.home-diy-tutorial-focus-top .search-links-wrap {
    position: relative;
    z-index: 1;
}

body.home-diy-tutorial-focus-top #searchEditBtn {
    position: relative;
    z-index: 2;
}

.diy-tutorial-root {
    position: fixed;
    inset: 0;
    z-index: 1300;
    pointer-events: auto;
}

.diy-tutorial-root[hidden] {
    display: none !important;
}

.diy-tutorial-highlight {
    position: fixed;
    z-index: 1301;
    border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.58);
    pointer-events: none;
    transition: top 0.2s ease, left 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.diy-tutorial-highlight::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid var(--accent-color, #1988e0);
    border-radius: inherit;
    box-shadow: 0 0 0 2px rgba(25, 136, 224, 0.2);
}

.diy-tutorial-popover {
    position: fixed;
    z-index: 1302;
    width: min(320px, calc(100vw - 24px));
    padding: 14px 14px 12px;
    border-radius: 10px;
    border: 1px solid rgba(127, 127, 127, 0.25);
    background: var(--background-color, #fff);
    color: var(--primary-text-color, #333);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
}

.diy-tutorial-popover__step {
    margin: 0 0 6px;
    font-size: 11px;
    color: var(--secondary-text-color, #888);
}

.diy-tutorial-popover__title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-text-color, #333);
    line-height: 1.35;
}

.diy-tutorial-popover__text {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--secondary-text-color, #666);
}

.diy-tutorial-popover__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.diy-tutorial-popover__skip {
    margin-right: auto;
    padding: 0;
    border: none;
    background: none;
    color: var(--secondary-text-color, #888);
    font-size: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.diy-tutorial-popover__skip:hover,
.diy-tutorial-popover__skip:focus {
    color: var(--accent-color, #1988e0);
    outline: none;
}

.diy-tutorial-popover__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid rgba(127, 127, 127, 0.3);
    background: var(--alternative-background-color, rgba(0, 0, 0, 0.04));
    color: var(--primary-text-color, #333);
    font-size: 12px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.diy-tutorial-popover__btn--primary {
    border-color: rgba(25, 136, 224, 0.4);
    background: var(--accent-color, #1988e0);
    color: #fff;
}

.diy-tutorial-popover__btn:hover,
.diy-tutorial-popover__btn:focus {
    opacity: 0.92;
    outline: none;
}

@media (max-width: 767px) {
    .home-diy-tutorial-btn {
        right: var(--padding-small, 8px);
        bottom: calc(var(--diy-footer-dock-height, 56px) + 8px);
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }

    .diy-tutorial-popover {
        width: min(300px, calc(100vw - 16px));
        padding: 12px;
    }
}

/* Homepage boot skeleton — mirrors real search / chrome-tab / bookmark layout */
@keyframes home-skel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.home-skel {
  display: inline-block;
  vertical-align: middle;
  background-image: linear-gradient(
    90deg,
    rgba(127, 127, 127, 0.16) 0%,
    rgba(127, 127, 127, 0.3) 42%,
    rgba(127, 127, 127, 0.16) 80%
  );
  background-size: 200% 100%;
  background-color: rgba(127, 127, 127, 0.14);
  animation: home-skel-shimmer 1.2s ease-in-out infinite;
  border-radius: 4px;
}

.home-skel-root {
  pointer-events: none;
  user-select: none;
}

body:not(.home-boot-loading) .home-skel-root {
  display: none !important;
}

.home-skel-search-link {
  cursor: default !important;
  min-height: 1.55em;
  padding: 0.28rem 0.42rem !important;
}

body.home-boot-loading .search-links-wrap {
  min-height: 2.2em;
}

body.home-boot-loading #search-links.tag-desc {
  align-items: center;
  min-height: 2em;
}

.home-skel--label {
  height: 1em;
  min-width: 1.8em;
  border-radius: 0.12rem;
}

/* Chrome tabs skeleton: reuse .chrome-tab geometry (36px / content max 110) */
.chrome-tabs .chrome-tab.home-skel-chrome-tab {
  pointer-events: none;
  z-index: 1;
}

.chrome-tabs .chrome-tab.home-skel-chrome-tab[active] {
  z-index: 5;
}

/* 骨架阶段强制显示标签底形（真实非激活 tab 默认 opacity:0） */
body.home-boot-loading .chrome-tabs .chrome-tab.home-skel-chrome-tab:not([active]) .chrome-tab-background {
  opacity: 1;
}

.chrome-tabs .chrome-tab.home-skel-chrome-tab .chrome-tab-title {
  justify-content: flex-start;
  padding-left: 12px;
  padding-right: 12px;
}

.home-skel--tab-title {
  height: 10px;
  border-radius: 3px;
}

/* Bookmark cards: reuse Tab__* classes; only fill icon/title bars */
.home-skel-bookmark-panel {
  display: block !important;
}

.home-skel-bookmark {
  pointer-events: none;
}

.home-skel-bookmark .Tab__tabClose___2PR3f,
.home-skel-bookmark .Tab__tabdelete___2PR3f {
  display: none !important;
}

.home-skel--favicon {
  width: 1.2em !important;
  height: 1.2em !important;
  margin-right: 0.4em !important;
  flex: 0 0 1.2em !important;
  border-radius: 3px;
}

.home-skel--title {
  height: 0.7em;
  max-width: 100%;
  border-radius: 3px;
  vertical-align: middle;
}

.home-skel-bookmark .Tab__tabTitle___2wFlt {
  display: flex;
  align-items: center;
  min-width: 2.4em;
}

@media (max-width: 980px) {
  .home-skel-search-link {
    min-height: 1.45em;
    padding: 0.24rem 0.36rem !important;
  }

  body.home-mobile-bookmark-mobile .home-skel-bookmark .Tab__tabHeader___2dINH {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto !important;
    min-height: 0 !important;
    padding: 0.2em 0 !important;
  }

  body.home-mobile-bookmark-mobile .home-skel--favicon {
    width: 2.2em !important;
    height: 2.2em !important;
    max-width: 100% !important;
    max-height: 2.6em !important;
    margin-right: 0 !important;
    flex: 0 0 auto !important;
    border-radius: 6px;
  }

  body.home-mobile-bookmark-mobile .home-skel--title {
    height: 0.55em;
    width: 70% !important;
    margin-top: 0.25em;
  }

  body.home-mobile-bookmark-mobile .home-skel-bookmark .Tab__tabTitle___2wFlt {
    justify-content: center;
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-skel,
  .home-skel--label,
  .home-skel--favicon,
  .home-skel--title,
  .home-skel--tab-title {
    animation: none;
  }
}

/* 首页自定义 · 死链检测（复用网站 modal / progress / button 样式） */
.modal-st0e.wcsou-dl-modal {
  z-index: 1400;
}
.wcsou-dl-wrap.wrap-j7j8 {
  width: min(520px, 92vw);
  max-width: 92vw;
  height: auto !important;
  max-height: min(78vh, 640px);
  contain: content;
}
.wcsou-dl-wrap .body-WVBT {
  height: auto;
  max-height: min(78vh, 640px);
}
.wcsou-dl-body {
  flex: 0 1 auto;
  min-height: 0;
  max-height: min(58vh, 460px);
  overflow: auto;
  background: var(--background-color, #fff);
}
.wcsou-dl-layout.layout-xiEN {
  padding: var(--padding-medium, 12px);
  display: block;
}
.wcsou-dl-progress {
  margin-bottom: var(--padding-medium, 12px);
}
.wcsou-dl-progress-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--padding-small, 8px);
  margin-bottom: var(--padding-small, 8px);
}
.wcsou-dl-progress-pct {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  color: var(--primary-text-color, #4d4d4d);
  font-weight: 600;
}
.wcsou-dl-progress-bar.progress-TNwp {
  height: 10px;
  margin: 0;
}
.wcsou-dl-progress.is-waiting .wcsou-dl-progress-bar::-webkit-progress-value {
  animation: wcsou-dl-pulse 1s ease-in-out infinite;
}
.wcsou-dl-progress.is-waiting .wcsou-dl-progress-bar::-moz-progress-bar {
  animation: wcsou-dl-pulse 1s ease-in-out infinite;
}
@keyframes wcsou-dl-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.wcsou-dl-summary-card {
  margin-bottom: var(--padding-medium, 12px);
  padding: 10px 12px;
  border-radius: var(--border-radius, 8px);
  background: var(--alternative-background-color, rgba(0, 0, 0, 0.04));
}
.wcsou-dl-summary {
  margin-bottom: 4px;
}
.wcsou-dl-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.wcsou-dl-quick {
  font-size: 12px;
  color: var(--accent-color, #1988e0);
  text-decoration: none;
}
.wcsou-dl-quick:hover {
  text-decoration: underline;
}
.wcsou-dl-group {
  margin-bottom: var(--padding-medium, 12px);
}
.wcsou-dl-group-title.label-YqXB {
  margin-bottom: 4px;
}
.wcsou-dl-group-tip {
  margin: 0 0 8px;
  opacity: 0.9;
}
.wcsou-dl-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wcsou-dl-item.wrap-CNnp {
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--border-radius, 8px);
  background: var(--alternative-background-color, rgba(0, 0, 0, 0.04));
  cursor: pointer;
  border-left: 3px solid var(--shadow-color, rgba(0, 0, 0, 0.15));
}
.wcsou-dl-item[data-kind="dead"],
.wcsou-dl-item[data-kind="server"] {
  border-left-color: var(--danger-color, #e52e1b);
}
.wcsou-dl-item[data-kind="soft"],
.wcsou-dl-item[data-kind="timeout"] {
  border-left-color: var(--note-color, #dfa813);
}
.wcsou-dl-item-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.wcsou-dl-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wcsou-dl-item-title {
  color: var(--primary-text-color, #4d4d4d);
  font-size: var(--primary-font-size, 14px);
  font-weight: 600;
}
.wcsou-dl-tag {
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--hover-background-color, rgba(0, 0, 0, 0.06));
  color: var(--secondary-text-color, grey);
}
.wcsou-dl-item-url,
.wcsou-dl-item-msg {
  word-break: break-all;
}
.wcsou-dl-open {
  margin-top: 2px;
  font-size: 12px;
  color: var(--accent-color, #1988e0);
  text-decoration: none;
  width: fit-content;
}
.wcsou-dl-open:hover {
  text-decoration: underline;
}
.wcsou-dl-empty {
  padding: 16px 0;
  text-align: center;
}
.wcsou-dl-actions.buttons-qsoR {
  margin-top: var(--padding-medium, 12px);
  padding-top: var(--padding-small, 8px);
  border-top: 1px solid var(--shadow-color, rgba(0, 0, 0, 0.08));
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

/* 页面书签标记 */
.Tab__tab___2t-Xh.wcsou-deadlink-flag {
  outline: 1px dashed var(--danger-color, #e52e1b);
  outline-offset: -1px;
}
.Tab__tab___2t-Xh .wcsou-dl-badge {
  flex: 0 0 auto;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.4;
  color: #fff;
  background: var(--danger-color, #e52e1b);
}
.Tab__tab___2t-Xh[data-wcsou-dl-kind="soft"] .wcsou-dl-badge,
.Tab__tab___2t-Xh[data-wcsou-dl-kind="timeout"] .wcsou-dl-badge {
  background: var(--note-color, #dfa813);
}
