/* Fizik Akademisi Topluluk: gazetenin kimliğiyle (serif metin, sitenin paleti, köşeli ögeler). */
.tp-app, .tp-dlg, .tp-bottom, .tp-fab, .tp-toast, .tp-pop {
  --tp-ink: var(--ink, #121212);
  --tp-ink2: #6b6b66;
  --tp-line: #e6e4dd;
  --tp-line2: #d2cfc5;
  --tp-hover: #f7f7f5;
  --tp-acc: var(--accent, #326891);
  --tp-acc-soft: #e8f0f7;
  --tp-like: #c0392b;
  --tp-rp: #2f7d4f;
  --tp-warn: #b45309;
  --tp-bad: #b3261e;
  --tp-sans: var(--sans, "Libre Franklin", "Helvetica Neue", Arial, sans-serif);
  --tp-serif: var(--serif, "Source Serif 4", Georgia, serif);
  font-family: var(--tp-sans);
  color: var(--tp-ink);
}
.tp-app *, .tp-dlg *, .tp-pop * { box-sizing: border-box; }
.tp-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tp-app a { color: inherit; text-decoration: none; }
.tp-app button { font: inherit; color: inherit; }
.tp-app [hidden], .tp-dlg [hidden] { display: none !important; }

/* ---------- düzen ---------- */
.tp-app { display: grid; grid-template-columns: 250px minmax(0, 600px) 330px; justify-content: center; max-width: 1240px; margin: 0 auto; padding: 0 16px; min-height: 80vh; }
.tp-left { position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto; padding: 12px 18px 20px 0; display: flex; flex-direction: column; gap: 6px; }
.tp-brand { font: 700 26px var(--tp-serif); padding: 8px 12px 12px; border-bottom: 3px double var(--tp-ink); margin-bottom: 6px; }
.tp-left ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tp-nl { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-left: 3px solid transparent; font: 600 16px var(--tp-sans); transition: background .15s; }
.tp-nl .tp-i { width: 21px; height: 21px; }
.tp-nl:hover { background: var(--tp-hover); }
.tp-nl.on { font-weight: 800; border-left-color: var(--tp-acc); background: var(--tp-hover); }
.tp-nl.on .tp-i { stroke-width: 2.4; }
.tp-badge-n { position: absolute; left: 26px; top: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tp-acc); color: #fff; font: 700 11px/18px var(--tp-sans); text-align: center; }
.tp-btn-big { margin: 14px 0 8px; width: 100%; justify-content: center; padding: 12px 20px; font-size: 16px; }
.tp-btn-big .tp-i { display: none; }
.tp-meline { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid var(--tp-line); }
.tp-meline:hover { background: var(--tp-line); }
.tp-meline b { display: block; font: 700 15px var(--tp-sans); }
.tp-meline small { color: var(--tp-ink2); font-size: 14px; }
.tp-center { border-left: 1px solid var(--tp-line); border-right: 1px solid var(--tp-line); min-width: 0; padding-bottom: 80px; }
.tp-right { padding: 10px 0 30px 26px; display: grid; gap: 16px; align-content: start; position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; }

/* ---------- düğmeler ---------- */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; background: var(--tp-acc); color: #fff !important; border-radius: 6px; padding: 8px 16px; font: 700 15px var(--tp-sans); cursor: pointer; text-decoration: none; transition: background .15s, opacity .15s; white-space: nowrap; }
.tp-btn:hover { background: #28567a; }
.tp-btn:disabled { opacity: .5; cursor: default; }
.tp-btn-ghost { background: transparent; color: var(--tp-ink) !important; border-color: var(--tp-line2); }
.tp-btn-ghost:hover { background: var(--tp-line); }
.tp-btn-sm { padding: 3px 10px; font-size: 13px; }
.tp-btn-icon { padding: 7px; }
.tp-btn-danger { background: var(--tp-bad); }
.tp-btn-acc { background: var(--tp-acc); }
.tp-btn-acc:hover { background: #28567a; }
.tp-following:hover { color: var(--tp-bad) !important; border-color: #fdc9ce; background: #fee; }
:where(.tp-app, .tp-dlg) :focus-visible { outline: 2px solid var(--tp-acc); outline-offset: 2px; }

/* ---------- üst başlık ve sekmeler ---------- */
.tp-top { position: sticky; top: 0; z-index: 5; background: #fff; display: flex; align-items: center; gap: 16px; padding: 0 16px; min-height: 53px; border-bottom: 1px solid var(--tp-line); flex-wrap: wrap; }
.tp-top h1 { margin: 0; font: 700 22px var(--tp-serif); padding: 12px 0; flex: 1; }
.tp-top h1 small { display: block; font: 400 13px var(--tp-sans); color: var(--tp-ink2); }
.tp-top .tp-tabs { flex-basis: 100%; margin: 0 -16px; border: 0; }
.tp-backbtn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; margin-left: -6px; }
.tp-backbtn:hover { background: var(--tp-line); }
.tp-tabs { display: flex; border-bottom: 1px solid var(--tp-line); }
.tp-tabs a { flex: 1; text-align: center; padding: 15px 10px 0; font: 500 15px var(--tp-sans); color: var(--tp-ink2); transition: background .15s; }
.tp-tabs a::after { content: ""; display: block; height: 2px; margin: 13px 0 0; width: 100%; background: transparent; }
.tp-tabs a:hover { background: var(--tp-hover); }
.tp-tabs a.on { color: var(--tp-ink); font-weight: 700; }
.tp-tabs a.on::after { background: var(--tp-ink); }
.tp-sort { display: flex; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--tp-line); overflow-x: auto; scrollbar-width: none; }
.tp-sort a { flex: none; padding: 6px 12px; border-radius: 4px; border: 1px solid var(--tp-line2); font: 600 13px var(--tp-sans); color: var(--tp-ink2); }
.tp-sort a.on { background: var(--tp-ink); color: #fff; border-color: var(--tp-ink); }

/* ---------- avatar ---------- */
.tp-av { width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; color: #fff !important; font: 700 15px var(--tp-sans); flex: none; user-select: none; }
.tp-av-xl { width: 120px; height: 120px; font-size: 42px; border: 4px solid #fff; border-radius: 22px; }

/* ---------- paylaşım oluşturma ---------- */
.tp-compose { display: flex; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid var(--tp-line); }
.tp-cmain { flex: 1; min-width: 0; }
.tp-ta-wrap { position: relative; }
.tp-compose textarea { display: block; width: 100%; border: 0; resize: none; outline: none; padding: 8px 0; font: 400 18px/1.45 var(--tp-serif); color: var(--tp-ink); background: transparent; min-height: 52px; overflow: hidden; }
.tp-compose[data-parent]:not([data-parent="0"]) textarea { font-size: 17px; }
.tp-compose textarea::placeholder { color: #8b98a5; }
.tp-ctools { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid var(--tp-line); flex-wrap: wrap; }
.tp-ctl, .tp-ctr { display: flex; align-items: center; gap: 4px; }
.tp-tool { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--tp-acc); background: none; border: 0; cursor: pointer; }
.tp-tool:hover { background: var(--tp-acc-soft); }
.tp-tool[aria-pressed="true"] { background: var(--tp-acc-soft); }
.tp-topicsel { margin-left: 4px; border: 1px solid var(--tp-line2); border-radius: 6px; padding: 5px 10px; font: 600 13px var(--tp-sans); color: var(--tp-acc); background: #fff; max-width: 170px; }
.tp-ring { position: relative; width: 26px; height: 26px; margin-right: 8px; }
.tp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tp-ring circle { fill: none; stroke-width: 2.6; }
.tp-ring .bg { stroke: var(--tp-line); }
.tp-ring .fg { stroke: var(--tp-acc); transition: stroke-dasharray .15s; }
.tp-ring.warn .fg { stroke: #ffd400; }
.tp-ring.over .fg { stroke: var(--tp-bad); }
.tp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 10px var(--tp-sans); color: var(--tp-ink2); }
.tp-ring.over b { color: var(--tp-bad); }
.tp-cnote { margin: 8px 0 0; font: 500 13px/1.45 var(--tp-sans); color: var(--tp-warn); }
.tp-cnote.err { color: var(--tp-bad); }
.tp-cnote.ok { color: #0f7b4f; }
.tp-preview { margin: 4px 0 10px; padding: 10px 12px; background: var(--tp-hover); border-radius: 12px; font: 400 16px/1.45 var(--tp-sans); }
.tp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 6px 0 10px; }
.tp-thumbs:empty { display: none; }
.tp-thumb { position: relative; border-radius: 8px; overflow: hidden; background: var(--tp-line); aspect-ratio: 1; }
.tp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-thumb.busy::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .55) linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent) 0 0/200% 100%; animation: tp-sh 1s linear infinite; }
.tp-thumb button { position: absolute; border: 0; background: rgba(15, 20, 25, .75); color: #fff; border-radius: 999px; cursor: pointer; font: 700 12px var(--tp-sans); }
.tp-thumb .rm { top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; }
.tp-thumb .rm .tp-i { width: 16px; height: 16px; }
.tp-thumb .alt { left: 6px; bottom: 6px; padding: 3px 8px; }
.tp-thumb .alt.has { background: rgba(0, 120, 80, .85); }
@keyframes tp-sh { to { background-position: -200% 0; } }
.tp-suggest { position: absolute; z-index: 20; left: 0; top: 100%; min-width: 260px; background: #fff; border-radius: 12px; box-shadow: 0 0 15px rgba(101, 119, 134, .2), 0 0 3px 1px rgba(101, 119, 134, .15); overflow: hidden; }
.tp-suggest button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 14px; border: 0; background: none; text-align: left; cursor: pointer; }
.tp-suggest button[aria-selected="true"], .tp-suggest button:hover { background: var(--tp-hover); }
.tp-suggest b { display: block; font: 700 14px var(--tp-sans); }
.tp-suggest small { color: var(--tp-ink2); }
.tp-suggest .tp-av { width: 36px; height: 36px; font-size: 13px; }

/* ---------- paylaşım kartı ---------- */
.tp-post { border-bottom: 1px solid var(--tp-line); padding: 12px 16px 4px; transition: background .15s; cursor: pointer; position: relative; }
.tp-post:hover { background: var(--tp-hover); }
.tp-post.tp-focus { cursor: default; padding-top: 14px; }
.tp-post.tp-focus:hover { background: transparent; }
.tp-post.tp-unpub { background: #fffdf5; }
.tp-post.tp-new { animation: tp-in .5s ease-out; }
@keyframes tp-in { from { background: var(--tp-acc-soft); } }
.tp-ctx { display: flex; align-items: center; gap: 8px; margin: -2px 0 4px 30px; font: 700 13px var(--tp-sans); color: var(--tp-ink2); }
.tp-ctx .tp-i { width: 16px; height: 16px; }
.tp-ctx a:hover { text-decoration: underline; }
.tp-row { display: flex; gap: 12px; }
.tp-main { flex: 1; min-width: 0; }
.tp-h { display: flex; align-items: baseline; gap: 4px; font-size: 15px; line-height: 20px; min-width: 0; white-space: nowrap; }
.tp-n { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.tp-n:hover { text-decoration: underline; }
.tp-hd, .tp-dot, .tp-time, .tp-ed { color: var(--tp-ink2); }
.tp-hd { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tp-time:hover { text-decoration: underline; }
.tp-ed::before { content: "· "; }
.tp-ed { font-size: 13px; }
.tp-badge { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 4px; background: var(--tp-acc); color: #fff; align-self: center; flex: none; }
.tp-badge .tp-i { width: 11px; height: 11px; stroke-width: 3.4; }
.tp-badge-m { background: #121212; }
.tp-topic { margin-left: 8px; padding: 0; font: 800 10.5px/18px var(--tp-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tp-ink2); background: none !important; align-self: center; }
.tp-topic-soru { color: #2f7d4f; }
.tp-topic-yks { color: #8a6400; }
.tp-topic-ders { color: #5b3ba8; }
.tp-topic-haber { color: var(--tp-acc); }
.tp-topic-fikir { color: #9d3b5a; }
.tp-menu { margin-left: auto; width: 34px; height: 34px; margin-top: -7px; margin-right: -8px; display: grid; place-items: center; border-radius: 6px; border: 0; background: none; color: var(--tp-ink2); cursor: pointer; flex: none; }
.tp-menu:hover { background: var(--tp-acc-soft); color: var(--tp-acc); }
.tp-to { font: 400 15px var(--tp-sans); color: var(--tp-ink2); margin: 1px 0 2px; }
.tp-to a, .tp-to b { color: var(--tp-acc); font-weight: 400; }
.tp-body { font: 400 16.5px/1.5 var(--tp-serif); overflow-wrap: anywhere; margin: 3px 0 10px; color: #1c1c1a; }
.tp-focus .tp-body { font-size: 20px; line-height: 1.5; margin: 12px 0; }
.tp-body .tp-tag, .tp-body .tp-men, .tp-body .tp-link, .tp-bio a { color: var(--tp-acc); }
.tp-body a:hover { text-decoration: underline; }
.tp-math .katex { font-size: 1.08em; }
.tp-status { margin: 6px 0 8px; padding: 8px 10px; border-radius: 10px; font: 500 13px/1.4 var(--tp-sans); background: #fff4d6; color: #6b4f00; }
.tp-status-hidden { background: #fde7e5; color: #8a1c14; }
.tp-status small { color: inherit; opacity: .85; }
.tp-modbtns { display: inline-flex; gap: 6px; margin-left: 6px; }
.tp-bestmark { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 2px; padding: 3px 10px 3px 6px; border-radius: 999px; background: #e6f4ea; color: #1e6b3a; font: 700 12.5px var(--tp-sans); }
.tp-bestmark .tp-i { width: 15px; height: 15px; stroke-width: 3; }
.tp-media { display: grid; gap: 2px; border: 1px solid var(--tp-line2); border-radius: 8px; overflow: hidden; margin: 4px 0 10px; max-height: 510px; }
.tp-media-1 { grid-template-columns: 1fr; }
.tp-media-2 { grid-template-columns: 1fr 1fr; aspect-ratio: 16/9; }
.tp-media-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16/9; }
.tp-media-3 .tp-img:first-child { grid-row: span 2; }
.tp-media-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16/9; }
.tp-img { display: block; padding: 0; border: 0; background: var(--tp-line); cursor: zoom-in; min-height: 0; overflow: hidden; }
.tp-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-media-1 .tp-img img { height: auto; max-height: 510px; object-fit: contain; background: #f7f7f7; }
.tp-full { padding: 12px 0; border-bottom: 1px solid var(--tp-line); color: var(--tp-ink2); font-size: 15px; }
.tp-acts { display: flex; justify-content: space-between; max-width: 440px; margin: 0 -8px 4px; }
.tp-focus .tp-acts { max-width: none; padding: 4px 0; margin: 0 -8px; border-bottom: 0; }
.tp-a { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: var(--tp-ink2); cursor: pointer; padding: 0; font: 400 13px var(--tp-sans); min-width: 44px; }
.tp-a .tp-i { width: 34px; height: 34px; padding: 8px; border-radius: 8px; transition: background .15s, color .15s; }
.tp-focus .tp-a .tp-i { width: 40px; height: 40px; padding: 9px; }
.tp-a span { min-width: 1ch; }
.tp-a-r:hover, .tp-a-s:hover, .tp-a-b:hover { color: var(--tp-acc); }
.tp-a-r:hover .tp-i, .tp-a-s:hover .tp-i, .tp-a-b:hover .tp-i { background: var(--tp-acc-soft); }
.tp-a-rp:hover, .tp-a-rp.on { color: var(--tp-rp); }
.tp-a-rp:hover .tp-i { background: #e3f1e8; }
.tp-a-l:hover, .tp-a-l.on { color: var(--tp-like); }
.tp-a-l:hover .tp-i { background: #f8e4e1; }
.tp-a-l.on .tp-i { fill: var(--tp-like); }
.tp-a-b.on { color: var(--tp-acc); }
.tp-a-b.on .tp-i { fill: var(--tp-acc); }
.tp-a.pop .tp-i { animation: tp-pop .35s ease-out; }
@keyframes tp-pop { 40% { transform: scale(1.3); } }
.tp-gone { cursor: default; }
.tp-gone-t { margin: 4px 0 12px; padding: 12px; border-radius: 12px; background: var(--tp-hover); color: var(--tp-ink2); font-size: 14px; }
.tp-chain .tp-post { border-bottom: 0; }
.tp-chain .tp-row { position: relative; }
.tp-chain .tp-row::before { content: ""; position: absolute; left: 19px; top: 46px; bottom: -14px; width: 2px; background: var(--tp-line2); }

/* ---------- listeler ---------- */
.tp-empty { padding: 40px 24px; text-align: center; color: var(--tp-ink2); font-size: 15px; line-height: 1.5; }
.tp-loading { padding: 30px; text-align: center; color: var(--tp-ink2); }
.tp-loadmore { padding: 20px; text-align: center; }
.tp-spin { width: 26px; height: 26px; margin: 22px auto; border: 3px solid var(--tp-acc-soft); border-top-color: var(--tp-acc); border-radius: 50%; animation: tp-rot .8s linear infinite; }
@keyframes tp-rot { to { transform: rotate(360deg); } }
.tp-newpill { position: sticky; top: 64px; z-index: 6; display: flex; justify-content: center; height: 0; }
.tp-newpill button { margin-top: 6px; border: 0; background: var(--tp-acc); color: #fff; border-radius: 6px; padding: 8px 16px; font: 700 14px var(--tp-sans); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.tp-guest { padding: 16px; border-bottom: 1px solid var(--tp-line); }
.tp-guest-m { display: none; }
.tp-join { border: 1px solid var(--tp-line2); border-radius: 8px; padding: 14px 16px; display: grid; gap: 10px; }
.tp-join b { font: 700 19px var(--tp-serif); }
.tp-join p { margin: 0; color: var(--tp-ink2); font-size: 14px; line-height: 1.45; }
.tp-sub { margin: 0; padding: 16px 16px 8px; font: 800 18px var(--tp-sans); border-bottom: 1px solid var(--tp-line); }
.tp-people { border-bottom: 1px solid var(--tp-line); }
.tp-people h2 { margin: 0; padding: 14px 16px 6px; font: 800 18px var(--tp-sans); }
.tp-person { display: flex; gap: 12px; align-items: center; padding: 10px 16px; }
.tp-person:hover { background: var(--tp-hover); }
.tp-person b { display: flex; gap: 4px; align-items: center; font-weight: 700; }
.tp-person b .tp-i { width: 15px; height: 15px; color: var(--tp-acc); stroke-width: 3; }
.tp-person small { color: var(--tp-ink2); }

/* ---------- sağ sütun ---------- */
.tp-search { position: relative; display: flex; align-items: center; }
.tp-search .tp-i { position: absolute; left: 16px; color: var(--tp-ink2); width: 18px; height: 18px; pointer-events: none; }
.tp-search input { width: 100%; border: 1px solid var(--tp-line2); background: #fff; border-radius: 6px; padding: 12px 16px 12px 46px; font: 400 15px var(--tp-sans); color: var(--tp-ink); outline: none; }
.tp-search input:focus { background: #fff; border-color: var(--tp-acc); }
.tp-search-big { padding: 12px 16px; border-bottom: 1px solid var(--tp-line); }
.tp-search-big .tp-i { left: 32px; }
.tp-box { border-top: 2px solid var(--tp-ink); overflow: hidden; }
.tp-box h2 { margin: 0; padding: 10px 0 6px; font: 800 12px var(--tp-sans); letter-spacing: .12em; text-transform: uppercase; }
.tp-box > p, .tp-box > ul { margin: 0; padding: 0 0 14px; }
.tp-box > a { display: block; padding: 8px 0 12px; color: var(--tp-acc); font-size: 14px; font-weight: 600; }
.tp-box > a:hover { background: var(--tp-hover); }
.tp-box-rules ul { padding-left: 34px; font-size: 14px; line-height: 1.5; color: var(--tp-ink2); }
.tp-trend { list-style: none; margin: 0; padding: 0; }
.tp-trend a { display: block; padding: 8px 0; border-bottom: 1px solid var(--tp-line); }
.tp-trend a:hover { background: var(--tp-hover); }
.tp-trend small { display: block; font-size: 13px; color: var(--tp-ink2); }
.tp-trend b { display: block; font: 700 15px var(--tp-sans); margin-top: 2px; }
.tp-trend-big { border-bottom: 1px solid var(--tp-line); }
.tp-topics { list-style: none; margin: 0; padding: 0 0 6px; }
.tp-topic-l { display: block; padding: 8px 10px; border-left: 3px solid transparent; }
.tp-topic-l:hover { background: var(--tp-hover); }
.tp-topic-l.on { border-left-color: var(--tp-acc); background: var(--tp-hover); }
.tp-topic-l b { display: flex; align-items: center; gap: 8px; font: 700 15px var(--tp-sans); }
.tp-topic-l b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tp-line2); flex: none; }
.tp-topic-l[data-t="soru"] b::before { background: #2f9e58; } .tp-topic-l[data-t="yks"] b::before { background: #e0b100; } .tp-topic-l[data-t="ders"] b::before { background: #7c5cd6; }
.tp-topic-l[data-t="haber"] b::before { background: var(--tp-acc); } .tp-topic-l[data-t="fikir"] b::before { background: #d63384; }
.tp-topic-l small { display: block; padding-left: 17px; color: var(--tp-ink2); font-size: 13px; line-height: 1.35; }
.tp-foot { font-size: 13px; color: var(--tp-ink2); padding: 0 16px; }
.tp-foot a:hover { text-decoration: underline; }

/* ---------- profil ---------- */
.tp-cover { height: 140px; background: var(--c) repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 2px, transparent 2px 14px); opacity: .9; }
.tp-ph { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 16px; margin-top: -60px; }
.tp-pactions { display: flex; gap: 8px; margin-top: 72px; }
.tp-profile h2.tp-pname { margin: 10px 16px 0; font: 700 24px var(--tp-serif); display: flex; gap: 6px; align-items: center; }
.tp-phandle { margin: 2px 16px 10px; color: var(--tp-ink2); font-size: 15px; }
.tp-folme { margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: var(--tp-line); font-size: 12px; }
.tp-bio { margin: 0 16px 10px; font: 400 15px/1.45 var(--tp-sans); }
.tp-pmeta { margin: 0 16px 8px; color: var(--tp-ink2); font-size: 15px; }
.tp-pstats { display: flex; gap: 18px; margin: 0 16px 14px; font-size: 14px; color: var(--tp-ink2); }
.tp-pstats b { color: var(--tp-ink); }

/* ---------- bildirimler ---------- */
.tp-notif { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--tp-line); }
.tp-notif:hover { background: var(--tp-hover); }
.tp-notif.unread { background: #f5f9fd; }
.tp-nicon { width: 40px; display: flex; justify-content: flex-end; flex: none; }
.tp-nicon .tp-i { width: 28px; height: 28px; }
.tp-n-like .tp-nicon { color: var(--tp-like); }
.tp-n-like .tp-nicon .tp-i { fill: var(--tp-like); }
.tp-n-repost .tp-nicon { color: var(--tp-rp); }
.tp-n-follow .tp-nicon, .tp-n-reply .tp-nicon, .tp-n-mention .tp-nicon { color: var(--tp-acc); }
.tp-n-best .tp-nicon, .tp-n-approved .tp-nicon { color: #1e8e3e; }
.tp-n-rejected .tp-nicon { color: var(--tp-bad); }
.tp-navs { display: flex; gap: 4px; margin-bottom: 6px; }
.tp-navs .tp-av { width: 32px; height: 32px; font-size: 12px; }
.tp-ntext { display: block; font-size: 15px; line-height: 1.4; }
.tp-nsnip { display: block; margin-top: 4px; color: var(--tp-ink2); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.tp-ntime { color: var(--tp-ink2); font-size: 13px; }

/* ---------- ayarlar, kurallar ---------- */
.tp-settings { display: grid; gap: 18px; padding: 16px; }
.tp-settings label { display: grid; gap: 6px; font: 600 14px var(--tp-sans); }
.tp-settings input, .tp-settings textarea { border: 1px solid var(--tp-line2); border-radius: 6px; padding: 10px 12px; font: 400 16px var(--tp-sans); width: 100%; }
.tp-settings input:focus, .tp-settings textarea:focus { border-color: var(--tp-acc); outline: none; box-shadow: 0 0 0 1px var(--tp-acc); }
.tp-settings small { font-weight: 400; color: var(--tp-ink2); }
.tp-at { display: flex; align-items: center; border: 1px solid var(--tp-line2); border-radius: 6px; }
.tp-at span { padding-left: 12px; color: var(--tp-ink2); }
.tp-at input { border: 0 !important; box-shadow: none !important; }
.tp-help { margin: 0; color: var(--tp-ink2); font-size: 14px; line-height: 1.5; }
.tp-row-end { display: flex; justify-content: flex-end; }
.tp-settings-more { margin: 0 16px; }
.tp-settings-more p { font-size: 14px; color: var(--tp-ink2); line-height: 1.5; }
.tp-settings-more a { color: var(--tp-acc); }
.tp-prose { padding: 6px 20px 30px; font: 400 16px/1.6 var(--tp-serif); color: #263238; }
.tp-prose h2 { font: 800 18px var(--tp-sans); margin: 22px 0 6px; color: var(--tp-ink); }
.tp-prose a { color: var(--tp-acc); }

/* ---------- menü, diyalog, ışık kutusu, bildirim ---------- */
.tp-pop { position: absolute; z-index: 60; min-width: 230px; background: #fff; border-radius: 8px; box-shadow: 0 0 15px rgba(101, 119, 134, .2), 0 0 3px 1px rgba(101, 119, 134, .15); padding: 4px 0; }
.tp-pop button { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 12px 16px; font: 700 15px var(--tp-sans); color: var(--tp-ink); text-align: left; cursor: pointer; }
.tp-pop button:hover, .tp-pop button:focus { background: var(--tp-hover); outline: none; }
.tp-pop button.danger { color: var(--tp-bad); }
.tp-dlg { border: 0; padding: 0; border-radius: 10px; width: min(600px, calc(100vw - 24px)); max-height: calc(100vh - 60px); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.tp-dlg::backdrop { background: rgba(0, 0, 0, .4); }
.tp-dlg-h { display: flex; align-items: center; gap: 12px; padding: 8px 12px; position: sticky; top: 0; background: #fff; z-index: 2; }
.tp-dlg-h h2 { margin: 0; font: 800 18px var(--tp-sans); flex: 1; }
.tp-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 0; background: none; cursor: pointer; }
.tp-x:hover { background: var(--tp-line); }
.tp-dlg-b { padding: 4px 16px 16px; font-size: 15px; line-height: 1.5; }
.tp-dlg-b p { margin: 0 0 12px; }
.tp-dlg .tp-compose { border: 0; padding: 4px 16px 12px; }
.tp-dlg .tp-quote { margin: 0 16px 0 68px; padding: 0 0 8px; color: var(--tp-ink2); font-size: 14px; border-bottom: 1px solid var(--tp-line); }
.tp-reasons { display: grid; gap: 2px; margin: 0 -16px 12px; }
.tp-reasons label { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; font-weight: 600; }
.tp-reasons label:hover { background: var(--tp-hover); }
.tp-reasons input { width: 18px; height: 18px; accent-color: var(--tp-acc); }
.tp-dlg textarea.tp-note { width: 100%; border: 1px solid var(--tp-line2); border-radius: 8px; padding: 10px; font: 400 15px var(--tp-sans); min-height: 70px; }
.tp-dlg-f { display: flex; justify-content: flex-end; gap: 8px; padding: 0 16px 16px; }
.tp-alt-img { width: 100%; max-height: 300px; object-fit: contain; background: #000; border-radius: 12px; margin-bottom: 12px; }
.tp-light { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; background: rgba(0, 0, 0, .92); display: grid; place-items: center; }
.tp-light[open] { display: grid; }
.tp-light img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.tp-light .tp-x { position: fixed; top: 14px; left: 14px; color: #fff; background: rgba(255, 255, 255, .12); }
.tp-light .nav { position: fixed; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; cursor: pointer; }
.tp-light .prev { left: 14px; } .tp-light .next { right: 14px; }
.tp-light .cap { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); color: #e7e9ea; font: 400 14px var(--tp-sans); max-width: 80vw; text-align: center; }
.tp-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; background: var(--tp-acc); color: #fff; border-radius: 6px; padding: 12px 18px; font: 500 15px var(--tp-sans); box-shadow: 0 4px 16px rgba(0, 0, 0, .2); max-width: calc(100vw - 32px); }
.tp-toast.err { background: var(--tp-bad); }
.tp-bottom, .tp-fab { display: none; }

/* ---------- duyarlı ---------- */
@media (max-width: 1240px) {
  .tp-app { grid-template-columns: 88px minmax(0, 600px) 330px; }
  .tp-left { padding-right: 12px; align-items: center; }
  .tp-brand, .tp-nl span, .tp-meline span:last-child, .tp-left .tp-join { display: none; }
  .tp-guest-m { display: block; }
  .tp-nl { padding: 12px; }
  .tp-btn-big { width: 52px; height: 52px; padding: 0; }
  .tp-btn-big span { display: none; }
  .tp-btn-big .tp-i { display: block; width: 24px; height: 24px; }
  .tp-meline { padding: 6px; }
}
@media (max-width: 1040px) {
  .tp-app { grid-template-columns: 88px minmax(0, 600px); }
  .tp-right { display: none; }
}
@media (max-width: 700px) {
  .tp-app { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .tp-left { display: none; }
  .tp-center { border: 0; }
  .tp-top { padding: 0 12px; }
  .tp-post, .tp-compose { padding-left: 12px; padding-right: 12px; }
  .tp-compose textarea { font-size: 17px; }
  .tp-bottom { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--tp-line); justify-content: space-around; padding: 4px 0 calc(4px + env(safe-area-inset-bottom, 0px)); }
  .tp-bottom a { position: relative; padding: 10px 14px; color: var(--tp-ink); }
  .tp-bottom a .tp-i { width: 26px; height: 26px; }
  .tp-bottom a.on .tp-i { stroke-width: 2.5; }
  .tp-bottom .tp-badge-n { left: 30px; top: 4px; }
  .tp-fab { display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); z-index: 51; width: 56px; height: 56px; border-radius: 14px; border: 0; background: var(--tp-acc); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer; }
  .tp-fab .tp-i { width: 24px; height: 24px; }
  .tp-acts { max-width: none; }
  .tp-dlg { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .tp-av-xl { width: 84px; height: 84px; font-size: 30px; }
  .tp-ph { margin-top: -42px; }
  .tp-pactions { margin-top: 52px; }
  .tp-cover { height: 110px; }
  .tp-toast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-app *, .tp-dlg * { animation: none !important; transition: none !important; }
}
