/* Timeline page */

@media (max-width: 820px) {

        body[data-page="timeline"] #dockConnect { display: grid !important; }

        .tl-island {
            top: 8px;
            max-width: calc(100vw - 16px);
        }
}



.tl-island {
    position: absolute;
    z-index: 24;
    top: 16px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: min(92vw, 420px);
    padding: 8px 16px 8px 10px;
    border: 1px solid #2a2a2e;
    border-radius: 999px;
    background: #111113;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: #e4e4e7;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
    pointer-events: none;
    user-select: none;
    transform: translateX(-50%) translateY(-8px) scale(0.88);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s linear;
}


.tl-island.is-on {
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}


.tl-island.is-connect { pointer-events: auto; cursor: pointer; }


.tl-island.is-connect.is-on { pointer-events: auto; }


.tl-island.is-out {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px) scale(0.88);
}


.tl-island[hidden] { display: none !important; }


.tl-island-ico {
    display: none;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 50%;
    background: #18181b;
    color: #a1a1aa;
}


.tl-island .tl-island-ico-hint,
.tl-island.is-on .tl-island-ico-hint { display: grid; }


.tl-island.is-connect .tl-island-ico-hint { display: none; }


.tl-island.is-connect .tl-island-ico-link { display: grid; }


.tl-island.is-connect .tl-island-ico,
.tl-island.is-connect.is-on .tl-island-ico {
    animation: tl-island-pulse 1.8s ease-in-out infinite;
}


.tl-island-ico svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.tl-island-text {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0.08s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}


.tl-island.is-on .tl-island-text {
    opacity: 1;
    transform: none;
}


.tl-island.is-out .tl-island-text {
    opacity: 0;
    transform: translateY(-3px);
    transition-delay: 0s;
}


