.transfer-center-shell {
    display: grid;
    gap: 18px;
}

.transfer-center-tabs {
    justify-self: end;
    width: fit-content;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.transfer-center-tab-controls {
    justify-self: end;
    width: fit-content;
    max-width: 100%;
    --rose-page-action-height: 44px;
    --rose-page-action-tab-height: 36px;
}

.transfer-center-tab-controls .transfer-center-tabs {
    justify-self: auto;
}

.transfer-center-tab-controls .view-tabs {
    width: auto;
    min-height: var(--rose-page-action-height);
    height: var(--rose-page-action-height);
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    flex-wrap: nowrap;
}

.transfer-center-tab-controls .view-tab {
    height: var(--rose-page-action-tab-height);
    min-height: var(--rose-page-action-tab-height);
    padding: 0 var(--rose-page-action-tab-padding-x);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.transfer-center-tab-controls .app-search-trigger {
    flex: 0 0 var(--rose-page-action-height);
    width: var(--rose-page-action-height);
    min-width: var(--rose-page-action-height);
}

.transfer-center-tab-controls .transfer-search-icon-button {
    width: var(--rose-page-action-height);
    height: var(--rose-page-action-height);
    min-height: var(--rose-page-action-height);
    border-radius: 999px;
}

.transfer-center-tab {
    cursor: pointer;
    white-space: nowrap;
}

.transfer-filter-panel {
    display: grid;
    gap: 13px;
    padding: 18px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-1);
}

.transfer-filter-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 12px;
}

.transfer-filter-label {
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 800;
    line-height: 32px;
}

.transfer-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.transfer-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    background: transparent;
    color: var(--semi-color-text-2);
    font-weight: 700;
    cursor: pointer;
}

.transfer-filter-chip.active {
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
}

.transfer-filter-confirm {
    margin-left: auto;
}

.transfer-filter-chip.has-sort-arrow {
    gap: 8px;
}

.transfer-sort-arrow {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.transfer-sort-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.transfer-sort-arrow.asc {
    color: rgb(34, 149, 86);
}

.transfer-sort-arrow.desc {
    color: rgb(210, 55, 67);
}

.transfer-filter-chip.icon-only {
    position: relative;
    width: 46px;
    height: 36px;
    padding: 3px;
    border: 2px solid transparent;
}

.transfer-filter-chip.icon-only img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
    display: block;
}

.transfer-filter-chip.icon-only.active {
    border-color: var(--semi-color-primary);
    background: rgba(0, 100, 250, 0.16);
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.13), 0 8px 18px rgba(0, 100, 250, 0.18);
}

.transfer-filter-chip.icon-only.active::after {
    content: "✓";
    position: absolute;
    right: -5px;
    top: -7px;
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--semi-color-bg-1);
    border-radius: 999px;
    background: var(--semi-color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
}

.transfer-loading-state {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--semi-color-text-2);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.transfer-loading-spinner {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(0, 100, 250, 0.18);
    border-top-color: var(--semi-color-primary);
    border-radius: 999px;
    animation: transfer-spinner-rotate 780ms linear infinite;
}

@keyframes transfer-spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .transfer-loading-spinner {
        animation-duration: 1400ms;
    }
}

.transfer-inline-search {
    position: relative;
    width: min(420px, 100%);
}

.transfer-filter-panel > .transfer-inline-search {
    width: 100%;
}

.transfer-inline-search input {
    width: 100%;
    min-width: 0;
    padding-right: 42px;
}

.transfer-panel-tools {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.transfer-record-search-trigger,
.transfer-search-modal-trigger {
    flex: 0 0 44px;
}

.transfer-record-search-trigger.is-active .transfer-search-icon-button,
.transfer-search-modal-trigger.is-active .transfer-search-icon-button {
    border-color: rgba(0, 100, 250, 0.36);
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
}

.transfer-record-search-modal .detail-modal-backdrop {
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.32), transparent 28%),
        radial-gradient(circle at 78% 74%, rgba(229, 194, 146, 0.26), transparent 30%),
        rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(10px) saturate(125%);
    -webkit-backdrop-filter: blur(10px) saturate(125%);
}

.transfer-record-search-modal .detail-modal-backdrop:hover {
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.32), transparent 28%),
        radial-gradient(circle at 78% 74%, rgba(229, 194, 146, 0.26), transparent 30%),
        rgba(15, 23, 42, 0.34);
}

.transfer-record-search-modal .transfer-record-search-panel {
    width: min(760px, calc(100vw - 32px));
    max-height: min(62vh, calc(100vh - 48px));
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.transfer-record-search-modal .detail-modal-body {
    overflow: visible;
    padding: 30px;
    background: transparent;
    scrollbar-gutter: auto;
}

.transfer-record-search-form {
    display: grid;
    gap: 22px;
}

.transfer-record-search-field {
    display: block;
    min-width: 0;
}

.transfer-record-search-field.is-query {
    flex: 1 1 auto;
}

.transfer-record-search-input-shell {
    position: relative;
    display: flex;
    width: 100%;
    height: 58px;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.46),
        inset 0 -1px 0 rgba(15, 23, 42, 0.08);
}

.transfer-record-search-field input {
    width: 100%;
    min-width: 0;
    height: 58px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px 0 56px;
    background: transparent;
    color: var(--semi-color-text-0);
    font: inherit;
    font-size: 20px;
    font-weight: 650;
}

.transfer-record-search-field input::placeholder {
    color: rgba(100, 116, 139, 0.72);
}

.transfer-record-search-field input {
    padding-right: 18px;
}

.transfer-record-search-input-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: rgba(15, 23, 42, 0.72);
    pointer-events: none;
    transform: translateY(-50%);
}

.transfer-record-search-input-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.transfer-record-search-field input:focus {
    outline: none;
}

.transfer-record-search-input-shell:focus-within {
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(15, 23, 42, 0.08),
        0 0 0 3px rgba(255, 183, 0, 0.18);
}

.transfer-record-search-bar {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.transfer-record-search-submit {
    width: 58px;
    min-width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.36);
    color: rgba(15, 23, 42, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 10px 22px rgba(15, 23, 42, 0.08);
}

.transfer-record-search-submit svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.transfer-record-search-submit:hover {
    border-color: rgba(245, 158, 11, 0.36);
    background: rgba(255, 255, 255, 0.58);
    color: rgba(15, 23, 42, 0.86);
}

.transfer-record-search-submit:focus-visible,
.transfer-record-search-kind-chip:focus-visible {
    outline: 3px solid rgba(255, 183, 0, 0.28);
    outline-offset: 3px;
}

.transfer-record-search-kind-options {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.transfer-record-search-kind-chip {
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(100, 116, 139, 0.26);
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 6px 14px rgba(15, 23, 42, 0.05);
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 820;
    line-height: 1;
}

.transfer-record-search-kind-chip:hover {
    border-color: rgba(245, 158, 11, 0.34);
    background: rgba(255, 255, 255, 0.62);
}

.transfer-record-search-kind-chip.active {
    border-color: rgba(217, 119, 6, 0.26);
    background: linear-gradient(180deg, #f8c65b 0%, #f2a900 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 8px 16px rgba(217, 119, 6, 0.18);
    color: #fff;
}

.app-tab-controls {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.emby-combined-tab-controls,
.account-tab-controls {
    width: auto;
    margin-left: auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.emby-combined-tab-controls {
    --rose-page-action-height: 44px;
}

.app-search-trigger {
    position: relative;
    flex: 0 0 var(--rose-page-action-height);
    width: var(--rose-page-action-height);
    min-width: var(--rose-page-action-height);
    height: var(--rose-page-action-height);
    min-height: var(--rose-page-action-height);
}

.emby-combined-tab-controls .app-search-trigger,
.account-tab-controls .app-search-trigger {
    flex: 0 0 var(--rose-page-action-height);
    width: var(--rose-page-action-height);
    min-width: var(--rose-page-action-height);
}

.emby-combined-tab-controls .transfer-search-icon-button,
.account-tab-controls .transfer-search-icon-button {
    width: var(--rose-page-action-height);
    height: var(--rose-page-action-height);
    min-height: var(--rose-page-action-height);
    border-radius: 999px;
}

.app-tab-controls .app-icon-action-button {
    flex: 0 0 var(--rose-page-action-height);
    width: var(--rose-page-action-height);
    min-width: var(--rose-page-action-height);
    height: var(--rose-page-action-height);
    min-height: var(--rose-page-action-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(0, 100, 250, 0.18);
    border-radius: 999px;
    background: var(--semi-color-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 100, 250, 0.18);
    cursor: pointer;
}

.app-tab-controls .app-icon-action-button:hover {
    border-color: rgba(0, 87, 219, 0.28);
    background: var(--semi-color-primary-hover);
}

.app-tab-controls .app-icon-action-button:focus-visible {
    outline: 3px solid rgba(0, 100, 250, 0.2);
    outline-offset: 3px;
}

.app-tab-controls .app-icon-action-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.emby-combined-tab-controls .view-tabs,
.account-tab-controls .view-tabs {
    width: auto;
    min-height: var(--rose-page-action-height);
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    flex-wrap: nowrap;
}

.emby-combined-tab-controls .view-tabs {
    height: var(--rose-page-action-height);
    padding: 4px;
}

.emby-combined-tab-controls .view-tab,
.account-tab-controls .view-tab {
    min-height: var(--rose-page-action-tab-height);
    padding: 0 var(--rose-page-action-tab-padding-x);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.emby-combined-tab-controls .view-tab {
    height: var(--rose-page-action-tab-height);
}

.emby-combined-tab-controls .app-search-trigger.transfer-expandable-search:not(.open) .transfer-search-icon-button {
    width: var(--rose-page-action-height);
    height: var(--rose-page-action-height);
    min-height: var(--rose-page-action-height);
}

.emby-combined-tab-controls > .button-accent,
.account-tab-controls > .button-accent {
    min-height: var(--rose-page-action-height);
    padding: 0 var(--rose-page-action-button-padding-x);
    border-radius: var(--rose-page-action-button-radius);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.account-tab-controls {
    gap: var(--rose-page-action-gap);
}

.account-tab-controls .view-tab {
    padding: 0 var(--rose-page-action-tab-padding-x);
    font-weight: 600;
}

.account-tab-controls > .button-accent {
    min-height: var(--rose-page-action-height);
    padding: 0 var(--rose-page-action-button-padding-x);
    font-weight: 600;
}

.app-search-modal .transfer-record-search-panel {
    width: min(700px, calc(100vw - 32px));
    max-height: min(58vh, calc(100vh - 48px));
}

.app-search-modal.app-search-modal-compact .transfer-record-search-panel {
    width: min(620px, calc(100vw - 32px));
}

.app-search-form {
    gap: 18px;
}

.app-search-chip-groups {
    display: grid;
    gap: 12px;
}

.app-search-chip-groups:empty {
    display: none;
}

.app-search-chip-group {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
}

.app-search-chip-label {
    flex: 0 0 auto;
    min-width: 58px;
    color: rgba(71, 85, 105, 0.82);
    font-size: 13px;
    font-weight: 860;
    line-height: 34px;
}

.app-search-chip-options {
    flex: 1 1 auto;
}

.app-search-modal .transfer-record-search-kind-chip {
    min-height: 34px;
    padding: 0 14px;
    font-size: 13px;
}

.app-search-clear-chip {
    color: var(--semi-color-text-2);
}

.transfer-search-modal .transfer-record-search-panel {
    position: relative;
    max-height: min(82vh, calc(100vh - 48px));
}

.transfer-search-modal .modal-close-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.transfer-search-modal .detail-modal-body {
    overflow: auto;
    padding-top: 62px;
}

.transfer-search-filter-panel {
    display: grid;
    max-height: min(44vh, 430px);
    gap: 11px;
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(100, 116, 139, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.36);
    scrollbar-gutter: stable;
}

.transfer-search-filter-panel .transfer-filter-row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
}

.transfer-search-filter-panel .transfer-filter-label {
    line-height: 34px;
}

.transfer-search-filter-panel .transfer-filter-options {
    gap: 7px;
}

.transfer-search-filter-panel .transfer-filter-chip:not(.icon-only) {
    min-height: 34px;
    border: 1px solid rgba(100, 116, 139, 0.15);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.42);
}

.transfer-search-filter-panel .transfer-filter-chip:not(.icon-only):hover {
    border-color: rgba(0, 100, 250, 0.22);
    background: rgba(255, 255, 255, 0.62);
    color: var(--semi-color-primary);
}

.transfer-search-filter-panel .transfer-filter-chip.active:not(.icon-only) {
    border-color: rgba(0, 100, 250, 0.24);
    background: #ffffff;
    box-shadow: 0 7px 14px rgba(15, 23, 42, 0.08);
}

@media (max-width: 560px) {
    .detail-modal.transfer-record-search-modal {
        padding: 16px;
    }

    .transfer-record-search-modal .transfer-record-search-panel {
        width: min(100%, calc(100vw - 24px));
        border-radius: 24px;
    }

    .transfer-record-search-modal .detail-modal-body {
        padding: 22px 18px;
    }

    .transfer-search-modal .detail-modal-body {
        padding: 58px 18px 22px;
    }

    .transfer-record-search-bar {
        gap: 10px;
    }

    .transfer-record-search-input-shell,
    .transfer-record-search-field input,
    .transfer-record-search-submit {
        height: 52px;
    }

    .transfer-record-search-submit {
        width: 52px;
        min-width: 52px;
    }

    .transfer-record-search-field input {
        padding-left: 48px;
        font-size: 16px;
    }

    .transfer-record-search-input-icon {
        left: 17px;
        width: 20px;
        height: 20px;
    }

    .transfer-record-search-input-icon svg,
    .transfer-record-search-submit svg {
        width: 20px;
        height: 20px;
    }

    .transfer-record-search-kind-chip {
        min-height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }

    .app-tab-controls {
        width: 100%;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        justify-content: stretch;
    }

    .app-tab-controls .view-tabs {
        width: 100%;
    }

    .transfer-center-tab-controls:not(:has(.app-search-trigger)) .transfer-center-tabs {
        grid-column: 1 / -1;
    }

    .app-tab-controls > .button-accent {
        grid-column: 1 / -1;
        width: 100%;
    }

    .app-search-modal .transfer-record-search-panel,
    .app-search-modal.app-search-modal-compact .transfer-record-search-panel {
        width: min(100%, calc(100vw - 24px));
        max-height: min(72vh, calc(100vh - 32px));
    }

    .app-search-chip-group {
        gap: 8px;
        flex-wrap: wrap;
    }

    .app-search-chip-label {
        flex-basis: 100%;
        min-width: 0;
    }

    .transfer-search-filter-panel {
        max-height: min(48vh, 420px);
        padding: 12px;
    }

    .transfer-search-filter-panel .transfer-filter-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .transfer-search-filter-panel .transfer-filter-label {
        line-height: 20px;
    }
}

.transfer-expandable-search {
    position: relative;
    display: flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    align-items: center;
    justify-content: flex-end;
    transition: width 180ms ease;
}

.transfer-expandable-search.open {
    width: min(340px, 42vw);
}

.transfer-expandable-search input {
    width: 100%;
    height: 44px;
    min-width: 0;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-1);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    color: var(--semi-color-text-0);
    font-size: 14px;
    padding: 0 46px 0 16px;
}

.transfer-expandable-search[data-transfer-search-scope="records"] input {
    border-radius: 999px;
}

.transfer-expandable-search input:focus {
    border-color: rgba(0, 100, 250, 0.42);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.1);
}

.transfer-root-picker {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.transfer-target-hint {
    margin-top: 6px;
}

.transfer-target-field {
    margin-bottom: 8px;
}

.transfer-config-panel > .toolbar-inline {
    margin-top: 14px;
}

.transfer-discover-showcase {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(260px, 34vw, 430px);
    padding: clamp(18px, 3vw, 34px);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(18, 22, 30, 0.02), rgba(18, 22, 30, 0.08)),
        #30333b;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 38px rgba(15, 23, 42, 0.13);
    color: #fff;
}

.transfer-discover-showcase::before,
.transfer-discover-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.transfer-discover-showcase::before {
    z-index: 0;
    background-image: var(--transfer-showcase-bg);
    background-position: center;
    background-size: cover;
    filter: blur(10px) saturate(140%) brightness(1.24);
    opacity: 1;
    transform: scale(1.08);
}

.transfer-discover-showcase::after {
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(7, 10, 16, 0.03) 0%, rgba(8, 11, 17, 0.08) 58%, rgba(10, 12, 18, 0.16) 100%),
        radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.24), transparent 47%),
        linear-gradient(90deg, rgba(5, 7, 12, 0.08), transparent 28%, transparent 72%, rgba(5, 7, 12, 0.08));
}

.transfer-showcase-preload {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.transfer-showcase-preload img {
    position: absolute;
    width: 1px;
    height: 1px;
}

.transfer-showcase-rail {
    position: relative;
    z-index: 1;
    min-height: clamp(224px, 29vw, 360px);
    overflow: visible;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.transfer-showcase-card {
    --transfer-showcase-width: clamp(104px, 11vw, 170px);
    --transfer-showcase-ratio: 2 / 3;
    --transfer-showcase-transform: translateX(0) translateZ(-120px) scale(0.74);
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: var(--transfer-showcase-width);
    max-width: calc(100% - 24px);
    aspect-ratio: var(--transfer-showcase-ratio);
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: rgba(10, 14, 22, 0.98);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) var(--transfer-showcase-transform);
    transform-style: preserve-3d;
    transition:
        transform 960ms cubic-bezier(0.22, 0.72, 0.18, 1),
        opacity 760ms ease,
        width 960ms cubic-bezier(0.22, 0.72, 0.18, 1),
        filter 960ms cubic-bezier(0.22, 0.72, 0.18, 1),
        box-shadow 180ms ease;
    will-change: transform, opacity, width, filter;
}

.transfer-showcase-card:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.transfer-showcase-card:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.36);
    outline-offset: 4px;
}

