/* ═══════════════════════════════════════════════════════════════════════════
   ZAMAN TÜNELİ (ana sayfa), v4 sade
   X/Twitter okulu: kart yok, tek sütun, ince çizgi, bol boşluk, gri tonlar.
   Tek vurgu rengi: --cta (açık temada Forest, koyu temada Lemon). Etkileşim
   renkleri (yanıt, yeniden paylaşım, beğeni) yalnız üzerine gelince ya da açıkken.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --cta: var(--forest); --cta-ink: #FFFFFF; --cta-hover: #00301F; --cta-text: var(--forest);
  --cta-soft: rgba(0, 63, 44, .08);
  --tw-link: #1D6FA5;
  --tw-like: #F91880; --tw-like-soft: rgba(249, 24, 128, .1);
  --tw-rt: #00BA7C; --tw-rt-soft: rgba(0, 186, 124, .1);
  --tw-reply: #1D9BF0; --tw-reply-soft: rgba(29, 155, 240, .1);
  --tw-verified: var(--forest); --tw-verified-ink: #FFFFFF;
  --tl-glass: rgba(255, 255, 255, .85);
}
:root[data-theme="dark"] {
  --cta: var(--lemon); --cta-ink: var(--ink); --cta-hover: var(--lemon-hover); --cta-text: var(--lemon);
  --cta-soft: rgba(179, 248, 53, .1);
  --tw-link: #6CB8F5;
  --tw-verified: var(--lemon); --tw-verified-ink: var(--ink);
  --tl-glass: rgba(0, 0, 0, .65);
}

/* ── iskelet: ortada çizgilerle ayrılmış tek sütun, sağda sade sütun ── */
.tlv .tl-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.tl { display: grid; grid-template-columns: minmax(0, 600px) 350px; gap: 40px; justify-content: center; min-height: 100%; }
.tl-main { min-width: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100%; padding-bottom: 80px; }
.tl-rail { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; gap: 12px; padding: 16px 0;
  max-height: calc(100dvh - var(--top-total)); overflow-y: auto; scrollbar-width: none; }
.tl-rail::-webkit-scrollbar { display: none; }

/* ── sekmeler ── */
.tl-head { position: sticky; top: 0; z-index: 6; background: var(--tl-glass); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tl-tabs { display: flex; height: 53px; }
.tl-tabs button { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer;
  font: 500 15px/1 var(--font); color: var(--text-3); white-space: nowrap; padding: 0 12px; transition: background .2s; }
.tl-tabs button:hover { background: var(--hover); }
.tl-tabs button.on { color: var(--text); font-weight: 700; }
.tl-tabs button.on::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; margin-left: -28px; border-radius: 999px; background: var(--cta); }
.tl-tabs .tl-tabic { flex: none; width: 53px; padding: 0; }
.tl-tabs .tl-tabic svg { width: 19px; height: 19px; }
.tl-tabs .tl-tabic.on::after { width: 24px; margin-left: -12px; }
.tl-filter { display: flex; align-items: center; gap: 8px; padding: 0 16px 10px; font-size: 14px; color: var(--text-3); }
.tl-filter b { color: var(--text); }
.tl-filter button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tl-filter button svg { width: 12px; height: 12px; }

/* ── yazma kutusu ── */
.tlc { padding: 16px 20px 12px; border-bottom: 1px solid var(--line); }
.tlc.drag { background: var(--cta-soft); }
.tlc-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.tlc-row > .avatar { width: 40px; height: 40px; border-radius: 50%; }
.tlc-row > .avatar .lv { display: none; }
.tlc-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.tlc-top:empty { display: none; }
.tlc-top { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.tlc-ref { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-3);
  background: none; color: var(--cta-text); font: 700 13px/1 var(--font); cursor: pointer; min-width: 0; }
