/* =====================
   TIMELINE SCREEN
   ===================== */
.timeline-list {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.timeline-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tl-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tl-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.tl-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tl-meta {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.tl-meta strong {
    font-weight: 700;
}

.tl-body {
    border-radius: var(--r-card);
    overflow: hidden;
    background: var(--bg-soft);
}

/* Tape in timeline */
.tl-tape-wrap {
    padding: 28px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110px;
}

.tape-strip-tl {
    background-image: url('../Component/masking tape.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 20px 40px;
    transform: rotate(-1.5deg);
    font-family: var(--font-hand);
    font-size: 1.2rem;
    line-height: 1.2;
    max-width: 88%;
    text-align: center;
    box-shadow: none;
    border: none;
}

/* CD in timeline */
.tl-cd-wrap {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    min-height: auto;
}

.cd-large-tl {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #ff9de2 0deg, #c77dff 60deg, #4895ef 120deg,
            #4cc9f0 180deg, #80ffdb 240deg, #ffbe0b 300deg, #ff9de2 360deg);
    box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cd-large-tl::before {
    content: '';
    position: absolute;
    width: 26%;
    height: 26%;
    border-radius: 50%;
    background: radial-gradient(circle, #f5f5f5, #e2e2e2);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
}

.cd-tl-overlay {
    position: absolute;
    font-family: var(--font-hand);
    font-size: 0.78rem;
    text-align: center;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.55);
    z-index: 2;
    padding: 0 8px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* QA in timeline */
.tl-qa-wrap {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tl-qa-wrap .item-qa {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #f0f0f0;
}

.tl-folder-wrap {
    min-height: 190px;
    padding: 28px 18px;
    background: #fffafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tl-folder-preview {
    width: 150px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tl-folder-preview.skin-pocket {
    width: 126px;
    height: 126px;
}

.tl-folder-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
}

.tl-folder-label {
    max-width: 86%;
    padding: 8px 14px;
    border: 1.5px solid #dac8e8;
    border-radius: 999px;
    background: #f8f5fb;
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.1;
    text-align: center;
}

/* Sticky in timeline */
.tl-sticky-wrap {
    padding: 24px;
    display: flex;
    justify-content: center;
}

.sticky-in-tl {
    position: relative;
    width: 140px;
    height: 140px;
    padding: 18px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-hand);
    font-size: 1.15rem;
    line-height: 1.4;
    box-shadow: none;
    border: none;
    transform: rotate(-1deg);
    background: transparent;
    z-index: 1;
}

.sticky-in-tl::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../Component/sticky note.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
    transition: filter var(--t);
}

.sticky-in-tl.yellow::before {
    filter: none;
}

.sticky-in-tl.pink::before {
    filter: hue-rotate(-65deg) saturate(1.4) brightness(1.05);
}

.sticky-in-tl.blue::before {
    filter: hue-rotate(145deg) saturate(1.4) brightness(1.05);
}

/* Timeline Actions (Like Button) */
.tl-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 16px 16px;
    background: var(--bg-card);
    border-radius: 0 0 16px 16px;
}

.btn-tl-like {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.btn-tl-like svg {
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-tl-like:hover {
    background: #f3f4f6;
    color: #374151;
}

.btn-tl-like:active svg {
    transform: scale(0.85);
}

.btn-tl-like.liked {
    color: #e11d48;
}

.btn-tl-like.liked svg {
    fill: currentColor;
    stroke: currentColor;
}
