#feed-insert .sub {
    color: var(--muted);
}

.insert-actions .btn {
    color: var(--text);
}

.insert-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 16px;
}

.u-drop {
    position: relative;
    border: 1px dashed #d1d5db;
    border-radius: calc(var(--radius) - 2px);
    background: #fafafa;
    overflow: hidden;
    min-height: 520px;
    transition: all 0.2s;
}

.u-drop:hover {
    background: #f9fafb;
}

.u-drop.dragover {
    border-color: var(--brand);
    background: #fff5f0;
    border-width: 2px;
}

.u-file {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.u-drop-inner {
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 10px;
    padding: 22px;
}

.u-title {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.u-sub {
    color: var(--muted);
    font-size: 13px;
}

.u-btn {
    height: 44px;
    padding: 0 18px;
}

.u-preview {
    position: absolute;
    inset: 0;
    background: #000;
}

.u-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.92;
}

.u-add {
    position: absolute;
    left: 12px;
    bottom: 12px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    z-index: 5;
}

.u-remove {
    position: absolute;
    right: 12px;
    bottom: 12px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    z-index: 5;
    transition: all 0.2s;
}

.u-remove:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: rgba(239, 68, 68, 0.5);
}

.u-thumb-list {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 60px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    z-index: 4;
}

.u-thumb-list::-webkit-scrollbar {
    height: 6px;
}

.u-thumb-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.u-thumb-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.u-thumb-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.u-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.15);
    flex: 0 0 auto;
    cursor: grab;
    position: relative;
    background: #111;
    transition: all 0.2s;
}

.u-thumb:active {
    cursor: grabbing;
}

.u-thumb:hover {
    border-color: rgba(255, 107, 0, 0.6);
    transform: scale(1.05);
}

.u-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    display: block;
}

.u-thumb.is-active {
    border-color: rgba(255,107,0,.9);
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.3);
}

.u-thumb .u-order {
    position: absolute;
    left: 6px;
    top: 6px;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-weight: 900;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.u-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.u-label span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.u-help {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
}

.u-input, .u-textarea, .u-select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
    transition: all 0.2s;
}

.u-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.u-input:focus, .u-textarea:focus, .u-select:focus {
    border-color: rgba(255, 107, 0, .45);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, .12);
}

.u-row {
    display: flex;
    gap: 12px;
    align-items: end;
}

.u-inline {
    flex: 1;
}

.u-submit-row {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.u-note {
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafafa;
    padding: 12px 14px;
}

.u-note-title {
    font-weight: 900;
    margin-bottom: 8px;
}

.u-note-list {
    margin: 0;
    padding-left: 18px;
    color: #374151;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .insert-card {
        grid-template-columns: 1fr;
    }
    .u-drop {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    .u-row {
        flex-direction: column;
        align-items: stretch;
    }
    .u-submit-row {
        justify-content: stretch;
    }
    .u-submit-row .btn {
        width: 100%;
    }
    .u-thumb {
        width: 56px;
        height: 56px;
    }
}

.u-thumb-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
    padding: 0;
    z-index: 10;
}

.u-thumb:hover .u-thumb-delete {
    opacity: 1;
}

.u-thumb-delete:hover {
    background: #ef4444;
    transform: scale(1.15);
}