@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800;900&display=swap');

/* ── TEMA DEĞİŞKENLERİ ── */
.lb {
    --lb-bg: #1a1f2e;
    --lb-text: rgba(255, 255, 255, 0.95);
    --lb-text-2: rgba(255, 255, 255, 0.65);
    --lb-text-3: rgba(255, 255, 255, 0.42);
    --lb-text-4: rgba(255, 255, 255, 0.22);
    --lb-border: rgba(255, 255, 255, 0.08);
    --lb-border-strong: rgba(255, 255, 255, 0.16);
    --lb-line: rgba(255, 255, 255, 0.28);
    --lb-card-hover: rgba(255, 255, 255, 0.035);
    --lb-accent: #c9986a;
    --lb-live: #d63d2a;
    --lb-blue: #8fb8ee;
}

html[data-theme="light"] .lb,
[data-theme="light"] .lb {
    --lb-bg: #ffffff;
    --lb-text: rgba(18, 24, 38, 0.95);
    --lb-text-2: rgba(18, 24, 38, 0.68);
    --lb-text-3: rgba(18, 24, 38, 0.46);
    --lb-text-4: rgba(18, 24, 38, 0.24);
    --lb-border: rgba(0, 0, 0, 0.08);
    --lb-border-strong: rgba(0, 0, 0, 0.16);
    --lb-line: rgba(0, 0, 0, 0.22);
    --lb-card-hover: rgba(0, 0, 0, 0.03);
    --lb-accent: #a06b3a;
    --lb-live: #c43020;
    --lb-blue: #2563c4;
}

/* ── SHELL ── */
.lb-shell {
    max-width: 780px;
    margin: 32px auto 56px;
    padding: 0 18px;
}

.lb {
    font-family: 'Sora', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: transparent;
    color: var(--lb-text);
}

/* ── BREADCRUMB ── */
.lb-back {
    padding: 10px 0;
    border-bottom: 1px solid var(--lb-border);
    display: flex;
    align-items: center;
    gap: 6px;
}
.lb-back-link {
    font-size: 11.5px;
    color: var(--lb-text-3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.15s;
}
.lb-back-link:hover { color: var(--lb-text); }
.lb-back-arrow { font-size: 14px; line-height: 1; }

/* ── TOP BANNER ── */
.lb-topbar {
    border-bottom: 1px solid var(--lb-border);
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.lb-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lb-live);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 4px 10px 4px 8px;
    border-radius: 3px;
    flex-shrink: 0;
    text-transform: uppercase;
    line-height: 1;
}
.lb-badge-ended { background: var(--lb-text-4); color: var(--lb-text); }
.lb-badge-scheduled { background: rgba(201, 152, 106, 0.22); color: var(--lb-accent); }
.lb-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: lb-blink 1.4s ease infinite;
}
@keyframes lb-blink { 0%, 100% { opacity: 1; } 55% { opacity: 0.25; } }
.lb-event {
    font-size: 13px;
    font-weight: 600;
    color: var(--lb-text-2);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lb-cnt {
    font-size: 11px;
    color: var(--lb-text-3);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.lb-cnt-num {
    background: var(--lb-border);
    color: var(--lb-text);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
}

/* ── ANA BAŞLIK ── */
.lb-head { padding: 36px 0 26px; }
.lb-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.018em;
    color: var(--lb-text);
    margin: 0 auto 16px;
    max-width: 620px;
    text-align: left;
}
.lb-spot {
    font-size: 16px;
    line-height: 1.6;
    color: var(--lb-text-2);
    margin: 0 auto;
    font-weight: 500;
    max-width: 620px;
    text-align: left;
}
.lb-spot-with-divider::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--lb-border-strong);
    margin: 16px 0;
    border-radius: 1px;
}
.lb-spot-divider { display: none; }
.lb-intro {
    font-size: 14px;
    line-height: 1.7;
    color: var(--lb-text-3);
    margin: 0 auto;
    max-width: 620px;
    text-align: left;
}
.lb-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 22px auto 0;
    max-width: 620px;
    flex-wrap: wrap;
}
.lb-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--lb-border);
    flex-shrink: 0;
    display: block;
    border: 2px solid var(--lb-bg);
}
.lb-av-1 { margin-left: 0; }
.lb-av-2 { margin-left: -10px; }
.lb-av-more {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lb-border-strong);
    color: var(--lb-text-2);
    margin-left: -10px;
    border: 2px solid var(--lb-bg);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lb-meta-text { font-size: 12.5px; color: var(--lb-text-2); font-weight: 500; }