.transfer-showcase-card.is-featured {
    z-index: 6;
    --transfer-showcase-width: min(520px, 41vw);
    --transfer-showcase-ratio: 16 / 10;
    --transfer-showcase-transform: translateX(0) translateZ(58px) scale(1);
    opacity: 1;
    pointer-events: auto;
    filter: none;
}

.transfer-showcase-card.is-left {
    z-index: 5;
    --transfer-showcase-transform: translateX(clamp(-380px, -28vw, -220px)) rotateY(20deg) translateZ(-12px) scale(0.95);
    opacity: 0.94;
    pointer-events: auto;
    transform-origin: right center;
}

.transfer-showcase-card.is-right {
    z-index: 5;
    --transfer-showcase-transform: translateX(clamp(220px, 28vw, 380px)) rotateY(-20deg) translateZ(-12px) scale(0.95);
    opacity: 0.94;
    pointer-events: auto;
    transform-origin: left center;
}

.transfer-showcase-card.is-far-left {
    z-index: 4;
    --transfer-showcase-transform: translateX(clamp(-590px, -42vw, -360px)) rotateY(30deg) translateZ(-70px) scale(0.84);
    opacity: 0.72;
    pointer-events: auto;
    transform-origin: right center;
}

.transfer-showcase-card.is-far-right {
    z-index: 4;
    --transfer-showcase-transform: translateX(clamp(360px, 42vw, 590px)) rotateY(-30deg) translateZ(-70px) scale(0.84);
    opacity: 0.72;
    pointer-events: auto;
    transform-origin: left center;
}

.transfer-showcase-card.is-hidden-left {
    z-index: 1;
    --transfer-showcase-transform: translateX(clamp(-760px, -54vw, -480px)) rotateY(34deg) translateZ(-130px) scale(0.76);
    opacity: 0;
    filter: blur(2px);
    transform-origin: right center;
}

.transfer-showcase-card.is-hidden-right {
    z-index: 1;
    --transfer-showcase-transform: translateX(clamp(480px, 54vw, 760px)) rotateY(-34deg) translateZ(-130px) scale(0.76);
    opacity: 0;
    filter: blur(2px);
    transform-origin: left center;
}

.transfer-showcase-card:hover {
    transform: translate(-50%, -50%) var(--transfer-showcase-transform) translateY(-4px) scale(1.01);
}

.transfer-showcase-media,
.transfer-showcase-image,
.transfer-showcase-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.transfer-showcase-media {
    position: absolute;
    inset: 0;
}

.transfer-showcase-image,
.transfer-showcase-placeholder {
    position: absolute;
    inset: 0;
}

.transfer-showcase-image {
    object-fit: cover;
    opacity: 1;
    transition: opacity 520ms ease;
}

.transfer-showcase-image-backdrop {
    opacity: 0;
}

.transfer-showcase-card.is-featured .transfer-showcase-image-poster {
    opacity: 0;
}

.transfer-showcase-card.is-featured .transfer-showcase-image-backdrop {
    opacity: 1;
}

.transfer-showcase-hover-panel {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(48%, 270px);
    max-height: calc(50% - 18px);
    align-content: start;
    justify-items: end;
    gap: 8px;
    overflow: hidden;
    border-radius: 8px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:hover .transfer-showcase-hover-panel,
.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:focus-visible .transfer-showcase-hover-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:hover .transfer-showcase-copy .transfer-showcase-rating,
.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:focus-visible .transfer-showcase-copy .transfer-showcase-rating {
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:hover .transfer-showcase-copy,
.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:focus-visible .transfer-showcase-copy {
    right: calc(min(48%, 270px) + 28px);
    padding-right: 12px;
}

.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:hover .transfer-showcase-copy strong,
.transfer-showcase-card.is-featured[data-showcase-meta-ready="true"]:focus-visible .transfer-showcase-copy strong {
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.transfer-showcase-meta-head {
    display: flex;
    width: 100%;
    min-height: 30px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.transfer-showcase-actors {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: flex-start;
}

.transfer-showcase-actors:empty {
    display: none;
}

.transfer-showcase-actor {
    display: grid;
    width: 30px;
    height: 30px;
    overflow: hidden;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.transfer-showcase-actor + .transfer-showcase-actor {
    margin-left: -7px;
}

.transfer-showcase-actor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transfer-showcase-overview {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 760;
    line-height: 1.42;
    text-align: left;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.64);
    scrollbar-width: none;
    touch-action: pan-y;
}

.transfer-showcase-overview::-webkit-scrollbar {
    display: none;
}

.transfer-showcase-card.is-featured .transfer-showcase-hover-panel {
    right: 18px;
    bottom: 18px;
    max-height: calc(50% - 22px);
}

.transfer-showcase-card.is-featured .transfer-showcase-overview {
    font-size: 13px;
    line-height: 1.46;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-hover-panel {
    right: 10px;
    bottom: 10px;
    gap: 6px;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-meta-head {
    min-height: 24px;
    gap: 6px;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-actor {
    width: 24px;
    height: 24px;
    border-width: 1px;
    font-size: 10px;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-overview {
    font-size: 10px;
    line-height: 1.35;
}

.transfer-showcase-placeholder {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 900;
}

.transfer-showcase-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 5px;
    padding: 34px 78px 12px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 7, 13, 0.88) 64%, rgba(4, 7, 13, 0.96) 100%);
    color: #fff;
    text-align: left;
}

.transfer-showcase-copy strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: clamp(13px, 0.95vw, 18px);
    font-weight: 900;
    line-height: 1.12;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-showcase-rating {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 10px;
    background: linear-gradient(180deg, var(--semi-color-primary-hover) 0%, var(--semi-color-primary) 100%);
    box-shadow:
        0 8px 18px var(--rose-spa-ring),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 13px;
    font-weight: 920;
    line-height: 1;
}

.transfer-showcase-copy .transfer-showcase-rating {
    position: absolute;
    right: 12px;
    bottom: 10px;
}

.transfer-showcase-meta-head .transfer-showcase-rating {
    background: linear-gradient(180deg, var(--semi-color-primary-hover) 0%, var(--semi-color-primary) 100%);
    box-shadow:
        0 8px 18px var(--rose-spa-ring),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.transfer-showcase-card.is-featured .transfer-showcase-rating {
    min-height: 28px;
    padding: 0 12px;
    font-size: 15px;
}

.transfer-showcase-card.is-featured .transfer-showcase-copy .transfer-showcase-rating {
    right: 16px;
    bottom: 14px;
}

.transfer-showcase-card.is-featured .transfer-showcase-copy {
    padding: 46px 96px 16px 18px;
}

.transfer-showcase-card.is-featured .transfer-showcase-copy strong {
    font-size: clamp(18px, 1.35vw, 24px);
}

.transfer-showcase-copy > span:not(.transfer-showcase-rating) {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-copy {
    padding: 42px 64px 10px 10px;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-copy strong {
    font-size: 13px;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-rating {
    min-height: 22px;
    padding: 0 8px;
    font-size: 12px;
}

.transfer-showcase-card:not(.is-featured) .transfer-showcase-copy .transfer-showcase-rating {
    right: 9px;
    bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .transfer-showcase-card,
    .transfer-showcase-image,
    .transfer-showcase-hover-panel {
        transition: none;
    }
}

.transfer-discover-wall-panel {
    min-width: 0;
}

.tg-poster-grid.transfer-poster-grid {
    --tg-poster-card-min-width: 148px;
    --tg-poster-card-max-width: 168px;
    --tg-poster-grid-gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(var(--tg-poster-card-min-width), var(--tg-poster-card-max-width)));
    grid-auto-rows: 1fr;
    align-items: stretch;
    justify-content: start;
}

.tg-poster-grid.transfer-poster-grid > .transfer-tmdb-poster-card {
    height: 100%;
    min-height: 318px;
    grid-template-rows: minmax(0, auto) minmax(74px, 1fr);
}

.transfer-no-results-state {
    display: grid;
    min-height: 320px;
    place-items: center;
    padding: 18px 12px 24px;
}

.transfer-no-results-state img {
    display: block;
    width: min(520px, 74vw);
    max-width: 100%;
    height: auto;
    clip-path: inset(2px);
    -webkit-user-drag: none;
    user-select: none;
    mix-blend-mode: multiply;
    object-fit: contain;
}

.transfer-tmdb-poster-card .tg-poster-card-media {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2 / 3;
    min-height: 0;
    align-self: start;
}

.transfer-tmdb-poster-card .tg-poster-card-media img,
.transfer-tmdb-poster-card .tg-poster-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.transfer-tmdb-poster-card .tg-poster-card-placeholder {
    display: grid;
    place-items: center;
}

.transfer-poster-open-button {
    display: block;
    width: 100%;
    min-height: 74px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.transfer-poster-media-button {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.transfer-poster-media-button img,
.transfer-poster-media-button .tg-poster-card-placeholder {
    pointer-events: none;
}

.transfer-poster-open-button:focus-visible {
    outline: 3px solid rgba(0, 100, 250, 0.25);
    outline-offset: 3px;
    border-radius: 14px;
}

.transfer-poster-media-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: -5px;
}

.transfer-subscribe-heart {
    position: absolute;
    top: 0.5px;
    right: 1.5px;
    bottom: auto;
    z-index: 5;
    display: inline-flex;
    width: 32px;
    height: 32px;
    min-height: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-color: transparent;
    border-radius: 999px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    filter: drop-shadow(0 3px 5px rgba(15, 23, 42, 0.48)) drop-shadow(0 0 1px rgba(15, 23, 42, 0.65));
    transform: none;
    transition: none;
    appearance: none;
}

.transfer-subscribe-heart svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.transfer-subscribe-heart:hover,
.transfer-subscribe-heart:focus-visible {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: #fff;
    filter: drop-shadow(0 3px 5px rgba(15, 23, 42, 0.48)) drop-shadow(0 0 1px rgba(15, 23, 42, 0.65));
    outline: 0;
    transform: none;
}

.transfer-subscribe-heart.active {
    color: #ff4d57;
    filter: drop-shadow(0 4px 7px rgba(116, 9, 28, 0.34)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.9));
}

.transfer-subscribe-heart.active:hover,
.transfer-subscribe-heart.active:focus-visible {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: #ff4d57;
    filter: drop-shadow(0 4px 7px rgba(116, 9, 28, 0.34)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.9));
    transform: none;
}

.transfer-subscribe-heart.pending {
    cursor: wait;
    opacity: 0.86;
}

.transfer-subscription-config {
    display: grid;
    gap: 12px;
    margin: 16px 0;
    padding: 0;
}

.transfer-subscription-runtime {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.transfer-subscription-runtime span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid var(--semi-color-border);
    border-radius: 6px;
    padding: 0 10px;
    background: linear-gradient(180deg, #f8fbff, #f3f7fc);
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 800;
}

.transfer-subscription-summary {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 16px;
}

.transfer-subscription-summary img {
    width: 92px;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.transfer-subscription-summary p {
    margin: 10px 0 0;
    color: var(--semi-color-text-1);
    line-height: 1.6;
}

.transfer-subscription-season-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-0);
}

.transfer-subscription-season-toolbar > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.transfer-subscription-season-toolbar strong {
    color: var(--semi-color-text-0);
    font-size: 14px;
}

.transfer-subscription-season-toolbar span {
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 700;
}

.transfer-subscription-season-list {
    display: grid;
    gap: 10px;
}

.transfer-subscription-season {
    display: grid;
    grid-template-columns: auto minmax(78px, 104px) minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-0);
}

.transfer-subscription-season.is-disabled {
    opacity: 0.62;
}

.transfer-subscription-season-main {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.transfer-subscription-season-main strong,
.transfer-subscription-season-main span,
.transfer-subscription-season-main label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-subscription-season-main span,
.transfer-subscription-target-trigger {
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 700;
}

.transfer-subscription-season-main label {
    cursor: pointer;
}

.transfer-subscription-target-trigger {
    display: inline-flex;
    width: 100%;
    min-height: 20px;
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    border-radius: 6px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.35;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-subscription-target-trigger:hover,
.transfer-subscription-target-trigger:focus-visible {
    color: var(--semi-color-primary);
    outline: 2px solid rgba(0, 100, 250, 0.14);
    outline-offset: 2px;
}

.transfer-subscription-season-overview {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 650;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-subscription-season-popover {
    position: fixed;
    left: var(--transfer-season-popover-left);
    top: var(--transfer-season-popover-top);
    z-index: 58;
    width: min(var(--transfer-season-popover-width), calc(100vw - 24px));
    max-height: min(var(--transfer-season-popover-max-height, 260px), calc(100vh - 24px));
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.transfer-subscription-season-popover::after {
    position: absolute;
    left: var(--transfer-season-popover-arrow-left);
    bottom: -6px;
    width: 12px;
    height: 12px;
    border-right: 1px solid rgba(148, 163, 184, 0.34);
    border-bottom: 1px solid rgba(148, 163, 184, 0.34);
    background: #fff;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.transfer-subscription-season-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.transfer-subscription-season-popover-head strong {
    min-width: 0;
    color: var(--semi-color-text-0);
    font-size: 14px;
    line-height: 1.3;
}

.transfer-subscription-season-popover-head button {
    display: inline-flex;
    width: 26px;
    height: 26px;
    min-height: 0;
    flex: 0 0 26px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--semi-color-border);
    border-radius: 999px;
    padding: 0;
    background: var(--semi-color-bg-0);
    color: var(--semi-color-text-1);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.transfer-subscription-season-popover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 6px;
}

.transfer-subscription-season-popover-grid span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 173, 20, 0.42);
    border-radius: 7px;
    background: rgba(255, 247, 230, 0.86);
    color: #ad6800;
    font-size: 13px;
    font-weight: 750;
}

.transfer-config-grid {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(520px, 1.1fr);
    gap: 20px;
    align-items: stretch;
}

.transfer-config-panel,
.transfer-history-panel,
.transfer-detail-panel {
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-1);
}

.transfer-detail-panel {
    position: relative;
    overflow: hidden;
    background-position: center top;
    background-size: cover;
}

.transfer-detail-panel.has-backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.34) 72%, rgba(255, 255, 255, 0.64) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(248, 250, 252, 0.84) 100%);
}

.transfer-detail-panel > * {
    position: relative;
    z-index: 1;
}

.transfer-detail-panel.has-backdrop .detail-modal-head {
    border-bottom-color: rgba(255, 255, 255, 0.78);
    background: transparent;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.12);
}

.transfer-detail-panel.has-backdrop .detail-modal-body {
    background: transparent;
}

.transfer-detail-panel .detail-modal-body {
    padding: 24px;
}

.transfer-detail-panel .card-section {
    padding: 20px 24px;
}

.transfer-detail-panel .transfer-detail-hero-section {
    padding: 0;
    overflow: hidden;
    background: transparent;
}

.transfer-detail-panel.has-backdrop .transfer-detail-hero-section {
    border-color: rgba(255, 255, 255, 0.78);
    box-shadow:
        inset 0 0 0 1px rgba(15, 23, 42, 0.08),
        0 12px 28px rgba(15, 23, 42, 0.08);
}

.transfer-config-panel {
    display: flex;
    min-height: min(760px, calc(100vh - 230px));
    flex-direction: column;
    padding: 24px 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
        var(--semi-color-bg-1);
    box-shadow: 0 18px 48px rgba(22, 41, 78, 0.09);
}

.transfer-config-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    margin-bottom: 18px;
    padding: 10px 12px;
}

.transfer-settings-panel .transfer-config-head {
    grid-template-columns: auto minmax(0, 1fr);
}

.transfer-config-head-copy {
    min-width: 0;
}

.transfer-config-head h3 {
    margin: 0;
    color: var(--semi-color-text-0);
    font-size: 18px;
    line-height: 1.25;
}

.transfer-config-head .panel-copy {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
}

.transfer-config-panel-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 100, 250, 0.12);
    border-radius: 8px;
    background: linear-gradient(180deg, #eef6ff, #f7fbff);
    color: var(--semi-color-primary);
}

