/* ── Page layout ─────────────────────────────────────────────────────────── */

.ul-main {
    padding: 3rem 0 5rem;
}

.ul-page-header {
    padding-bottom: 2.4rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.14);
    margin-bottom: 2.8rem;
}

.ul-page-header h1 {
    margin-top: 0.6rem;
    font-size: clamp(2.2rem, 6vw, 4rem);
    color: var(--accent);
    text-shadow: 0 0 24px rgba(0, 255, 255, 0.24);
}

.ul-page-sub {
    color: var(--muted);
    margin: 0.8rem 0 0;
    max-width: 56ch;
}

/* ── Feed ────────────────────────────────────────────────────────────────── */

.ul-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Entry card ──────────────────────────────────────────────────────────── */

.ul-entry {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.08);
    animation: ul-fadein 0.35s ease both;
}

@keyframes ul-fadein {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ul-entry-date {
    padding-top: 0.18rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    opacity: 0.6;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.8;
}

.ul-entry-content {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ul-entry-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
}

.ul-entry-body {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

.ul-entry-bullets {
    list-style: none;
    padding: 0;
    margin: 0.2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.ul-entry-bullets li {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
    padding-left: 1.2em;
    position: relative;
}

.ul-entry-bullets li::before {
    content: "//";
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.5;
    font-size: 0.78em;
    top: 0.14em;
}

/* ── Skeleton loader ─────────────────────────────────────────────────────── */

.ul-skeleton {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.08);
}

.ul-skel-line {
    height: 14px;
    border-radius: 3px;
    background: linear-gradient(
        90deg,
        rgba(0, 255, 255, 0.04) 25%,
        rgba(0, 255, 255, 0.1) 50%,
        rgba(0, 255, 255, 0.04) 75%
    );
    background-size: 200% 100%;
    animation: ul-shimmer 1.4s ease infinite;
    margin-bottom: 0.6rem;
}

.ul-skel-line.short { width: 80px; }
.ul-skel-line.title { height: 20px; width: 55%; margin-bottom: 0.8rem; }
.ul-skel-line.w80   { width: 80%; }
.ul-skel-line.w60   { width: 60%; }
.ul-skel-line.w70   { width: 70%; }

@keyframes ul-shimmer {
    0%   { background-position:  200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Load more area ──────────────────────────────────────────────────────── */

.ul-load-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 0 1rem;
    gap: 1rem;
}

.ul-load-btn {
    min-width: 160px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
}

.ul-all-loaded {
    font-size: 0.8rem;
    color: var(--muted);
    opacity: 0.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
    padding: 1.8rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .ul-entry,
    .ul-skeleton {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .ul-entry-date {
        font-size: 0.72rem;
        opacity: 0.5;
    }
}