.lb-meta-sep { color: var(--lb-text-4); }
.lb-meta-date { font-size: 12px; color: var(--lb-text-3); }

/* ── KAPAK ── */
.lb-cover-wrap { padding: 0 0 28px; }
.lb-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--lb-border);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 1px solid var(--lb-border);
}
.lb-cover-video {
    background: #000 !important;
    padding: 0;
    overflow: hidden;
}
.lb-cover-video iframe,
.lb-cover-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.lb-cover-placeholder {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(120, 80, 200, 0.16) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(60, 140, 200, 0.18) 0%, transparent 55%),
        linear-gradient(135deg, var(--lb-border), var(--lb-border-strong));
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-cover-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lb-text-4);
    font-weight: 600;
}

/* ── COUNTDOWN (Scheduled) ── */
.lb-countdown {
    margin: 28px 0;
    padding: 24px 18px;
    border: 1px solid var(--lb-border);
    border-radius: 10px;
    text-align: center;
}
.lb-countdown-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lb-accent);
    font-weight: 700;
    margin-bottom: 16px;
}
.lb-countdown-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
}
.lb-cd-cell {
    border: 1px solid var(--lb-border);
    border-radius: 8px;
    padding: 14px 20px;
    min-width: 76px;
}
.lb-cd-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--lb-text);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.lb-cd-lbl {
    display: block;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lb-text-3);
    margin-top: 6px;
    font-weight: 600;
}

/* ── FEED ── */
.lb-feed-wrap { padding: 24px 0 32px; }
.lb-section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lb-text-3);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.lb-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--lb-border);
}

.lb-new {
    width: 100%;
    margin: 0 0 18px;
    background: rgba(143, 184, 238, 0.1);
    border: 1px solid rgba(143, 184, 238, 0.32);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--lb-blue);
    cursor: pointer;
    transition: all 0.2s;
}
.lb-new:hover { background: rgba(143, 184, 238, 0.18); }

.lb-empty {
    padding: 44px 14px;
    text-align: center;
    color: var(--lb-text-3);
    font-size: 13px;
    border: 1px dashed var(--lb-border);
    border-radius: 8px;
}

/* ── FEED: BOYDAN BOYA TİMELİNE ── */
.lb-feed {
    position: relative;
}
/* sol kolon ortasından geçen tek sürekli dikey çizgi */
.lb-feed::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--lb-line);
    border-radius: 1px;
    z-index: 0;
}

.lb-row {
    display: flex;
    gap: 22px;
    padding: 14px 0;
    margin-bottom: 12px;
    align-items: flex-start;
    position: relative;
}
.lb-row:last-child { margin-bottom: 0; }
.lb-row.is-new { animation: lb-pop 0.4s ease-out; }
@keyframes lb-pop {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0); }
}