.transfer-config-panel-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.transfer-button-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.transfer-button-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.transfer-save-button,
.transfer-add-channel-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.transfer-config-panel .form-grid {
    display: grid;
    gap: 11px;
}

.transfer-target-config-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.transfer-config-panel .field {
    gap: 7px;
}

.transfer-config-panel .field > span {
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.transfer-config-panel .field > .field-hint:not(.transfer-history-error),
.transfer-config-panel .field > .archive-organize-muted-hint {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
}

.transfer-field-label-with-help {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
}

.transfer-help-bubble {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.transfer-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-height: 18px;
    padding: 0;
    border: 1px solid rgba(38, 99, 255, 0.28);
    border-radius: 50%;
    background: rgba(38, 99, 255, 0.08);
    color: #2454c6;
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.transfer-help-button:hover,
.transfer-help-button:focus-visible,
.transfer-help-button.is-active {
    border-color: rgba(38, 99, 255, 0.48);
    background: rgba(38, 99, 255, 0.14);
    color: #153da6;
    box-shadow: none;
    transform: none;
}

.transfer-help-popover {
    position: fixed;
    z-index: 2600;
    top: var(--transfer-help-top, 0);
    left: var(--transfer-help-left, 50%);
    width: var(--transfer-help-width, min(340px, calc(100vw - 36px)));
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid rgba(38, 99, 255, 0.16);
    border-radius: 8px;
    background: rgba(248, 251, 255, 0.96);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.13);
    color: #35507a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.65;
    overflow-wrap: anywhere;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
    word-break: break-word;
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

@media (max-width: 640px) {
    .transfer-help-popover {
        max-width: calc(100vw - 48px);
        padding-right: 12px;
        padding-left: 12px;
    }
}

.transfer-help-popover::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: var(--transfer-help-arrow-left, 50%);
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(38, 99, 255, 0.16);
    border-bottom: 1px solid rgba(38, 99, 255, 0.16);
    background: rgba(248, 251, 255, 0.96);
    transform: translateX(-50%) rotate(45deg);
}

.transfer-help-popover.is-below::after {
    top: -5px;
    bottom: auto;
    border-top: 1px solid rgba(38, 99, 255, 0.16);
    border-left: 1px solid rgba(38, 99, 255, 0.16);
    border-right: 0;
    border-bottom: 0;
}

.transfer-help-bubble.is-open .transfer-help-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.transfer-help-floating-popover {
    position: fixed;
    z-index: 3000;
    top: var(--transfer-help-top, 0);
    left: var(--transfer-help-left, 0);
    width: var(--transfer-help-width, min(340px, calc(100vw - 36px)));
    max-width: calc(100vw - 28px);
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid rgba(38, 99, 255, 0.16);
    border-radius: 8px;
    background: rgba(248, 251, 255, 0.98);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.13);
    color: #35507a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.65;
    overflow-wrap: anywhere;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-4px);
    visibility: hidden;
    word-break: break-word;
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.transfer-help-floating-popover.is-below {
    transform: translateY(4px);
}

.transfer-help-floating-popover::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: var(--transfer-help-arrow-left, 50%);
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(38, 99, 255, 0.16);
    border-bottom: 1px solid rgba(38, 99, 255, 0.16);
    background: rgba(248, 251, 255, 0.98);
    transform: translateX(-50%) rotate(45deg);
}

.transfer-help-floating-popover.is-below::after {
    top: -5px;
    bottom: auto;
    border-top: 1px solid rgba(38, 99, 255, 0.16);
    border-left: 1px solid rgba(38, 99, 255, 0.16);
    border-right: 0;
    border-bottom: 0;
}

.transfer-help-floating-popover.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.transfer-help-floating-popover.is-measuring {
    transition: none;
}

.transfer-config-panel .field > input:not([type="checkbox"]),
.transfer-config-panel .field > select,
.transfer-root-picker > input {
    min-height: 42px;
    border-color: #d8e1ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
    padding-right: 16px;
    padding-left: 16px;
    font-size: 14px;
}

.transfer-config-panel .field > input:focus,
.transfer-config-panel .field > select:focus,
.transfer-root-picker > input:focus {
    border-color: rgba(0, 100, 250, 0.46);
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.11);
}

.transfer-target-field {
    margin-bottom: 0;
}

.transfer-account-hint,
.transfer-target-hint {
    margin-top: 5px;
    color: var(--semi-color-primary);
    font-weight: 800;
}

.transfer-subscription-config {
    gap: 12px;
    margin: 16px 0;
    padding: 0;
}

.transfer-subsection-title {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
}

.transfer-subsection-title-with-action {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.transfer-subsection-title .transfer-config-panel-icon {
    width: 28px;
    height: 28px;
}

.transfer-subsection-title .transfer-config-panel-icon svg {
    width: 17px;
    height: 17px;
}

.transfer-subsection-title strong {
    display: block;
    color: var(--semi-color-text-0);
    font-size: 16px;
    line-height: 1.25;
}

.transfer-subsection-title > div > span {
    display: block;
    margin-top: 3px;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.transfer-runtime-tools {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.transfer-runtime-run-button {
    display: inline-flex;
    width: 32px;
    height: 32px;
    min-height: 0;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 100, 250, 0.18);
    border-radius: 8px;
    padding: 0;
    background: #edf5ff;
    color: var(--semi-color-primary);
    cursor: pointer;
}

.transfer-runtime-run-button:hover,
.transfer-runtime-run-button:focus-visible {
    border-color: rgba(0, 100, 250, 0.34);
    background: #e2efff;
    outline: 3px solid rgba(0, 100, 250, 0.14);
    outline-offset: 2px;
}

.transfer-runtime-run-button:disabled {
    border-color: var(--semi-color-border);
    background: var(--semi-color-fill-0);
    color: var(--semi-color-text-2);
    cursor: not-allowed;
    opacity: 0.58;
}

.transfer-runtime-run-button .transfer-action-icon,
.transfer-runtime-run-button .transfer-action-icon svg {
    width: 17px;
    height: 17px;
}

.transfer-resource-filter-config {
    display: grid;
    gap: 12px;
    margin-top: 0;
    padding: 14px;
    border: 1px solid rgba(38, 99, 255, 0.14);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.transfer-resource-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.transfer-resource-filter-toolbar .toolbar-inline {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.transfer-resource-filter-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.transfer-resource-existing-policy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(216, 225, 239, 0.86);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
}

.transfer-resource-existing-policy > span {
    color: var(--semi-color-text-1);
    font-size: 12px;
    font-weight: 760;
}

.transfer-resource-existing-modes {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(88px, 1fr));
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(216, 225, 239, 0.9);
    border-radius: 14px;
    background: rgba(244, 247, 252, 0.92);
}

.transfer-resource-existing-modes label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--semi-color-text-1);
    font-size: 13px;
    font-weight: 780;
    cursor: pointer;
}

.transfer-resource-existing-modes input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.transfer-resource-existing-modes label:has(input:checked) {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.transfer-resource-filter-summary-card {
    display: grid;
    min-width: 0;
    gap: 3px;
    height: 74px;
    padding: 9px 10px;
    border: 1px solid rgba(216, 225, 239, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--semi-color-text-1);
    font-size: 12px;
    font-weight: 760;
    line-height: 1.35;
    overflow: hidden;
    outline: none;
}

.transfer-resource-filter-summary strong {
    color: var(--semi-color-text-2);
    font-size: 11px;
    font-weight: 740;
}

.transfer-resource-filter-summary-value {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
}

.transfer-resource-filter-summary-card:hover,
.transfer-resource-filter-summary-card:focus-visible {
    border-color: rgba(38, 99, 255, 0.32);
    box-shadow: 0 8px 22px rgba(38, 99, 255, 0.08);
}

.transfer-resource-summary-tooltip {
    position: fixed;
    z-index: 130;
    top: var(--transfer-resource-tooltip-top, 0);
    left: var(--transfer-resource-tooltip-left, 0);
    width: fit-content;
    min-width: 54px;
    max-width: var(--transfer-resource-tooltip-max-width, min(320px, calc(100vw - 28px)));
    box-sizing: border-box;
    border: 1px solid rgba(38, 99, 255, 0.16);
    border-radius: 8px;
    background: rgba(248, 251, 255, 0.98);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.13);
    color: #35507a;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.65;
    opacity: 0;
    overflow: visible;
    overflow-wrap: anywhere;
    pointer-events: none;
    transform: translateY(4px);
    visibility: hidden;
    word-break: break-word;
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.transfer-resource-summary-tooltip-body {
    max-height: var(--transfer-resource-tooltip-max-height, min(156px, calc(100vh - 28px)));
    padding: 8px 10px;
    overflow: auto;
    scrollbar-width: none;
}

.transfer-resource-summary-tooltip-body::-webkit-scrollbar {
    display: none;
}

.transfer-resource-summary-tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: var(--transfer-resource-tooltip-arrow-left, 50%);
    width: 12px;
    height: 12px;
    border-right: 1px solid rgba(38, 99, 255, 0.22);
    border-bottom: 1px solid rgba(38, 99, 255, 0.22);
    background: rgba(248, 251, 255, 0.98);
    box-shadow: 2px 2px 4px rgba(15, 23, 42, 0.05);
    transform: translateX(-50%) rotate(45deg);
}

.transfer-resource-summary-tooltip.is-below::after {
    top: -6px;
    bottom: auto;
    border-top: 1px solid rgba(38, 99, 255, 0.22);
    border-left: 1px solid rgba(38, 99, 255, 0.22);
    border-right: 0;
    border-bottom: 0;
    box-shadow: -2px -2px 4px rgba(15, 23, 42, 0.04);
}

.transfer-resource-summary-tooltip.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.transfer-resource-filter-modal {
    z-index: 96;
}

.transfer-resource-filter-panel {
    width: min(900px, calc(100vw - 72px));
    max-height: min(84vh, calc(100vh - 56px));
}

.transfer-resource-filter-option-group {
    display: grid;
    gap: 10px;
}

