.hero-date {
    color: #616b88;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

body.moonlit-night .hero-date {
    color: #aeb9d8;
}


.scroll-overlay {
    position: absolute;
    inset: 8px 8px 8px auto;
    z-index: 1;
    width: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 500ms cubic-bezier(0.4, 0, 0.25, 1);
    touch-action: none;
}

.scroll-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 450ms cubic-bezier(0.35, 0, 0.25, 1) 80ms;
}

.scroll-thumb {
    position: absolute;
    top: 0;
    left: 2px;
    right: 2px;
    border-radius: 999px;
    background: #8993b6;
}

body.moonlit-night .scroll-thumb {
    background: #9faad2;
}


.hero-chara-card {
    background-image: radial-gradient(ellipse 36% 105% at 86% 60%, rgba(161, 169, 240, 0.22), transparent 78%);
}

body.moonlit-night .hero-chara-card {
    background-image: radial-gradient(ellipse 36% 105% at 86% 60%, rgba(126, 141, 220, 0.24), transparent 78%);
}


.task-drag-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
    transform-origin: center;
}

.task-reorder-list {
    position: relative;
    touch-action: pan-y;
}

.drag-grip {
    min-width: 19px;
    min-height: 23px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #848db3;
    border: 0;
    border-radius: 4px;
    background: transparent;
    touch-action: none;
    cursor: grab;
    font-size: 12px;
    letter-spacing: -1.4px;
}
.drag-grip:hover, .drag-grip:focus-visible { color: #5c67bb; }
.drag-grip:focus-visible { outline: 2px solid #8490e3; }
body.moonlit-night .drag-grip { color: #aeb9dc; }
.is-dragging .drag-grip { cursor: grabbing; }

.task-reorder-list.is-dragging > [data-id] {
    animation: none;
    transition: transform 360ms cubic-bezier(0.22, 1.28, 0.36, 1);
    transform: translate3d(0, var(--drag-shift, 0px), 0);
    will-change: transform;
}
.task-reorder-list > .is-drag-source {
    opacity: 0;
    pointer-events: none;
}

.drag-slot-glow {
    position: absolute;
    border-radius: 13px;
    border: 1.5px dashed rgba(127, 124, 230, 0.56);
    background: rgba(127, 124, 230, 0.08);
    box-shadow: 0 0 11px rgba(127, 124, 230, 0.2), inset 0 0 9px rgba(127, 124, 230, 0.10);
    pointer-events: none;
    transition: transform 360ms cubic-bezier(0.22, 1.28, 0.36, 1);
}

.floating-drag-card {
    position: fixed;
    z-index: 9998;
    pointer-events: none;
    will-change: transform;
}
.floating-drag-card * { pointer-events: none; }
.floating-drag-tilt, .floating-drag-lift {
    width: 100%;
    height: 100%;
}
.floating-drag-lift {
    border-radius: 13px;
    box-shadow: 0 20px 40px -8px rgba(102, 99, 214, 0.32);
}
.floating-drag-layout { transform-origin: left top; }
.floating-drag-layout > .task-row {
    width: 100%;
    height: 100%;
    margin: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    animation: none;
    transition: none;
}

.jelly-pulse > .task-drag-inner {
    animation: jellySqueezePulse 360ms cubic-bezier(0.22, 1.25, 0.36, 1);
}
@keyframes jellySqueezePulse {
    0%, 100% { transform: scale(1, 1); }
    38% { transform: scale(1.018, 0.945); }
    72% { transform: scale(0.992, 1.022); }
}
.task-row.drop-landed {
    animation: dropLandRipple 550ms cubic-bezier(0.22, 1, 0.36, 1);
    animation-delay: 0ms !important;
}
@keyframes dropLandRipple {
    from { box-shadow: 0 0 0 0 rgba(127, 124, 230, 0.42); }
    to { box-shadow: 0 0 0 12px rgba(127, 124, 230, 0); }
}