.tlc-ref:hover { background: var(--cta-soft); }
.tlc-ref span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlc-ref svg { width: 14px; height: 14px; flex: none; }
.tlc-ref.ghost { border-color: transparent; color: var(--text-3); font-weight: 600; padding: 0 6px; }
.tlc-title { flex: 1; min-width: 160px; height: 32px; border: 0; background: none; color: var(--text); font: 700 17px/1.2 var(--font); padding: 0; outline: none; }
.tlc-title::placeholder { color: var(--text-3); font-weight: 600; }
.tlc textarea { width: 100%; resize: none; border: 0; background: none; color: var(--text); padding: 8px 0; font: 400 19px/1.4 var(--font); min-height: 48px; outline: none; }
.tlc textarea::placeholder { color: var(--text-3); }
.tlc-bar { display: flex; align-items: center; gap: 8px; margin: 8px 0 0 52px; padding-top: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.tlc-tools { display: flex; align-items: center; flex: 1; min-width: 0; margin-left: -8px; }
.tlc-tool { width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; color: var(--cta-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.tlc-tool svg { width: 19px; height: 19px; }
.tlc-tool:hover, .tlc-tool.on { background: var(--cta-soft); }
.tlc-ctr { font: 500 13px/1 var(--font); color: var(--text-3); font-variant-numeric: tabular-nums; }
.tlc-ctr.warn { color: var(--warning); } .tlc-ctr.over { color: var(--danger); }
.tlc-mode { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: 999px; border: 1px solid var(--line-3); background: none; color: var(--text-2);
  font: 600 13px/1 var(--font); cursor: pointer; white-space: nowrap; }
.tlc-mode svg { width: 15px; height: 15px; } .tlc-mode svg:last-child { width: 13px; height: 13px; color: var(--text-3); }
.tlc-mode:hover { background: var(--hover); }
.tlc-mi small { display: block; color: var(--text-3); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.tlc-mi b { font-weight: 600; }
.tl-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--cta); color: var(--cta-ink); font: 700 15px/1 var(--font); white-space: nowrap; transition: background .2s, opacity .2s; }
.tl-cta:hover { background: var(--cta-hover); }
.tl-cta:disabled { opacity: .5; cursor: default; }
.tl-cta.busy { opacity: .7; pointer-events: none; }
.tl-cta.sm { height: 30px; padding: 0 14px; font-size: 13.5px; }
.tl-cta.full { width: 100%; height: 40px; }
.tl-cta svg { width: 16px; height: 16px; }
.tlc-x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.tlc-x:hover { background: var(--hover); color: var(--text); }
.tlc-x svg { width: 13px; height: 13px; }
.tlc-add { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; margin-left: -8px; border: 0; background: none; color: var(--cta-text); font: 600 13.5px/1 var(--font); cursor: pointer; border-radius: 999px; }
.tlc-add:hover { background: var(--cta-soft); }
.tlc-add svg { width: 14px; height: 14px; }
.tlc-check, .tlc-poll { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 6px; }
.tlc-check .row, .tlc-poll .row { display: flex; align-items: center; gap: 10px; }
.tlc-check input { flex: 1; min-width: 0; height: 32px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: 400 15px/1 var(--font); outline: none; }
.tlc-check input:focus { border-bottom-color: var(--cta); }
.tlc-check .cb { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1.5px solid var(--text-4); background: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--cta-ink); cursor: pointer; }
.tlc-check .cb.on { background: var(--cta); border-color: var(--cta); }
.tlc-check .cb svg { width: 12px; height: 12px; }
.tlc-poll { border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; gap: 8px; margin: 4px 0; }
.tlc-poll input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line-3); border-radius: 6px; padding: 0 12px; background: none; color: var(--text); font: 400 15px/1 var(--font); outline: none; }
.tlc-poll input:focus { border-color: var(--cta); box-shadow: inset 0 0 0 1px var(--cta); }
.tlc-poll .foot { gap: 8px; }
.tlc-poll .select.sm { height: 30px; width: auto; padding: 0 28px 0 10px; font-size: 13px; }
.tlc-task { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 8px; }
.tlc-who, .tlc-opts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tlc-who .lbl { font: 600 13px/1 var(--font); color: var(--text-3); margin-right: 2px; }
.tlc-pchip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px 0 3px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 13px/1 var(--font); }
.tlc-pchip .avatar { border-radius: 50%; }
.tlc-pchip button { width: 20px; height: 20px; border: 0; background: none; color: var(--text-3); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tlc-pchip button svg { width: 11px; height: 11px; }
.tlc-pchip.pool { padding: 0 12px; }
.tlc-pchip.pool svg { width: 14px; height: 14px; }
.tlc-poolck { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; color: var(--text-3); cursor: pointer; }
.tlc-date { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-3); }
.tlc-date svg { width: 14px; height: 14px; }
.tlc-date input { border: 0; background: none; color: var(--text); font: 500 13px/1 var(--font); outline: none; }
.seg.sm { padding: 2px; border-radius: 999px; } .seg.sm button { height: 26px; font-size: 12.5px; border-radius: 999px; }
.tlc-files { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.tlc-files:empty { display: none; }
.tlc-fc { position: relative; display: flex; align-items: center; gap: 8px; height: 64px; min-width: 64px; max-width: 240px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line-2); overflow: hidden; }
.tlc-fc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tlc-fc:has(img) { width: 96px; padding: 0; border: 0; }
.tlc-fc .ext { font: 700 11px/1 var(--font); padding: 4px 6px; border-radius: 4px; background: var(--surface-3); color: var(--text-2); }
.tlc-fc .nm { font-size: 13px; max-width: 140px; }
.tlc-fc .tlc-x { position: absolute; top: 4px; right: 4px; background: rgba(15, 20, 25, .75); color: #fff; }
.tlc-fc .bar { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(15, 20, 25, .25); overflow: hidden; }
.tlc-fc .bar i { display: block; height: 100%; background: var(--cta); }

/* ── dar ekran nabız şeridi / yeni gönderi hapı ── */
.tl-pulse { display: none; }
.tl-newpill { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 8px; margin: 10px auto -46px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px; border: 0;
  background: var(--cta); color: var(--cta-ink); font: 700 14px/1 var(--font); cursor: pointer; animation: tl-drop .24s var(--ease); }
.tl-newpill[hidden] { display: none; }
.tl-newpill svg { width: 16px; height: 16px; }
.tl-newpill .faces { display: inline-flex; }
.tl-newpill .faces .avatar { border-radius: 50%; margin-left: -6px; box-shadow: 0 0 0 2px var(--cta); }
.tl-newpill .faces .avatar:first-child { margin-left: 0; }
@keyframes tl-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ── gönderi ── */
.tl-list { display: block; }
.tw { padding: 16px 20px 6px; border-bottom: 1px solid var(--line); transition: background .2s; position: relative; }
.tw:hover { background: var(--hover); }
.tw.full, .tw.full:hover { background: none; padding-top: 12px; }
.tw.fresh { animation: tw-in .5s var(--ease); }
@keyframes tw-in { from { opacity: 0; background: var(--cta-soft); } to { opacity: 1; } }
.tw-ctx { display: flex; align-items: center; gap: 12px; margin: -2px 0 8px 24px; font: 700 13px/16px var(--font); color: var(--text-3); }
.tw-ctx svg { width: 16px; height: 16px; flex: none; }
.tw-ctx button { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.tw-ctx button:hover { text-decoration: underline; }
.tw-ctx.k-ok svg { color: var(--cta-text); }
.tw-ctx + .tw-ctx { margin-top: -2px; }
.tw-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.tw-av { border: 0; background: none; padding: 0; cursor: pointer; align-self: start; }
.tw-av .avatar, .tw-av .avatar.lg { width: 40px; height: 40px; border-radius: 50%; }
.tw-av .avatar .dot { right: -1px; bottom: -1px; border-color: var(--canvas); }
.tw-av .avatar .lv, .tw-av .avatar .status-emoji { display: none; }
.tw-main { min-width: 0; }
.tw-head { display: flex; align-items: flex-start; gap: 8px; }
.tw-who { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; column-gap: 4px; font-size: 15px; line-height: 20px; }
.tw-name { border: 0; background: none; padding: 0; font: 700 15px/20px var(--font); color: var(--text); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tw-name:hover { text-decoration: underline; }
.tw-vf { display: inline-flex; }
.tw-verified { width: 17px; height: 17px; flex: none; color: var(--tw-verified); display: block; }
.tw-meta { display: inline-flex; align-items: center; gap: 4px; min-width: 0; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.tw-org { overflow: hidden; text-overflow: ellipsis; }
.tw-dot { color: var(--text-3); }
.tw-sub { flex-basis: 100%; font-size: 13px; line-height: 16px; color: var(--text-3); }
.tw-upd { display: inline-flex; align-items: center; gap: 4px; }
.tw-upd svg { width: 13px; height: 13px; }
.tw-day { white-space: nowrap; }
.tw-more { width: 34px; height: 34px; margin: -7px -8px 0 0; border-radius: 50%; border: 0; background: none; color: var(--text-3); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.tw-more:hover { background: var(--tw-reply-soft); color: var(--tw-reply); }
.tw-more svg { width: 18px; height: 18px; }
.tw-body { margin-top: 4px; cursor: pointer; }
.tw.full .tw-body { cursor: default; }
.tw-text { font-size: 15px; line-height: 21px; color: var(--text); overflow-wrap: anywhere; margin: 0 0 12px; }
.tw-text.lg { font-size: 17px; line-height: 24px; }
.tw-text a { color: var(--tw-link); }
.tw-mention, .tw-hash { border: 0; background: none; padding: 0; font: inherit; color: var(--tw-link); cursor: pointer; }
.tw-mention.me { font-weight: 700; }
.tw-mention:hover, .tw-hash:hover { text-decoration: underline; }
.tw-title { margin: 0 0 8px; font: 700 15px/20px var(--font); color: var(--text); }
.tw-tags { margin: -6px 0 12px; font-size: 15px; line-height: 20px; }
.tw-check { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tw-check li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 20px; color: var(--text); }
.tw-check li:not(.done) span { color: var(--text-3); }
.tw-check .cb { width: 16px; height: 16px; flex: none; margin-top: 2px; border-radius: 4px; border: 1.5px solid var(--text-4); background: none; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--cta-ink); }
.tw-check.can .cb { cursor: pointer; }
.tw-check.can .cb:hover { border-color: var(--cta); }
.tw-check li.done .cb { background: var(--cta); border-color: var(--cta); }
.tw-check .cb svg { width: 11px; height: 11px; }
.tw-check .cb:disabled { opacity: 1; cursor: default; }
.tw-ref { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 0; margin: -2px 0 10px; border: 0; background: none; color: var(--text-3); font: 500 13px/16px var(--font); cursor: pointer; }
.tw-ref:hover span { text-decoration: underline; }
.tw-ref svg { width: 14px; height: 14px; flex: none; }
.tw-ref span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-ref em { font-style: normal; color: var(--text-3); flex: none; }
.tw-ref em::before { content: "·"; margin-right: 6px; }
.tw-ref em.s-doing { color: var(--tw-rt); } .tw-ref em.s-done { color: var(--cta-text); }
.tw-say { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 15px; line-height: 20px; color: var(--text); margin: 0 0 12px; }
.tw-people { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; }
.tw-person { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; color: var(--text); font: 700 15px/20px var(--font); cursor: pointer; }
.tw-person .avatar { width: 18px; height: 18px; border-radius: 50%; }
.tw-person:hover span { text-decoration: underline; }
.tw-person.me span { color: var(--cta-text); }
.tw-quote { margin: 0 0 10px; padding: 0 0 0 12px; border-left: 2px solid var(--line-3); font-size: 15px; line-height: 20px; color: var(--text); }
.tw-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin: -4px 0 10px; color: var(--tw-link); font-size: 15px; text-decoration: none; }
.tw-link:hover { text-decoration: underline; }
.tw-link svg { width: 15px; height: 15px; flex: none; }
.tw-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-done { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; font-size: 15px; line-height: 20px; color: var(--text-3); }
.tw-done b { color: var(--text); font-weight: 700; }
.tw-done .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--cta); color: var(--cta-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; margin-right: 2px; }
.tw-done .ck svg { width: 12px; height: 12px; }
.tw-done.lvl .ck { background: var(--plum); color: #fff; }
:root[data-theme="dark"] .tw-done.lvl .ck { background: var(--lilac); color: var(--plum); }
.tw-media { display: grid; gap: 2px; border-radius: 16px; overflow: hidden; margin: 0 0 12px; border: 1px solid var(--line); position: relative; }
.tw-media img, .tw-media video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--surface-3); cursor: pointer; }
.tw-media.n1 img { height: auto; max-height: 510px; }
.tw-media.n1 video { max-height: 510px; }
.tw-media.n2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16 / 9; }
.tw-media.n3, .tw-media.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9; }
.tw-media.n3 > :first-child { grid-row: span 2; }
.tw-media .more { position: absolute; right: 0; bottom: 0; width: 50%; height: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .5); color: #fff; font: 700 22px/1 var(--font); pointer-events: none; }
.tw-files { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 12px; }
.tw-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-size: 14px; }
.tw-file:hover { background: var(--hover); text-decoration: none; }
.tw-file .ext { font: 700 11px/1 var(--font); padding: 5px 6px; border-radius: 4px; background: var(--surface-3); color: var(--text-2); }
.tw-file small { color: var(--text-3); }
.tw-file svg { width: 16px; height: 16px; color: var(--text-3); }
.tw-file audio { width: 100%; }