.lb-tl {
    width: 64px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 4px;
    position: relative;
    z-index: 1;
}
.lb-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lb-text-3);
    border: 3px solid var(--lb-bg);
    box-shadow: 0 0 0 1px var(--lb-border-strong);
    flex-shrink: 0;
    z-index: 2;
}
.lb-node.hot {
    background: var(--lb-live);
    box-shadow: 0 0 0 1px rgba(214, 61, 42, 0.5), 0 0 14px rgba(214, 61, 42, 0.4);
}
/* Eski .lb-line div'i artık gereksiz */
.lb-line { display: none; }
.lb-ts {
    font-size: 11px;
    font-weight: 700;
    color: var(--lb-text-3);
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    background: var(--lb-bg);
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.lb-cw {
    flex: 1;
    min-width: 0;
    max-width: 550px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.lb-card {
    background: transparent;
    border: 0;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.lb-h, .lb-s, .lb-intro-card { overflow-wrap: anywhere; word-break: break-word; }

/* görsel/video — kart içi (sade çerçeve, kartın üstünden pay var) */
.lb-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--lb-border);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    margin: 4px 0 16px;
}
.lb-img.sm { aspect-ratio: 16 / 9; }
.lb-img-cap {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
    color: rgba(255, 255, 255, 0.95);
    font-size: 11.5px;
    font-weight: 500;
    padding: 20px 14px 10px;
    width: 100%;
}

.lb-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    margin: 4px 0 16px;
}
.lb-video iframe,
.lb-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.lb-bp { padding: 0; }

.lb-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
.tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    padding: 2px 10px 4px;
    border-radius: 4px;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
}
.tag-red { background: rgba(214, 61, 42, 0.22); color: #f08877; }
.tag-blue { background: rgba(100, 160, 240, 0.2); color: #9fc2f0; }
.tag-neutral { background: var(--lb-border); color: var(--lb-text-2); }
.tag-amber { background: rgba(210, 150, 50, 0.2); color: #e0b870; }
.tag-green { background: rgba(100, 200, 100, 0.18); color: #97da8f; }

.lb-h {
    font-size: 17px;
    font-weight: 800;
    color: var(--lb-text);
    line-height: 1.28;
    letter-spacing: -0.012em;
    margin: 0 0 8px;
}
.lb-s {
    font-size: 14px;
    color: var(--lb-text-2);
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
}
.lb-intro-card {
    font-size: 13px;
    color: var(--lb-text-3);
    line-height: 1.75;
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--lb-border);
    font-style: italic;
}

.lb-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 0;
    margin-top: 12px;
    gap: 8px;
    border-top: 1px solid var(--lb-border);
}
.lb-authors { display: flex; align-items: center; gap: 8px; }
.av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--lb-border);
    flex-shrink: 0;
    display: block;
    border: 1.5px solid var(--lb-bg);
}
.av-1 { margin-left: 0; }
.av-2 { margin-left: -7px; }
.av-3 { margin-left: -7px; }
.av-more {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lb-border-strong);
    color: var(--lb-text-2);
    margin-left: -7px;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--lb-bg);
    flex-shrink: 0;
}
.lb-aname { font-size: 11.5px; color: var(--lb-text-3); font-weight: 500; }
.lb-aname-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.lb-aname-link:hover { color: var(--lb-text); text-decoration: underline; }
.lb-lnk {
    font-size: 11.5px;
    color: var(--lb-blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.88;
    transition: opacity 0.15s;
}
.lb-lnk:hover { opacity: 1; }

.lb-end-note {
    margin: 22px 0 0;
    padding: 16px 20px;
    border: 1px solid var(--lb-border);
    border-radius: 8px;
    color: var(--lb-text-3);
    font-size: 13px;
    text-align: center;
}

/* ── MOBILE ── */
@media (max-width: 720px) {
    .lb-shell { margin: 14px auto 32px; padding: 0 14px; }
    .lb-head { padding: 24px 0 18px; }
    .lb-title { font-size: 24px; }
    .lb-spot { font-size: 14.5px; }
    .lb-intro { font-size: 13px; }
    .lb-cover-wrap { padding: 0 0 20px; }
    .lb-feed-wrap { padding: 18px 0 24px; }
    .lb-feed::before { left: 23px; }
    .lb-row { gap: 14px; padding: 16px 0; }
    .lb-tl { width: 48px; gap: 8px; }
    .lb-h { font-size: 15px; }
    .lb-s { font-size: 13px; }
    .lb-cd-cell { padding: 10px 12px; min-width: 58px; }
    .lb-cd-num { font-size: 20px; }
    .lb-event { font-size: 12px; }
}