.transfer-resource-filter-option-group + .transfer-resource-filter-option-group {
    margin-top: 16px;
}

.transfer-resource-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-content: flex-start;
}

.transfer-resource-filter-option {
    min-height: 34px;
    padding-right: 12px;
    padding-left: 12px;
}

.transfer-resource-size-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.transfer-resource-size-grid .archive-organize-size-control {
    --archive-organize-control-height: 42px;
}

@media (max-width: 900px) {
    .transfer-resource-filter-toolbar,
    .transfer-resource-size-grid {
        grid-template-columns: 1fr;
    }

    .transfer-resource-filter-toolbar .toolbar-inline {
        justify-content: flex-start;
    }

    .transfer-resource-filter-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transfer-resource-existing-policy {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .transfer-resource-filter-config {
        padding: 12px;
    }

    .transfer-resource-filter-summary {
        grid-template-columns: 1fr;
    }

    .transfer-resource-filter-panel {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }
}

.transfer-subscription-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 11px 16px;
}

.transfer-check-row,
.transfer-channel-toggle {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 8px;
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.transfer-auto-transfer-field .transfer-check-row {
    min-height: 42px;
}

.transfer-check-with-help {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
}

.transfer-check-with-help .transfer-check-row {
    min-height: 0;
}

.transfer-bordered-check-control {
    display: inline-flex;
    width: 100%;
    height: var(--archive-organize-control-height, 42px);
    min-height: var(--archive-organize-control-height, 42px);
    box-sizing: border-box;
    align-items: center;
    gap: 9px;
    border: 1px solid #d8e1ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
    padding: 0 16px;
}

.transfer-bordered-check-control.transfer-check-with-help {
    width: 100%;
    min-height: var(--archive-organize-control-height, 42px);
}

.transfer-bordered-check-control:focus-within {
    border-color: rgba(0, 100, 250, 0.46);
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.11);
}

.transfer-bordered-check-control > span,
.transfer-bordered-check-control .transfer-check-row > span {
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.transfer-check-row input[type="checkbox"],
.transfer-channel-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--semi-color-primary);
}

.transfer-config-actions {
    margin-top: 20px;
}

.transfer-config-actions .button-accent {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    box-shadow: 0 12px 22px rgba(0, 100, 250, 0.22);
    font-size: 14px;
    font-weight: 900;
}

.transfer-channel-list {
    display: grid;
    gap: 13px;
    margin-top: 2px;
}

.transfer-channel-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 14px;
    border: 1px solid #d8e1ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 28px rgba(22, 41, 78, 0.045);
}

.transfer-channel-row.is-builtin {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84)),
        linear-gradient(180deg, rgba(0, 100, 250, 0.035), rgba(255, 255, 255, 0));
}

.transfer-channel-row.is-hdhive {
    cursor: pointer;
}

.transfer-channel-row.is-hdhive.is-disabled {
    cursor: not-allowed;
    opacity: 0.68;
}

.transfer-channel-row.is-hdhive:focus-visible {
    outline: 2px solid rgba(0, 100, 250, 0.32);
    outline-offset: 2px;
}

.transfer-channel-row.is-hdhive .transfer-channel-actions {
    cursor: default;
}

.transfer-channel-row.is-hdhive.is-disabled .transfer-channel-actions,
.transfer-channel-row.is-hdhive.is-disabled .transfer-channel-toggle {
    cursor: not-allowed;
}

.transfer-channel-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.transfer-channel-row .status-pill {
    justify-content: center;
    min-height: 30px;
    padding-right: 11px;
    padding-left: 11px;
    line-height: 20px;
}

.transfer-channel-icon {
    position: relative;
    overflow: hidden;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--semi-color-bg-2);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.transfer-channel-icon img,
.transfer-channel-icon > span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    color: var(--semi-color-text-2);
    font-weight: 900;
}

.transfer-channel-icon-upload {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    height: 18px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.56);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.transfer-channel-icon-upload input {
    display: none;
}

.transfer-channel-main {
    min-width: 0;
}

.transfer-channel-main {
    display: grid;
    gap: 6px;
    justify-items: start;
}

.transfer-channel-title {
    color: var(--semi-color-text-0);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
}

.transfer-channel-name-input {
    width: min(420px, 100%);
    min-height: 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--semi-color-text-0);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.3;
    padding: 0;
}

.transfer-channel-name-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.1);
    background: rgba(237, 245, 255, 0.78);
}

.transfer-channel-url,
.transfer-channel-url-input {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    border: 1px solid rgba(0, 100, 250, 0.14);
    border-radius: 999px;
    padding: 3px 9px;
    background: rgba(0, 100, 250, 0.06);
    overflow: hidden;
    color: var(--semi-color-primary);
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-channel-url {
    width: fit-content;
}

.transfer-channel-url-input {
    width: min(360px, 100%);
    min-height: 26px;
}

.transfer-channel-url-input:focus {
    outline: none;
    border-color: rgba(0, 100, 250, 0.38);
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.1);
}

.transfer-mode-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
    background: var(--semi-color-bg-2);
}

.transfer-mode-tabs button {
    border: 0;
    border-radius: 6px;
    padding: 6px 10px;
    background: transparent;
    color: var(--semi-color-text-2);
    font-weight: 800;
    cursor: pointer;
}

.transfer-mode-tabs button.active {
    background: var(--semi-color-bg-1);
    color: var(--semi-color-text-0);
}

.transfer-detail-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    min-height: 238px;
    overflow: hidden;
    padding: 28px 32px;
    border-radius: inherit;
    background: linear-gradient(180deg, #fcfdff 0%, #f8fafc 100%);
}

.transfer-detail-panel.has-backdrop .transfer-detail-hero {
    background: transparent;
}

.transfer-detail-poster {
    position: relative;
    z-index: 2;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    background: var(--semi-color-bg-2);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
}

.transfer-detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.transfer-detail-main {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
}

.transfer-detail-main .soft-pills {
    gap: 10px;
}

.transfer-detail-main .panel-copy {
    margin: 0;
    max-width: none;
    line-height: 1.7;
}

.transfer-detail-actions {
    gap: 10px;
    margin-top: 2px;
}

.transfer-action-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    font-weight: 800;
}

.transfer-action-button-search {
    border-color: #f4c7bd;
    background: #fff0ed;
    color: #b65b4f;
}

.transfer-action-button-search:hover {
    border-color: #eaaea1;
    background: #ffe5df;
}

.transfer-action-button-external {
    border-color: #cfe3ff;
    background: #edf5ff;
    color: var(--semi-color-primary);
}

.transfer-action-button-external:hover {
    border-color: #a9cdfd;
    background: #dfeeff;
}

.transfer-action-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
}

.transfer-action-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.transfer-rating-pill {
    gap: 5px;
    border-color: #ffd591;
    background: #fff7e8;
    color: #ad6800;
    font-weight: 800;
}

.transfer-rating-pill svg {
    width: 14px;
    height: 14px;
    color: #f5a400;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.2;
}

.transfer-season-list {
    display: grid;
    gap: 12px;
}

.transfer-season-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
}

.transfer-season-label {
    color: var(--semi-color-text-2);
    font-weight: 900;
    line-height: 28px;
}

.transfer-episode-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.transfer-episode-dot {
    display: inline-flex;
    min-width: 38px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--semi-color-border);
    border-radius: 10px;
    background: #fff;
    color: var(--semi-color-text-2);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

button.transfer-episode-dot {
    cursor: pointer;
}

.transfer-episode-dot.present {
    border-color: rgba(38, 160, 95, 0.24);
    background: #e9f8ef;
    color: #128344;
}

.transfer-episode-dot.missing {
    border-color: rgba(225, 67, 86, 0.28);
    background: #fff0f2;
    color: rgb(204, 42, 62);
}

.transfer-episode-dot.unknown {
    border-color: rgba(0, 100, 250, 0.18);
    background: rgba(0, 100, 250, 0.06);
    color: var(--semi-color-primary);
}

button.transfer-episode-dot:hover {
    transform: translateY(-1px);
}

.transfer-search-progress {
    margin: -4px 0 10px;
}

.transfer-search-results-section {
    scroll-margin-top: 16px;
}

.transfer-search-progress-panel {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(0, 100, 250, 0.14);
    border-radius: 8px;
    padding: 12px;
    background: rgba(0, 100, 250, 0.04);
}

.transfer-search-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--semi-color-text-1);
    font-size: 14px;
    font-weight: 900;
}

.transfer-search-progress-head > span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.transfer-search-progress-head strong {
    color: var(--semi-color-primary);
    font-size: 13px;
}

.transfer-search-progress-bar {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.transfer-search-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0064fa, #19a56a);
    transition: width 180ms ease;
}

.transfer-search-source-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.08);
    color: var(--semi-color-text-2);
    font-size: 11px;
}

.transfer-search-source-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transfer-resource-list {
    display: grid;
    gap: 0;
}

.transfer-resource-scroll {
    min-height: 360px;
    max-height: 520px;
    overflow: auto;
    overscroll-behavior: contain;
}

.transfer-resource-unknown-section {
    margin-top: 14px;
    border-top: 1px solid var(--semi-color-border);
    padding-top: 14px;
}

.transfer-resource-unknown-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
}

.transfer-resource-unknown-head span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 6px;
    padding: 5px 10px;
    background: rgba(124, 90, 255, 0.1);
    color: rgb(91, 66, 202);
    font-weight: 900;
}

.transfer-resource-unknown-head small {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 800;
}

.transfer-resource-link-tabs,
.transfer-resource-pan-tabs,
.transfer-resource-source-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.transfer-resource-link-tabs {
    margin-bottom: 10px;
}

.transfer-resource-link-tabs button,
.transfer-resource-pan-tabs button,
.transfer-resource-source-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 6px;
    padding: 7px 10px;
    background: transparent;
    color: var(--semi-color-text-2);
    font-weight: 800;
    cursor: pointer;
}

.transfer-resource-link-tabs button {
    background: var(--semi-color-bg-2);
    color: var(--semi-color-text-1);
}

.transfer-resource-pan-tabs button {
    border: 1px solid var(--semi-color-border);
    background: var(--semi-color-bg-1);
}

.transfer-resource-link-tabs button.active,
.transfer-resource-pan-tabs button.active,
.transfer-resource-source-tabs button.active {
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
}

.transfer-resource-item,
.transfer-history-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--semi-color-border);
}

.transfer-resource-item:first-child,
.transfer-history-row:first-child {
    border-top: 0;
}

.transfer-resource-title,
.transfer-history-title {
    color: var(--semi-color-text-0);
    font-weight: 780;
}

.transfer-resource-meta,
.transfer-history-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    color: var(--semi-color-text-2);
    font-size: 13px;
    line-height: 20px;
}

.transfer-tag {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border: 1px solid var(--semi-color-border);
    border-radius: 5px;
    padding: 2px 7px;
    background: var(--semi-color-bg-2);
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 720;
}

.transfer-record-kind-tag {
    border-color: var(--semi-color-primary);
    color: var(--semi-color-primary);
    cursor: pointer;
}

.transfer-record-status-tag.is-good {
    border-color: rgba(34, 197, 94, 0.36);
    background: rgba(34, 197, 94, 0.1);
    color: var(--semi-color-success);
}

.transfer-record-status-tag.is-bad {
    border-color: rgba(245, 63, 63, 0.36);
    background: rgba(245, 63, 63, 0.1);
    color: var(--semi-color-danger);
}

.transfer-record-status-tag.is-warn {
    border-color: rgba(245, 154, 35, 0.34);
    background: rgba(245, 154, 35, 0.1);
    color: rgb(174, 105, 20);
}

button.transfer-tag {
    font-family: inherit;
}

.transfer-history-resource-title {
    display: inline-flex;
    max-width: 100%;
    min-width: 0;
    min-height: 28px;
    align-items: center;
    color: var(--semi-color-text-2);
    line-height: 20px;
    overflow-wrap: anywhere;
    white-space: normal;
}

.transfer-history-error {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    border-left: 3px solid rgba(225, 67, 86, 0.48);
    padding-left: 10px;
}

.transfer-history-error span {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 820;
    line-height: 16px;
}