/* görev kartı: X bağlantı önizlemesi gibi */
.tcard { display: block; margin: 0 0 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: background .2s; }
.tcard:hover { background: var(--hover); }
.tcard.gone { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 14px; cursor: default; }
.tcard.gone svg { width: 16px; height: 16px; }
.tcard-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; line-height: 16px; color: var(--text-3); }
.tcard-top > * + *::before { content: "·"; margin-right: 6px; color: var(--text-3); }
.tcard-st { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.tcard-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-4); }
.tcard-st.s-doing { color: var(--tw-rt); } .tcard-st.s-doing i { background: var(--tw-rt); }
.tcard-st.s-done { color: var(--cta-text); } .tcard-st.s-done i { background: var(--cta); }
.tcard-st.s-review { color: var(--gold-dot, #A87000); } .tcard-st.s-review i { background: var(--gold-dot, #A87000); }
.tcard-st.s-revision { color: var(--danger); } .tcard-st.s-revision i { background: var(--danger); }
.tw-ref em.s-review { color: var(--gold-dot, #A87000); } .tw-ref em.s-revision { color: var(--danger); }
.tcard-prio { display: inline-flex; align-items: center; gap: 4px; color: var(--warning); font-weight: 600; }
.tcard-prio svg { width: 13px; height: 13px; }
.tcard-t { display: block; margin: 6px 0 8px; font: 700 15px/20px var(--font); color: var(--text); overflow-wrap: anywhere; }
.tcard.s-done .tcard-t { color: var(--text-2); }
.tcard-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); min-height: 30px; }
.tcard-mem { display: inline-flex; align-items: center; }
.tcard-mem .avatar { width: 20px; height: 20px; border-radius: 50%; margin-left: -5px; box-shadow: 0 0 0 2px var(--canvas); }
.tcard-mem .avatar:first-child { margin-left: 0; }
.tcard-mem em { font-style: normal; margin-left: 6px; font-weight: 600; }
.tcard-mem.empty { gap: 5px; }
.tcard-mem.empty svg { width: 14px; height: 14px; }
.tcard-dl { display: inline-flex; align-items: center; gap: 5px; }
.tcard-dl svg { width: 13px; height: 13px; }
.tcard-dl.late { color: var(--danger); } .tcard-dl.soon { color: var(--warning); }
.tcard-meta .grow { flex: 1; }
.tcard-meta .btn.sm { height: 30px; border-radius: 999px; font-weight: 700; }
.tw-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--tw-rt); }
.tw-live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: tl-blink 1.4s ease-out infinite; }
@keyframes tl-blink { 50% { opacity: .35; } }