@keyframes tl-island-pulse {
    0%, 100% { color: #a1a1aa; }
    50% { color: #e4e4e7; }
}


html.reduce-motion .tl-island,
html.reduce-motion .tl-island-text {
    transition: none;
    animation: none;
}


html.reduce-motion .tl-island.is-on .tl-island-ico { animation: none; }



.ev-grid .work-empty { grid-column: 1 / -1; }



.page-timeline { background: #09090b; }


.page-timeline .work-top { display: none; }



.tl-view {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    background-color: #09090b;
    background-image: radial-gradient(circle at 1px 1px, rgba(250, 250, 250, 0.055) 1px, transparent 0);
    background-size: 22px 22px;
    background-position: 0 0;
}


.tl-view:active,
.tl-view.is-grabbing,
.tl-view.is-grabbing .tl-node { cursor: grabbing !important; }


.tl-view.is-connect { cursor: crosshair; }


.tl-view.is-aim,
.tl-view.is-aim * { cursor: none !important; }


.tl-stage {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 8000px;
    height: 2400px;
    transform-origin: 0 0;
}


#timelineList {
    position: relative;
    z-index: 1;
}


#timelineAxis {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 16;
    overflow: visible;
    pointer-events: none;
}


.tl-follow {
    position: absolute;
    z-index: 17;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: #fafafa;
    box-shadow: 0 0 0 6px rgba(250, 250, 250, 0.16), 0 0 22px rgba(250, 250, 250, 0.45);
    pointer-events: none;
    animation: tl-pulse 1.15s ease-in-out infinite;
}


.tl-follow[hidden] { display: none !important; }


html.reduce-motion .tl-follow { animation: none; }


.tl-empty {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 8px;
    text-align: center;
    pointer-events: none;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    padding: 108px 24px 24px;
}


.tl-view.is-aim .tl-empty { opacity: 0; }


.tl-empty strong { color: var(--text); font-size: 16px; }


.tl-empty[hidden] { display: none !important; }


.tl-empty .work-ghost { pointer-events: auto; }



.tl-node {
    position: absolute;
    width: 272px;
    z-index: 2;
    cursor: default;
    user-select: none;
    overflow: visible;
}


.tl-node.is-on { z-index: 4; }


.tl-node.is-spawn { animation: tl-grow 0.56s cubic-bezier(0.22, 1, 0.36, 1) both; }


.tl-node.is-spawn[data-side="-1"] { transform-origin: 50% 100%; }


.tl-node.is-spawn[data-side="1"] { transform-origin: 50% 0%; }


html.reduce-motion .tl-node.is-spawn { animation: none; }


.tl-node.is-out {
    pointer-events: none;
    animation: tl-shrink 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}


.tl-stem.is-out,
.tl-card-link.is-out,
.tl-pin.is-out,
.tl-pin-date.is-out {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    animation: tl-stem-shrink 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}


@keyframes tl-stem-shrink {
    from { stroke-dashoffset: 0; opacity: 1; }
    to { stroke-dashoffset: 1; opacity: 0; }
}


.tl-pin-date.is-out {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
}


html.reduce-motion .tl-stem.is-out,
html.reduce-motion .tl-card-link.is-out,
html.reduce-motion .tl-pin.is-out,
html.reduce-motion .tl-pin-date.is-out {
    animation: none;
    opacity: 0;
}


.tl-node.is-out[data-side="-1"] { transform-origin: 50% 100%; }


.tl-node.is-out[data-side="1"] { transform-origin: 50% 0%; }


html.reduce-motion .tl-node.is-out { animation: none; opacity: 0; }


.tl-card {
    position: relative;
    z-index: 2;
    border: 1px solid #27272a;
    border-radius: 12px;
    background: #0c0c0e;
    padding: 0 0 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}


.tl-node.is-on .tl-card,
.tl-node.is-from .tl-card {
    border-color: #3f3f46;
}


.tl-node.is-moving .tl-card,
.tl-node.is-resizing .tl-card {
    border-color: #52525b;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}


.tl-node.is-resizing { z-index: 5; }


.tl-rs {
    position: absolute;
    inset: -8px;
    z-index: 1;
    pointer-events: none;
}


.tl-rs i {
    position: absolute;
    pointer-events: auto;
}


.tl-rs [data-tl-rs="n"],
.tl-rs [data-tl-rs="s"] { left: 12px; right: 12px; height: 8px; cursor: ns-resize; }


.tl-rs [data-tl-rs="n"] { top: 0; }


.tl-rs [data-tl-rs="s"] { bottom: 0; }


.tl-rs [data-tl-rs="e"],
.tl-rs [data-tl-rs="w"] { top: 12px; bottom: 12px; width: 8px; cursor: ew-resize; }


.tl-rs [data-tl-rs="e"] { right: 0; }


.tl-rs [data-tl-rs="w"] { left: 0; }


.tl-rs [data-tl-rs="ne"],
.tl-rs [data-tl-rs="nw"],
.tl-rs [data-tl-rs="se"],
.tl-rs [data-tl-rs="sw"] { width: 14px; height: 14px; }


.tl-rs [data-tl-rs="ne"] { top: 0; right: 0; cursor: nesw-resize; }


.tl-rs [data-tl-rs="nw"] { top: 0; left: 0; cursor: nwse-resize; }


.tl-rs [data-tl-rs="se"] { right: 0; bottom: 0; cursor: nwse-resize; }


.tl-rs [data-tl-rs="sw"] { left: 0; bottom: 0; cursor: nesw-resize; }


.tl-rs [data-tl-rs="se"]::after {
    content: '';
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #52525b;
    border-bottom: 1.5px solid #52525b;
    opacity: 0.55;
}


.tl-node.is-on .tl-rs [data-tl-rs="se"]::after,
.tl-node:hover .tl-rs [data-tl-rs="se"]::after { opacity: 0.95; border-color: #a1a1aa; }


.tl-node.is-mini .tl-rs [data-tl-rs="n"],
.tl-node.is-mini .tl-rs [data-tl-rs="s"],
.tl-node.is-mini .tl-rs [data-tl-rs="ne"],
.tl-node.is-mini .tl-rs [data-tl-rs="nw"],
.tl-node.is-mini .tl-rs [data-tl-rs="se"],
.tl-node.is-mini .tl-rs [data-tl-rs="sw"] { display: none; }


.tl-node.is-locked .tl-rs { display: none; }


.tl-node.is-sized .tl-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


.tl-node.is-sized .tl-extra {
    flex: 1;
    min-height: 0;
    overflow: auto;
}


.tl-node.is-sized .tl-extra-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}


.tl-node.is-sized .tl-note {
    flex: 1 1 auto;
    min-height: 48px;
    height: auto !important;
    max-height: none;
    resize: none;
}


.tl-node.is-sized .tl-attach,
.tl-node.is-sized .tl-media { flex: none; }


.tl-node.is-mini {
    height: auto !important;
}


.tl-node.is-mini .tl-card {
    height: auto !important;
    padding-bottom: 8px;
}


.tl-node.is-mini .tl-extra {
    flex: 0 0 0 !important;
    grid-template-rows: 0fr;
    max-height: 0;
    margin: 0;
    padding: 0 12px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}


.tl-node.is-mini .tl-extra-inner {
    height: 0 !important;
    min-height: 0 !important;
}


.tl-node.is-mini .tl-title,
.tl-node.is-mini .tl-card [data-tl-field="title"] { margin-bottom: 0; }


.tl-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 6px 4px 6px 10px;
    min-height: 36px;
    background: #1c1c20;
    border-bottom: 1px solid #27272a;
    cursor: grab;
}


.tl-bar button { cursor: pointer; }


.tl-node.is-moving .tl-bar { cursor: grabbing; }


.tl-idx {
    flex: none;
    color: #71717a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
}


.tl-when {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}


.tl-date {
    flex: none;
    height: 22px;
    line-height: 22px;
    color: #52525b;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: -0.01em;
    white-space: nowrap;
}


.tl-date.has-date { color: #a1a1aa; }


.tl-time {
    flex: none;
    height: 22px;
    line-height: 22px;
    color: #52525b;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}


.tl-time.has-time { color: #a1a1aa; }



.cal-pop {
    position: fixed;
    z-index: 70;
    width: 292px;
    padding: 12px 12px 10px;
    border: 1px solid #27272a;
    border-radius: 16px;
    background: #111113;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62);
    color: var(--text);
    user-select: none;
    transform-origin: top left;
    animation: setPickIn 0.16s ease;
}


.cal-pop.is-up { transform-origin: bottom left; animation-name: setPickInUp; }


.cal-pop[hidden] { display: none !important; }


html.reduce-motion .cal-pop,
html.reduce-motion .cal-pop.is-up { animation: none; }


.time-pop { width: 248px; }


.tl-info-pop {
    z-index: 90;
    width: 268px;
    padding: 12px;
    pointer-events: auto;
}


.tl-info-head {
    margin: 0 0 10px;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -0.03em;
}


.tl-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}


.tl-info-grid button {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    min-height: 64px;
    padding: 10px;
    border: 1px solid #27272a;
    border-radius: 10px;
    background: #1c1c20;
    color: #e4e4e7;
    font: inherit;
    font-size: 12px;
    font-weight: 550;
    letter-spacing: -0.02em;
    text-align: left;
    cursor: pointer;
}


.tl-info-grid button:hover {
    background: #27272a;
    border-color: #3f3f46;
    color: #fafafa;
}


.tl-bar-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 0;
    margin-left: auto;
    pointer-events: none;
}


.tl-bar-actions .tl-ico { pointer-events: auto; }


.tl-ico {
    appearance: none;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #71717a;
    display: grid;
    place-content: center;
    cursor: pointer;
}


.tl-ico svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.tl-ico[data-tl-mini] svg {
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}


.tl-node.is-mini .tl-ico[data-tl-mini] svg { transform: rotate(90deg); }


.tl-mini-v {
    transform-box: fill-box;
    transform-origin: center;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}


.tl-node.is-mini .tl-mini-v {
    transform: scaleY(1);
    opacity: 1;
}


.tl-ico[data-tl-mini]:active { transform: scale(0.9); }


.tl-ico:hover { background: #27272a; color: #e4e4e7; }


.tl-ico.is-on,
.tl-node.is-from .tl-ico[data-connect-event] {
    background: #27272a;
    color: #e4e4e7;
}


.tl-node { cursor: default; }


.tl-node.is-locked { cursor: default; }


.tl-node.is-moving .tl-bar { cursor: grabbing; }


.tl-node button,
.tl-node input,
.tl-node [contenteditable="true"] { cursor: auto; }


.tl-node button { cursor: pointer; }


.tl-ico.danger:hover { color: #fca5a5; background: rgba(127, 29, 29, 0.35); }


.tl-title,
.tl-card [data-tl-field="title"] {
    display: block;
    width: calc(100% - 24px);
    height: 28px;
    margin: 0 12px 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    outline: none;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.03em;
    box-sizing: border-box;
    resize: none;
    overflow: hidden;
}


.tl-title::placeholder,
.tl-card [data-tl-field="title"]::placeholder { color: #52525b; font-weight: 500; }


.tl-when, .tl-ents, .muted { color: var(--muted); font-size: 12px; }


.tl-note {
    position: relative;
    min-height: 76px;
    max-height: 480px;
    height: 76px;
    margin: 0 0 10px;
    padding: 8px 10px 14px;
    border: 1px solid #27272a;
    border-radius: 8px;
    background: #09090b;
    color: #d4d4d8;
    font-size: 12.5px;
    line-height: 1.5;
    outline: none;
    overflow: auto;
    resize: vertical;
    white-space: pre-wrap;
    word-break: break-word;
    box-sizing: border-box;
    cursor: text;
}


.tl-note.is-blank:before,
.tl-note:empty:before {
    content: attr(data-ph);
    position: absolute;
    left: 10px;
    top: 8px;
    color: #52525b;
    pointer-events: none;
}


.tl-note:focus { border-color: #3f3f46; }


.tl-facts {
    display: grid;
    gap: 7px;
    margin: 0 0 10px;
}


.tl-bit {
    display: grid;
    gap: 3px;
    margin: 0 0 10px;
    overflow: hidden;
    transform-origin: 50% 0;
    transition: height 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, margin 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}


.tl-facts .tl-bit { margin: 0; }


.tl-bit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-height: 16px;
}


.tl-bit-bar > span {
    color: #71717a;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.tl-bit-acts {
    display: flex;
    align-items: center;
    gap: 1px;
    flex: none;
}


.tl-bit-btn {
    appearance: none;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #71717a;
    display: grid;
    place-content: center;
    cursor: pointer;
}


.tl-bit-btn svg {
    width: 9px;
    height: 9px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}


.tl-bit.is-fold .tl-bit-btn[data-tl-fold] svg { transform: rotate(90deg); }


.tl-bit.is-fold .tl-bit-btn[data-tl-fold] .tl-mini-v { opacity: 0; }


.tl-bit-body {
    display: grid;
    grid-template-rows: 1fr;
    min-height: 0;
    opacity: 1;
    transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}


.tl-bit-body-inner {
    overflow: hidden;
    min-height: 0;
}


.tl-bit.is-fold .tl-bit-body {
    grid-template-rows: 0fr;
    opacity: 0;
    pointer-events: none;
}


.tl-bit.is-out {
    opacity: 0;
    margin-bottom: 0;
    transform: translateY(-8px);
}


.tl-bit-btn:hover { color: #fafafa; background: #27272a; }


.tl-bit-btn.is-del:hover { color: #fca5a5; background: #27272a; }


.tl-bit .tl-note,
.tl-bit .tl-media,
.tl-bit .tl-attach { margin-bottom: 0; }


.tl-bit input {
    width: 100%;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #27272a;
    border-radius: 8px;
    background: #09090b;
    color: #e4e4e7;
    font: inherit;
    font-size: 12px;
    box-sizing: border-box;
}


.tl-bit input::placeholder { color: #52525b; }


.tl-bit input:focus {
    outline: none;
    border-color: #3f3f46;
}


.tl-info-clock {
    appearance: none;
    width: 100%;
    height: 30px;
    padding: 0 8px;
    border: 1px solid #27272a;
    border-radius: 8px;
    background: #09090b;
    color: #52525b;
    font: inherit;
    font-size: 12px;
    text-align: left;
    box-sizing: border-box;
    cursor: pointer;
}


.tl-info-clock.has-time { color: #e4e4e7; }


.tl-info-clock:hover { border-color: #3f3f46; }


.tl-node.is-sized .tl-facts { flex: none; }


.tl-card p, .tl-card [data-tl-field="body"] {
    font-size: 12.5px;
    line-height: 1.5;
    color: #a1a1aa;
}


.tl-href {
    display: none;
}


.tl-attach {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin: 0 0 10px;
    padding: 10px;
    border: 1.5px dashed #3f3f46;
    border-radius: 10px;
    background: rgba(250, 250, 250, 0.06);
    box-sizing: border-box;
}


.tl-attach-hit {
    appearance: none;
    width: 100%;
    min-height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #71717a;
    font: inherit;
    font-size: 12px;
    font-weight: 550;
    letter-spacing: -0.01em;
    cursor: pointer;
}


.tl-attach-hit:hover { color: #e4e4e7; }


.tl-attach-url {
    width: 100%;
    height: 30px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: #09090b;
    color: var(--text);
    font: inherit;
    font-size: 11.5px;
}


.tl-attach-url::placeholder { color: #52525b; }


.tl-attach-url:focus { outline: 1px solid #3f3f46; }


.tl-media {
    position: relative;
    margin: 0 0 10px;
}


.tl-media-x {
    appearance: none;
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(9, 9, 11, 0.78);
    color: #e4e4e7;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}


.tl-media-x:hover { background: #18181b; }


.tl-slot {
    display: none;
}


.tl-thumb {
    width: 100%;
    height: 104px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0;
    display: block;
    cursor: zoom-in;
}


.tl-acts {
    position: relative;
    z-index: 5;
    display: grid;
    gap: 6px;
    margin-top: 2px;
    pointer-events: auto;
}


.tl-add-info {
    appearance: none;
    width: 100%;
    height: 32px;
    padding: 0 8px;
    border: 1px dashed #3f3f46;
    border-radius: 8px;
    background: transparent;
    color: #a1a1aa;
    font: inherit;
    font-size: 12px;
    font-weight: 550;
    letter-spacing: -0.01em;
    cursor: pointer;
}


.tl-add-info:hover {
    color: #fafafa;
    border-color: #71717a;
}


.tl-more {
    position: relative;
    margin: 0 0 10px;
}


.tl-more .tl-note { margin-bottom: 0; }


.tl-more-x {
    appearance: none;
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(9, 9, 11, 0.78);
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}


.tl-more-x:hover { color: #fafafa; background: #18181b; }


.tl-extra {
    display: grid;
    grid-template-rows: 1fr;
    padding: 0 12px;
    opacity: 1;
    transition: grid-template-rows 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}


.tl-extra-inner {
    overflow: hidden;
    min-height: 0;
}


.tl-node.is-mini .tl-extra {
    grid-template-rows: 0fr;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}


.tl-card [data-tl-field="title"] {
    transition: margin 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}


.tl-node.is-mini .tl-card [data-tl-field="title"] { margin-bottom: 0; }


html.reduce-motion .tl-extra,
html.reduce-motion .tl-mini-v,
html.reduce-motion .tl-ico[data-tl-mini] svg,
html.reduce-motion .tl-bit-btn svg,
html.reduce-motion .tl-bit,
html.reduce-motion .tl-bit-body,
html.reduce-motion .tl-card [data-tl-field="title"] { transition: none; }


.tl-acts button {
    appearance: none;
    height: 26px;
    padding: 0 8px;
    border: 0;
    border-radius: 6px;
    background: #18181b;
    color: #a1a1aa;
    font-size: 11px;
    cursor: pointer;
}


.tl-acts button:hover { color: #e4e4e7; }


.tl-acts .tl-add-info {
    height: 32px;
    border: 1px dashed #3f3f46;
    background: transparent;
    font-size: 12px;
    font-weight: 550;
    letter-spacing: -0.01em;
}


.tl-acts .tl-add-info:hover {
    color: #fafafa;
    border-color: #71717a;
    background: transparent;
}


.tl-acts .danger { color: #fca5a5; }



.ev-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 14px;
}


.ev-search {
    height: 36px;
    min-width: 160px;
    flex: 1 1 180px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #09090b;
    color: var(--text);
    font: inherit;
    font-size: 13px;
}


.ev-filter {
    appearance: none;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #141416;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
}


.ev-filter.is-on {
    border-color: #155e75;
    color: var(--accent);
    background: #083344;
}


.ev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
    gap: 12px;
}


.ev-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0c0c0e;
    padding: 0;
    min-width: 0;
    overflow: hidden;
}


.ev-media {
    width: 100%;
    height: 132px;
    object-fit: cover;
    background: #111113;
    display: block;
}


.ev-file {
    display: grid;
    place-items: center;
    height: 72px;
    border-bottom: 1px solid var(--line);
    color: var(--faint);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.ev-body { padding: 12px 14px 12px; flex: 1; display: flex; flex-direction: column; }


.ev-kind {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}


.ev-card h3 { font-size: 14px; font-weight: 620; letter-spacing: -0.02em; margin-bottom: 6px; }


.ev-card p, .ev-card a { font-size: 13px; line-height: 1.45; }


.ev-card a { color: var(--accent); word-break: break-all; }


.ev-date { color: var(--muted); font-size: 12px; margin-bottom: 6px; }


.ev-card .tl-acts a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #141416;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
}


.ev-card .tl-acts a:hover { background: #1c1c20; }

@media (max-width: 820px) {

        .tl-node { width: 176px; }
}