.transfer-history-error strong {
    color: rgb(184, 35, 52);
    font-size: 13px;
    font-weight: 760;
    line-height: 20px;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.transfer-record-target-label {
    font-weight: 850;
}

.transfer-history-time {
    white-space: nowrap;
}

.share-status-good {
    border-color: rgba(46, 167, 106, 0.36);
    background: rgba(46, 167, 106, 0.1);
    color: rgb(35, 134, 84);
}

.share-status-warn {
    border-color: rgba(230, 162, 60, 0.42);
    background: rgba(230, 162, 60, 0.12);
    color: rgb(174, 105, 20);
}

.share-status-muted {
    border-color: var(--semi-color-border);
    background: var(--semi-color-bg-2);
    color: var(--semi-color-text-2);
}

.share-status-bad {
    border-color: rgba(225, 67, 86, 0.44);
    background: rgba(225, 67, 86, 0.1);
    color: rgb(204, 42, 62);
}

.transfer-tag-unknown-season {
    border-color: rgba(124, 90, 255, 0.42);
    background: rgba(124, 90, 255, 0.1);
    color: rgb(91, 66, 202);
}

.transfer-link-type-tag {
    border-color: rgba(0, 100, 250, 0.22);
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
}

.transfer-link-type-tag.is-rose-gold {
    border-color: rgba(183, 113, 91, 0.42);
    background: rgba(183, 113, 91, 0.12);
    color: rgb(151, 76, 62);
}

.transfer-resource-preview-modal {
    z-index: 80;
}

.transfer-resource-preview-modal .transfer-resource-preview-panel {
    width: min(980px, calc(100vw - 192px));
    max-height: min(82vh, calc(100vh - 96px));
}

.transfer-hdhive-config-panel {
    width: min(1120px, calc(100vw - 96px));
    max-height: min(82vh, calc(100vh - 96px));
    overflow: hidden;
    contain: layout paint;
}

.transfer-hdhive-config-panel .detail-modal-body {
    overflow-x: hidden;
    overflow-y: auto;
}

.transfer-hdhive-auth-modal-layer {
    position: fixed;
    z-index: 92;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.transfer-hdhive-auth-modal-layer .detail-modal-backdrop {
    position: absolute;
    inset: 0;
}

.transfer-hdhive-auth-modal-layer .transfer-hdhive-auth-modal-card {
    position: relative;
    z-index: 1;
    width: min(620px, calc(100vw - 96px));
    max-height: min(78vh, calc(100vh - 96px));
    overflow: hidden;
}

.transfer-hdhive-auth-modal-card .detail-modal-body {
    overflow-x: hidden;
    overflow-y: auto;
}

.transfer-hdhive-modal-grid {
    display: grid;
    gap: 14px;
}

.transfer-hdhive-disabled-note {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.42);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.82);
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.transfer-hdhive-config-panel.is-disabled .transfer-hdhive-modal-grid {
    opacity: 0.88;
}

.transfer-hdhive-modal-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.transfer-hdhive-modal-row .field {
    min-width: 0;
}

.transfer-hdhive-modal-row .field > span,
.transfer-hdhive-modal-row .transfer-field-label-with-help {
    min-height: 22px;
    align-items: center;
}

.transfer-hdhive-modal-row .toggle-line {
    display: inline-flex;
    width: fit-content;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.transfer-hdhive-modal-row .toggle-line input[type="checkbox"] {
    display: block;
    margin: 0;
    align-self: center;
}

.transfer-hdhive-modal-row .toggle-line span {
    display: inline-flex;
    min-height: 20px;
    align-items: center;
    line-height: 20px;
}

.transfer-hdhive-auth-panel {
    display: grid;
    gap: 12px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 14px;
    background: var(--semi-color-bg-1);
}

.transfer-hdhive-auth-panel.is-error {
    border-color: rgba(239, 68, 68, 0.38);
    background: rgba(254, 242, 242, 0.76);
}

.transfer-hdhive-auth-panel.is-warn {
    border-color: rgba(245, 158, 11, 0.36);
}

.transfer-hdhive-auth-head {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.transfer-hdhive-auth-head > div,
.transfer-hdhive-auth-user {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.transfer-hdhive-auth-user {
    flex-direction: column;
}

.transfer-hdhive-auth-head span,
.transfer-hdhive-auth-metric span {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 800;
}

.transfer-hdhive-auth-head strong {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-hdhive-auth-head em {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-2);
    font-style: normal;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-hdhive-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.transfer-hdhive-auth-metric {
    display: grid;
    gap: 4px;
    min-width: 0;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 10px;
    background: var(--semi-color-bg-2);
}

.transfer-hdhive-auth-metric strong {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-hdhive-auth-empty,
.transfer-hdhive-auth-note {
    margin: 0;
    color: var(--semi-color-text-2);
    font-size: 13px;
    line-height: 1.5;
}

.transfer-hdhive-auth-note {
    color: var(--semi-color-warning, #b7791f);
}

.transfer-resource-preview-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.transfer-resource-preview-meta > div,
.transfer-resource-preview-link,
.transfer-resource-preview-text {
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 12px;
    background: var(--semi-color-bg-2);
}

.transfer-resource-preview-meta > div > span,
.transfer-resource-preview-link-head > span,
.transfer-resource-preview-text > span {
    display: block;
    margin-bottom: 6px;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 800;
}

.transfer-resource-preview-link-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.transfer-resource-preview-link-head > span {
    margin-bottom: 0;
}

.transfer-resource-preview-meta strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--semi-color-text-0);
    font-size: 13px;
}

.transfer-resource-preview-link,
.transfer-resource-preview-text {
    margin-top: 12px;
}

.transfer-resource-preview-link pre {
    overflow: auto;
    max-height: 180px;
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--semi-color-text-0);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.55;
}

.transfer-resource-preview-text p {
    margin: 0;
    color: var(--semi-color-text-1);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .transfer-hdhive-modal-row {
        grid-template-columns: 1fr;
    }

    .transfer-hdhive-auth-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .transfer-resource-preview-modal .transfer-resource-preview-panel {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .transfer-hdhive-config-panel {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .transfer-hdhive-auth-modal-layer {
        padding: 16px;
    }

    .transfer-hdhive-auth-modal-card {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .transfer-resource-preview-meta {
        grid-template-columns: 1fr;
    }

    .transfer-hdhive-auth-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .transfer-hdhive-auth-grid {
        grid-template-columns: 1fr;
    }
}

.transfer-source-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--semi-color-text-0);
}

.transfer-source-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--semi-color-text-0);
    font-weight: 800;
}

.transfer-source-icon,
.transfer-source-tab-icon {
    overflow: hidden;
    display: inline-flex;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--semi-color-bg-2);
    color: var(--semi-color-text-2);
    font-size: 11px;
    font-weight: 900;
}

.transfer-source-tab-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
}

.transfer-source-icon img,
.transfer-source-tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.transfer-source-icon > span,
.transfer-source-tab-icon > span {
    line-height: 1;
}

.transfer-history-panel {
    padding: 18px;
}

.transfer-history-tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.transfer-search-icon-button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--semi-color-text-2);
    cursor: pointer;
}

.transfer-search-icon-button:hover {
    background: var(--semi-color-bg-2);
    color: var(--semi-color-primary);
}

.transfer-search-icon-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.transfer-expandable-search:not(.open) .transfer-search-icon-button {
    position: static;
    transform: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--semi-color-border);
    border-radius: 999px;
    background: var(--semi-color-bg-1);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.transfer-expandable-search.open .transfer-search-icon-button {
    border-radius: 999px;
}

.transfer-expandable-search.open .transfer-search-icon-button {
    top: 50%;
    right: 7px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--semi-color-primary);
    transform: translateY(-50%);
}

.transfer-expandable-search.open .transfer-search-icon-button svg {
    width: 30px;
    height: 30px;
    stroke-width: 2.9;
}

.transfer-expandable-search.open .transfer-search-icon-button .transfer-collapse-icon,
.transfer-expandable-search.open .transfer-search-icon-button .transfer-collapse-icon path {
    fill: currentColor;
    stroke: none;
}

.transfer-pagination {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 800;
}

.panel-stack > .transfer-pagination {
    align-self: end;
    padding-top: 14px;
}

.transfer-history-table {
    padding: 4px 0 0;
}

.transfer-history-row {
    grid-template-columns: 56px minmax(0, 1fr) 150px auto;
    align-items: center;
}

.transfer-history-row.transfer-transfer-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
}

.transfer-history-row.transfer-record-row {
    grid-template-columns: 56px minmax(0, 1fr) minmax(320px, 0.9fr) auto;
}

.transfer-history-row.transfer-organize-row {
    grid-template-columns: 56px minmax(0, 1fr) minmax(340px, 0.95fr);
    align-items: start;
}

.transfer-history-row.archive-organize-transfer-history-row {
    grid-template-columns: 56px minmax(0, 0.78fr) minmax(440px, 1.25fr) auto;
    column-gap: 24px;
    align-items: center;
}

.transfer-history-row.transfer-record-row > div:nth-child(2) {
    min-width: 0;
}

.transfer-history-row.transfer-organize-row > div:nth-child(2) {
    min-width: 0;
}

.transfer-record-row .transfer-history-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-organize-row .transfer-history-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-record-row .transfer-history-meta {
    min-width: 0;
}

.transfer-record-row .transfer-source-tag {
    max-width: min(100%, 260px);
}

.transfer-record-row .transfer-source-tag > span:not(.transfer-source-icon) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-history-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
}

.transfer-transfer-footer {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.transfer-transfer-side-meta {
    display: grid;
    min-width: 128px;
    gap: 3px;
    color: var(--semi-color-text-2);
}

.transfer-transfer-trigger {
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 820;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-transfer-time {
    overflow: hidden;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 720;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-transfer-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.transfer-record-info-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    min-width: 0;
}

.transfer-record-field {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.transfer-record-field-label {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    gap: 6px;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 720;
    line-height: 18px;
}

.transfer-record-field-value {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--semi-color-text-1);
    font-size: 14px;
    font-weight: 680;
    line-height: 20px;
}

.transfer-record-field-label .transfer-action-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: var(--semi-color-text-2);
}

.transfer-record-field-label .transfer-action-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}

.transfer-record-actions {
    gap: 8px;
}

.transfer-organize-file-action-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.transfer-organize-file-count-field {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.transfer-organize-file-count-field .transfer-record-field-value {
    flex: 0 0 auto;
}

.transfer-organize-inline-actions {
    flex: 0 0 auto;
}

.archive-organize-transfer-history-row .transfer-organize-inline-actions {
    align-self: center;
    min-width: max-content;
}

.archive-organize-transfer-history-row .transfer-history-time {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
}

.archive-organize-transfer-history-filters {
    display: grid;
    gap: 10px;
    padding: 0 20px 14px;
}

.archive-organize-transfer-history-filter {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.archive-organize-transfer-history-filter::-webkit-scrollbar {
    display: none;
}

.archive-organize-transfer-history-filter > span {
    flex: 0 0 auto;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 760;
    line-height: 18px;
}

.transfer-organize-transfer-history-icon {
    display: grid;
    place-items: center;
    color: var(--semi-color-primary);
}

.transfer-organize-transfer-history-icon .transfer-action-icon {
    width: 22px;
    height: 22px;
}

.archive-organize-transfer-chain {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.archive-organize-transfer-chain-step {
    position: relative;
    display: grid;
    min-width: 0;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-0);
}

.archive-organize-transfer-chain-step + .archive-organize-transfer-chain-step::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 10px;
    height: 1px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.22), rgba(16, 185, 129, 0.7));
}

.archive-organize-transfer-chain-step span {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 760;
    line-height: 18px;
}

.archive-organize-transfer-chain-step strong {
    display: -webkit-box;
    min-width: 0;
    max-height: 36px;
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 780;
    line-height: 18px;
    overflow-wrap: anywhere;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.transfer-organize-detail-cell {
    grid-column: 1 / -1;
    min-width: 0;
}

.transfer-organize-details {
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-1);
}

.transfer-organize-details > summary {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    list-style: none;
}

.transfer-organize-details > summary::-webkit-details-marker,
.transfer-organize-tree-node summary::-webkit-details-marker {
    display: none;
}

.transfer-organize-details > summary span:not(.sr-only):not(.transfer-action-icon) {
    color: var(--semi-color-primary);
    font-size: 13px;
    font-weight: 820;
}

.transfer-organize-tree-summary-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: var(--semi-color-primary);
}

.transfer-organize-tree-summary-icon .transfer-action-icon {
    width: 20px;
    height: 20px;
}

.transfer-organize-tree-summary-icon .transfer-action-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.transfer-organize-details > summary em,
.transfer-organize-details > summary strong {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-organize-tree-list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 0 0 18px;
    list-style: none;
}

.transfer-organize-tree-root {
    border-top: 1px solid var(--semi-color-border);
    padding: 10px 12px 12px 18px;
}

.transfer-organize-tree-node summary {
    display: inline-flex;
    max-width: 100%;
    min-width: 0;
    align-items: center;
    gap: 7px;
    border-radius: 6px;
    padding: 5px 7px;
    color: var(--semi-color-text-0);
    cursor: pointer;
    font-size: 13px;
    font-weight: 780;
    list-style: none;
}

.transfer-organize-tree-node summary:hover {
    background: rgba(0, 100, 250, 0.06);
}

.transfer-organize-tree-node summary span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-organize-tree-node summary em {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

.transfer-organize-tree-node .transfer-action-icon {
    width: 15px;
    height: 15px;
    color: var(--semi-color-primary);
}

.transfer-organize-tree-file {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 8px;
    border-radius: 6px;
    padding: 5px 7px;
}

.transfer-organize-tree-file:hover {
    background: var(--semi-color-bg-2);
}

.transfer-organize-file-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 7px;
    border-radius: 999px;
    background: rgb(46, 167, 106);
}

.transfer-organize-tree-file div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.transfer-organize-tree-file strong,
.transfer-organize-tree-file span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.transfer-organize-tree-file strong {
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 720;
    line-height: 1.45;
}

.transfer-organize-tree-file span {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}

.archive-organize-shell {
    display: grid;
    gap: 18px;
}

.archive-organize-config-panel .panel-head {
    align-items: flex-start;
}

.archive-organize-config-panel {
    min-height: auto;
    --archive-organize-control-height: 42px;
}

.archive-organize-config-panel .tg-card-grid,
.archive-organize-intercept-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: start;
}

.archive-organize-intercept-grid {
    margin-top: 0;
}

.archive-organize-config-panel .field,
.archive-organize-intercept-grid > .field,
.archive-organize-rule-editor-grid > .field {
    width: 100%;
}

.archive-organize-config-panel .field > input:not([type="checkbox"]),
.archive-organize-config-panel .archive-organize-picker-trigger,
.archive-organize-toggle-control {
    min-height: var(--archive-organize-control-height);
}

.archive-organize-size-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 8px;
    align-items: stretch;
}

.archive-organize-size-control input,
.archive-organize-size-control select {
    min-height: var(--archive-organize-control-height, 42px);
    width: 100%;
}

.archive-organize-config-panel .archive-organize-picker-trigger,
.archive-organize-rule-editor-panel .archive-organize-picker-trigger {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 1200px) {
    .archive-organize-config-panel .tg-card-grid,
    .archive-organize-intercept-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .archive-organize-config-panel .tg-card-grid,
    .archive-organize-intercept-grid {
        grid-template-columns: 1fr;
    }
}

.archive-organize-rules-panel {
    contain: paint;
    overflow: hidden;
}

.archive-organize-rule-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    align-items: stretch;
    justify-content: start;
    gap: 12px;
}

.archive-organize-rule-tools {
    flex-wrap: wrap;
}

.archive-organize-rule-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    gap: 10px;
    min-width: 0;
    border: 1px solid rgba(219, 177, 157, 0.42);
    border-radius: 8px;
    padding: 12px;
    backface-visibility: hidden;
    background: rgba(255, 250, 247, 0.94);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.52),
        0 10px 24px rgba(120, 86, 71, 0.08);
    contain: paint;
    transform: translateZ(0);
}

.archive-organize-rule-card.is-custom,
.archive-organize-rule-card.is-builtin {
    cursor: pointer;
}

.archive-organize-rule-card.is-custom:hover,
.archive-organize-rule-card.is-custom:focus-visible,
.archive-organize-rule-card.is-builtin:hover,
.archive-organize-rule-card.is-builtin:focus-visible {
    border-color: rgba(0, 100, 250, 0.34);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.62),
        0 12px 28px rgba(0, 100, 250, 0.12);
    outline: 0;
}

.archive-organize-rule-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 250, 247, 0.92) 54%, rgba(255, 255, 255, 0.84) 100%),
        url("/static/organize/%E6%95%B4%E7%90%861.png") center / cover no-repeat;
    content: "";
    pointer-events: none;
}

.archive-organize-rule-card.is-disabled {
    opacity: 0.58;
}

.archive-organize-rule-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 12px;
    color: #a85f4f;
    font-size: 13px;
    font-weight: 780;
}

.archive-organize-rule-divider::before,
.archive-organize-rule-divider::after {
    height: 1px;
    flex: 1 1 auto;
    background: linear-gradient(90deg, rgba(202, 143, 126, 0), rgba(202, 143, 126, 0.58));
    content: "";
}