/* anket */
.tw-poll { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 12px; }
.tw-poll .po { position: relative; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--cta); background: none; color: var(--cta-text); font: 700 15px/1 var(--font); cursor: pointer; overflow: hidden; justify-content: center; }
.tw-poll .po:not(.res):hover { background: var(--cta-soft); }
.tw-poll .po.res { border: 0; border-radius: 6px; color: var(--text); justify-content: flex-start; font-weight: 400; }
.tw-poll .po.res i { position: absolute; inset: 0 auto 0 0; background: var(--surface-3); border-radius: inherit; transition: width .5s var(--ease); }
.tw-poll .po.res.top i { background: var(--cta-soft); box-shadow: inset 0 0 0 1px var(--cta); }
.tw-poll .po.res.top { font-weight: 700; }
.tw-poll .po .t { position: relative; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.tw-poll .po:not(.res) .t { text-align: center; }
.tw-poll .po svg { position: relative; width: 15px; height: 15px; }
.tw-poll .po b { position: relative; font-variant-numeric: tabular-nums; }
.tw-poll-f { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-3); }
.tw-poll-f .btn.link { margin-left: auto; font-size: 13px; color: var(--tw-link); font-weight: 500; }

/* tepkiler ve eylemler */
.tw-reacts { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 4px; }
.tw-react { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font: 600 12px/1 var(--font); color: var(--text-3); cursor: pointer; }
.tw-react em { font-style: normal; font-size: 13px; }
.tw-react.mine { border-color: var(--tw-reply); color: var(--tw-reply); }
.tw-acts { display: flex; align-items: center; justify-content: space-between; margin: -4px -8px 0; max-width: 440px; }
.tw.full .tw-acts { max-width: none; border-top: 1px solid var(--line); margin: 12px 0 0; padding: 4px 0; }
.ta { display: inline-flex; align-items: center; gap: 4px; min-width: 34px; height: 34px; padding: 0 8px; border: 0; background: none; color: var(--text-3); font: 400 13px/1 var(--font); cursor: pointer; border-radius: 999px; font-variant-numeric: tabular-nums; transition: color .2s, background .2s; }
.ta svg { width: 18px; height: 18px; flex: none; }
.ta span:empty { display: none; }
span.ta { cursor: default; }
.ta.reply:hover { color: var(--tw-reply); background: var(--tw-reply-soft); }
.ta.rt:hover, .ta.rt.on { color: var(--tw-rt); } .ta.rt:hover { background: var(--tw-rt-soft); }
.ta.like:hover, .ta.like.on { color: var(--tw-like); } .ta.like:hover { background: var(--tw-like-soft); }
.ta.bm:hover, .ta.bm.on { color: var(--tw-reply); } .ta.bm:hover { background: var(--tw-reply-soft); }
.ta.like.pop svg { animation: tw-pop .4s var(--ease); }
@keyframes tw-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.tl-emo { display: flex; justify-content: space-between; padding: 2px; }
.tl-emo button { width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; font-size: 19px; cursor: pointer; }
.tl-emo button:hover { background: var(--hover); }

/* liste sonu ve boş durum */
.tl-more { display: flex; justify-content: center; padding: 24px 0; min-height: 20px; }
.tl-spin { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--cta); animation: tl-rot .8s linear infinite; }
@keyframes tl-rot { to { transform: rotate(360deg); } }
.tl-end { font-size: 13px; color: var(--text-3); text-align: center; padding: 8px 0; }
.tl-list .empty { padding: 56px 32px; background: none; }

/* ── gönderi sayfası ── */
.tl-thead { display: flex; align-items: center; gap: 24px; height: 53px; padding: 0 20px; }
.tl-thead h2 { margin: 0; font: 700 20px/1 var(--font); }
.tl-back { width: 36px; height: 36px; margin-left: -8px; border-radius: 50%; border: 0; background: none; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tl-back:hover { background: var(--hover); }
.tl-back svg { width: 20px; height: 20px; }
.tl-reply { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tl-reply .avatar { width: 40px; height: 40px; border-radius: 50%; }
.tl-reply textarea { width: 100%; resize: none; border: 0; background: none; color: var(--text); font: 400 19px/1.4 var(--font); padding: 8px 0; outline: none; min-height: 40px; }
.tl-reply textarea::placeholder { color: var(--text-3); }
.tl-replies:empty { display: none; }
.tl-rp { display: flex; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tl-rp:hover { background: var(--hover); }
.tl-rp .tw-av .avatar { width: 40px; height: 40px; }
.tl-rp .tw-l1 { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.tl-rp .tw-l1 time { color: var(--text-3); }
.tl-rp .tw-text { margin: 0; }
.tl-rpdel { margin-left: auto; width: 30px; height: 30px; border: 0; background: none; color: var(--text-3); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tl-rpdel:hover { color: var(--danger); background: var(--danger-soft); }
.tl-rpdel svg { width: 15px; height: 15px; }
.tl-replies .tl-end { padding: 24px; }

/* ── sağ sütun: tek ekrana sığan sade kutular ── */
.tlr { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; }
.tlr[hidden] { display: none; }
.tlr h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 800 17px/22px var(--font); letter-spacing: -.01em; color: var(--text); }
.tlr.list { padding: 12px 0 6px; }
.tlr.list h4 { padding: 0 16px; margin-bottom: 2px; }
.tlr-n { font: 600 13px/1 var(--font); color: var(--text-3); }
.tlr-bar { display: block; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.tlr-bar i { display: block; height: 100%; border-radius: inherit; background: var(--cta); transition: width .6s var(--ease); }
/* ritim + ekip */
.tlr.pulse .pl-top { display: flex; align-items: flex-end; gap: 12px; }
.tlr.pulse .pl-top small { display: block; font: 600 13px/16px var(--font); color: var(--text-3); margin-bottom: 4px; }
.tlr.pulse .clock { font: 700 30px/1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--text); }
.tlr.pulse.due .clock::after { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 0 4px 8px; border-radius: 50%; background: var(--cta); vertical-align: middle; animation: tl-blink 1.6s ease-in-out infinite; }
.tlr.pulse .tl-cta { background: none; color: var(--text); border: 1px solid var(--line-3); }
.tlr.pulse .tl-cta:hover { background: var(--hover); }
.tlr.pulse .pl-rule { margin: 10px 0 14px; font-size: 13px; line-height: 18px; color: var(--text-3); }
.tlr.pulse .pl-rule span:first-child { color: var(--text-2); font-weight: 600; }
.tlr.pulse .tw-dot { margin: 0 4px; }
.pl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); margin-bottom: 12px; }
.pl-stats b { display: block; font: 700 18px/22px var(--font); font-variant-numeric: tabular-nums; color: var(--text); }
.pl-stats small { display: block; font-size: 12.5px; line-height: 16px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* satırlar */
.tlr-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 16px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; transition: background .2s; }
button.tlr-row:hover { background: var(--hover); }
.tlr-row .grow { flex: 1; min-width: 0; }
.tlr-row b { display: block; font-size: 14.5px; font-weight: 700; line-height: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlr-row small { display: block; font-size: 13px; line-height: 17px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlr-row > svg { width: 16px; height: 16px; color: var(--text-4); flex: none; }
.tlr-row.wk { gap: 12px; padding: 7px 16px; }
.tlr-row.wk .wk-name { flex: 1; min-width: 0; }
.tlr-row.wk .tlr-bar { width: 96px; flex: none; }
.tlr-row.wk .wk-name { font-size: 14px; font-weight: 600; }
.tlr-row.wk em { width: 36px; flex: none; font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.tlr-more { display: block; width: 100%; padding: 8px 16px 10px; border: 0; background: none; color: var(--tw-link); font: 400 14px/1 var(--font); text-align: left; cursor: pointer; }
.tlr-more:hover { background: var(--hover); }
.tr-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 16px 10px; }
.tr-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--text); cursor: pointer; font: 600 13.5px/1 var(--font); }
.tr-chip:hover { background: var(--hover); }
.tr-chip small { font-weight: 500; color: var(--text-3); font-size: 12px; }
.tlr-row.who { cursor: default; padding: 8px 16px; }
.tlr-row.who .tw-av .avatar { width: 36px; height: 36px; border-radius: 50%; }
.tl-follow { height: 30px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--text); color: var(--canvas); font: 700 13.5px/1 var(--font); cursor: pointer; flex: none; }
.tl-follow:hover { opacity: .88; }

/* profil: son paylaşımlar */
.tl-prow { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.tl-prow:hover { background: var(--hover); }
.tl-prow b, .tl-prow small { display: block; }

/* ── duyarlı ── */
@media (max-width: 1180px) { .tl { grid-template-columns: minmax(0, 600px) 300px; gap: 24px; } }
@media (max-width: 1000px) {
  .tl { grid-template-columns: minmax(0, 600px); }
  .tl-rail { display: none; }
  .tl-pulse { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; font-size: 13px; color: var(--text-3); }
  .tl-pulse::-webkit-scrollbar { display: none; }
  .tl-pulse .pz { display: inline-flex; align-items: center; gap: 6px; flex: none; }
  .tl-pulse .pz b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
  .tl-pulse .pz svg { width: 15px; height: 15px; color: var(--cta-text); }
}
@media (max-width: 640px) {
  .tl-main { border: 0; }
  .tl-tabs { overflow-x: auto; scrollbar-width: none; }
  .tl-tabs::-webkit-scrollbar { display: none; }
  .tl-tabs button { font-size: 14px; }
  .tlc { padding: 10px 12px 8px; }
  .tlc-bar { margin-left: 0; }
  .tlc-mode span { display: none; }
  .tw { padding: 10px 12px 2px; }
  .tw-ctx { margin-left: 22px; }
  .tw-acts { margin: 0 -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .tw.fresh, .tl-newpill, .ta.like.pop svg, .tw-live i, .tl-spin { animation: none; }
}

/* ═════════════ Renk dili (mobil kind_style.dart ile aynı eşleme) ═════════════
   Marka paketi renkleri düz dolgu; degrade ve gölge yok. Lemon yalnız Forest üstünde, ekranda tek öğe:
   güncelleme zamanı gelen ritim kutusunun "Paylaş" düğmesi. */
.tw { --k-bg: var(--sage-bg); --k-fg: var(--sage-fg); }
.tw.k-update { --k-bg: var(--sea-bg); --k-fg: var(--sea-fg); }
.tw.k-task_submitted, .tw.k-task_help { --k-bg: var(--gold-bg); --k-fg: var(--gold-fg); }
.tw.k-task_revision { --k-bg: var(--danger-soft); --k-fg: var(--danger); }
.tw.k-task_done { --k-bg: var(--sage-bg); --k-fg: var(--forest); }
.tw.k-announcement, .tw.k-level_up { --k-bg: var(--lilac); --k-fg: var(--plum); }
.tw.k-task_note { --k-bg: var(--sunk, #E6DDCF); --k-fg: var(--text-2); }
:root[data-theme="dark"] .tw.k-task_done { --k-fg: #A9D9BF; }
:root[data-theme="dark"] .tw.k-announcement, :root[data-theme="dark"] .tw.k-level_up { --k-bg: rgba(203, 182, 235, .18); --k-fg: var(--lilac); }
:root[data-theme="dark"] .tw.k-task_note { --k-bg: rgba(240, 233, 222, .08); }
/* Pairo App (uygulamanın Social akışından gelen gönderi): Forest hap, Lemon yazı; avatar Forest daire, Lemon baş harf.
   Hasat eki açık Lime zeminde Forest yazı. Mobil kind_style.dart 'pairo_app' ile aynı. */
.tw.k-pairo_app { --k-bg: var(--forest); --k-fg: var(--lemon); }
:root[data-theme="dark"] .tw.k-pairo_app { --k-bg: #1F6B4A; --k-fg: var(--lemon); }
.tw-av.pa { cursor: default; }
.avatar.pa-av { border-radius: 50%; background: var(--forest); color: var(--lemon); }
.avatar.pa-av i { font: 800 18px/1 var(--display); font-style: normal; }
.avatar.pa-av.xs i { font-size: 11px; }
:root[data-theme="dark"] .avatar.pa-av { background: #1F6B4A; }
.tw.k-pairo_app .tw-name { cursor: default; }
.tw.k-pairo_app .tw-name:hover { text-decoration: none; }
.tw-harvest { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 18px; background: var(--lime-chip, #E6F5CC); color: var(--lime-ink, var(--forest)); }
.tw-harvest > svg { flex: none; width: 26px; height: 26px; }
.tw-harvest .hv-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tw-harvest b { font: 800 16px/20px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tw-harvest small { display: flex; gap: 8px; font: 600 13px/16px var(--font); opacity: .85; }
.tw-harvest .hv-k { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--forest); color: var(--lemon); font: 700 12px/16px var(--font); }
:root[data-theme="dark"] .tw-harvest .hv-k { background: #1F6B4A; }

/* tür hapı: bağlam satırı yerine renkli etiket, ad hizasında */
.tw-ctx.kind { display: inline-flex; width: auto; gap: 6px; margin: 0 0 8px 52px; padding: 3px 10px 3px 8px; border-radius: 999px;
  background: var(--k-bg); color: var(--k-fg); font: 700 12.5px/16px var(--font); }
.tw-ctx.kind svg { width: 14px; height: 14px; }
.tw-ctx:not(.kind) + .tw-ctx.kind { margin-top: 0; }
.tw-upd { padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--sea-bg); color: var(--sea-fg); font-weight: 700; font-size: 12.5px; }

/* kutlama: onay Forest, seviye Plum; açık renk yazı */
.tw-done.party { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--forest); }
.tw-done.party .ck { width: 40px; height: 40px; background: none; border: 2px solid #F0E9DE; color: #F0E9DE; margin: 0; }
.tw-done.party .ck svg { width: 20px; height: 20px; }
.tw-done.party .pt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tw-done.party b { color: #F0E9DE; font: 800 18px/22px var(--display); letter-spacing: -.01em; }
.tw-done.party small { color: rgba(240, 233, 222, .78); font-size: 13px; line-height: 18px; }
.tw-done.party small:empty { display: none; }
.tw-done.party .tw-dot { margin: 0 4px; }
.tw-done.party.lvl { background: var(--plum); }
.tw-done.party.lvl .ck { background: none; color: #F0E9DE; }
:root[data-theme="dark"] .tw-done.party { background: #1F6B4A; }
:root[data-theme="dark"] .tw-done.party.lvl { background: #7A2468; }
:root[data-theme="dark"] .tw-done.party.lvl .ck { background: none; color: #F0E9DE; }

/* teslim (altın) ve revizyon (hata tonu) kutuları */
.tw-done.sub, .tw-done.rev { padding: 10px 12px; border-radius: 16px; background: var(--k-bg); color: var(--k-fg); }
.tw-done.sub b, .tw-done.rev b { color: var(--k-fg); font-weight: 800; }
.tw-done.sub .ck, .tw-done.rev .ck { background: none; color: var(--k-fg); }
.tw-done.sub .ck svg, .tw-done.rev .ck svg { width: 16px; height: 16px; }
.tw-quote.rev { border-left-color: var(--danger); }

/* çalışan kişinin avatarında yeşil halka (hikâye şeridiyle aynı dil) */
.tw-av.working .avatar { outline: 2px solid var(--forest); outline-offset: 2px; }
:root[data-theme="dark"] .tw-av.working .avatar { outline-color: #8ACB1F; }

/* beğeni ve yeniden paylaşım marka renklerinde */
.tw { --tw-like: var(--plum); --tw-like-soft: rgba(86, 18, 72, .1); --tw-rt: var(--sea-dot); --tw-rt-soft: rgba(44, 127, 116, .12); }
:root[data-theme="dark"] .tw { --tw-like: var(--lilac); --tw-like-soft: rgba(203, 182, 235, .14); }
.ta.like.on svg { transform-origin: center; }

/* hikâye şeridi */
.tl-stories { display: flex; gap: 4px; padding: 14px 12px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tl-stories::-webkit-scrollbar { display: none; }
.tl-story { position: relative; flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; padding: 0; color: var(--text); }
.tl-story .avatar, .tl-story .avatar.lg { width: 58px; height: 58px; border-radius: 50%; font-size: 18px; outline: 3px solid var(--line-2, var(--line)); outline-offset: 3px; margin: 5px 0 4px; }
.tl-story .avatar .dot, .tl-story .avatar .lv, .tl-story .avatar .status-emoji { display: none; }
.tl-story.working .avatar { outline-color: var(--forest); }
.tl-story.paused .avatar { outline-color: var(--gold-bg); }
.tl-story.online .avatar { outline-color: var(--sea-dot); }
:root[data-theme="dark"] .tl-story.working .avatar { outline-color: #8ACB1F; }
.tl-story b { max-width: 100%; font: 600 12.5px/15px var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-story small { max-width: 100%; font: 400 12px/14px var(--font); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-story .plus { position: absolute; top: 46px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--forest); color: #fff; border: 2px solid var(--canvas, var(--bg)); display: inline-flex; align-items: center; justify-content: center; }
.tl-story .plus svg { width: 12px; height: 12px; }
.tl-story:hover b { text-decoration: underline; }

/* ritim kutusu: güncelleme zamanı gelince Forest zemin + Lemon "Paylaş" (ekrandaki tek Lemon) */
.tlr.pulse { background: var(--sea-bg); border-color: transparent; }
.tlr.pulse .clock { color: var(--sea-fg); }
.tlr.pulse .pl-top small, .tlr.pulse .pl-rule, .tlr.pulse .pl-rule span:first-child, .pl-streak { color: var(--sea-fg); }
.tlr.pulse .pl-stats { border-top-color: rgba(13, 63, 58, .16); }
.tlr.pulse .pl-stats b, .tlr.pulse .pl-stats small { color: var(--sea-fg); }
.tlr.pulse .tl-cta { background: var(--sea-fg); color: #F0E9DE; border: 0; }
.tlr.pulse.due { background: var(--forest); }
.tlr.pulse.due .clock, .tlr.pulse.due .pl-top small, .tlr.pulse.due .pl-rule, .tlr.pulse.due .pl-rule span:first-child,
.tlr.pulse.due .pl-stats b, .tlr.pulse.due .pl-stats small, .tlr.pulse.due .pl-streak { color: #F0E9DE; }
.tlr.pulse.due .pl-stats { border-top-color: rgba(240, 233, 222, .2); }
.tlr.pulse.due .tl-cta { background: var(--lemon); color: var(--forest); }
.tlr.pulse.due .tl-cta:hover { background: var(--lemon-hover); }
.tlr.pulse.due .clock::after { background: var(--lemon); }
:root[data-theme="dark"] .tlr.pulse.due { background: #1F6B4A; }
.pl-streak { margin: 8px 0 0; font: 600 13px/18px var(--font); }
.pl-streak b { font-weight: 800; }

/* yeni gönderi hapı: Plum */
.tl-newpill { background: var(--plum); color: #F0E9DE; }
.tl-newpill .faces .avatar { box-shadow: none; outline: 2px solid var(--plum); }
:root[data-theme="dark"] .tl-newpill { background: #7A2468; }

.tlr.pulse .tlr-bar { background: rgba(13, 63, 58, .16); }
.tlr.pulse .tlr-bar i { background: var(--sea-fg); }
.tlr.pulse.due .tlr-bar { background: rgba(240, 233, 222, .2); }
.tlr.pulse.due .tlr-bar i { background: #F0E9DE; }
:root[data-theme="dark"] .tlr.pulse:not(.due) .tl-cta { background: var(--sea-fg); color: var(--ink, #1A1B24); }
.tl-pulse { background: var(--sea-bg); color: var(--sea-fg); }
.tl-pulse b, .tl-pulse span { color: var(--sea-fg); }

/* ═════════════ Tasarım görseli (web + mobil aynı): Forest üst blok, hap sekmeler, kart akış ═════════════
   Düz renk; degrade ve parlama yok. Lime vurgular Forest üstünde ya da açık Lime zeminde Forest yazı. */
.tl { --lime-deep: #8ACB1F; --lime-chip: #E6F5CC; --lime-ink: var(--forest); --hero: var(--forest); }
:root[data-theme="dark"] .tl { --lime-chip: rgba(138, 203, 31, .2); --lime-ink: #C8F07A; --hero: #0F2E22; }
.tl-main { border-left: 0; border-right: 0; padding-top: 12px; }

.tl-hero { position: relative; overflow: hidden; margin: 0 16px 12px; padding: 22px 22px 20px; border-radius: 28px; background: var(--hero); color: #F0E9DE; }
.tl-hero .mt { position: absolute; right: -14px; top: 8px; width: 230px; height: 120px; }
.tl-hero .mt .b { fill: #1F6B4A; } .tl-hero .mt .f { fill: #2C7F4F; } .tl-hero .mt .r { fill: none; stroke: var(--lemon); stroke-width: 2; stroke-linejoin: round; }
.tl-hero .hl { position: relative; margin: 0 0 16px; font: 800 30px/1.12 var(--display); letter-spacing: -.02em; color: #F0E9DE; }
.tl-hero .hl span, .tl-hero .hl em { display: block; font-style: normal; }
.tl-hero .hl em { color: var(--lemon); }
.tl-hero .hbox { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: rgba(240, 233, 222, .08); border: 1px solid rgba(240, 233, 222, .18); }
.tl-hero .hitem { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tl-hero .hprog { flex: 1; }
.tl-hero .hcol { min-width: 0; flex: 1; }
.tl-hero .hck { width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(240, 233, 222, .12); display: inline-flex; align-items: center; justify-content: center; color: #F0E9DE; }
.tl-hero .hck svg { width: 18px; height: 18px; }
.tl-hero .hitem small { display: block; font: 600 13px/16px var(--font); color: rgba(240, 233, 222, .72); white-space: nowrap; }
.tl-hero .hitem b { font: 800 26px/30px var(--font); color: #F0E9DE; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-hero .hitem b span { font-size: 18px; font-weight: 600; color: rgba(240, 233, 222, .72); }
.tl-hero .hrow { display: flex; align-items: center; gap: 10px; }
.tl-hero .hbar { flex: 1; min-width: 60px; height: 7px; border-radius: 99px; background: rgba(240, 233, 222, .2); overflow: hidden; }
.tl-hero .hbar i { display: block; height: 100%; border-radius: inherit; background: var(--lemon); }
.tl-hero .hteam { flex: none; padding-left: 14px; border-left: 1px solid rgba(240, 233, 222, .18); }
.tl-hero .tl-ring { width: 40px; height: 40px; flex: none; transform: rotate(-90deg); }
.tl-hero .tl-ring circle { fill: none; stroke-width: 7; }
.tl-hero .tl-ring .bg { stroke: rgba(240, 233, 222, .2); }
.tl-hero .tl-ring .fg { stroke: var(--lemon); stroke-linecap: round; }
.tl-hero .hcta { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 15px 18px; border: 0; border-radius: 22px; background: var(--lemon); color: var(--forest); cursor: pointer; text-align: left; }
.tl-hero .hcta:hover { background: var(--lemon-hover); }
.tl-hero .hcta svg { width: 22px; height: 22px; flex: none; }
.tl-hero .hcta b { flex: 1; font: 800 19px/22px var(--display); }
.tl-hero .hcta > span { font: 600 14px/1 var(--font); font-variant-numeric: tabular-nums; }

/* hap sekmeler */
.tl-head { position: static; background: none; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tl-tabs { height: auto; gap: 8px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: none; }
.tl-tabs button { flex: none; height: 44px; padding: 0 18px; gap: 8px; border-radius: 999px; background: var(--surface-2, var(--surface)); color: var(--text); font-weight: 600; }
.tl-tabs button svg { width: 18px; height: 18px; }
.tl-tabs button:hover { background: var(--surface-3); }
.tl-tabs button.on { background: var(--forest); color: #F0E9DE; font-weight: 800; }
:root[data-theme="dark"] .tl-tabs button.on { background: #1F6B4A; }
.tl-tabs button.on::after { display: none; }
.tl-tabs .tl-tabic { width: 44px; padding: 0; justify-content: center; }

/* yazma kutusu ve gönderiler: yuvarlak kart */
.tlc { margin: 0 16px 14px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.tw { margin: 0 16px 14px; padding: 16px 18px 8px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.tw:hover { background: var(--surface); }
.tw-row { grid-template-columns: 48px minmax(0, 1fr); }
.tw-av .avatar, .tw-av .avatar.lg { width: 48px; height: 48px; }
.tw-name { font-size: 16px; font-weight: 800; }
.tw-av.working .avatar { outline-color: var(--lime-deep); }
.tw-proj { flex: none; display: inline-flex; align-items: center; gap: 6px; max-width: 150px; height: 32px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: var(--lime-chip); color: var(--lime-ink); font: 700 13px/1 var(--font); cursor: pointer; }
.tw-proj svg { width: 15px; height: 15px; flex: none; }
.tw-proj span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* durumlu adımlar + ilerleme hapı */
.tw-check { gap: 8px; }
.tw-check li { font-size: 15px; line-height: 21px; }
.tw-check li span, .tw-check li:not(.done) span { color: var(--text); }
.tw-check li b { font-weight: 800; }
.tw-check .cb { width: 22px; height: 22px; margin-top: 0; border-radius: 6px; border: 2px solid var(--text-4); }
.tw-check li.done .cb { background: var(--lime-deep); border-color: var(--lime-deep); color: var(--forest); }
.tw-check li.now .cb { border-radius: 50%; border: 2.5px dashed var(--lime-deep); }
.tw-check li.next .cb { border-radius: 50%; }
.tw-check .cb svg { width: 14px; height: 14px; }
.tw-prog { display: flex; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--surface-2, var(--sunk)); color: var(--text-2); font-size: 14px; }
.tw-prog svg { width: 18px; height: 18px; flex: none; }
.tw-prog b { color: var(--text); font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.tw-prog .bar { flex: 1; height: 8px; margin-left: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.tw-prog .bar i { display: block; height: 100%; border-radius: inherit; background: var(--lime-deep); }

/* eylemler + doğrulama rozeti */
.tw-acts { max-width: none; }
.tw-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--lime-chip); color: var(--lime-ink); font: 700 13px/1 var(--font); white-space: nowrap; }
.tw-ok svg { width: 15px; height: 15px; }

/* üst blok ritmi gösterdiği için sağ sütundaki ritim kutusu gizli */
.tlr.pulse { display: none; }
.tl-pulse { display: none !important; }

/* kenar menü: seçili öğe Lime hap */
.sb-item.on { background: var(--lemon); color: var(--forest); font-weight: 800; }
.sb-item.on > svg { opacity: 1; }

/* mobil web alt çubuğu: Forest, seçili sekme Lime hap (mobil uygulamayla aynı) */
@media (max-width: 900px) {
  .tabbar { background: var(--forest); border-top: 0; border-radius: 26px 26px 0 0; }
  :root[data-theme="dark"] .tabbar { background: #0F2E22; }
  .tab { color: #F0E9DE; }
  .tab.on { color: var(--forest); font-weight: 800; background: var(--lemon); border-radius: 20px; }
  .tab.on svg { color: var(--forest); }
  .tab.on::before { display: none; }
  .tab .badge { background: var(--lemon); color: var(--forest); border-color: var(--forest); }
  .tl-hero { margin: 0 12px 12px; padding: 18px 16px 16px; }
  .tl-hero .hl { font-size: 26px; }
  .tl-hero .mt { width: 170px; height: 90px; }
  .tl-hero .hstats { padding: 12px; gap: 10px; }
  .tl-hero .hitem b { font-size: 22px; }
  .tl-hero .hbox { padding: 12px; }
  .tw, .tlc { margin-left: 12px; margin-right: 12px; }
}

/* güncelleme: adımların sağında küçük görsel (tasarım görseli) */
.tw-upd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: start; }
.tw-thumb { width: 150px; height: 120px; object-fit: cover; border-radius: 16px; cursor: zoom-in; border: 1px solid var(--line); }
@media (max-width: 520px) { .tw-upd-grid { grid-template-columns: minmax(0, 1fr) 104px; } .tw-thumb { width: 104px; height: 92px; } }
/* Gündem şeridi (sekmelerin altında) */
.tl-trends { display: flex; align-items: center; gap: 8px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.tl-trends::-webkit-scrollbar { display: none; }
.tl-trends > b { flex: none; font: 800 14px/1 var(--font); color: var(--text); margin-right: 2px; }
.tl-trends .tr-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--lime-chip, #E6F5CC); color: var(--lime-ink, var(--forest)); font: 700 13.5px/1 var(--font); cursor: pointer; }
.tl-trends .tr-chip small { font-weight: 600; opacity: .7; }