.archive-organize-rule-divider::after {
    background: linear-gradient(90deg, rgba(202, 143, 126, 0.58), rgba(202, 143, 126, 0));
}

.archive-organize-rule-divider span {
    flex: 0 0 auto;
    padding: 3px 10px;
    border: 1px solid rgba(202, 143, 126, 0.38);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 249, 247, 0.96) 0%, rgba(248, 232, 226, 0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.archive-organize-config-divider {
    margin: 18px 0 12px;
}

.archive-organize-config-panel .panel-head + .archive-organize-config-divider {
    margin-top: 8px;
}

.archive-organize-post-transfer-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) minmax(180px, 0.76fr) 192px;
    gap: 8px 18px;
    align-items: start;
    padding: 10px 12px 12px;
    border: 1px solid rgba(0, 100, 250, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 255, 0.88) 100%);
}

.archive-organize-post-transfer-panel .archive-organize-toggle-field {
    gap: 6px;
}

.archive-organize-transfer-summary-wrap,
.archive-organize-transfer-action-wrap {
    display: grid;
    gap: 6px;
    padding-top: 26px;
}

.archive-organize-transfer-summary {
    display: flex;
    height: var(--archive-organize-control-height);
    min-height: var(--archive-organize-control-height);
    align-items: center;
    align-content: center;
    padding: 0 18px;
    border: 1px solid rgba(139, 152, 168, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.archive-organize-transfer-summary span {
    color: var(--semi-color-primary);
    font-size: 14px;
    font-weight: 820;
}

.archive-organize-transfer-summary-hint {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-transfer-config-button {
    width: 100%;
    height: var(--archive-organize-control-height);
    min-height: var(--archive-organize-control-height);
    justify-content: center;
    padding: 0 14px;
    white-space: nowrap;
}

.archive-organize-transfer-config-button .transfer-action-icon,
.archive-organize-transfer-row-actions .transfer-action-icon {
    width: 15px;
    height: 15px;
}

.archive-organize-transfer-template-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.9fr);
    gap: 12px;
    align-items: start;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(139, 152, 168, 0.18);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.76);
}

.archive-organize-transfer-template-field {
    gap: 7px;
}

.archive-organize-template-help {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.archive-organize-template-help strong {
    color: var(--semi-color-text-0);
    font-size: 12px;
    font-weight: 840;
}

.archive-organize-template-token-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.archive-organize-template-token-list.is-preview {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.archive-organize-template-token-list.is-drawer {
    gap: 8px;
}

.archive-organize-template-token {
    display: grid;
    grid-template-columns: minmax(112px, 0.9fr) minmax(150px, 1fr);
    align-items: start;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 100, 250, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--semi-color-text-0);
    font-size: 12px;
    font-weight: 760;
}

.archive-organize-template-token.has-action {
    grid-template-columns: minmax(112px, 0.8fr) minmax(150px, 1fr) 32px;
    align-items: center;
}

.archive-organize-template-token-list.is-preview .archive-organize-template-token {
    min-height: 34px;
    align-items: center;
    padding-top: 7px;
    padding-bottom: 7px;
}

.archive-organize-template-token-label {
    min-width: 0;
    color: var(--semi-color-text-1);
    line-height: 1.35;
    white-space: normal;
}

.archive-organize-template-token-meta {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    text-align: right;
    flex-wrap: wrap;
}

.archive-organize-template-token code {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace);
    font-size: 11px;
    font-weight: 820;
}

.archive-organize-template-token-meta span {
    min-width: 0;
    color: var(--semi-color-text-2);
    font-size: 11px;
    font-weight: 720;
    line-height: 1.35;
}

.archive-organize-template-token-add {
    display: inline-flex;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(0, 100, 250, 0.18);
    border-radius: 8px;
    background: rgba(235, 245, 255, 0.72);
    color: var(--semi-color-primary);
    cursor: pointer;
}

.archive-organize-template-token-add:hover {
    border-color: rgba(0, 100, 250, 0.34);
    background: rgba(225, 240, 255, 0.94);
}

.archive-organize-template-token-add .transfer-button-icon,
.archive-organize-template-token-add .transfer-button-icon svg {
    width: 16px;
    height: 16px;
}

.archive-organize-template-more {
    justify-self: start;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(0, 100, 250, 0.16);
    border-radius: 8px;
    background: rgba(235, 245, 255, 0.72);
    color: var(--semi-color-primary);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.archive-organize-template-more:hover {
    border-color: rgba(0, 100, 250, 0.32);
    background: rgba(225, 240, 255, 0.88);
}

.archive-organize-template-drawer {
    position: fixed;
    inset: 0;
    z-index: 94;
    display: flex;
    justify-content: flex-end;
    background: rgba(15, 23, 42, 0.36);
    pointer-events: auto;
}

.archive-organize-template-drawer-backdrop {
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.archive-organize-template-drawer-backdrop:hover,
.archive-organize-template-drawer-backdrop:focus,
.archive-organize-template-drawer-backdrop:active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.archive-organize-template-drawer-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(460px, calc(100vw - 48px));
    height: 100vh;
    border-left: 1px solid rgba(139, 152, 168, 0.2);
    background: #ffffff;
    box-shadow: -24px 0 48px rgba(15, 23, 42, 0.18);
    animation: archive-organize-token-drawer-in 180ms ease-out;
}

.archive-organize-template-drawer-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 20px;
    border-bottom: 1px solid rgba(139, 152, 168, 0.16);
}

.archive-organize-template-drawer-head h2 {
    margin: 2px 0 6px;
    color: var(--semi-color-text-0);
    font-size: 20px;
    font-weight: 860;
}

.archive-organize-template-drawer-body {
    min-height: 0;
    overflow: auto;
    padding: 14px 20px 20px;
}

@keyframes archive-organize-token-drawer-in {
    from {
        transform: translateX(28px);
        opacity: 0.72;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.archive-organize-transfer-modal {
    z-index: 86;
}

.archive-organize-transfer-card {
    width: min(1120px, calc(100vw - 80px));
    max-height: min(86vh, calc(100vh - 64px));
}

.archive-organize-transfer-map {
    display: grid;
    gap: 10px;
}

.archive-organize-transfer-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) 96px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(139, 152, 168, 0.24);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.archive-organize-transfer-row.is-linked {
    border-color: rgba(0, 150, 136, 0.26);
    background: linear-gradient(180deg, #ffffff 0%, rgba(240, 253, 250, 0.76) 100%);
}

.archive-organize-transfer-row.is-draggable {
    cursor: default;
}

.archive-organize-transfer-row.is-dragging {
    opacity: 0.58;
}

.archive-organize-transfer-row.is-drop-target {
    border-color: rgba(0, 100, 250, 0.42);
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.1);
}

.archive-organize-transfer-drag-handle,
.archive-organize-transfer-drag-spacer {
    display: block;
    width: 18px;
    height: 42px;
    border-radius: 8px;
}

.archive-organize-transfer-drag-handle {
    cursor: grab;
    background-image: radial-gradient(circle, rgba(100, 116, 139, 0.86) 1.4px, transparent 1.6px);
    background-position: 3px 4px;
    background-size: 6px 7px;
    opacity: 0.72;
}

.archive-organize-transfer-row:active .archive-organize-transfer-drag-handle {
    cursor: grabbing;
}

.archive-organize-transfer-node {
    display: grid;
    min-width: 0;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(139, 152, 168, 0.18);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.82);
}

.archive-organize-transfer-node span {
    color: var(--semi-color-text-2);
    font-size: 11px;
    font-weight: 780;
    text-transform: uppercase;
}

.archive-organize-transfer-node strong,
.archive-organize-transfer-node em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-transfer-node strong {
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 840;
}

.archive-organize-transfer-node em {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-style: normal;
    font-weight: 680;
}

.archive-organize-link-rail {
    position: relative;
    height: 32px;
    overflow: hidden;
}

.archive-organize-link-rail::before,
.archive-organize-link-rail span {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    content: "";
    transform: translateY(-50%);
}

.archive-organize-link-rail::before {
    background: rgba(139, 152, 168, 0.28);
}

.archive-organize-link-rail span {
    background:
        linear-gradient(90deg, rgba(0, 100, 250, 0), rgba(0, 100, 250, 0.88), rgba(0, 150, 136, 0.9), rgba(0, 100, 250, 0));
    background-size: 180% 100%;
    opacity: 0.24;
}

.archive-organize-link-rail.is-linked span {
    opacity: 1;
    animation: archive-organize-link-flow 1.8s linear infinite;
    box-shadow: 0 0 16px rgba(0, 150, 136, 0.28);
}

.archive-organize-link-rail.is-linked::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid rgba(0, 150, 136, 0.9);
    border-right: 2px solid rgba(0, 150, 136, 0.9);
    content: "";
    transform: translateY(-50%) rotate(45deg);
}

.archive-organize-transfer-row-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.archive-organize-transfer-row-actions .button-compact {
    min-height: 34px;
}

.archive-organize-target-picker-modal {
    z-index: 92;
}

.archive-organize-target-picker-card {
    width: min(920px, calc(100vw - 96px));
    max-height: min(86vh, calc(100vh - 64px));
}

.archive-organize-target-current,
.archive-organize-target-create,
.archive-organize-target-selected,
.archive-organize-target-dir-row {
    border: 1px solid rgba(139, 152, 168, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.archive-organize-target-current {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
}

.archive-organize-target-current > div:first-child,
.archive-organize-target-selected {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.archive-organize-target-current span,
.archive-organize-target-selected span {
    color: var(--semi-color-text-2);
    font-size: 11px;
    font-weight: 820;
    text-transform: uppercase;
}

.archive-organize-target-current strong,
.archive-organize-target-selected strong {
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 840;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-target-current em,
.archive-organize-target-selected em {
    overflow: hidden;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-style: normal;
    font-weight: 680;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-target-current-actions,
.archive-organize-target-dir-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.archive-organize-target-create {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    margin-top: 10px;
    padding: 12px;
}

.archive-organize-target-selected {
    grid-template-columns: auto minmax(140px, 0.7fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 12px;
}

.archive-organize-target-selected code,
.archive-organize-target-dir-row code {
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--semi-color-text-1);
    font-size: 11px;
    font-weight: 760;
}

.archive-organize-target-dir-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.archive-organize-target-dir-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 9px;
}

.archive-organize-target-dir-row.is-selected {
    border-color: rgba(0, 100, 250, 0.36);
    background: rgba(235, 245, 255, 0.86);
}

.archive-organize-target-dir-main {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.archive-organize-target-dir-main span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.archive-organize-target-dir-main strong,
.archive-organize-target-dir-main em {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-target-dir-main strong {
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 820;
}

.archive-organize-target-dir-main em {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-style: normal;
    font-weight: 680;
}

@keyframes archive-organize-link-flow {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 180% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .archive-organize-link-rail.is-linked span {
        animation: none;
    }

    .archive-organize-template-drawer-panel {
        animation: none;
    }
}

.archive-organize-rule-head {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.archive-organize-rule-head strong {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 820;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-rule-head span {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 720;
}

.archive-organize-rule-path {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    color: var(--semi-color-primary);
    font-size: 13px;
    font-weight: 780;
}

.archive-organize-rule-path .transfer-action-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.archive-organize-rule-path span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-rule-grid {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px 10px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
}

.archive-organize-rule-grid span {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 700;
}

.archive-organize-rule-grid strong {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-1);
    font-size: 12px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-rule-footnote {
    margin: 12px 0 0;
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 650;
}

.archive-organize-rule-modal {
    z-index: 85;
}

.archive-organize-rule-editor-panel {
    width: min(960px, calc(100vw - 96px));
    max-height: min(84vh, calc(100vh - 72px));
    --archive-organize-control-height: 44px;
}

.archive-organize-rule-editor-grid,
.archive-organize-rule-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.archive-organize-rule-picker-grid {
    margin-top: 14px;
}

.archive-organize-rule-editor-footer {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: var(--semi-color-bg-2);
}

.archive-organize-rule-editor-footer .toggle-line,
.archive-organize-rule-editor-grid .toggle-line {
    display: inline-flex;
    width: fit-content;
    min-height: 36px;
    align-items: center;
    gap: 8px;
}

.archive-organize-rule-editor-panel .field > input:not([type="checkbox"]),
.archive-organize-rule-editor-panel .field > select,
.archive-organize-rule-editor-panel .archive-organize-picker-trigger {
    min-height: var(--archive-organize-control-height);
}

.archive-organize-builtin-editor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-organize-rule-global-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 170, 51, 0.28);
    border-radius: 8px;
    background: rgba(255, 246, 230, 0.72);
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.archive-organize-picker-trigger {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--semi-color-text-0);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    cursor: pointer;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.archive-organize-picker-trigger:hover,
.archive-organize-picker-trigger:focus-visible {
    border-color: rgba(0, 100, 250, 0.34);
    box-shadow: 0 8px 20px rgba(0, 100, 250, 0.08);
    outline: 0;
}

.archive-organize-picker-trigger span {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.archive-organize-picker-trigger strong {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 740;
    line-height: 1.3;
}

.archive-organize-picker-trigger em {
    min-width: 0;
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-picker-trigger i {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 100, 250, 0.1);
    color: var(--semi-color-primary);
    font-size: 12px;
    font-style: normal;
    font-weight: 760;
}

.archive-organize-picker-modal {
    position: fixed;
    inset: 0;
    z-index: 92;
    display: grid;
    place-items: center;
    padding: 24px;
}

.archive-organize-picker-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
}

.archive-organize-picker-backdrop:hover,
.archive-organize-picker-backdrop:focus-visible {
    border-color: transparent;
    background: rgba(15, 23, 42, 0.46);
    box-shadow: none;
    outline: 0;
    transform: none;
}

.archive-organize-picker-card {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(720px, calc(100vw - 48px));
    max-height: min(76vh, calc(100vh - 48px));
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--semi-color-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

.archive-organize-picker-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--semi-color-border);
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.archive-organize-picker-head h3,
.archive-organize-picker-head p {
    margin: 0;
}

.archive-organize-picker-head > div:first-child {
    min-width: 0;
}

.archive-organize-picker-head h3 {
    color: var(--semi-color-text-0);
    font-size: 20px;
    line-height: 1.25;
}

.archive-organize-picker-head p:not(.eyebrow) {
    margin-top: 6px;
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
}

.archive-organize-picker-head-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.archive-organize-picker-head-actions > span {
    flex: 0 0 auto;
    padding: 4px 10px;
    border: 1px solid rgba(0, 100, 250, 0.18);
    border-radius: 999px;
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
    font-size: 13px;
    font-weight: 760;
}

.archive-organize-picker-body {
    min-height: 0;
    overflow: auto;
    padding: 16px 18px;
    background: #f8fafc;
}

.archive-organize-picker-grid {
    gap: 8px;
}

.archive-organize-picker-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--semi-color-border);
    background: #fff;
}

.archive-organize-option-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-content: flex-start;
}

.archive-organize-option {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid rgba(139, 152, 168, 0.34);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.96);
    color: var(--semi-color-text-0);
    cursor: pointer;
    transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.archive-organize-option::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 999px;
    background: rgba(139, 152, 168, 0.34);
    content: "";
}

.archive-organize-option:hover {
    border-color: rgba(0, 100, 250, 0.34);
    background: rgba(0, 100, 250, 0.06);
}

.archive-organize-option.is-selected,
.archive-organize-option:has(input:checked) {
    border-color: rgba(0, 100, 250, 0.45);
    background: rgba(0, 100, 250, 0.1);
    color: var(--semi-color-primary);
    box-shadow: inset 0 0 0 1px rgba(0, 100, 250, 0.08);
}

.archive-organize-option.is-selected::before,
.archive-organize-option:has(input:checked)::before {
    background: var(--semi-color-primary);
    box-shadow: 0 0 0 3px rgba(0, 100, 250, 0.14);
}

.archive-organize-option:has(input:focus-visible) {
    outline: 3px solid rgba(0, 100, 250, 0.18);
    outline-offset: 2px;
}

.archive-organize-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.archive-organize-option span {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-organize-option em {
    color: currentColor;
    font-size: 11px;
    font-style: normal;
    font-weight: 760;
    opacity: 0.62;
}

@media (max-width: 900px) {
    .archive-organize-post-transfer-panel {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .archive-organize-transfer-summary-wrap,
    .archive-organize-transfer-action-wrap {
        padding-top: 0;
    }

    .archive-organize-transfer-action-wrap {
        width: 100%;
        justify-self: stretch;
    }

    .archive-organize-transfer-template-panel {
        grid-template-columns: 1fr;
    }

    .archive-organize-transfer-row {
        grid-template-columns: 20px minmax(0, 1fr) 58px minmax(0, 1fr);
    }

    .archive-organize-transfer-row-actions {
        grid-column: 2 / -1;
        justify-content: flex-end;
    }

    .archive-organize-target-current,
    .archive-organize-target-create,
    .archive-organize-target-selected,
    .archive-organize-target-dir-row {
        grid-template-columns: 1fr;
    }

    .archive-organize-target-current-actions,
    .archive-organize-target-dir-actions {
        justify-content: flex-start;
    }

    .archive-organize-rule-editor-grid,
    .archive-organize-rule-picker-grid {
        grid-template-columns: 1fr;
    }

    .transfer-history-row.archive-organize-transfer-history-row {
        grid-template-columns: 1fr;
    }

    .archive-organize-transfer-chain {
        grid-template-columns: 1fr;
    }

    .archive-organize-transfer-chain-step + .archive-organize-transfer-chain-step::before {
        top: -10px;
        left: 20px;
        width: 1px;
        height: 10px;
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.22), rgba(16, 185, 129, 0.7));
    }
}

@media (max-width: 1200px) {
    body.archive-organize-template-drawer-open .mobile-dock {
        display: none !important;
    }

    .archive-organize-template-token-list.is-preview {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .archive-organize-template-token {
        grid-template-columns: 1fr;
    }

    .archive-organize-template-token.has-action {
        grid-template-columns: minmax(0, 1fr) 32px;
    }

    .archive-organize-template-token.has-action .archive-organize-template-token-label,
    .archive-organize-template-token.has-action .archive-organize-template-token-meta {
        grid-column: 1;
    }

    .archive-organize-template-token-add {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .archive-organize-template-token-meta {
        justify-content: flex-start;
        text-align: left;
    }

    .archive-organize-template-drawer {
        inset: 0;
        z-index: 1850;
        align-items: flex-end;
        justify-content: center;
    }

    .archive-organize-template-drawer-panel {
        width: min(calc(100vw - 24px), 680px);
        height: auto;
        max-height: min(82vh, calc(100vh - 24px));
        border-left: 0;
        border-top: 1px solid rgba(139, 152, 168, 0.2);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -24px 48px rgba(15, 23, 42, 0.2);
        animation-name: archive-organize-token-sheet-in;
    }
}

@media (max-width: 640px) {
    .archive-organize-rule-list {
        grid-template-columns: 1fr;
    }

    .archive-organize-rule-editor-panel {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .archive-organize-transfer-card {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .archive-organize-target-picker-card {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .archive-organize-template-drawer-panel {
        width: 100%;
        max-height: min(86vh, calc(100vh - 16px));
    }

    .archive-organize-template-drawer-head {
        padding: 16px;
    }

    .archive-organize-template-drawer-body {
        padding: 12px 16px 18px;
    }

    .archive-organize-transfer-row {
        grid-template-columns: 18px minmax(0, 1fr) 42px minmax(0, 1fr);
        gap: 7px;
        padding: 8px;
    }

    .archive-organize-transfer-node {
        padding: 8px;
    }

    .archive-organize-picker-modal {
        padding: 16px;
    }

    .archive-organize-picker-card {
        width: calc(100vw - 32px);
        max-height: calc(100vh - 32px);
    }

    .archive-organize-picker-head,
    .archive-organize-picker-foot {
        padding-left: 14px;
        padding-right: 14px;
    }

    .archive-organize-picker-body {
        padding: 14px;
    }
}

@keyframes archive-organize-token-sheet-in {
    from {
        transform: translateY(28px);
        opacity: 0.72;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1320px) {
    .transfer-history-row.transfer-record-row,
    .transfer-history-row.transfer-organize-row {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: start;
    }

    .transfer-history-row.transfer-record-row > .transfer-record-info-column,
    .transfer-history-row.transfer-record-row > .transfer-record-actions,
    .transfer-history-row.transfer-organize-row > .transfer-record-info-column,
    .transfer-history-row.transfer-organize-row > .transfer-history-actions {
        grid-column: 2 / -1;
    }

    .transfer-record-info-column {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 12px 20px;
    }

    .transfer-record-field-value {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .transfer-record-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .transfer-organize-row .transfer-history-actions {
        justify-content: flex-start;
    }
}

.transfer-record-detail-button {
    border-color: rgba(0, 100, 250, 0.22);
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
}

.transfer-record-detail-button:hover {
    border-color: rgba(0, 100, 250, 0.34);
    background: rgba(0, 100, 250, 0.14);
}

.transfer-record-cancel-button {
    border-color: rgba(255, 147, 0, 0.28);
    background: rgba(255, 147, 0, 0.1);
    color: rgb(177, 93, 0);
}

.transfer-record-cancel-button:hover {
    border-color: rgba(255, 147, 0, 0.4);
    background: rgba(255, 147, 0, 0.16);
}

.transfer-record-delete-button {
    border-color: rgba(225, 67, 86, 0.22);
    background: rgba(225, 67, 86, 0.08);
    color: rgb(204, 42, 62);
}

.transfer-record-delete-button:hover {
    border-color: rgba(225, 67, 86, 0.34);
    background: rgba(225, 67, 86, 0.14);
}

.transfer-record-resource-list {
    display: grid;
    gap: 10px;
}

.transfer-record-resource-tabs {
    display: flex;
    gap: 8px;
    margin: 8px 0 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.transfer-record-resource-tabs button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 7px 10px;
    background: var(--semi-color-bg-0);
    color: var(--semi-color-text-1);
    font-size: 13px;
    font-weight: 780;
    cursor: pointer;
}

.transfer-record-resource-tabs button.active {
    border-color: rgba(0, 100, 250, 0.28);
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
}

.transfer-record-resource-tabs em {
    color: var(--semi-color-text-2);
    font-style: normal;
    font-size: 12px;
}

.transfer-record-resource-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 12px;
    background: var(--semi-color-bg-1);
}

.transfer-record-resource-head {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
}

.transfer-record-resource-head::-webkit-details-marker {
    display: none;
}

.transfer-record-resource-head strong {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-record-resource-head > span:not(.transfer-source-icon) {
    overflow: hidden;
    max-width: 45%;
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-record-resource-body {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--semi-color-border);
    padding-top: 10px;
}

.transfer-record-resource-lines {
    display: grid;
    gap: 8px;
}

.transfer-record-resource-line {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.transfer-record-resource-line span {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 720;
    line-height: 1.55;
}

.transfer-record-resource-line strong {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.55;
}

.transfer-record-bundle-details {
    border-top: 1px solid var(--semi-color-border);
    padding-top: 10px;
}

.transfer-record-bundle-details summary {
    width: fit-content;
    cursor: pointer;
    color: var(--semi-color-primary);
    font-size: 13px;
    font-weight: 780;
}

.transfer-record-bundle-list {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.transfer-record-bundle-child {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(0, 100, 250, 0.12);
    border-radius: 8px;
    padding: 9px 10px;
    background: rgba(0, 100, 250, 0.04);
}

.transfer-record-bundle-child strong,
.transfer-record-bundle-child span,
.transfer-record-bundle-child code {
    min-width: 0;
    overflow-wrap: anywhere;
}

.transfer-record-bundle-child strong {
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 720;
    line-height: 1.45;
}

.transfer-record-bundle-child span {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 650;
}

.transfer-record-resource-actions {
    display: flex;
    justify-content: flex-end;
}

.transfer-record-bundle-child code {
    color: var(--semi-color-primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
}

.transfer-records-workspace {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.transfer-records-side-tabs {
    display: grid;
    gap: 8px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 8px;
    background: var(--semi-color-bg-1);
}

.transfer-records-side-tab {
    display: grid;
    gap: 4px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px;
    background: transparent;
    color: var(--semi-color-text-2);
    text-align: left;
    cursor: pointer;
}

.transfer-records-side-tab strong {
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 900;
}

.transfer-records-side-tab span {
    font-size: 12px;
    font-weight: 760;
    line-height: 1.35;
}

.transfer-records-side-tab.active {
    border-color: rgba(0, 100, 250, 0.24);
    background: rgba(0, 100, 250, 0.08);
    color: var(--semi-color-primary);
    box-shadow: inset 3px 0 0 var(--semi-color-primary);
}

.transfer-records-pane {
    min-width: 0;
}

.transfer-subscription-progress-panel {
    display: grid;
    gap: 14px;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 18px;
    background: var(--semi-color-bg-1);
}

.transfer-subscription-progress-status-tabs {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--semi-color-border);
    border-radius: 999px;
    background: var(--semi-color-bg-0);
}

.transfer-subscription-progress-status-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    padding: 0 14px;
    background: transparent;
    color: var(--semi-color-text-2);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.transfer-subscription-progress-status-tab strong {
    color: inherit;
    font-size: 13px;
}

.transfer-subscription-progress-status-tab.active {
    background: rgba(0, 100, 250, 0.1);
    color: var(--semi-color-primary);
    box-shadow: inset 0 0 0 1px rgba(0, 100, 250, 0.16);
}

.transfer-subscription-progress-list {
    display: grid;
    gap: 12px;
}

.transfer-subscription-progress-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border-top: 1px solid var(--semi-color-border);
    padding-top: 14px;
}

.transfer-subscription-progress-card:first-child {
    border-top: 0;
    padding-top: 0;
}

.transfer-subscription-progress-shell {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.transfer-subscription-progress-menu {
    display: grid;
    max-height: 520px;
    overflow: auto;
    gap: 8px;
    padding-right: 4px;
}

.transfer-subscription-progress-menu-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 9px;
    background: var(--semi-color-bg-2);
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.transfer-subscription-progress-menu-item.active {
    border-color: rgba(0, 100, 250, 0.28);
    background: rgba(0, 100, 250, 0.08);
    box-shadow: inset 3px 0 0 var(--semi-color-primary);
}

.transfer-subscription-progress-menu-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.transfer-subscription-progress-menu-meta {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 800;
}

.transfer-subscription-progress-detail {
    min-width: 0;
    border: 1px solid var(--semi-color-border);
    border-radius: 8px;
    padding: 14px;
    background: var(--semi-color-bg-0);
}

.transfer-subscription-progress-cover {
    overflow: hidden;
    width: 54px;
    aspect-ratio: 2 / 3;
    border-radius: 6px;
    background: var(--semi-color-bg-2);
}

.transfer-subscription-progress-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.transfer-subscription-progress-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.transfer-subscription-progress-detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.transfer-subscription-progress-title {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.transfer-subscription-progress-title strong {
    min-width: 0;
    color: var(--semi-color-text-0);
    font-size: 14px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transfer-subscription-progress-title span {
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 800;
}

.transfer-subscription-progress-actions {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.transfer-subscription-season-progress-list {
    display: grid;
    gap: 10px;
}

.transfer-subscription-upgrade-note {
    display: grid;
    gap: 7px;
    border: 1px solid rgba(250, 173, 20, 0.32);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(250, 173, 20, 0.08);
    color: var(--semi-color-text-1);
}

.transfer-subscription-upgrade-note.is-satisfied {
    border-color: rgba(46, 167, 106, 0.28);
    background: rgba(46, 167, 106, 0.08);
}

.transfer-subscription-movie-card-trigger {
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.transfer-subscription-movie-card-trigger:hover {
    border-color: rgba(0, 100, 250, 0.32);
    box-shadow: 0 10px 24px rgba(22, 38, 78, 0.08);
}

.transfer-subscription-movie-card-trigger:focus-visible {
    outline: 2px solid rgba(0, 100, 250, 0.35);
    outline-offset: 3px;
}

.transfer-subscription-upgrade-section {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.transfer-subscription-upgrade-section > strong {
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 900;
}

.transfer-subscription-upgrade-row {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.transfer-subscription-upgrade-row strong {
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 900;
}

.transfer-subscription-upgrade-row span {
    min-width: 0;
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.transfer-subscription-upgrade-source {
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 760;
    overflow-wrap: anywhere;
}

button.transfer-subscription-upgrade-source {
    display: block;
    width: fit-content;
    max-width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--semi-color-text-2);
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

button.transfer-subscription-upgrade-source:hover {
    color: var(--semi-color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

button.transfer-subscription-upgrade-source:focus-visible {
    border-radius: 4px;
    outline: 2px solid rgba(0, 100, 250, 0.32);
    outline-offset: 3px;
}

.transfer-subscription-upgrade-note p {
    margin: 0;
    color: var(--semi-color-text-1);
    font-size: 12px;
    font-weight: 760;
    line-height: 1.55;
}

.transfer-resource-spec-lines {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.transfer-resource-spec-line {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px;
    color: var(--semi-color-text-0);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

.transfer-resource-spec-label {
    flex: 0 0 auto;
    color: var(--semi-color-text-1);
    font-weight: 860;
}

.transfer-resource-spec-value {
    min-width: 0;
    max-width: 100%;
    border-radius: 6px;
    outline: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.transfer-resource-spec-value:hover,
.transfer-resource-spec-value:focus-visible {
    color: var(--semi-color-primary);
}

.transfer-resource-spec-empty {
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 800;
}

.transfer-resource-spec-meta-card {
    align-content: start;
}

.transfer-resource-spec-meta-card .transfer-resource-spec-lines {
    margin-top: 6px;
}

.transfer-resource-spec-meta-card .transfer-resource-spec-line {
    font-size: 14px;
}

.transfer-subscription-season-progress {
    display: grid;
    gap: 8px;
}

.transfer-subscription-season-progress-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--semi-color-text-2);
    font-size: 13px;
    font-weight: 850;
}

.transfer-subscription-season-progress-head strong {
    color: var(--semi-color-text-0);
}

.transfer-subscription-episode-progress-grid {
    --transfer-subscription-episode-size: 42px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--transfer-subscription-episode-size), var(--transfer-subscription-episode-size)));
    gap: 8px;
}

.transfer-subscription-episode-progress-grid.is-collapsed {
    max-height: calc(var(--transfer-subscription-episode-size) * 3 + 16px);
    overflow: hidden;
}

.transfer-subscription-episode-dot {
    display: inline-flex;
    width: var(--transfer-subscription-episode-size);
    height: var(--transfer-subscription-episode-size);
    align-items: center;
    justify-content: center;
    border: 1px solid var(--semi-color-border);
    border-radius: 7px;
    background: var(--semi-color-bg-2);
    color: var(--semi-color-text-2);
    font-size: 12px;
    font-weight: 900;
}

.transfer-subscription-episode-dot.saved {
    border-color: rgba(46, 167, 106, 0.34);
    background: rgba(46, 167, 106, 0.12);
    color: rgb(35, 134, 84);
    opacity: 1;
}

.transfer-subscription-episode-dot.saved:not(:disabled) {
    cursor: pointer;
}

.transfer-subscription-episode-dot.saved:not(:disabled):hover {
    border-color: rgba(46, 167, 106, 0.52);
    background: rgba(46, 167, 106, 0.18);
}

.transfer-subscription-episode-dot.missing {
    opacity: 0.72;
}

.transfer-subscription-season-toggle {
    justify-self: start;
}

.transfer-subscription-episode-meta strong {
    white-space: pre-wrap;
}

.transfer-history-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--semi-color-border);
}

.transfer-history-cover {
    overflow: hidden;
    width: 48px;
    aspect-ratio: 2 / 3;
    border-radius: 6px;
    background: var(--semi-color-bg-2);
}

.transfer-history-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.transfer-detail-empty {
    padding: 18px;
    border: 1px dashed var(--semi-color-border);
    border-radius: 8px;
    color: var(--semi-color-text-2);
}

@media (max-width: 900px) {
    .transfer-discover-showcase {
        min-height: clamp(250px, 65vw, 360px);
        padding: 14px;
        overflow: hidden;
        scrollbar-width: none;
    }

    .transfer-discover-showcase::-webkit-scrollbar {
        display: none;
    }

    .transfer-showcase-rail {
        min-height: clamp(220px, 58vw, 330px);
        perspective: 800px;
    }

    .transfer-showcase-card {
        --transfer-showcase-width: 112px;
        max-width: 82vw;
    }

    .transfer-showcase-card.is-featured {
        --transfer-showcase-width: min(76vw, 320px);
        --transfer-showcase-ratio: 16 / 10;
        --transfer-showcase-transform: translateX(0) translateZ(34px) scale(1);
    }

    .transfer-showcase-card.is-left {
        --transfer-showcase-transform: translateX(clamp(-170px, -38vw, -118px)) rotateY(18deg) translateZ(-14px) scale(0.92);
    }

    .transfer-showcase-card.is-right {
        --transfer-showcase-transform: translateX(clamp(118px, 38vw, 170px)) rotateY(-18deg) translateZ(-14px) scale(0.92);
    }

    .transfer-showcase-card.is-far-left {
        --transfer-showcase-transform: translateX(clamp(-280px, -58vw, -210px)) rotateY(26deg) translateZ(-74px) scale(0.82);
        opacity: 0.54;
    }

    .transfer-showcase-card.is-far-right {
        --transfer-showcase-transform: translateX(clamp(210px, 58vw, 280px)) rotateY(-26deg) translateZ(-74px) scale(0.82);
        opacity: 0.54;
    }

    .transfer-showcase-card.is-hidden-left {
        --transfer-showcase-transform: translateX(clamp(-360px, -74vw, -280px)) rotateY(30deg) translateZ(-120px) scale(0.74);
    }

    .transfer-showcase-card.is-hidden-right {
        --transfer-showcase-transform: translateX(clamp(280px, 74vw, 360px)) rotateY(-30deg) translateZ(-120px) scale(0.74);
    }

    .transfer-showcase-card:hover {
        transform: translate(-50%, -50%) var(--transfer-showcase-transform) translateY(-3px);
    }

    .transfer-showcase-card.is-featured .transfer-showcase-copy {
        padding: 38px 86px 14px 16px;
    }

    .transfer-showcase-card.is-featured .transfer-showcase-copy strong {
        font-size: clamp(16px, 4.4vw, 21px);
    }

    .tg-poster-grid.transfer-poster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .transfer-config-grid,
    .transfer-detail-hero,
    .transfer-season-row,
    .transfer-history-row {
        grid-template-columns: 1fr;
    }

    .transfer-config-panel {
        min-height: auto;
        padding: 18px;
    }

    .transfer-target-config-grid {
        grid-template-columns: 1fr;
    }

    .transfer-config-head,
    .transfer-settings-panel .transfer-config-head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .transfer-add-channel-button {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .transfer-subscription-grid {
        grid-template-columns: 1fr;
    }

    .transfer-channel-row {
        grid-template-columns: 52px minmax(0, 1fr);
        min-height: auto;
        gap: 12px;
        padding: 12px;
    }

    .transfer-channel-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .transfer-channel-icon {
        width: 52px;
        height: 52px;
    }

    .transfer-records-workspace {
        grid-template-columns: 1fr;
    }

    .transfer-subscription-progress-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .transfer-subscription-progress-cover {
        width: 48px;
    }

    .transfer-subscription-progress-detail-head {
        align-items: flex-start;
    }

    .transfer-subscription-progress-actions {
        justify-content: flex-start;
    }

    .transfer-subscription-episode-progress-grid {
        --transfer-subscription-episode-size: 38px;
    }

    .transfer-records-side-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .transfer-history-row.transfer-record-row,
    .transfer-history-row.transfer-organize-row,
    .transfer-history-row.transfer-transfer-row {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .transfer-history-row.transfer-record-row > div:nth-child(2),
    .transfer-history-row.transfer-organize-row > div:nth-child(2),
    .transfer-history-row.transfer-transfer-row > div:nth-child(2) {
        grid-column: 2;
    }

    .transfer-history-row.transfer-transfer-row > .transfer-transfer-footer {
        grid-column: 1 / -1;
    }

    .transfer-history-row.transfer-record-row > .transfer-record-info-column,
    .transfer-history-row.transfer-record-row > .transfer-record-actions,
    .transfer-history-row.transfer-organize-row > .transfer-record-info-column {
        grid-column: 1 / -1;
    }

    .transfer-record-info-column {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .transfer-record-row .transfer-history-title,
    .transfer-organize-row .transfer-history-title,
    .transfer-transfer-row .transfer-history-title {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .transfer-record-row .transfer-history-meta,
    .transfer-transfer-row .transfer-history-meta {
        align-items: center;
    }

    .transfer-record-row .transfer-history-meta::before,
    .transfer-transfer-row .transfer-history-meta::before {
        content: "";
        order: 4;
        flex: 0 0 100%;
        height: 0;
    }

    .transfer-record-row .transfer-record-kind-tag,
    .transfer-transfer-row .transfer-link-type-tag {
        order: 1;
    }

    .transfer-record-row .transfer-record-status-tag,
    .transfer-transfer-row .transfer-record-status-tag {
        order: 2;
    }

    .transfer-record-row .transfer-record-target-season-label,
    .transfer-transfer-row .transfer-history-episode-label {
        order: 3;
        flex: 0 0 auto;
        font-weight: 850;
    }

    .transfer-record-row .transfer-source-tag,
    .transfer-transfer-row .transfer-source-tag {
        order: 5;
        flex: 0 1 auto;
        width: fit-content;
        max-width: 100%;
    }

    .transfer-record-row .transfer-history-resource-title:not(.transfer-record-target-season-label),
    .transfer-transfer-row .transfer-history-resource-title:not(.transfer-history-episode-label) {
        order: 6;
        flex: 1 0 100%;
    }

    .transfer-organize-file-action-row {
        align-items: center;
    }

    .transfer-organize-file-count-field {
        flex-direction: row;
        gap: 8px;
    }

    .transfer-organize-inline-actions {
        display: inline-flex;
        justify-content: flex-end;
    }

    .transfer-organize-details > summary {
        gap: 8px;
    }

    .transfer-subscription-season {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .transfer-subscription-season-overview {
        display: none;
    }

    .transfer-subscription-season-popover {
        padding: 10px;
        border-radius: 9px;
    }

    .transfer-subscription-season-popover-grid {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    }

    .transfer-history-tools,
    .transfer-history-footer,
    .transfer-history-actions {
        justify-content: flex-start;
    }

    .transfer-history-row.transfer-transfer-row {
        row-gap: 10px;
    }

    .transfer-transfer-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        border: 1px solid rgba(139, 152, 168, 0.16);
        border-radius: 10px;
        padding: 9px 10px;
        background: rgba(248, 250, 252, 0.76);
    }

    .transfer-transfer-side-meta {
        min-width: 0;
        gap: 2px;
    }

    .transfer-transfer-trigger {
        font-size: 13px;
        line-height: 18px;
    }

    .transfer-transfer-time {
        font-size: 12px;
        line-height: 17px;
    }

    .transfer-transfer-actions {
        justify-content: flex-end;
        gap: 7px;
    }

    .transfer-transfer-actions .button-compact {
        min-height: 34px;
        border-radius: 999px;
        padding: 0 12px;
        font-size: 13px;
    }

    .transfer-filter-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 8px;
    }

    .transfer-filter-options {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 6px;
    }

    .transfer-filter-chip {
        width: 100%;
        min-width: 0;
        min-height: 30px;
        justify-content: center;
        padding: 5px 6px;
        font-size: 13px;
        white-space: nowrap;
        word-break: keep-all;
    }

    .transfer-filter-row[data-filter-key="year"] .transfer-filter-options {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }

    .transfer-filter-chip.has-sort-arrow {
        gap: 5px;
    }

    .transfer-filter-chip .transfer-sort-arrow {
        width: 16px;
        height: 16px;
    }

    .transfer-filter-chip.icon-only {
        width: 46px;
        justify-self: start;
    }

    .view-mount[data-view="transferCenter"] .page-toolbar .toolbar-inline {
        display: flex;
        width: 100%;
        justify-content: flex-end;
    }

    .view-mount[data-view="transferCenter"] .page-toolbar .toolbar-inline > button {
        width: auto;
        flex: 0 0 auto;
    }

    .workspace:has(.view-mount[data-view="transferCenter"]) .workspace-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }

    .panel-head > .transfer-panel-tools {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end;
    }

    .transfer-panel-tools {
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .transfer-detail-panel .detail-modal-body {
        padding: 16px;
    }

    .transfer-detail-panel .card-section {
        padding: 16px;
    }

    .transfer-detail-panel .transfer-detail-hero-section {
        padding: 0;
    }

    .transfer-detail-hero {
        gap: 16px;
        min-height: 0;
        padding: 22px;
    }

    .transfer-detail-poster {
        width: min(180px, 100%);
    }

    .transfer-expandable-search.open {
        width: min(100%, 340px);
    }

    .transfer-pagination {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .transfer-pagination > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .transfer-pagination > button {
        flex: 0 0 auto;
    }

    .transfer-inline-search {
        width: 100%;
    }
}

.archive-organize-transfer-conflict-panel {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.archive-organize-transfer-history-row .archive-organize-transfer-history-cover {
    width: clamp(52px, 5vw, 72px);
    justify-self: center;
}

.transfer-history-cover-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(0, 100, 250, 0.92), rgba(18, 184, 134, 0.86));
    color: #fff;
    font-size: 20px;
    font-weight: 860;
    line-height: 1;
}

.archive-organize-transfer-history-row .archive-organize-transfer-chain-step strong {
    display: -webkit-box;
    max-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1200px) {
    .transfer-history-row.archive-organize-transfer-history-row {
        grid-template-columns: clamp(54px, 9vw, 72px) minmax(0, 1fr);
        align-items: start;
    }

    .transfer-history-row.archive-organize-transfer-history-row > div:nth-child(2) {
        grid-column: 2;
    }

    .transfer-history-row.archive-organize-transfer-history-row > .archive-organize-transfer-chain,
    .transfer-history-row.archive-organize-transfer-history-row > .transfer-history-actions {
        grid-column: 1 / -1;
    }

    .transfer-history-row.archive-organize-transfer-history-row > .archive-organize-transfer-chain {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
}

@media (max-width: 900px) {
    .archive-organize-transfer-conflict-panel {
        grid-template-columns: 1fr;
    }

    .archive-organize-transfer-history-filters {
        margin: 8px 0 14px;
        padding: 4px 0 0;
    }

    .archive-organize-transfer-history-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .archive-organize-transfer-history-filter .transfer-filter-chip {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .transfer-history-row.archive-organize-transfer-history-row {
        grid-template-columns: clamp(56px, 18vw, 76px) minmax(0, 1fr) !important;
        gap: 12px;
    }

    .transfer-history-row.archive-organize-transfer-history-row > .archive-organize-transfer-chain,
    .transfer-history-row.archive-organize-transfer-history-row > .transfer-history-actions {
        grid-column: 1 / -1;
    }

    .transfer-history-row.archive-organize-transfer-history-row > .archive-organize-transfer-chain {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .archive-organize-transfer-history-row .archive-organize-transfer-chain-step {
        min-width: 0;
    }

    .archive-organize-transfer-history-row .archive-organize-transfer-chain-step + .archive-organize-transfer-chain-step::before {
        top: -12px;
        left: 24px;
        width: 1px;
        height: 12px;
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.22), rgba(16, 185, 129, 0.7));
    }
}
