/* Karargâh: Discord benzeri tam ekran sohbet düzeni (Galeri · Çelik jetonlarıyla). */
.app-body { margin: 0; background: #0b0f14; overflow: hidden; }
.kg-app { --kg-rail: #0b0f14; --kg-side: #121820; --kg-main: #171e27; --kg-hover: #1e2732; --kg-line: #252f3b;
  display: grid; grid-template-columns: 72px 240px minmax(0, 1fr) 240px; height: 100dvh; color: var(--gh-fg); font-family: var(--gh-body); }
/* design/style.css geniş ekranda body'yi büyütür (zoom); 100dvh büyütmeden önce hesaplanır, bu yüzden yükseklik aynı oranla bölünür
   (yoksa 4K'da ekran 1,75 kat uzar ve alttaki giriş düğmesi görünmez). Oranlar style.css ile aynı tutulmalı. */
@media (min-width: 2200px) { .kg-app { height: calc(100dvh / 1.2); } }
@media (min-width: 2800px) { .kg-app { height: calc(100dvh / 1.45); } }
@media (min-width: 3400px) { .kg-app { height: calc(100dvh / 1.75); } }
@media (min-width: 4200px) { .kg-app { height: calc(100dvh / 2.2); } }
@media (min-width: 5200px) { .kg-app { height: calc(100dvh / 2.75); } }
@media (min-width: 6400px) { .kg-app { height: calc(100dvh / 3.4); } }
@media (min-width: 7400px) { .kg-app { height: calc(100dvh / 4); } }
.kg-empty { padding: 40px 24px; text-align: center; color: var(--gh-muted); }
.kg-note { color: var(--gh-muted); font-size: 13px; margin: 4px 0; }
.kg-ic { display: inline-block; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; vertical-align: middle; }
.kg-ic-hash { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3 8 21M16 3l-2 18M4 9h17M3 15h17' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-speaker { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23000'/%3E%3Cpath d='M16 8a5 5 0 0 1 0 8M18.5 5.5a8.5 8.5 0 0 1 0 13' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-megaphone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10v4h3l9 5V5L6 10z' fill='%23000'/%3E%3Cpath d='M18 9v6' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-mic { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='%23000'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-head { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 15v-3a8 8 0 0 1 16 0v3' stroke='%23000' stroke-width='2' fill='none'/%3E%3Crect x='3' y='14' width='5' height='7' rx='2' fill='%23000'/%3E%3Crect x='16' y='14' width='5' height='7' rx='2' fill='%23000'/%3E%3C/svg%3E"); }
.kg-ic-gear { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.48.48 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96a.48.48 0 0 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2z'/%3E%3C/svg%3E"); }
.kg-ic-shield { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z' fill='%23000'/%3E%3C/svg%3E"); }
.kg-ic-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l-1 6 4 4H6l4-4zM12 13v8' stroke='%23000' stroke-width='2' fill='none' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kg-ic-people { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='3.5' fill='%23000'/%3E%3Cpath d='M2 20c0-4 3-6 7-6s7 2 7 6z' fill='%23000'/%3E%3Ccircle cx='17' cy='7' r='2.8' fill='%23000'/%3E%3Cpath d='M17 12c3 0 5 2 5 5h-4' fill='%23000'/%3E%3C/svg%3E"); }
.kg-ic-menu { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-send { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 11 18-8-8 18-2-8z' fill='%23000'/%3E%3C/svg%3E"); }
/* sunucu rayı */
.kg-rail { background: var(--kg-rail); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; overflow-y: auto; scrollbar-width: none; }
.kg-rail hr { width: 32px; border: 0; border-top: 2px solid var(--kg-line); margin: 2px 0; }
.kg-srv { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--srv, var(--kg-main)); color: #fff; font: 800 18px/1 var(--gh-body); text-decoration: none; transition: border-radius .15s, background .15s; }
.kg-srv::before { content: ''; position: absolute; left: -12px; width: 4px; height: 0; border-radius: 0 4px 4px 0; background: var(--gh-fg); transition: height .15s; }
.kg-srv:hover { border-radius: 16px; } .kg-srv:hover::before { height: 20px; }
.kg-srv.on { border-radius: 16px; } .kg-srv.on::before { height: 40px; }
.kg-srv.home { background: var(--gh-panel-2); } .kg-srv.home.on, .kg-srv.home:hover { background: var(--gh-accent); color: var(--gh-on-accent); }
.kg-srv.add { background: var(--kg-main); color: var(--gh-live); font-size: 26px; font-weight: 400; } .kg-srv.add:hover, .kg-srv.add.on { background: var(--gh-live); color: #0b0f14; }
/* kanal kenar çubuğu */
.kg-side { background: var(--kg-side); display: flex; flex-direction: column; min-height: 0; }
.kg-server { padding: 0 12px; border-bottom: 1px solid #0006; box-shadow: 0 1px 0 #0003; }
.kg-server > b { display: block; padding: 16px 4px; }
.kg-server-menu { position: relative; }
.kg-server-menu summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 48px; padding: 0 4px; cursor: pointer; list-style: none; font-weight: 700; }
.kg-server-menu summary::-webkit-details-marker { display: none; }
.kg-server-menu .cm-menu-list { left: 0; right: 0; }
.kg-join { width: 100%; margin: 0 0 12px; }
.kg-channels { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 8px 8px 16px; scrollbar-width: thin; }
.kg-cat summary { display: flex; align-items: center; gap: 4px; list-style: none; cursor: pointer; padding: 16px 8px 4px; color: var(--gh-muted); font: 700 11px/1 var(--gh-body); letter-spacing: .04em; }
.kg-cat summary::-webkit-details-marker { display: none; }
.kg-cat summary::before, .kg-caret { content: ''; display: inline-block; width: 12px; height: 12px; flex: none; background: currentColor; -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transition: transform .15s; }
.kg-app { --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kg-cat:not([open]) summary::before { transform: rotate(-90deg); }
.kg-caret { width: 16px; height: 16px; margin: 0; } .kg-server-menu[open] .kg-caret { transform: rotate(180deg); }
.kg-cat ul { list-style: none; margin: 0; padding: 0; }
.kg-chan { display: flex; align-items: center; gap: 6px; padding: 6px 8px; margin: 1px 0; border-radius: 6px; color: var(--gh-muted); text-decoration: none; font-weight: 600; }
.kg-chan .kg-ic { width: 18px; height: 18px; opacity: .7; }
.kg-chan span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kg-chan:hover { background: var(--kg-hover); color: var(--gh-fg-soft); }
.kg-chan[aria-current="page"] { background: var(--kg-hover); color: var(--gh-fg); }
.kg-user { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px; background: #0e131a; min-height: 52px; flex-wrap: wrap; }
.kg-me { display: flex; flex: 1 1 0; align-items: center; gap: 8px; min-width: 0; }
.kg-me-text { display: grid; min-width: 0; } .kg-me-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .kg-me-text small { color: var(--gh-muted); font-size: 12px; }
.kg-user-tools { display: flex; flex: none; gap: 2px; }
.kg-tool { display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--gh-fg-soft); cursor: pointer; text-decoration: none; font: 700 20px/1 var(--gh-body); }
.kg-tool:hover:not(:disabled) { background: var(--kg-hover); color: var(--gh-fg); } .kg-tool:disabled { opacity: .4; cursor: not-allowed; }
.kg-ava-wrap { position: relative; display: inline-flex; }
.kg-dot { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #5d6672; border: 3px solid var(--kg-side); }
.kg-dot.on { background: var(--gh-live); }
/* orta alan */
.kg-center { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--kg-main); }
.kg-head { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border-bottom: 1px solid #0006; box-shadow: 0 1px 0 #0003; flex: none; }
.kg-head h1 { margin: 0; font: 700 16px/1 var(--gh-body); white-space: nowrap; }
.kg-head > .kg-ic { color: var(--gh-muted); }
.kg-topic { flex: 1; min-width: 0; margin: 0 0 0 8px; padding-left: 12px; border-left: 1px solid var(--kg-line); color: var(--gh-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kg-burger { display: none; }
.kg-main { flex: 1; display: flex; flex-direction: column; min-height: 0; outline: 0; }
.kg-messages { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 16px 0 8px; scrollbar-width: thin; }
.kg-msg { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); padding: 2px 48px 2px 0; margin-top: 14px; }
.kg-msg.compact { margin-top: 0; }
.kg-msg:hover { background: #12182080; }
.kg-msg.mention { background: #b9893a1f; box-shadow: inset 2px 0 0 #e0b25a; }
.kg-msg.pinned .kg-meta { color: var(--gh-fg-soft); }
.kg-gutter { display: flex; justify-content: center; padding-top: 2px; text-decoration: none; }
.kg-gutter .cm-ava { width: 40px; height: 40px; }
.kg-time-hover { color: transparent; font-size: 11px; padding-top: 4px; } .kg-msg:hover .kg-time-hover { color: var(--gh-muted); }
.kg-body { min-width: 0; }
.kg-meta { margin: 0; font-size: 12px; color: var(--gh-muted); }
.kg-name { font: 700 15px/1.3 var(--gh-body); text-decoration: none; margin-right: 6px; } .kg-name:hover { text-decoration: underline; }
.kg-text { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; color: var(--gh-fg-soft); }
.kg-edited { color: var(--gh-muted); font-size: 11px; }
.cm-mention { padding: 0 3px; border-radius: 4px; background: #3b6ea833; color: #b8d4f5; font-weight: 600; }
.cm-mention.me { background: #e0b25a33; color: #f3d39a; }
.kg-quote { display: block; max-width: 100%; margin: 0 0 2px; padding: 0; border: 0; background: none; color: var(--gh-muted); font: 13px/1.4 var(--gh-body); text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kg-quote b { color: var(--gh-fg-soft); }
.kg-img { display: inline-block; margin-top: 6px; } .kg-img img { display: block; max-width: min(420px, 100%); max-height: 320px; border-radius: 8px; object-fit: cover; }
.kg-voice { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 12px; width: fit-content; max-width: 100%; border-radius: 10px; background: var(--kg-side); color: var(--gh-muted); }
.kg-voice audio { height: 36px; max-width: 260px; }
.kg-reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.kg-react { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid transparent; border-radius: 8px; background: var(--kg-side); color: var(--gh-fg-soft); font: 14px var(--gh-body); cursor: pointer; }
.kg-react.mine { border-color: #5b8fd6; background: #3b6ea833; } .kg-react b { font-size: 12px; }
.kg-hover { position: absolute; right: 16px; top: -14px; display: none; gap: 2px; padding: 2px; border: 1px solid var(--kg-line); border-radius: 8px; background: var(--kg-side); box-shadow: 0 4px 12px #0006; }
.kg-msg:hover .kg-hover, .kg-msg:focus-within .kg-hover { display: flex; }
.kg-hover > button, .kg-hover summary { display: grid; place-items: center; width: 32px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--gh-fg-soft); cursor: pointer; font-size: 16px; }
.kg-hover > button:hover, .kg-hover summary:hover { background: var(--kg-hover); }
.kg-hover .cm-menu-list { right: 0; }
.kg-emoji { position: absolute; z-index: 20; right: 16px; bottom: calc(100% + 4px); display: grid; grid-template-columns: repeat(5, 36px); gap: 2px; padding: 6px; border: 1px solid var(--kg-line); border-radius: 10px; background: var(--kg-side); box-shadow: 0 8px 24px #0008; }
.kg-emoji button { width: 36px; height: 36px; border: 0; border-radius: 6px; background: none; font-size: 20px; cursor: pointer; } .kg-emoji button:hover { background: var(--kg-hover); }
.kg-day { display: flex; align-items: center; gap: 8px; margin: 18px 16px 4px; color: var(--gh-muted); font-size: 12px; font-weight: 700; list-style: none; }
.kg-day::before, .kg-day::after { content: ''; flex: 1; border-top: 1px solid var(--kg-line); }
.kg-typing { height: 20px; margin: 0; padding: 0 16px; color: var(--gh-muted); font-size: 12px; font-weight: 600; }
.kg-composer { position: relative; padding: 0 16px 16px; }
.kg-composer.locked p { margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: var(--kg-side); color: var(--gh-muted); }
.kg-input { display: flex; align-items: flex-end; gap: 4px; padding: 6px 8px; border-radius: 10px; background: #222b36; }
.kg-input textarea { flex: 1; min-height: 32px; max-height: 200px; padding: 6px 4px; border: 0; background: none; color: var(--gh-fg); font: 15px/1.4 var(--gh-body); resize: none; outline: 0; }
.kg-plus { border-radius: 50% !important; background: var(--gh-muted) !important; color: #222b36 !important; width: 24px !important; height: 24px !important; margin: 4px 4px 4px 2px; font-size: 18px !important; }
.kg-send { color: var(--gh-accent); }
.kg-status { display: block; min-height: 0; color: var(--gh-muted); font-size: 12px; padding-top: 4px; } .kg-status.error { color: #f0a3a3; } .kg-status:empty { display: none; }
.kg-replybar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px 10px 0 0; background: var(--kg-side); color: var(--gh-muted); font-size: 13px; }
.kg-replybar b { color: var(--gh-fg-soft); } .kg-replybar button { border: 0; background: none; color: var(--gh-muted); font-size: 18px; cursor: pointer; }
.kg-replybar + .kg-previews + .kg-recbar + .kg-input, .kg-replybar:not([hidden]) ~ .kg-input { border-radius: 0 0 10px 10px; }
.kg-previews { display: flex; gap: 8px; flex-wrap: wrap; padding: 8px 0; } .kg-previews:empty { display: none; }
.kg-previews figure { position: relative; margin: 0; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; } .kg-previews img { width: 100%; height: 100%; object-fit: cover; }
.kg-recbar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 6px; border-radius: 10px; background: #3a1c1f; color: #ffd7d7; font-size: 14px; }
.kg-recbar b { font-variant-numeric: tabular-nums; } .kg-recbar .cm-small { margin-left: auto; } .kg-recbar .cm-small + .cm-small { margin-left: 0; }
.kg-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5c5c; animation: kg-blink 1s infinite; }
@keyframes kg-blink { 50% { opacity: .2; } }
.kg-voice-room { flex: 1; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px; text-align: center; color: var(--gh-muted); }
.kg-voice-room h2 { margin: 0; color: var(--gh-fg); }
.kg-voice-badge { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--kg-side); color: var(--gh-fg-soft); } .kg-voice-badge .kg-ic { width: 40px; height: 40px; }
/* üye listesi */
.kg-members { background: var(--kg-side); overflow-y: auto; padding: 8px 8px 16px; }
.kg-members h3 { margin: 16px 8px 6px; color: var(--gh-muted); font: 700 11px/1 var(--gh-body); letter-spacing: .04em; }
.kg-member { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; color: var(--gh-fg-soft); text-decoration: none; font-size: 14px; }
.kg-member:hover { background: var(--kg-hover); } .kg-member.off { opacity: .45; }
.kg-member .kg-dot { border-color: var(--kg-side); }
/* keşfet ve moderasyon */
.kg-discover { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding: 20px; align-content: start; }
.kg-srv-card { display: grid; gap: 8px; padding: 0 0 16px; border-radius: 12px; background: var(--kg-side); overflow: hidden; }
.kg-srv-card > :not(.kg-srv-banner) { margin: 0 16px; }
.kg-srv-card h3 { margin-top: 4px !important; font-size: 17px; overflow-wrap: anywhere; } .kg-srv-card p { margin-top: 0; margin-bottom: 0; color: var(--gh-fg-soft); font-size: 14px; }
.kg-srv-banner { height: 84px; background: linear-gradient(135deg, var(--srv), #0b0f14); display: flex; align-items: flex-end; padding: 0 16px; }
.kg-srv-banner span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: -20px; border-radius: 16px; border: 4px solid var(--kg-side); background: var(--srv); font: 800 22px/1 var(--gh-body); }
.kg-srv-card .secondary { justify-self: start; }
.kg-mod { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; max-width: 820px; }
.kg-report { padding: 16px; border-radius: 10px; background: var(--kg-side); display: grid; gap: 8px; } .kg-report p, .kg-report blockquote { margin: 0; }
.kg-report blockquote { padding: 10px 12px; border-left: 3px solid var(--kg-line); background: var(--kg-main); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.kg-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kg-pins ul { max-height: 50vh; overflow-y: auto; padding-left: 18px; } .kg-pins li { margin-bottom: 8px; overflow-wrap: anywhere; }
.kg-scrim { display: none; }
.kg-app button.primary, .kg-app a.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border: 0; border-radius: 8px; background: #3e6f9e; color: #fff; font: 700 14px/1 var(--gh-body); cursor: pointer; text-decoration: none; }
.kg-app button.secondary, .kg-app a.secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--kg-hover); color: var(--gh-fg); font: 600 14px/1 var(--gh-body); cursor: pointer; text-decoration: none; }
.kg-app button:disabled { opacity: .5; cursor: not-allowed; }
.kg-app .cm-login { display: inline-flex; min-height: 36px; padding: 0 14px; border-radius: 8px; }
.kg-app .text-link { border: 0; background: none; color: var(--gh-muted); text-decoration: underline; cursor: pointer; font-size: 12px; }
.cm-toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 18px; border-radius: 10px; background: #0b0f14; border: 1px solid var(--gh-line); color: var(--gh-fg); box-shadow: 0 8px 24px #0009; font: 14px var(--gh-body); max-width: calc(100vw - 32px); }
@media (max-width: 1200px) { .kg-app { grid-template-columns: 72px 240px minmax(0, 1fr); } .kg-members { position: fixed; z-index: 30; top: 0; right: 0; bottom: 0; width: 260px; transform: translateX(100%); transition: transform .2s; } .kg-app.members-open .kg-members { transform: none; box-shadow: -8px 0 24px #0008; } .kg-app.members-open .kg-scrim { display: block; } }
@media (max-width: 760px) {
  .kg-app { grid-template-columns: minmax(0, 1fr); }
  .kg-rail, .kg-side { position: fixed; z-index: 30; top: 0; bottom: 0; transform: translateX(-120%); transition: transform .2s; }
  .kg-rail { left: 0; width: 72px; } .kg-side { left: 72px; width: min(280px, calc(100vw - 88px)); }
  .kg-app.nav-open .kg-rail, .kg-app.nav-open .kg-side { transform: none; } .kg-app.nav-open .kg-side { box-shadow: 8px 0 24px #0008; }
  .kg-app.nav-open .kg-scrim { display: block; }
  .kg-burger { display: inline-grid; }
  .kg-msg { grid-template-columns: 56px minmax(0, 1fr); padding-right: 8px; }
  .kg-gutter .cm-ava { width: 36px; height: 36px; }
  .kg-hover { right: 8px; }
  .kg-topic { display: none; }
}
.kg-scrim { position: fixed; z-index: 25; inset: 0; border: 0; background: #0009; }

/* Sesli kanallar */
.kg-ic-cam { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='6' width='14' height='12' rx='3' fill='%23000'/%3E%3Cpath d='m16 10 6-4v12l-6-4z' fill='%23000'/%3E%3C/svg%3E"); }
.kg-ic-screen { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='13' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M8 21h8M12 17v4M12 13V8m-3 3 3-3 3 3' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-hangup { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 14c5-5 15-5 20 0l-3 3-4-2v-3a12 12 0 0 0-6 0v3l-4 2z' fill='%23000'/%3E%3C/svg%3E"); }
.kg-ic-mute { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='%23000'/%3E%3Cpath d='M5 11a7 7 0 0 0 11 5.7M19 11a7 7 0 0 1-.6 2.8M12 18v3M3 3l18 18' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-tool.off { color: #ff6b6b; }
.kg-tool.danger { color: #ff6b6b; }
.kg-tool.on { color: var(--gh-live); } /* sesli kanalda: açık yeşil, kapalı kırmızı */
.kg-voicebar { display: flex; align-items: center; gap: 2px; width: 100%; padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid #ffffff10; }
.kg-voicebar > span { display: grid; flex: 1; min-width: 0; }
.kg-voicebar b { font-size: 13px; color: #f0c674; } .kg-voicebar b.on { color: var(--gh-live); }
.kg-voicebar small { color: var(--gh-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kg-voice-list { list-style: none; margin: 0 0 4px 26px; padding: 0; }
.kg-voice-list li { display: flex; align-items: center; gap: 8px; padding: 3px 6px; color: var(--gh-muted); font-size: 13px; }
.kg-app .cm-ava.xs { width: 22px; height: 22px; font-size: 10px; }
.kg-app .cm-ava.xl { width: 88px; height: 88px; font-size: 36px; }
.kg-voice-room { overflow-y: auto; }
.kg-stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; width: min(100%, 1100px); padding: 16px; }
.kg-tile { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; margin: 0; border-radius: 12px; background: var(--kg-side); overflow: hidden; outline: 3px solid transparent; transition: outline-color .1s; }
.kg-tile.speaking { outline-color: var(--gh-live); }
.kg-tile video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.kg-tile-ava { display: grid; place-items: center; }
.kg-tile figcaption { position: absolute; left: 8px; bottom: 8px; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: #000a; color: #fff; font-size: 13px; font-weight: 600; }
.kg-tile figcaption .kg-ic { width: 16px; height: 16px; color: #ff6b6b; }
/* Dik (telefon) görüntü: kutu 9:16 olur, ekran yüksekliğinin %70'ini geçmez */
.kg-tile:has(> video.portrait) { aspect-ratio: 9 / 16; justify-self: center; width: min(100%, calc(70vh * 9 / 16)); }
@media (max-width: 760px) {
  .kg-voice-room { place-content: start stretch; padding: 12px 8px; }
  .kg-stage { grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; padding: 0; }
}
/* Odak düzeni: büyütülen yayın alanı kaplar, diğerleri altta kaydırılabilir şerit */
.kg-voice-room { position: relative; }
.kg-tile { cursor: pointer; } .kg-tile:focus-visible { outline-color: var(--gh-fg); }
.kg-full { position: absolute; top: 8px; right: 8px; z-index: 2; }
.kg-voice-room.spot { display: flex; flex-direction: column; padding: 8px; overflow: hidden; }
.kg-stage.spot { flex: 1; min-height: 0; display: grid; grid-template: minmax(0, 1fr) auto / minmax(0, 1fr); width: 100%; max-width: none; padding: 0; gap: 8px; }
.kg-stage.spot .kg-tile.focus { aspect-ratio: auto; width: 100%; height: 100%; min-height: 0; justify-self: stretch; }
.kg-strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.kg-stage .kg-strip .kg-tile { flex: 0 0 clamp(112px, 18vw, 200px); aspect-ratio: 16 / 9; width: auto; }
.kg-strip .kg-tile figcaption { left: 4px; bottom: 4px; padding: 2px 6px; font-size: 11px; }
.kg-strip .kg-tile-ava .cm-ava { transform: scale(.5); }
.kg-voice-room:fullscreen { background: #000; padding: 8px; }
.kg-ic-expand { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* Site gizlilik düğmesi kullanıcı panelini örtmesin; giriş sunucu şeridinde */
.gh-privacy-reopen { display: none !important; }
.kg-srv.kg-privacy { margin-top: auto; border: 0; background: var(--kg-main); color: var(--gh-muted); cursor: pointer; }
.kg-srv.kg-privacy .kg-ic { width: 22px; height: 22px; }
.kg-srv.kg-privacy:hover { color: var(--gh-fg); }
/* Sunucu yönetimi: kanal ve üye satırındaki ⋯ menüleri (dokunmatikte her zaman, farede üzerine gelince görünür) */
.kg-cat li { position: relative; }
.kg-chan { padding-right: 30px; }
.kg-member-row { position: relative; display: flex; align-items: center; }
.kg-member-row .kg-member { flex: 1; min-width: 0; }
.kg-chan-menu, .kg-member-menu { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); }
.kg-chan-menu summary, .kg-member-menu summary { padding: 2px 6px; border-radius: 4px; color: var(--gh-muted); cursor: pointer; list-style: none; }
.kg-chan-menu summary::-webkit-details-marker, .kg-member-menu summary::-webkit-details-marker { display: none; }
.kg-chan-menu .cm-menu-list, .kg-member-menu .cm-menu-list { right: 0; z-index: 40; min-width: 180px; }
@media (hover: hover) {
  .kg-cat li:not(:hover):not(:focus-within) > .kg-chan-menu:not([open]), .kg-member-row:not(:hover):not(:focus-within) > .kg-member-menu:not([open]) { opacity: 0; }
}
/* Kendi kamera önizlemen ayna gibi görünür (Zoom/Teams/Discord); karşı taraf ve ekran paylaşımı düz kalır */
.kg-tile.self > video { transform: scaleX(-1); }

/* Açılış: A · Ses dalgası (25 Ekim 2026 seçimi). T düşer, ses çubukları ekolayzer gibi zıplar, "Tafix" yükselir;
   ~1,5 sn sonra görünmez olur ve tıklamayı engellemez. Yalnız CSS; girişten sonra tafix-auth.mjs düğümü yeniden ekleyip oynatır. */
.tx-splash { position: fixed; inset: 0; z-index: 2000; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--gh-bg, #0e1319); color: var(--gh-fg, #eef2f6); animation: tx-out .32s ease 1.5s forwards; }
.tx-logo { display: block; width: 112px; height: 112px; }
.tx-bar { animation: tx-drop .5s cubic-bezier(.2,.9,.3,1.2) both; }
.tx-eq { transform-box: fill-box; transform-origin: 50% 100%; }
.tx-eq1 { animation: tx-eq 1.1s ease-in-out .35s both; }
.tx-eq2 { animation: tx-eq2 1.1s ease-in-out .45s both; }
.tx-eq3 { animation: tx-eq 1.1s ease-in-out .55s both; }
.tx-splash b { font-size: 30px; font-weight: 800; letter-spacing: .02em; animation: tx-rise .45s ease 1.05s both; }
@keyframes tx-drop { from { transform: translateY(-90px); opacity: 0; } }
@keyframes tx-eq { 0% { transform: scaleY(0); } 40% { transform: scaleY(1.5); } 70% { transform: scaleY(.6); } 100% { transform: scaleY(1); } }
@keyframes tx-eq2 { 0% { transform: scaleY(0); } 45% { transform: scaleY(1.2); } 75% { transform: scaleY(.8); } 100% { transform: scaleY(1); } }
@keyframes tx-rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tx-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .tx-splash { display: none; } }
/* İmza: sağ altta küçük, tıklamayı engellemez. */
.tx-credit { position: fixed; right: 14px; bottom: max(3px, env(safe-area-inset-bottom)); z-index: 5; font-size: 11px; letter-spacing: .03em; color: var(--gh-muted, #9caab9); opacity: .75; pointer-events: none; }
/* Uygulama modu giriş ekranı (community/tafix-auth.mjs). Gizlilik bandı (z 1000) üstte kalır, açılış (z 2000) en üstte. */
body.tx-locked { overflow: hidden; }
.tx-auth { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 24px 16px; overflow-y: auto; background: var(--gh-bg, #0e1319); animation: tx-auth-in .3s ease-out; }
.tx-auth-card { display: grid; justify-items: center; gap: 12px; width: min(100%, 380px); text-align: center; }
.tx-auth-card > img { width: 72px; height: 72px; border-radius: 18px; }
.tx-auth-card h1 { margin: 4px 0 0; font-size: 24px; }
.tx-auth-lead { margin: 0; color: var(--gh-muted); }
.tx-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%; padding: 4px; border-radius: 10px; background: var(--gh-panel, #161d26); }
.tx-auth-tab { padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--gh-muted); font: inherit; font-weight: 600; cursor: pointer; }
.tx-auth-tab[aria-pressed="true"] { background: var(--gh-panel-2, #1e2732); color: var(--gh-fg); }
.tx-auth-form { display: grid; gap: 12px; width: 100%; text-align: left; }
.tx-auth-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.tx-auth-form input { width: 100%; box-sizing: border-box; }
.tx-auth-hint { margin: 0; font-size: 13px; color: var(--gh-muted); }
.tx-auth-submit { width: 100%; justify-content: center; text-align: center; }
.tx-auth-note { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--gh-muted); }
.tx-auth-note.error { color: #ff8f8f; }
.tx-auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 13px; }
@keyframes tx-auth-in { from { opacity: 0; transform: scale(.98); } }
@media (prefers-reduced-motion: reduce) { .tx-auth { animation: none; } }
.tx-auth-links button { padding: 4px; border: 0; background: none; color: var(--gh-muted); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tx-auth-links button:hover { color: var(--gh-fg); }

/* Alan uyarıları (account/fields.mjs; üyelik sayfasıyla aynı dil). */
.tx-auth-form .field-msg { display: block; font-size: 12px; font-weight: 500; line-height: 1.35; color: var(--gh-muted, #9caab9); }
.tx-auth-form .field-msg:empty { display: none; }
.tx-auth-form .field-msg[data-state=warn] { color: #f0c27b; }
.tx-auth-form .field-msg[data-state=error] { color: #f4a3a3; }
.tx-auth-form .field-msg[data-state=ok] { color: #6fd3a0; }
.tx-auth-form .field-msg[data-state=ok]::before { content: '✓ '; }
.tx-auth-form .field-msg[data-state=error]::before { content: '! '; font-weight: 800; }
.tx-auth-form label.is-error input:not([type=checkbox]) { border-color: #f4a3a3; }
.tx-auth-form label.is-warn input { border-color: #8a6d3f; }
.tx-auth-form label.is-ok input { border-color: #3d7a5c; }
.tx-auth-form label.terms { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 4px 10px; font-size: 13px; font-weight: 450; color: var(--gh-fg-soft, #cdd6e0); }
.tx-auth-form label.terms input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #dbe4ee; }
.tx-auth-form label.terms .field-msg { grid-column: 2; }
.tx-auth-form label.terms.is-error input { outline: 2px solid #f4a3a3; outline-offset: 1px; }
.gh-shake { animation: gh-shake .38s cubic-bezier(.36,.07,.19,.97); }
@keyframes gh-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .gh-shake { animation: none; } }
/* Telefonda yazma alanı en altta: imzanın (.tx-credit) üstüne binmemesi için altta yer açılır. */
@media (max-width: 760px) { .kg-composer { margin-bottom: max(22px, calc(env(safe-area-inset-bottom) + 18px)); } }

/* Uygulama indirme: kanal başlığının en sağında simge; üzerine gelince / dokununca küçük pencere (yalnız tarayıcıda). */
.kg-ic-download { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v11m-5-5 5 5 5-5M5 20h14' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kg-dl-wrap { position: relative; flex: none; }
.kg-dl-toggle { color: #6fd3a0; }
.kg-dl-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; padding: 6px; border: 1px solid var(--gh-line, #2d3a48); border-radius: 999px; background: #141b24; box-shadow: 0 8px 24px #05080b99; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; white-space: nowrap; width: max-content; max-width: calc(100vw - 24px); }
.kg-dl-wrap:hover .kg-dl-pop, .kg-dl-wrap:focus-within .kg-dl-pop, .kg-dl-wrap.open .kg-dl-pop { opacity: 1; visibility: visible; transform: none; }
.kg-dl-wrap::after { content: ''; position: absolute; left: -20px; right: 0; top: 100%; height: 8px; }
.kg-dl-pop .gh-dl-btns { display: flex; gap: 6px; }
.kg-dl-pop .gh-dl-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gh-line, #2d3a48); background: var(--gh-panel-2, #1e2732); color: var(--gh-fg, #eef2f6); font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; }
.kg-dl-pop .gh-dl-btn .gh-dl-ic { width: 18px; height: 18px; border-radius: 4px; margin-left: -4px; }
.kg-dl-pop .gh-dl-btn:hover { border-color: #c8d4e055; background: #26313d; }
.kg-dl-pop .gh-dl-note { margin: 0; padding: 4px 8px; font-size: 12px; color: var(--gh-fg-soft, #cdd6e0); white-space: normal; width: 220px; }
@media (prefers-reduced-motion: reduce) { .kg-dl-pop { transition: none; } }

/* Telefon: kapalı sol panel ekranda 16 px kalıyordu (left 72px - %120) ve görüntünün solunu örtüyordu. */
@media (max-width: 760px) {
  .kg-side { transform: translateX(calc(-100% - 88px)); }
  /* Telefonda görüntü kutuları 4:3 (dik görüntü 3:4) */
  .kg-tile, .kg-stage .kg-strip .kg-tile { aspect-ratio: 4 / 3; }
  .kg-tile:has(> video.portrait) { aspect-ratio: 3 / 4; width: min(100%, calc(62vh * 3 / 4)); }
}
/* Sesli kanal düğmeleri: alt ortada her zaman görünür (kaydırınca da) */
.kg-callbar { position: sticky; bottom: max(28px, calc(env(safe-area-inset-bottom) + 24px)); z-index: 6; justify-self: center; align-self: center; display: flex; gap: 6px; margin: 12px auto 0; padding: 6px 8px; border-radius: 16px; background: #0b0f14eb; box-shadow: 0 6px 24px #0008; width: max-content; max-width: calc(100% - 16px); }
.kg-callbar .kg-tool { width: 44px; height: 44px; border-radius: 12px; background: var(--kg-hover, #1e2732); }
.kg-callbar .kg-tool .kg-ic { width: 22px; height: 22px; }
.kg-callbar .kg-tool.danger { background: #c0392b; color: #fff; }
.kg-callbar .kg-tool:disabled { opacity: .45; }
.kg-voice-room.spot .kg-callbar { flex: none; }
.kg-ic-flip { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 13a3 3 0 0 1 5-2l1 1m0-2v2h-2m2 2a3 3 0 0 1-5 2l-1-1m0 2v-2h2' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* Düğme çubuğu her zaman ekranın altında: sahne üstte/ortada, çubuk dibe oturur (az kişide de). */
.kg-voice-room:has(> .kg-callbar) { display: flex; flex-direction: column; align-items: stretch; }
.kg-voice-room:has(> .kg-callbar) > .kg-stage:not(.spot) { margin: auto; }
.kg-voice-room:has(> .kg-callbar) > .kg-callbar { margin: 12px auto 0; align-self: center; }
.kg-voice-room.spot > .kg-callbar { position: static; margin-bottom: max(22px, calc(env(safe-area-inset-bottom) + 18px)); }

/* Düğme çubuğu: daha küçük düğmeler + gizle/göster */
.kg-callbar { gap: 4px; padding: 4px 6px; border-radius: 14px; }
.kg-callbar .kg-tool { width: 38px; height: 38px; border-radius: 10px; }
.kg-callbar .kg-tool .kg-ic { width: 19px; height: 19px; }
.kg-callbar .kg-bar-toggle { width: 28px; background: transparent; color: var(--gh-muted); }
.kg-callbar.hidden { padding: 2px; background: #0b0f14b3; box-shadow: none; }
.kg-callbar.hidden .kg-bar-toggle { width: 40px; height: 26px; }
.kg-ic-down { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.kg-ic-up { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 15l6-6 6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Kamera sığdırma (Discord/WhatsApp gibi): ızgarada kamera kutuyu doldurur (ortadan hafif kırpılır, siyah boşluk yok);
   büyütülen/tam ekran kutu ve ekran paylaşımı her zaman tamamını gösterir (hiç kırpılmaz). */
.kg-tile > video { object-fit: cover; }
.kg-tile.focus > video, .kg-tile.screen > video, .kg-voice-room:fullscreen .kg-tile > video { object-fit: contain; }

/* Tafix'te sitenin çerez bandı çıkmaz: Tafix'te video, analiz ya da reklam içeriği yok; yalnız gerekli depolama. */
.gh-privacy-banner, .gh-privacy-reopen { display: none !important; }

/* Profil düğmeleri (isim, avatar, üye satırı) bağlantı değil, Tafix içinde profil kartı açar. */
button[data-profile] { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
button.kg-gutter { align-self: start; } button.kg-member { width: 100%; padding: 6px 8px; }
button.kg-name { font: 700 15px/1.3 var(--gh-body); }

/* Tafix pencereleri: ayarlar, profil kartı, yasal metin. */
.tx-modal { width: min(520px, calc(100vw - 32px)); max-height: min(86vh, 760px); }
.tx-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 0; }
.tx-modal-head h2 { margin: 0; font: 700 20px/1.2 var(--gh-body); }
.tx-modal-x, .tx-auth-x { width: 36px; height: 36px; flex: none; border: 0; border-radius: 8px; background: none; color: var(--gh-muted); font-size: 24px; line-height: 1; cursor: pointer; }
.tx-modal-x:hover, .tx-auth-x:hover { background: var(--gh-line); color: var(--gh-fg); }
.tx-auth-x { position: absolute; top: 12px; right: 12px; }
.tx-auth-card { position: relative; }
.tx-modal-body { display: grid; gap: 16px; padding: 16px 20px 20px; overflow-y: auto; max-height: calc(min(86vh, 760px) - 64px); overflow-wrap: anywhere; }
.tx-modal .cm-ava.lg { width: 56px; height: 56px; font-size: 24px; } .tx-modal .cm-ava.xl { width: 80px; height: 80px; font-size: 32px; }
.tx-set-me, .tx-profile-top { display: flex; align-items: center; gap: 14px; } .tx-set-me span, .tx-profile-top span { display: grid; gap: 2px; min-width: 0; }
.tx-set-me small, .tx-profile-top small { color: var(--gh-muted); }
.tx-profile-top b { font: 700 20px/1.2 var(--gh-body); }
.tx-set-form { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--gh-line); margin: 0; }
.tx-set-form h3 { margin: 0; font: 700 13px/1.2 var(--gh-body); letter-spacing: .06em; text-transform: uppercase; color: var(--gh-muted); }
.tx-set-form label { display: grid; gap: 6px; font-size: 14px; }
.tx-set-form .kg-row, .tx-modal .kg-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tx-set-form > button { justify-self: start; }
.tx-profile-bio { margin: 0; color: var(--gh-fg-soft); white-space: pre-wrap; } .tx-profile-bio:empty { display: none; }
.tx-legal .tx-modal-body { font-size: 15px; line-height: 1.6; } .tx-legal h1 { font-size: 22px; } .tx-legal h2 { font-size: 18px; }

/* Akış (27 Ekim 2026'da Etkileşim Meydanı'ndan taşındı; md-* sınıfları korunur). */
.kg-ic-feed { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='7' height='7' rx='2' fill='%23000'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2' fill='%23000'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2' fill='%23000'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2' fill='%23000'/%3E%3C/svg%3E"); }
.kg-srv.feed .kg-ic { width: 22px; height: 22px; }
.tx-feed-top { list-style: none; margin: 0 0 6px; padding: 0 8px; }
.tx-feed-nav { list-style: none; margin: 8px 0; padding: 0 8px; display: grid; gap: 2px; }
.tx-feed-actions { display: grid; gap: 8px; padding: 8px 16px; }
.tx-create-btn { margin-left: auto; font: 700 22px/1 var(--gh-body); }
.tx-share-srv { margin: 0 0 12px; }
.tx-feed { --md-bg: var(--kg-main); --md-line: var(--kg-line); --md-card: var(--kg-side); flex: 1; min-height: 0; overflow-y: auto; padding: 20px 16px 48px; }
.tx-suggest { padding: 16px 12px; } .tx-suggest h3 { margin: 0 0 12px; color: var(--gh-muted); font: 700 12px var(--gh-body); letter-spacing: .04em; }
.tx-suggest .md-suggest b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.md-foot { margin-top: 24px; color: var(--gh-muted); font-size: 12px; line-height: 1.8; } .md-foot .md-link { font-size: 12px; padding: 0; }
.md-ring.big > .cm-ava { width: 120px; height: 120px; font-size: 48px; }
.md-sv .cm-ava.xs, .md-reply .cm-ava.xs { width: 26px; height: 26px; font-size: 11px; }
.md-empty { padding: 48px 16px; text-align: center; color: var(--gh-muted); } .md-empty.error { color: #f0a3a3; }
.md-muted { color: var(--gh-muted); font-size: 13px; margin: 4px 0; }
.md-ic { display: inline-block; width: 26px; height: 26px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.md-ic-heart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-9-8.6C1.6 8.3 3.5 5 6.8 5c2 0 3.4 1.1 5.2 3 1.8-1.9 3.2-3 5.2-3 3.3 0 5.2 3.3 3.8 6.4C19 15.6 12 20 12 20z' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.md-ic-heart.on { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-9-8.6C1.6 8.3 3.5 5 6.8 5c2 0 3.4 1.1 5.2 3 1.8-1.9 3.2-3 5.2-3 3.3 0 5.2 3.3 3.8 6.4C19 15.6 12 20 12 20z' fill='%23000'/%3E%3C/svg%3E"); color: #ff5a6a; animation: md-pop .3s; }
.md-ic-comment { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12a8 8 0 0 1-11.6 7.1L4 20l1-4.2A8 8 0 1 1 20 12z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.md-ic-share { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3 10 14M21 3l-7 18-4-7-7-4z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.md-ic-photo { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='9' cy='10' r='2' fill='%23000'/%3E%3Cpath d='m4 17 5-4 4 3 3-2 4 3' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
@keyframes md-pop { 50% { transform: scale(1.25); } }
.md-main { min-width: 0; outline: 0; padding: 24px 16px 80px; }
.md-column { max-width: 470px; margin: 0 auto; }
.md-wide { max-width: 935px; margin: 0 auto; }
.md-guest { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--md-line); border-radius: 10px; color: var(--gh-fg-soft); font-size: 14px; }
.md-guest .cm-login, .md-empty .cm-login, .md-muted .cm-login { display: inline; min-height: 0; padding: 0; background: none; color: #7fb6f5; font-weight: 700; text-decoration: none; }
.md-stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 16px; margin-bottom: 8px; scrollbar-width: none; }
.md-story { display: grid; justify-items: center; gap: 6px; width: 72px; flex: none; padding: 0; border: 0; background: none; color: var(--gh-fg-soft); cursor: pointer; font: 12px var(--gh-body); }
.md-story small { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-ring { position: relative; display: inline-grid; place-items: center; padding: 2px; border-radius: 50%; }
.md-ring.live { background: conic-gradient(#e0b25a, #6fd3a0, #7fb6f5, #e0b25a); }
.md-ring.live > .cm-ava, .md-ring.add > .cm-ava { border: 3px solid var(--md-bg); }
.md-story .cm-ava { width: 60px; height: 60px; font-size: 22px; }
.md-ring.add i { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--md-bg); background: var(--gh-accent); color: var(--gh-on-accent); font: 700 15px/1 var(--gh-body); font-style: normal; }
.md-feedtabs { display: flex; gap: 24px; margin: 4px 0 16px; border-bottom: 1px solid var(--md-line); }
.md-feedtabs a { padding: 10px 0; color: var(--gh-muted); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.md-feedtabs a[aria-selected="true"] { color: var(--gh-fg); border-bottom-color: var(--gh-fg); }
.md-feed { display: grid; gap: 4px; }
.md-post { padding-bottom: 16px; border-bottom: 1px solid var(--md-line); }
.md-post > header { display: flex; align-items: center; gap: 6px; padding: 8px 0 10px; font-size: 14px; }
.md-author { display: inline-flex; align-items: center; gap: 10px; color: var(--gh-fg); text-decoration: none; }
.md-author:hover b { color: var(--gh-fg-soft); }
.md-dot, .md-post > header time { color: var(--gh-muted); }
.md-vis { margin-left: auto; padding: 2px 8px; border: 1px solid var(--md-line); border-radius: 999px; color: var(--gh-muted); font-size: 11px; white-space: nowrap; }
.md-media { position: relative; border-radius: 6px; overflow: hidden; background: #000; border: 1px solid var(--md-line); touch-action: pan-y; user-select: none; }
.md-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.md-slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: center; display: block; }
.md-slides img:only-child { aspect-ratio: auto; max-height: 585px; object-fit: contain; }
.md-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.md-dots i { width: 6px; height: 6px; border-radius: 50%; background: #fff7; } .md-dots i.on { background: #fff; }
.md-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: #ffffffd9; color: #111; font: 700 18px/1 var(--gh-body); cursor: pointer; opacity: 0; transition: opacity .15s; }
.md-arrow.prev { left: 8px; } .md-arrow.next { right: 8px; } .md-media:hover .md-arrow { opacity: 1; }
.md-burst { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0); color: #fff; font-size: 96px; text-shadow: 0 4px 24px #0008; pointer-events: none; opacity: 0; }
.md-burst.go { animation: md-burst .8s ease-out; }
@keyframes md-burst { 15% { transform: translate(-50%, -50%) scale(1.2); opacity: .95; } 30% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: .95; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.md-textpost { padding: 28px 24px; border-radius: 6px; border: 1px solid var(--md-line); background: linear-gradient(160deg, #13202a, #0f141b); }
.md-textpost p { margin: 0; font-size: 19px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.md-actions { display: flex; gap: 4px; padding: 6px 0 2px; margin-left: -8px; }
.md-act { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--gh-fg); cursor: pointer; }
.md-act:hover { color: var(--gh-muted); }
.md-likes { margin: 0; font-size: 14px; }
.md-caption { margin: 6px 0 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; } .md-caption a { color: var(--gh-fg); text-decoration: none; }
.md-link { padding: 4px 0; border: 0; background: none; color: var(--gh-muted); font: 14px var(--gh-body); cursor: pointer; text-decoration: none; text-align: left; }
.md-link.strong { color: #7fb6f5; font-weight: 700; }
.md-replies { display: grid; gap: 10px; padding-top: 6px; }
.md-reply { display: flex; gap: 10px; align-items: flex-start; } .md-reply p { flex: 1; margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; } .md-reply a { color: var(--gh-fg); text-decoration: none; }
.md-comment { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--md-line); padding-top: 8px; flex-wrap: wrap; }
.md-comment input { flex: 1; min-width: 160px; padding: 8px 0; border: 0; background: none; color: var(--gh-fg); font: 14px var(--gh-body); outline: 0; }
.md-status { font-size: 13px; color: var(--gh-muted); } .md-status.error { color: #f0a3a3; } .md-status:empty { display: none; }
.md-more { display: block; margin: 16px auto; }
.md-suggest { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.md-title { margin: 0 0 16px; font-size: 22px; }
.md-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.md-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; color: var(--gh-fg); text-decoration: none; }
.md-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-tile.text { display: grid; place-items: center; padding: 14px; background: linear-gradient(160deg, #13202a, #0f141b); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; text-align: center; }
.md-tile-over { position: absolute; inset: 0; display: grid; place-items: center; background: #0008; color: #fff; font-weight: 800; opacity: 0; transition: opacity .15s; white-space: pre; }
.md-tile:hover .md-tile-over { opacity: 1; }
.md-multi { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 4px; box-shadow: 3px -3px 0 -1px #fff; }
.md-profile { display: flex; gap: clamp(20px, 6vw, 80px); align-items: center; padding: 16px 0 36px; }
.md-profile-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .md-profile h1 { margin: 0 8px 0 0; font: 400 22px var(--gh-body); }
.md-stats { display: flex; gap: 32px; list-style: none; padding: 0; margin: 18px 0; color: var(--gh-fg-soft); }
.md-bio { margin: 0; white-space: pre-wrap; }
.md-profile-tabs { display: flex; justify-content: center; border-top: 1px solid var(--md-line); margin-bottom: 4px; }
.md-profile-tabs span { padding: 14px 0; border-top: 1px solid var(--gh-fg); margin-top: -1px; font: 700 12px var(--gh-body); letter-spacing: .1em; }
.md-sv { width: min(420px, 100vw); height: min(92dvh, 760px); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 12px; background: #000; color: #fff; overflow: hidden; }
.md-sv::backdrop { background: #000e; }
.md-sv img { width: 100%; height: 100%; object-fit: contain; }
.md-sv-bars { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; gap: 4px; }
.md-sv-bars i { flex: 1; height: 3px; border-radius: 2px; background: #ffffff55; overflow: hidden; position: relative; }
.md-sv-bars i.done { background: #fff; } .md-sv-bars i.run::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: md-bar 5s linear forwards; }
@keyframes md-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.md-sv header { position: absolute; z-index: 3; top: 18px; left: 12px; right: 8px; display: flex; align-items: center; gap: 8px; }
.md-sv header .md-author { color: #fff; margin-right: auto; } .md-sv header small { color: #ddd; }
.md-sv-x { width: 36px; height: 36px; border: 0; background: none; color: #fff; font-size: 28px; cursor: pointer; }
.md-sv-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 16px 20px; background: linear-gradient(0deg, #000c, #0000); font-size: 15px; }
.md-sv-cap:empty { display: none; }
.md-sv-prev, .md-sv-next { position: absolute; z-index: 1; top: 60px; bottom: 60px; width: 40%; border: 0; background: none; cursor: pointer; } .md-sv-prev { left: 0; } .md-sv-next { right: 0; }
.md-sv .cm-menu summary { color: #fff; }
.md-create { width: min(560px, calc(100vw - 24px)); }
.md-create > * { margin: 0 20px 12px; } .md-create > :first-child { margin-top: 16px; }
.md-create-head { display: flex; justify-content: space-between; align-items: center; }
.md-seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--gh-bg); }
.md-seg button { padding: 8px 16px; border: 0; border-radius: 8px; background: none; color: var(--gh-muted); font: 700 14px var(--gh-body); cursor: pointer; } .md-seg button[aria-selected="true"] { background: var(--gh-panel-2); color: var(--gh-fg); }
.md-create .md-sv-x { color: var(--gh-fg); }
.md-create-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.md-create-previews figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 8px; overflow: hidden; } .md-create-previews img { width: 100%; height: 100%; object-fit: cover; }
.md-add-photo { display: grid; place-content: center; justify-items: center; gap: 6px; aspect-ratio: 1; border: 2px dashed var(--gh-line); border-radius: 8px; background: none; color: var(--gh-fg-soft); cursor: pointer; font: 600 13px var(--gh-body); }
.md-create textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--gh-line); border-radius: 10px; background: var(--gh-bg); color: var(--gh-fg); font: 15px/1.5 var(--gh-body); resize: vertical; }
.md-vis-pick { display: grid; gap: 6px; font-weight: 700; font-size: 14px; } .md-vis-pick select { padding: 10px; border: 1px solid var(--gh-line); border-radius: 10px; background: var(--gh-bg); color: var(--gh-fg); font: 14px var(--gh-body); }
@media (max-width: 760px) {
  .tx-feed { padding: 12px 0 32px; }
  .md-column > :not(.md-feed), .md-feed > .md-post > :not(.md-media):not(.md-textpost), .md-wide > :not(.md-grid) { margin-left: 12px; margin-right: 12px; }
  .md-media, .md-textpost { border-radius: 0; border-left: 0; border-right: 0; }
  .md-profile { gap: 20px; padding: 8px 0 24px; } .md-ring.big > .cm-ava { width: 84px; height: 84px; font-size: 34px; } .md-stats { gap: 16px; margin: 10px 0; font-size: 14px; }
  .md-grid { gap: 2px; }
  .md-sv { width: 100vw; height: 100dvh; border-radius: 0; }
}
/* Profil kartı: sayılar, rol, yönetim */
.tx-profile-stats .md-stats { margin: 4px 0 8px; gap: 20px; font-size: 14px; }
.tx-role { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--kg-hover, #1e2732); color: var(--gh-fg-soft); font-size: 12px; font-weight: 700; }
.tx-role-owner { color: #f3d39a; } .tx-role-admin { color: #b8d4f5; } .tx-role-moderator { color: #9fe1cb; }
.tx-role-note { margin: 0 0 10px; }
.tx-manage { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--gh-line); } .tx-manage h3 { margin: 0 0 8px; font-size: 14px; color: var(--gh-muted); }
.tx-profile .kg-row { flex-wrap: wrap; }
/* @ öneri listesi */
.kg-composer { position: relative; }
.kg-mention-pop { position: absolute; z-index: 20; left: 8px; right: 8px; bottom: calc(100% - 4px); max-width: 360px; display: grid; gap: 2px; padding: 6px; border: 1px solid var(--kg-line); border-radius: 10px; background: var(--kg-side); box-shadow: 0 8px 24px #0009; }
.kg-mention-pop[hidden] { display: none; }
.kg-mention-pop button { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 0; border-radius: 6px; background: none; color: var(--gh-fg); font: 14px var(--gh-body); text-align: left; cursor: pointer; }
.kg-mention-pop button.on, .kg-mention-pop button:hover { background: var(--kg-hover); }
.kg-mention-pop small { margin-left: auto; color: var(--gh-muted); font-size: 12px; }
.kg-mention-all { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #3e6f9e; color: #fff; font-weight: 800; font-size: 12px; }
.kg-app .md-guest .cm-login, .kg-app .md-empty .cm-login, .kg-app .md-muted .cm-login { display: inline; min-height: 0; padding: 0; background: none; color: #7fb6f5; font-weight: 700; }
/* Profil resimleri (Faz 2): yüklenen ya da galeriden seçilen resim harfli avatarın yerine geçer. */
.cm-ava.has-img { color: transparent; background-size: cover; background-position: center; }

.tx-set-me { flex-wrap: wrap; }
.tx-av-tabs { margin-bottom: 12px; }
.tx-av-pane { display: grid; grid-auto-rows: max-content; gap: 12px; justify-items: start; min-height: 120px; }
/* 31 Ekim 2026: bölümler tam boyda (10 bölümde her biri kendi içinde kayınca yüksekliği sıfıra iniyordu); pencere kayar. */
.tx-av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; width: 100%; }
.tx-av-opt { aspect-ratio: 1; border: 2px solid transparent; border-radius: 50%; background-size: cover; cursor: pointer; padding: 0; }
.tx-av-opt:hover, .tx-av-opt:focus-visible { border-color: var(--gh-fg-soft); }
.tx-av-opt[aria-selected="true"] { border-color: #7fb6f5; }
.tx-crop-wrap { display: grid; gap: 10px; justify-items: center; width: 100%; }
.tx-crop { width: min(280px, 100%); aspect-ratio: 1; border-radius: 50%; background: #000; touch-action: none; cursor: grab; }
.tx-crop:active { cursor: grabbing; }
.tx-crop-zoom { display: grid; gap: 4px; width: min(280px, 100%); font-size: 13px; color: var(--gh-muted); }
/* Durum ve kapak (Faz 2) */
.kg-dot.idle { background: #d9a43a; } .kg-dot.dnd { background: #d9534f; } .kg-dot.off { background: #5d6672; }
button.kg-me { padding: 4px; margin: -4px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
button.kg-me:hover { background: var(--kg-hover); }
.tx-cover { height: 120px; margin: 12px 20px 0; border-radius: 10px; background: var(--kg-hover, #1e2732) center / cover no-repeat; }
.tx-cover.page { height: auto; aspect-ratio: 3 / 1; margin: 0 0 16px; }
.tx-presence { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; color: var(--gh-fg-soft); font-size: 14px; }
.tx-presence .kg-dot { position: static; border: 0; width: 10px; height: 10px; }
.tx-presence em { color: var(--gh-muted); font-style: normal; overflow-wrap: anywhere; }
.tx-status-text { margin: 4px 0 0; color: var(--gh-fg-soft); }
.tx-set-avatar { display: flex; gap: 8px; margin-left: auto; }
.tx-set-form select { padding: 10px; border: 1px solid var(--gh-line); border-radius: 10px; background: var(--gh-bg); color: var(--gh-fg); font: 14px var(--gh-body); }
.tx-crop.wide { width: min(560px, 100%); aspect-ratio: 3 / 1; border-radius: 10px; }
.tx-crop-wrap.wide .tx-crop-zoom { width: min(560px, 100%); }
.tx-avatar { width: min(640px, calc(100vw - 32px)); }
@media (max-width: 760px) { .tx-cover { margin: 8px 12px 0; height: 96px; } .tx-cover.page { margin: 0 0 12px; border-radius: 0; } }
/* Ayarlar bölümleri, tercihler, alt sekmeler (Faz 3) */
.kg-ic-plus { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 8v8M8 12h8' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-user { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.tx-settings-wide { width: min(860px, calc(100vw - 32px)); }
.tx-set-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.tx-set-nav { position: sticky; top: 0; display: grid; gap: 2px; }
.tx-set-nav button { padding: 9px 12px; border: 0; border-radius: 8px; background: none; color: var(--gh-fg-soft); font: 600 14px var(--gh-body); text-align: left; cursor: pointer; }
.tx-set-nav button:hover { background: var(--kg-hover, #1e2732); }
.tx-set-nav button[aria-selected="true"] { background: var(--kg-hover, #1e2732); color: var(--gh-fg); }
.tx-set-pane { display: grid; gap: 14px; min-width: 0; }
.tx-cover.set { margin: 0; height: 100px; }
.tx-check { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.tx-check input { width: 18px; height: 18px; accent-color: #3e6f9e; }
.tx-meter { flex: 1; min-width: 120px; height: 10px; border-radius: 999px; background: var(--kg-hover, #1e2732); overflow: hidden; }
.tx-meter i { display: block; width: 0; height: 100%; background: #3fb07f; transition: width .06s linear; }
.tx-tabbar { display: none; }
@media (max-width: 760px) {
  .tx-set-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tx-set-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .tx-set-nav button { white-space: nowrap; }
  .kg-app.tx-tabs .tx-tabbar, .kg-app.nav-open .tx-tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); border-top: 1px solid var(--kg-line); background: var(--kg-rail); }
  .kg-app.tx-tabs .kg-center, .kg-app.nav-open .kg-side, .kg-app.nav-open .kg-rail { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .tx-tab { display: grid; justify-items: center; gap: 2px; min-width: 56px; padding: 6px 4px; border: 0; background: none; color: var(--gh-muted); font: 600 11px var(--gh-body); cursor: pointer; }
  .tx-tab .kg-ic { width: 22px; height: 22px; }
  .tx-tab:active { color: var(--gh-fg); }
  .kg-app.tx-tabs .kg-dl-wrap { display: none; }
}
/* Görünüm tercihleri (bu cihaz) */
.tx-font-small .kg-text, .tx-font-small .md-caption, .tx-font-small .md-reply p { font-size: 13px; }
.tx-font-large .kg-text, .tx-font-large .md-caption, .tx-font-large .md-reply p { font-size: 17px; }
.tx-font-large .kg-name { font-size: 16px; }
.tx-compact .kg-msg { margin-top: 4px; } .tx-compact .kg-msg .kg-gutter .cm-ava { width: 28px; height: 28px; font-size: 12px; }
.tx-reduce-motion *, .tx-reduce-motion *::before, .tx-reduce-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
/* Kotalar ve dil seçici (Faz 4–5) */
.tx-quota { display: grid; gap: 14px; }
.tx-quota-row { display: grid; gap: 6px; }
.tx-quota-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13px; color: var(--gh-muted); }
.tx-quota-bar { height: 8px; border-radius: 999px; background: var(--kg-hover, #1e2732); overflow: hidden; }
.tx-quota-bar i { display: block; height: 100%; background: #3e6f9e; }
.tx-quota-bar.full i { background: #d9534f; }
.tx-lang { padding: 8px 10px; border: 1px solid var(--gh-line); border-radius: 10px; background: var(--gh-bg); color: var(--gh-fg); font: 14px var(--gh-body); }
@media (max-width: 480px) { .tx-quota-line { grid-template-columns: 64px minmax(0, 1fr); } .tx-quota-line small { grid-column: 2; } }
/* Sticker ve sunucu emojisi (Faz 6) */
.kg-ic-sticker { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8l-6 6H6a2 2 0 0 1-2-2z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M14 20v-4a2 2 0 0 1 2-2h4M9 10h.01M15 10h.01M9 14c1.5 1 4.5 1 6 0' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tx-sticker { display: block; width: 160px; height: 160px; margin-top: 4px; }
.kg-sticker-msg { line-height: 0; }
.tx-emoji { width: 22px; height: 22px; vertical-align: -5px; object-fit: contain; }
.tx-stk-pop { position: absolute; z-index: 25; right: 8px; bottom: calc(100% - 4px); width: min(360px, calc(100vw - 24px)); display: grid; gap: 8px; padding: 10px; border: 1px solid var(--kg-line); border-radius: 12px; background: var(--kg-side); box-shadow: 0 8px 24px #0009; }
.tx-stk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; }
.tx-stk { padding: 4px; border: 0; border-radius: 10px; background: none; cursor: pointer; } .tx-stk:hover, .tx-stk:focus-visible { background: var(--kg-hover); }
.tx-stk img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.tx-stk.small img { width: 40px; margin: auto; }
.tx-stk-add { flex-wrap: wrap; } .tx-stk-add input, .tx-stk-add select { padding: 8px 10px; border: 1px solid var(--gh-line); border-radius: 10px; background: var(--gh-bg); color: var(--gh-fg); font: 14px var(--gh-body); }
.tx-stk-manage { display: grid; gap: 6px; } .tx-stk-manage h3 { margin: 10px 0 2px; font-size: 14px; color: var(--gh-muted); }
.tx-stk-row { display: flex; align-items: center; gap: 10px; } .tx-stk-row img { width: 36px; height: 36px; object-fit: contain; } .tx-stk-row code { flex: 1; }
/* Roller, kanal izinleri, denetim kaydı (Faz 7) */
.tx-roles { display: grid; gap: 6px; }
.tx-role-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--kg-line, #252f3b); }
.tx-role-row small { color: var(--gh-muted); margin-right: auto; }
.tx-role-row .danger { color: #f0a3a3; }
.tx-role-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.tx-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.tx-color { width: 28px; height: 28px; border: 2px solid transparent; border-radius: 50%; cursor: pointer; padding: 0; }
.tx-color[aria-checked="true"] { border-color: #fff; box-shadow: 0 0 0 2px #3e6f9e; }
.tx-lock { margin-left: auto; font-size: 11px; opacity: .7; }
.tx-audit { display: grid; gap: 6px; max-height: min(60dvh, 520px); overflow-y: auto; }
.tx-audit-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; padding: 6px 0; border-bottom: 1px solid var(--kg-line, #252f3b); font-size: 14px; }
.tx-audit-row small { color: var(--gh-muted); overflow-wrap: anywhere; } .tx-audit-row time { margin-left: auto; color: var(--gh-muted); font-size: 12px; }
/* Canlı yayın (Faz 8) */
.tx-live { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #d9534f; color: #fff; font: 800 10px/1.4 var(--gh-body); letter-spacing: .04em; }
.tx-live-card { display: grid; place-content: center; justify-items: center; gap: 10px; width: 100%; height: 100%; min-height: 160px; background: #0b0f14; color: var(--gh-fg); text-align: center; padding: 12px; box-sizing: border-box; }
.tx-live-card .tx-live { margin: 0; font-size: 12px; }
.tx-viewers { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: #000a; color: #fff; font-size: 12px; }
.tx-unwatch { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 4px 10px; border: 0; border-radius: 999px; background: #000a; color: #fff; font: 600 12px var(--gh-body); cursor: pointer; }
.kg-tool.live { background: #d9534f; color: #fff; }
/* Ses efektleri, birlikte dinle, Tafix Bot, anket (Faz 9) */
.kg-ic-sfx { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10v4h4l5 4V6L7 10z' fill='%23000'/%3E%3Cpath d='M15 9l6-3M15 12h6M15 15l6 3' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-music { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18V5l11-2v13' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='6' cy='18' r='3' fill='%23000'/%3E%3Ccircle cx='17' cy='16' r='3' fill='%23000'/%3E%3C/svg%3E"); }
.tx-sfx-pop { position: absolute; z-index: 30; left: 50%; bottom: 84px; transform: translateX(-50%); width: min(420px, calc(100vw - 24px)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; border: 1px solid var(--kg-line); border-radius: 12px; background: var(--kg-side); box-shadow: 0 8px 24px #0009; }
.tx-sfx-pop .kg-note { grid-column: 1 / -1; margin: 2px 0 0; }
.tx-sfx { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border: 0; border-radius: 10px; background: var(--kg-hover); color: var(--gh-fg); cursor: pointer; font-size: 22px; }
.tx-sfx small { font-size: 11px; color: var(--gh-fg-soft); text-align: center; }
.tx-listen { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; color: var(--gh-fg-soft); } .tx-listen input { width: 90px; }
.tx-bot-help { position: absolute; z-index: 25; left: 8px; right: 8px; bottom: calc(100% - 4px); max-width: 460px; padding: 12px; border: 1px solid var(--kg-line); border-radius: 12px; background: var(--kg-side); box-shadow: 0 8px 24px #0009; }
.tx-bot-help p { margin: 6px 0; font-size: 14px; } .tx-bot-help code { color: #b8d4f5; }
.tx-poll { display: grid; gap: 6px; max-width: 460px; margin-top: 4px; padding: 10px; border: 1px solid var(--kg-line); border-radius: 10px; background: var(--kg-side); }
.tx-poll-opt { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--kg-line); border-radius: 8px; background: none; color: var(--gh-fg); font: 14px var(--gh-body); text-align: left; cursor: pointer; overflow: hidden; }
.tx-poll-opt > span:not(.tx-poll-bar), .tx-poll-opt small { position: relative; } .tx-poll-opt small { color: var(--gh-muted); }
.tx-poll-bar { position: absolute; inset: 0 auto 0 0; background: #3e6f9e33; }
.tx-poll-opt.mine { border-color: #3e6f9e; }
/* Parola kutusu diğer kutularla aynı görünsün (ortak stil yalnız text/email/search'ü boyuyor). */
input[type=password] { background: var(--gh-panel); color: var(--gh-fg); border: 1px solid var(--gh-line); border-radius: 10px; }
/* Akış yan panelindeki düğmeler: yazı sıkışmadan iki satıra iner. */
.tx-feed-actions button { min-height: 38px; padding: 8px 14px; line-height: 1.3; white-space: normal; text-align: center; }

/* ===== Tafix temaları: Ufuk (varsayılan) ve Köz — DESIGN.md › Tafix temaları; çizimler tasarim/tafix-taslak/10 ve 09.
   html[data-tx-theme] tafix-prefs.mjs › applyLook ile konur. Site jetonları (--gh-*) yalnız bu sayfada temaya göre yeniden tanımlanır. ===== */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700; src: url(/tafix/fonts/space-grotesk-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-display: swap; font-weight: 300 700; src: url(/tafix/fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Sora'; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/tafix/fonts/sora-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Sora'; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/tafix/fonts/sora-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/tafix/fonts/geist-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/tafix/fonts/geist-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/tafix/fonts/geist-mono-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/tafix/fonts/geist-mono-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url(/tafix/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400; src: url(/tafix/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url(/tafix/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url(/tafix/fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url(/tafix/fonts/ibm-plex-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url(/tafix/fonts/ibm-plex-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(/tafix/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(/tafix/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/tafix/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(/tafix/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
html[data-tx-theme="koz"] {
  --gh-bg: #0f0f10; --gh-panel: #18181a; --gh-panel-2: #222225; --gh-line: #2e2e33; --gh-hair: #3a3a40;
  --gh-fg: #ecebe7; --gh-fg-soft: #b3afa8; --gh-muted: #87837c; --gh-accent: #f0943a; --gh-accent-strong: #f5a85a; --gh-on-accent: #1a1104;
  --gh-live: #3cc7aa; --gh-focus: #f0943a;
  --gh-body: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif; --gh-display: "Space Grotesk", system-ui, sans-serif; --gh-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --tx-head: "Space Grotesk", system-ui, sans-serif; --tx-acc-soft: rgba(240,148,58,.14); --tx-on: #3cc7aa; --tx-on-soft: rgba(60,199,170,.14);
  --tx-idle: #d9ac3f; --tx-dnd: #e0564b; --tx-live: #e5484d; --tx-danger: #f07062; --tx-warn: #e0a43a; --tx-mention: #2a2116;
  --tx-r-ctl: 6px; --tx-r-card: 8px; --tx-r-srv: 6px; --tx-talk: 8px; --tx-sel: #f0943a;
  --kg-members: #1c1c1f; --kg-input: #222225; --kg-user: #141416;
}
html[data-tx-theme="ufuk"] {
  /* Liman çizimine dönüş (29 Ekim 2026, Salih): turkuaz vurgu, soğuk mavi-gri yüzeyler; Köz turuncu-grafit kalır. */
  --gh-bg: #131518; --gh-panel: #1a1d21; --gh-panel-2: #22262b; --gh-line: #2e333a; --gh-hair: #3a4048;
  --gh-fg: #e8e6e1; --gh-fg-soft: #b3b8bd; --gh-muted: #878d94; --gh-accent: #3cc7aa; --gh-accent-strong: #5ad6bc; --gh-on-accent: #0b1f1b;
  --gh-live: #4cc777; --gh-focus: #3cc7aa;
  --gh-body: "Geist", ui-sans-serif, system-ui, "Segoe UI", sans-serif; --gh-display: "Sora", "Geist", system-ui, sans-serif; --gh-mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --tx-head: "Sora", "Geist", system-ui, sans-serif; --tx-acc-soft: rgba(60,199,170,.13); --tx-on: #4cc777; --tx-on-soft: rgba(76,199,119,.14);
  --tx-idle: #e0a93f; --tx-dnd: #e8705f; --tx-live: #ef5b4c; --tx-danger: #e8705f; --tx-warn: #e0a93f; --tx-mention: #3b322b;
  --tx-r-ctl: 7px; --tx-r-card: 10px; --tx-r-srv: 14px; --tx-talk: 14px 14px 14px 4px; --tx-sel: linear-gradient(90deg, #45bfa7, #f19c40);
  --kg-members: #1a1d21; --kg-input: #262a30; --kg-user: #16191c;
}
html[data-tx-theme] .app-body, html[data-tx-theme] .tx-splash, html[data-tx-theme] .tx-auth { background: var(--gh-bg); }
html[data-tx-theme] .kg-app { color: var(--gh-fg); font-family: var(--gh-body); }
html[data-tx-theme="koz"] .kg-app { --kg-rail: #0f0f10; --kg-side: #18181a; --kg-main: #18181a; --kg-hover: #222225; --kg-line: #2e2e33; }
html[data-tx-theme="ufuk"] .kg-app { --kg-rail: #131518; --kg-side: #1a1d21; --kg-main: #1e2126; --kg-hover: #272b31; --kg-line: #2e333a; }
/* başlıklar ve etiketler */
html[data-tx-theme] :is(.kg-head h1, .kg-server-menu summary, .kg-server > b, .kg-srv-card h3, .kg-voice-room h2, .tx-set h2, .tx-set-form h3, .tx-auth h1, .tx-auth h2, .tx-splash b) { font-family: var(--tx-head); letter-spacing: -.01em; }
html[data-tx-theme] :is(.kg-cat summary, .kg-members h3, .kg-day) { font-family: var(--gh-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
html[data-tx-theme] :is(.kg-meta time, .kg-time-hover, .tx-viewers, .kg-recbar b) { font-family: var(--gh-mono); font-size: 11px; }
html[data-tx-theme] .kg-head, html[data-tx-theme] .kg-server { border-bottom: 1px solid var(--kg-line); box-shadow: none; }
html[data-tx-theme] .kg-topic { border-left-color: var(--kg-line); }
/* sunucu şeridi: kare simgeler, soldaki hap yok; seçim altta kısa çizgi (Köz: kehribar dolgu; Ufuk: kehribar halka + konuşma köşesi + ufuk çizgisi) */
html[data-tx-theme] .kg-srv, html[data-tx-theme] .kg-srv:hover { border-radius: var(--tx-r-srv); font-family: var(--tx-head); font-weight: 700; transition: box-shadow .15s, opacity .15s, background .15s; }
html[data-tx-theme] .kg-srv::before { display: none; }
html[data-tx-theme] .kg-srv.on::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 22px; height: 3px; border-radius: 2px; transform: translateX(-50%); background: var(--tx-sel); }
html[data-tx-theme="koz"] .kg-srv.on:not(.add):not(.kg-privacy) { background: var(--gh-accent); color: var(--gh-on-accent); }
html[data-tx-theme="ufuk"] .kg-srv:not(.on):not(.add):not(.kg-privacy) { opacity: .72; }
html[data-tx-theme="ufuk"] .kg-srv:hover { opacity: 1; }
html[data-tx-theme="ufuk"] .kg-srv.on { border-radius: 14px 14px 14px 4px; box-shadow: 0 0 0 2px var(--kg-rail), 0 0 0 4px var(--gh-accent); }
html[data-tx-theme="ufuk"] .kg-srv.on::after { width: 28px; bottom: -9px; }
html[data-tx-theme] .kg-srv.home.on, html[data-tx-theme] .kg-srv.home:hover { background: var(--gh-panel-2); color: var(--gh-fg); }
html[data-tx-theme="koz"] .kg-srv.home.on { background: var(--gh-accent); color: var(--gh-on-accent); }
html[data-tx-theme] .kg-srv.add { background: var(--gh-panel); color: var(--tx-on); border: 1px dashed var(--kg-line); }
html[data-tx-theme] .kg-srv.add:hover, html[data-tx-theme] .kg-srv.add.on { background: var(--tx-on-soft); color: var(--tx-on); }
html[data-tx-theme] .kg-rail { gap: 12px; }
/* kanallar ve üyeler */
html[data-tx-theme] .kg-chan { border-radius: var(--tx-r-ctl); }
html[data-tx-theme] .kg-chan[aria-current="page"] { background: var(--gh-panel-2); color: var(--gh-fg); }
html[data-tx-theme] .kg-chan[aria-current="page"] .kg-ic { color: var(--gh-accent); opacity: 1; }
html[data-tx-theme="koz"] .kg-chan[aria-current="page"] { box-shadow: inset 2px 0 0 var(--gh-accent); }
html[data-tx-theme] .kg-user { background: var(--kg-user); border-top: 1px solid var(--kg-line); }
html[data-tx-theme] .kg-dot { background: #6b6e72; border-color: var(--kg-side); }
html[data-tx-theme] .kg-dot.on { background: var(--tx-on); }
html[data-tx-theme] .kg-dot.idle { background: var(--tx-idle); }
html[data-tx-theme] .kg-members { background: var(--kg-members); border-left: 1px solid var(--kg-line); }
html[data-tx-theme] .kg-member { border-radius: var(--tx-r-ctl); }
/* mesajlar: kişi çizgisi (Köz: grubun solunda ince çizgi; Ufuk: avatar sütununda %35 "ip") */
html[data-tx-theme] .kg-msg:hover { background: color-mix(in srgb, var(--gh-panel-2) 55%, transparent); }
html[data-tx-theme] .kg-text { color: var(--gh-fg); }
html[data-tx-theme="ufuk"] .kg-text { line-height: 1.55; }
html[data-tx-theme] .kg-name { padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--tx-head); font-weight: 700; }
html[data-tx-theme="koz"] .kg-msg { box-shadow: inset 2px 0 0 color-mix(in srgb, var(--cz, var(--gh-muted)) 55%, transparent); margin-left: 14px; }
html[data-tx-theme="ufuk"] .kg-msg:has(+ .kg-msg.compact)::before, html[data-tx-theme="ufuk"] .kg-msg.compact::before { content: ''; position: absolute; left: 35px; top: 50px; bottom: -2px; width: 2px; border-radius: 1px; background: color-mix(in srgb, var(--cz, var(--gh-muted)) 35%, transparent); }
html[data-tx-theme="ufuk"] .kg-msg.compact::before { top: -2px; }
html[data-tx-theme="ufuk"] .kg-msg.compact:not(:has(+ .kg-msg.compact))::before { bottom: 50%; }
@media (max-width: 760px) { html[data-tx-theme="ufuk"] .kg-msg:has(+ .kg-msg.compact)::before { left: 27px; top: 44px; } html[data-tx-theme="ufuk"] .kg-msg.compact::before { left: 27px; } html[data-tx-theme="koz"] .kg-msg { margin-left: 8px; } }
html[data-tx-theme] .kg-msg.mention { background: linear-gradient(90deg, var(--tx-acc-soft), transparent 75%), var(--tx-mention); box-shadow: inset 3px 0 0 var(--gh-accent); }
html[data-tx-theme="koz"] .kg-msg.mention { background: var(--tx-mention); box-shadow: inset 2px 0 0 var(--gh-accent); }
html[data-tx-theme] .cm-mention { background: var(--tx-on-soft); color: var(--tx-on); border-radius: 4px; }
html[data-tx-theme] .cm-mention.me { background: var(--tx-acc-soft); color: var(--gh-accent); }
html[data-tx-theme] .kg-text a { color: var(--tx-on); }
html[data-tx-theme] .kg-react { border-radius: var(--tx-r-ctl); background: var(--gh-panel-2); }
html[data-tx-theme] .kg-react.mine { border-color: var(--gh-accent); background: var(--tx-acc-soft); }
html[data-tx-theme] .kg-hover, html[data-tx-theme] .kg-emoji { border-radius: var(--tx-r-card); background: var(--gh-panel); border-color: var(--kg-line); }
html[data-tx-theme] .kg-img img, html[data-tx-theme] .kg-voice, html[data-tx-theme] .kg-previews figure { border-radius: var(--tx-r-card); }
html[data-tx-theme] .kg-pin-badge { color: var(--gh-accent); }
/* mesaj kutusu ve "konuşan" yüzeyler (Ufuk: sol alt 4px konuşma köşesi) */
html[data-tx-theme] .kg-input { background: var(--kg-input); border: 1px solid var(--kg-line); border-radius: var(--tx-talk); }
html[data-tx-theme] :is(.kg-mention-pop, .tx-bot-help, .tx-stk-pop, .tx-poll) { border-radius: var(--tx-talk); }
html[data-tx-theme] .kg-plus { background: var(--gh-muted) !important; color: var(--kg-input) !important; }
html[data-tx-theme] .kg-send { width: 36px; height: 36px; border-radius: var(--tx-r-ctl); background: var(--gh-accent); color: var(--gh-on-accent); }
html[data-tx-theme] .kg-send:hover:not(:disabled) { background: var(--gh-accent-strong); color: var(--gh-on-accent); }
html[data-tx-theme] .kg-composer.locked p, html[data-tx-theme] .kg-replybar { background: var(--gh-panel-2); }
/* düğmeler */
html[data-tx-theme] .kg-app :is(button.primary, a.primary) { background: var(--gh-accent); color: var(--gh-on-accent); border-radius: var(--tx-r-ctl); font-family: var(--gh-body); }
html[data-tx-theme] .kg-app :is(button.primary, a.primary):hover { background: var(--gh-accent-strong); }
html[data-tx-theme] .kg-app :is(button.secondary, a.secondary) { background: var(--gh-panel-2); border: 1px solid var(--kg-line); border-radius: var(--tx-r-ctl); }
html[data-tx-theme] .kg-tool { border-radius: var(--tx-r-ctl); }
html[data-tx-theme] .kg-tool.on { color: var(--tx-on); }
html[data-tx-theme] .kg-tool.off, html[data-tx-theme] .kg-tool.danger { color: var(--tx-danger); }
html[data-tx-theme] .kg-voicebar b { color: var(--tx-warn); }
html[data-tx-theme] .kg-voicebar b.on { color: var(--tx-on); }
/* sesli oda, kamera, ekran paylaşımı, yayın */
html[data-tx-theme] .kg-tile { border-radius: var(--tx-r-card); background: var(--gh-panel-2); border: 1px solid var(--kg-line); }
html[data-tx-theme] .kg-tile.speaking { outline-color: var(--tx-on); }
html[data-tx-theme] .kg-tile figcaption { border-radius: var(--tx-r-ctl); background: rgba(10,10,12,.72); font-family: var(--gh-body); }
html[data-tx-theme] .kg-callbar .kg-tool { border-radius: var(--tx-r-card); background: var(--gh-panel-2); border: 1px solid var(--kg-line); }
html[data-tx-theme] .kg-callbar .kg-tool.danger { background: var(--tx-danger); color: #1a0806; width: 64px; }
html[data-tx-theme] .kg-tool.live, html[data-tx-theme] .tx-live { background: var(--tx-live); color: #fff; border-radius: 4px; }
html[data-tx-theme] .tx-viewers, html[data-tx-theme] .tx-unwatch { border-radius: var(--tx-r-ctl); background: rgba(10,10,12,.72); }
html[data-tx-theme="ufuk"] .kg-voice-room.spot .kg-tile.focus::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tx-sel); }
html[data-tx-theme] .kg-voice-badge { background: var(--gh-panel-2); }
/* keşfet, ayarlar, kotalar, anket, roller */
html[data-tx-theme] .kg-srv-card { border-radius: var(--tx-r-card); background: var(--gh-panel); border: 1px solid var(--kg-line); }
html[data-tx-theme="ufuk"] .kg-srv-card { border-radius: var(--tx-talk); }
html[data-tx-theme] .kg-srv-banner { background: linear-gradient(135deg, var(--srv), var(--gh-bg)); }
html[data-tx-theme="ufuk"] .kg-srv-banner { box-shadow: inset 0 -3px 0 0 var(--gh-accent); }
html[data-tx-theme] .kg-srv-banner span { border-radius: var(--tx-r-srv); border-color: var(--gh-panel); }
html[data-tx-theme] .kg-report, html[data-tx-theme] .tx-cover { border-radius: var(--tx-r-card); }
html[data-tx-theme] .tx-set-nav button[aria-selected="true"] { background: var(--gh-panel-2); box-shadow: inset 2px 0 0 var(--gh-accent); color: var(--gh-fg); }
html[data-tx-theme] :is(.tx-check input, .tx-auth-form label.terms input) { accent-color: var(--gh-accent); }
html[data-tx-theme] .tx-meter i { background: var(--tx-on); }
html[data-tx-theme] .tx-quota-bar i { background: var(--gh-accent); }
html[data-tx-theme] .tx-quota-bar.full i { background: var(--tx-danger); }
html[data-tx-theme] .tx-poll-bar { background: var(--tx-acc-soft); }
html[data-tx-theme] .tx-poll-opt.mine { border-color: var(--gh-accent); }
html[data-tx-theme] .tx-role { border-radius: var(--tx-r-ctl); background: var(--gh-panel-2); }
html[data-tx-theme] .tx-role-owner { color: var(--gh-accent); }
html[data-tx-theme] .tx-color[aria-checked="true"] { box-shadow: 0 0 0 2px var(--gh-accent); }
html[data-tx-theme] .kg-mention-all { background: var(--gh-accent); color: var(--gh-on-accent); }
html[data-tx-theme] .tx-av-opt[aria-selected="true"] { border-color: var(--gh-accent); }
html[data-tx-theme] .cm-toast { background: var(--gh-panel); border-color: var(--kg-line); border-radius: var(--tx-r-card); }
html[data-tx-theme] .tx-auth-tab[aria-pressed="true"] { background: var(--gh-panel-2); }
html[data-tx-theme] .md-ring.live { background: conic-gradient(#45bfa7, #f19c40, #45bfa7); }
html[data-tx-theme="koz"] .md-ring.live { background: conic-gradient(#f0943a, #e5484d, #f0943a); }
html[data-tx-theme] :is(.md-link.strong, .md-guest .cm-login, .md-empty .cm-login, .md-muted .cm-login) { color: var(--tx-on); }
html[data-tx-theme] .kg-composer.locked .cm-login { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--gh-accent); font: inherit; text-decoration: underline; cursor: pointer; }
/* Okunmamış kanal: ad parlak ve kalın, solda nokta; bahsetme varsa sayılı rozet (karargah.mjs › renderChannels) */
.kg-chan .kg-chan-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kg-chan.unread { color: var(--gh-fg); font-weight: 700; }
.kg-chan.unread .kg-ic { opacity: 1; }
.kg-chan.unread::before { content: ''; position: absolute; left: -6px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 4px; background: var(--gh-fg); }
.tx-unread-badge { flex: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #d9534f; color: #fff; font: 700 11px/18px var(--gh-body); text-align: center; }
html[data-tx-theme] .tx-unread-badge { background: var(--gh-accent); color: var(--gh-on-accent); font-family: var(--gh-mono); }
html[data-tx-theme="ufuk"] .kg-chan.unread::before { width: 4px; height: 16px; margin-top: -8px; left: -8px; border-radius: 0 2px 2px 0; background: linear-gradient(180deg, #45bfa7, #f19c40); }
html[data-tx-theme="koz"] .kg-chan.unread::before { width: 3px; height: 14px; margin-top: -7px; left: -8px; border-radius: 0; background: var(--gh-accent); }
/* Kısayol tuşları (Ayarlar › Ses ve görüntü) */
.tx-key-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--kg-line, #252f3b); flex-wrap: wrap; }
.tx-key-row > span { flex: 1 1 180px; min-width: 0; }
.kg-app button.tx-key, .tx-key { min-width: 120px; font-family: var(--gh-mono); font-size: 13px; }
.tx-key[data-grab] { outline: 2px solid var(--gh-accent); }
/* Giriş: parolayı göster / gizle */
.tx-pass { position: relative; display: block; }
.tx-pass input { padding-right: 76px !important; }
.tx-reveal { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 32px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--gh-muted, #9caab9); font: 600 13px/1 var(--gh-body); cursor: pointer; }
.tx-reveal:hover, .tx-reveal[aria-pressed="true"] { color: var(--gh-fg, #eef2f6); background: var(--gh-panel-2, #1e2732); }

/* ===== Profil (#profil) ve Keşfet (#kesfet): community/tafix-profile.mjs ve tafix-kesfet.mjs; çizimler tasarim/tafix-taslak/10 (Ufuk)
   ve 09 (Köz) › 8 · Profil, 9 · Keşfet, telefon › Profil. Ufuk: konuşma köşesi (--tx-talk), etkin sekmede ufuk çizgisi (--tx-sel); Köz: keskin köşeler. ===== */
.tx-prof { max-width: 935px; margin: 0 auto; }
.tx-prof-cover { height: clamp(120px, 18vw, 200px); margin-top: -20px; border-radius: 0 0 12px 12px; background: var(--kg-hover, #1e2732) center / cover no-repeat; }
.tx-prof-head { position: relative; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 22px; margin-top: -56px; padding: 0 24px; }
.tx-prof.no-cover .tx-prof-head { margin-top: 8px; align-items: center; }
.tx-prof.no-cover :is(.tx-prof-name, .tx-prof-btns) { padding-bottom: 0; }
.tx-prof-ava { position: relative; flex: none; }
.tx-prof-ava .md-ring { border: 0; font: inherit; color: inherit; }
.tx-prof-ava button.md-ring { cursor: pointer; }
.tx-prof-ava .md-ring:not(.live) { background: var(--kg-main); }
.tx-prof-ava .md-ring.big > .cm-ava { width: 128px; height: 128px; font-size: 48px; }
.tx-prof-ava .md-ring.live > .cm-ava { border-width: 4px; }
.tx-prof-ava .tx-prof-dot { right: 8px; bottom: 8px; width: 24px; height: 24px; border-width: 5px; border-color: var(--kg-main); }
.tx-prof-name { flex: 1 1 200px; min-width: 0; padding-bottom: 10px; }
.tx-prof-name h1 { margin: 0; font: 600 28px/1.2 var(--tx-head, var(--gh-display)); overflow-wrap: anywhere; }
.tx-prof-name .tx-status-text { overflow-wrap: anywhere; }
.tx-prof-btns { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.tx-prof-btns button { min-height: 38px; padding: 8px 16px; line-height: 1.2; }
.tx-prof-mid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 24px; padding: 16px 24px 0; }
.tx-prof-bio { max-width: 540px; margin: 0; color: var(--gh-fg-soft); font-size: 14.5px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.tx-prof-stats { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.tx-prof-stats li { text-align: center; }
.tx-prof-stats b { display: block; font: 600 20px/1.3 var(--gh-mono); color: var(--gh-fg); }
.tx-prof-stats span { color: var(--gh-muted); font-size: 12px; }
.tx-prof-hl { display: flex; gap: 20px; padding: 20px 24px 4px; overflow-x: auto; scrollbar-width: thin; }
.tx-prof-hl-item { display: grid; justify-items: center; gap: 8px; width: 72px; flex: none; padding: 0; border: 0; background: none; color: var(--gh-fg-soft); font: 500 12px var(--gh-body); cursor: pointer; }
.tx-prof-hl-item i { display: block; width: 64px; height: 64px; border-radius: 50%; background: var(--kg-hover) center / cover no-repeat; box-shadow: 0 0 0 2px var(--kg-main), 0 0 0 4px var(--gh-accent); }
.tx-prof-hl-item small { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.tx-prof-tabs { display: flex; gap: 4px; margin: 16px 24px 0; border-bottom: 1px solid var(--kg-line); }
.tx-prof-tabs span { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; color: var(--gh-fg); font: 600 13px var(--gh-body); }
.tx-prof-tabs span::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--tx-sel, var(--gh-fg)); }
.tx-prof-tab-ic { width: 13px; height: 13px; border: 2px solid currentColor; border-radius: 2px; background: linear-gradient(currentColor, currentColor) 50% / 2px 100% no-repeat, linear-gradient(currentColor, currentColor) 50% / 100% 2px no-repeat; }
.tx-prof .md-grid { gap: 6px; padding: 12px 24px; }
.tx-prof .md-tile, .tx-ks .md-tile { border-radius: 6px; }
.tx-prof > .md-empty { padding: 40px 24px; }
.tx-prof-srv { margin-bottom: 22px; }
.tx-prof-srv-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px; border-radius: var(--tx-r-ctl, 8px); color: var(--gh-fg); font-weight: 600; text-decoration: none; }
.tx-prof-srv-row:hover { background: var(--kg-hover); }
.tx-prof-srv-row > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-prof-srv-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: var(--tx-r-srv, 10px); background: var(--srv); color: #fff; font: 700 14px/1 var(--tx-head, var(--gh-body)); }
/* Keşfet */
.tx-ks { flex: 1; min-height: 0; overflow-y: auto; padding: 24px clamp(16px, 3vw, 36px) 48px; }
.tx-ks-hero { margin-bottom: 24px; padding: 28px clamp(16px, 3vw, 32px); border: 1px solid var(--kg-line); border-radius: var(--tx-r-card, 12px); background: linear-gradient(135deg, var(--gh-panel-2, #1e2732), var(--kg-side)); }
.tx-ks-hero h2 { margin: 0 0 6px; font: 600 26px/1.2 var(--tx-head, var(--gh-display)); }
.tx-ks-hero p { margin: 0; color: var(--gh-fg-soft); }
.tx-ks-find { display: flex; align-items: center; gap: 12px; max-width: 640px; height: 48px; margin-top: 18px; padding: 0 14px; border: 1px solid var(--kg-line); border-radius: var(--tx-talk, 12px); background: var(--kg-input, var(--gh-panel)); }
.tx-ks-find:focus-within { border-color: var(--gh-accent); box-shadow: 0 0 0 2px var(--tx-acc-soft, transparent); }
.tx-ks-find input.tx-ks-search { flex: 1; min-width: 0; width: auto; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--gh-fg); font: 400 16px var(--gh-body); outline: 0; }
.tx-ks-glass { position: relative; flex: none; width: 15px; height: 15px; margin: -3px 2px 0 0; border: 2px solid var(--gh-muted); border-radius: 50%; }
.tx-ks-glass::after { content: ''; position: absolute; right: -5px; bottom: -6px; width: 2px; height: 7px; border-radius: 1px; background: var(--gh-muted); transform: rotate(-45deg); }
.tx-ks-bsl { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.tx-ks-bsl h3 { margin: 0; font: 600 17px var(--tx-head, var(--gh-display)); }
.tx-ks-n { color: var(--gh-muted); font: 500 12px var(--gh-mono); }
.tx-ks .kg-discover { flex: none; overflow: visible; margin-bottom: 32px; padding: 0; }
.tx-ks .kg-srv-card h3 a { color: inherit; text-decoration: none; }
.tx-ks .kg-srv-card h3 a:hover { text-decoration: underline; }
.tx-ks-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px !important; }
.tx-ks-act .kg-join { width: auto; margin: 0; }
.tx-ks .md-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tx-ks-cat { width: 100%; border: 0; background: none; font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.tx-ks-cat span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-ks-cat small, .tx-ks-chip small { color: var(--gh-muted); font: 500 11px var(--gh-mono); }
.tx-ks-cat:hover { background: var(--kg-hover); color: var(--gh-fg); }
.tx-ks-cat[aria-pressed="true"] { background: var(--gh-panel-2, var(--kg-hover)); color: var(--gh-fg); }
.tx-ks-make { display: grid; gap: 10px; padding: 8px 16px; }
.tx-ks-chips { display: none; }
.tx-ks-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 12px; border: 1px solid var(--kg-line); border-radius: 17px; background: var(--gh-panel, var(--kg-side)); color: var(--gh-fg-soft); font: 600 13px var(--gh-body); white-space: nowrap; cursor: pointer; }
.tx-ks-chip[aria-pressed="true"] { border-color: var(--gh-accent); background: var(--tx-acc-soft, var(--kg-hover)); color: var(--gh-fg); }
/* temalar */
html[data-tx-theme] .tx-prof-cover { border-radius: 0 0 var(--tx-r-card) var(--tx-r-card); }
html[data-tx-theme="ufuk"] :is(.tx-ks-hero, .tx-prof .md-empty) { border-radius: var(--tx-talk); }
html[data-tx-theme="ufuk"] .tx-ks-cat[aria-pressed="true"] { box-shadow: inset 2px 0 0 var(--gh-accent); }
html[data-tx-theme="koz"] .tx-prof-cover { border-radius: 0; }
html[data-tx-theme="koz"] :is(.tx-prof .md-tile, .tx-ks .md-tile) { border-radius: 2px; }
html[data-tx-theme="koz"] :is(.tx-ks-hero, .tx-ks-find) { border-radius: var(--tx-r-card); }
html[data-tx-theme="koz"] .tx-ks-chip { border-radius: var(--tx-r-ctl); }
html[data-tx-theme="koz"] .tx-prof-tabs span::after { left: 0; right: 0; border-radius: 0; }
html[data-tx-theme="koz"] .tx-ks-cat[aria-pressed="true"] { box-shadow: inset 2px 0 0 var(--gh-accent); }
/* telefon (çizim 12 · Profil): avatar ve ad yan yana, tanıtım, yayılmış sayılar, tam genişlik iki düğme, 3 sütun sık ızgara */
@media (max-width: 760px) {
  .tx-prof { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "cover cover" "ava name" "mid mid" "btns btns" "hl hl" "tabs tabs" "grid grid"; }
  .tx-prof-cover { grid-area: cover; height: 140px; margin-top: -12px; border-radius: 0 !important; }
  .tx-prof-head { display: contents; }
  .tx-prof-ava { grid-area: ava; margin: -44px 0 0 16px; }
  .tx-prof.no-cover .tx-prof-ava { margin-top: 4px; }
  .tx-prof.no-cover .tx-prof-name { align-self: center; padding-top: 4px; }
  .tx-prof-ava .md-ring.big > .cm-ava { width: 92px; height: 92px; font-size: 34px; }
  .tx-prof-ava .tx-prof-dot { right: 4px; bottom: 4px; width: 20px; height: 20px; border-width: 4px; }
  .tx-prof-name { grid-area: name; align-self: end; padding: 8px 16px 4px 14px; }
  .tx-prof-name h1 { font-size: 21px; }
  .tx-prof-mid { grid-area: mid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 16px; }
  .tx-prof-stats { justify-content: space-around; }
  .tx-prof-btns { grid-area: btns; flex-wrap: nowrap; padding: 0 16px; }
  .tx-prof-btns > * { flex: 1 1 0; min-width: 0; }
  .tx-prof-hl { grid-area: hl; gap: 14px; padding: 14px 16px 4px; }
  .tx-prof-tabs { grid-area: tabs; margin: 12px 0 0; justify-content: center; }
  .tx-prof .md-grid, .tx-prof > .md-empty { grid-area: grid; }
  .tx-prof .md-grid { gap: 3px; padding: 4px; }
  .tx-prof .md-tile { border-radius: 3px; }
  .tx-ks { padding: 12px 12px 32px; }
  .tx-ks-hero { margin-bottom: 14px; padding: 18px 16px; }
  .tx-ks-hero h2 { font-size: 22px; }
  .tx-ks-find { height: 44px; }
  .tx-ks-chips { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
  .tx-ks .kg-discover { grid-template-columns: minmax(0, 1fr); }
  .tx-ks .md-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
}
/* Giriş ve yaş kapısı düğmeleri temada kehribar (site degradesi yerine) */
html[data-tx-theme] .tx-auth .primary { background: var(--gh-accent); color: var(--gh-on-accent); border-radius: var(--tx-r-ctl); font-family: var(--gh-body); }
html[data-tx-theme] .tx-auth .primary:hover { background: var(--gh-accent-strong); }
html[data-tx-theme] .tx-auth-card h2, html[data-tx-theme] .tx-auth-card h1 { font-family: var(--tx-head); }

/* Profil sekmeleri ve öne çıkanlar: community/tafix-highlights.mjs ve tafix-profile.mjs (migration 202610280021).
   Sekme düğmeleri (Gönderiler · Etiketlenenler · Kaydedilenler), kaydet (yer imi), kişi etiketleme, öne çıkan halkaları. */
.md-ic-save { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h12v16l-6-4-6 4z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.md-ic-save.on { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h12v16l-6-4-6 4z' fill='%23000' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); animation: md-pop .3s; }
.md-ic-tag { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v13h-5l-3 3-3-3H4z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='9' r='2.4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3Cpath d='M7.8 15c.8-1.8 2.3-2.6 4.2-2.6s3.4.8 4.2 2.6' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E"); }
.md-actions .md-save { margin-left: auto; }
.md-save.big { display: inline-flex; gap: 6px; width: auto; padding: 0 12px 0 8px; border-radius: var(--tx-r-ctl, 20px); font: 600 13px var(--gh-body); }
.md-save.big[aria-pressed="true"] { color: var(--gh-accent); }
.md-tagline { margin: 4px 0 0; color: var(--gh-fg-soft); font-size: 13.5px; overflow-wrap: anywhere; }
.md-tagline .md-ic { width: 16px; height: 16px; margin-right: 4px; vertical-align: -3px; color: var(--gh-muted); }
.md-tagline a { color: var(--gh-fg); font-weight: 600; text-decoration: none; }
.md-tagline a:hover { text-decoration: underline; }
.md-tagline .md-link { padding: 0; }
/* sekmeler: eski span kuralı yerine düğmeler; etkin sekme çizgisi temada --tx-sel */
.tx-prof-tabs .tx-prof-tab { position: relative; display: flex; align-items: center; gap: 8px; height: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--gh-muted); font: 600 13px var(--gh-body); white-space: nowrap; cursor: pointer; }
.tx-prof-tabs .tx-prof-tab:hover { color: var(--gh-fg); }
.tx-prof-tabs .tx-prof-tab[aria-selected="true"] { color: var(--gh-fg); }
.tx-prof-tabs .tx-prof-tab[aria-selected="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--tx-sel, var(--gh-fg)); }
.tx-prof-tabs .md-ic.tx-prof-tab-i { width: 16px; height: 16px; }
.tx-prof-pane > .md-empty { padding: 40px 24px; }
.tx-prof-wait { padding: 32px 24px; text-align: center; }
html[data-tx-theme="koz"] .tx-prof-tabs .tx-prof-tab[aria-selected="true"]::after { left: 0; right: 0; border-radius: 0; }
/* öne çıkanlar: boş halka ve "+ Yeni" */
.tx-prof-hl-item i.blank { background: var(--kg-hover); box-shadow: 0 0 0 2px var(--kg-main), 0 0 0 4px var(--kg-line); }
.tx-prof-hl-item.add i { display: grid; place-items: center; background: none; box-shadow: inset 0 0 0 1.5px var(--kg-line); color: var(--gh-fg-soft); font: 300 30px/1 var(--gh-body); font-style: normal; }
.tx-prof-hl-item.add:hover i { color: var(--gh-fg); box-shadow: inset 0 0 0 1.5px var(--gh-muted); }
html[data-tx-theme="ufuk"] .tx-prof-hl-item:not(.add) i:not(.blank) { box-shadow: 0 0 0 2px var(--kg-main), 0 0 0 4px var(--gh-accent); }
/* hikâye görüntüleyicide "Öne çıkanlara ekle" */
.md-sv-hl { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 16px; background: rgba(0, 0, 0, .35); color: #fff; font: 600 12px var(--gh-body); white-space: nowrap; cursor: pointer; }
.md-sv-hl .md-ic { width: 15px; height: 15px; }
.md-sv-hl:hover { background: rgba(0, 0, 0, .55); }
/* kişi etiketleme penceresi ve oluşturma düğmesi */
.tx-tag-btn { display: inline-flex; align-items: center; gap: 8px; justify-self: start; }
.tx-tag-btn .md-ic { width: 18px; height: 18px; }
.tx-tag-dlg { box-sizing: border-box; width: min(440px, calc(100vw - 32px)); padding: 20px 20px 16px; }
.tx-tag-dlg h2 { margin: 0 0 12px; }
.tx-tag-dlg .md-muted { margin: 8px 0 0; font-size: 13px; }
.md-sv header > span { display: flex; align-items: center; gap: 4px; }
.tx-tag-dlg input[type="search"] { width: 100%; }
.tx-tag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.tx-tag-chips:empty { display: none; }
.tx-tag-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 3px 4px 3px 4px; border: 1px solid var(--kg-line); border-radius: var(--tx-r-ctl, 16px); background: var(--gh-panel-2, var(--kg-hover)); font-size: 13px; }
.tx-tag-chip b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tx-tag-chip .cm-x { position: static; display: grid; place-items: center; width: 22px; height: 22px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--gh-muted); cursor: pointer; }
.tx-tag-chip .cm-x:hover { background: var(--kg-hover); color: var(--gh-fg); }
.tx-tag-list { display: grid; gap: 2px; max-height: min(320px, 45vh); margin: 10px 0 4px; overflow-y: auto; }
.tx-tag-opt { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 40px; padding: 6px 8px; border: 0; border-radius: var(--tx-r-ctl, 8px); background: none; color: var(--gh-fg); font: 500 14px var(--gh-body); text-align: left; cursor: pointer; }
.tx-tag-opt:hover, .tx-tag-opt:focus-visible { background: var(--kg-hover); }
.tx-tag-opt b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tx-tag-opt small { margin-left: auto; color: var(--gh-muted); font: 500 12px var(--gh-mono); }
@media (max-width: 760px) {
  .tx-prof-pane { grid-area: grid; min-width: 0; }
  .tx-prof-tabs { gap: 0; overflow-x: auto; scrollbar-width: none; }
  /* telefonda çizimdeki gibi yalnız simge (erişilebilir ad düğme metninde kalır) */
  .tx-prof-tabs .tx-prof-tab { flex: 1 1 0; justify-content: center; gap: 0; padding: 0 8px; font-size: 0; }
  .tx-prof-tabs .md-ic.tx-prof-tab-i { width: 20px; height: 20px; }
  .tx-prof-tabs .tx-prof-tab-ic.tx-prof-tab-i { width: 17px; height: 17px; }
  .tx-prof-tabs .tx-prof-tab[aria-selected="true"]::after { left: 20%; right: 20%; }
  .md-sv-hl { padding: 0 8px; font-size: 11px; }
}
/* DM — özel mesajlar (tafix-dm.mjs): şerit düğmesi + rozet, konuşma listesi, konuşma, kişi kartı, @kullanıcı adı */
.kg-ic-chat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H10l-5 4v-4H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8 10h8M8 13h5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-srv.tx-dm-srv { background: var(--gh-panel-2); color: var(--gh-fg-soft); }
.kg-srv.tx-dm-srv .kg-ic { width: 22px; height: 22px; }
.kg-srv.tx-dm-srv.on, .kg-srv.tx-dm-srv:hover { color: var(--gh-fg); }
.tx-dm-badge { position: absolute; right: -4px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 5px; border: 3px solid var(--kg-rail); border-radius: 10px; box-sizing: content-box; background: #d9534f; color: #fff; font: 700 11px/20px var(--gh-body); text-align: center; }
html[data-tx-theme] .tx-dm-badge { background: var(--gh-accent); color: var(--gh-on-accent); font-family: var(--gh-mono); }
html[data-tx-theme] .kg-srv.tx-dm-srv.on .tx-dm-badge { background: var(--gh-fg); color: var(--gh-bg); }
.tx-dm-x { margin-left: auto; }
.tx-dm-top { display: flex; align-items: center; height: 48px; padding: 0 4px; }
html[data-tx-theme] .tx-dm-top b { font-family: var(--tx-head); }
.tx-dm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tx-dm-list.empty { padding: 8px; }
.tx-dm-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; color: var(--gh-muted); text-decoration: none; }
.tx-dm-row:hover { background: var(--kg-hover); color: var(--gh-fg-soft); }
.tx-dm-row.on { background: var(--kg-hover); color: var(--gh-fg); }
.tx-dm-row .cm-ava.sm { width: 36px; height: 36px; }
.tx-dm-who { display: grid; min-width: 0; gap: 2px; }
.tx-dm-line { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.tx-dm-line b { flex: 0 1 auto; min-width: 3em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--gh-fg-soft); font-size: 14px; }
.tx-dm-row.unread .tx-dm-line b, .tx-dm-row.on .tx-dm-line b { color: var(--gh-fg); }
.tx-dm-handle { flex: 0 100 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--gh-muted); font: 12px var(--gh-mono, var(--gh-body)); }
.tx-dm-prev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.tx-dm-row.unread .tx-dm-prev { color: var(--gh-fg-soft); font-weight: 600; }
.tx-dm-row.blocked { opacity: .7; }
.tx-dm-side { display: grid; justify-items: end; gap: 4px; }
.tx-dm-side time { font: 11px var(--gh-mono, var(--gh-body)); color: var(--gh-muted); white-space: nowrap; }
.tx-dm-block-ic { font-size: 12px; }
.tx-dm-home { flex: 1; display: grid; min-height: 0; overflow-y: auto; }
.tx-dm-home > .tx-dm-list { display: none; }
.tx-dm-pick { align-self: center; justify-self: center; display: grid; justify-items: center; gap: 8px; max-width: 420px; padding: 32px 24px; text-align: center; color: var(--gh-muted); }
.tx-dm-pick > .kg-ic { width: 48px; height: 48px; color: var(--gh-fg-soft); }
.tx-dm-pick h2 { margin: 0; color: var(--gh-fg); font: 700 20px/1.2 var(--tx-head, var(--gh-body)); }
.tx-dm-pick p { margin: 0; }
.tx-dm-back { display: none; font-size: 20px; }
.tx-dm-head-ava { display: inline-grid; padding: 0; border: 0; background: none; cursor: pointer; }
.tx-dm-head-ava .cm-ava.xs { width: 26px; height: 26px; font-size: 11px; }
.kg-head .tx-dm-head-ava + h1 { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tx-dm-card { display: grid; justify-items: center; gap: 6px; padding: 24px 16px; text-align: center; }
.tx-dm-card > b { font: 700 17px/1.2 var(--tx-head, var(--gh-body)); overflow-wrap: anywhere; }
.tx-dm-card .kg-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.tx-handle { margin: 2px 0 0; color: var(--gh-muted); font: 13px var(--gh-mono, var(--gh-body)); overflow-wrap: anywhere; }
.tx-profile-top .tx-handle { font-size: 12px; }
.tx-handle-input { display: flex; align-items: center; gap: 0; border: 1px solid var(--kg-line, var(--gh-line)); border-radius: var(--tx-r-ctl, 8px); background: var(--kg-input, var(--gh-panel-2)); }
.tx-handle-input i { padding: 0 2px 0 10px; color: var(--gh-muted); font-style: normal; font-family: var(--gh-mono, var(--gh-body)); }
.tx-handle-input input { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; }
.kg-app .tx-prof-btns .tx-block { flex: 0 1 auto; }
@media (max-width: 1200px) { .kg-app.tx-dm-open .kg-members { display: none; } }
@media (max-width: 760px) {
  .tx-dm-back { display: inline-grid; }
  .kg-app.tx-dm-open .kg-head .kg-burger { display: none; }
  .tx-dm-home > .tx-dm-list { display: grid; padding: 8px; align-content: start; }
  .tx-dm-home > .tx-dm-list.empty { display: block; }
  .tx-dm-home > .tx-dm-pick { display: none; }
  .tx-dm-row { padding: 10px 8px; }
  .kg-app .tx-prof-btns .tx-block { flex: 0 0 auto; }
}
/* Hesap silme (Ayarlar › Hesabım › Tehlikeli bölge) ve kayıt formundaki aydınlatma notu — Hukuk 28 Ekim 2026. */
.tx-danger-zone { border-top-color: color-mix(in srgb, var(--tx-danger, #e8705f) 45%, transparent); }
.tx-danger-zone h3 { color: var(--tx-danger, #e8705f); }
.tx-danger-btn { justify-self: start; min-height: 38px; padding: 8px 16px; border: 1px solid var(--tx-danger, #e8705f); border-radius: var(--tx-r-ctl, 8px); background: transparent; color: var(--tx-danger, #e8705f); font: 600 14px/1.3 var(--gh-body); cursor: pointer; }
.tx-danger-btn:hover:not(:disabled) { background: var(--tx-danger, #e8705f); color: #1a0806; }
.tx-danger-btn:disabled { opacity: .5; cursor: not-allowed; }
.tx-delete-warn { margin: 0; padding: 10px 12px; border-left: 3px solid var(--tx-danger, #e8705f); border-radius: 6px; background: var(--gh-panel-2); color: var(--gh-fg); }
.tx-auth-form .tx-auth-privacy .text-link, .tx-auth-form label.terms .text-link { display: inline; min-height: 0; padding: 0; color: var(--gh-accent); font: inherit; line-height: inherit; }
.tx-auth-privacy { line-height: 1.5; }

/* Bildirim ayarları (29 Ekim 2026): alan başına seçim satırı, ses düzeyi; bildirimde kısa ekran titremesi (hareketi azalt açıksa yok). */
.tx-notify-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.tx-notify-row select { min-width: 0; max-width: 100%; }
@media (max-width: 520px) { .tx-notify-row { grid-template-columns: minmax(0, 1fr) auto; } .tx-notify-row > span { grid-column: 1 / -1; } }
.tx-range { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 3.5em; gap: 8px; align-items: center; }
.tx-range input { width: 100%; accent-color: var(--gh-accent); }
@keyframes tx-shake { 0%, 100% { transform: translateX(0); } 15% { transform: translateX(-7px); } 30% { transform: translateX(6px); } 45% { transform: translateX(-5px); } 60% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.kg-app.tx-shake { animation: tx-shake .55s ease-in-out; }
html.tx-reduce-motion .kg-app.tx-shake { animation: none; }

/* "/" komut listesi: komut yazımı solda, kısa açıklama sağda (dar ekranda alt alta). */
.tx-cmd-pop { max-width: 520px; }
.tx-cmd-pop .tx-cmd-head { padding: 2px 8px 4px; color: var(--gh-muted); font-size: 12px; }
.tx-cmd-pop button { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 10px; }
.tx-cmd-pop code { color: var(--gh-accent); font: 13px var(--gh-mono, ui-monospace, monospace); overflow-wrap: anywhere; }
.tx-cmd-pop span { color: var(--gh-muted); font-size: 13px; }
@media (max-width: 520px) { .tx-cmd-pop button { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Yayınlar (29 Ekim 2026): şeritte Akış'ın altında, canlı yayın sayısı rozeti; en altta çıkış. */
.kg-rail .kg-srv.live { position: relative; }
.tx-live-badge { position: absolute; right: -4px; bottom: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tx-live, #e5484d); color: #fff; font: 700 11px/18px var(--gh-body); text-align: center; box-shadow: 0 0 0 3px var(--kg-rail); }
.tx-live-badge[hidden] { display: none; }
.kg-rail .tx-signout { margin-top: auto; flex: none; border: 0; cursor: pointer; background: var(--kg-side); color: var(--gh-muted); }
.kg-rail .tx-signout:hover { color: var(--tx-danger, #f07062); }
.kg-ic-logout { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 4H5v16h5' stroke='%23000' stroke-width='2' fill='none' stroke-linejoin='round'/%3E%3Cpath d='M14 8l4 4-4 4M18 12H9' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tx-live-page { padding: 16px; display: grid; gap: 12px; min-width: 0; }
.tx-live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.tx-live-item { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--kg-line); border-radius: 12px; background: var(--kg-side); min-width: 0; }
.tx-live-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--kg-main); }
.tx-live-thumb .tx-live { position: absolute; left: 8px; top: 8px; }
.tx-live-meta { display: grid; gap: 2px; min-width: 0; }
.tx-live-meta b, .tx-live-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-live-meta span, .tx-live-meta small { color: var(--gh-muted); }
.tx-live-act { margin-left: auto; }
.tx-live-empty { grid-column: 1 / -1; }
@keyframes tx-pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--gh-accent); } 50% { box-shadow: 0 0 0 6px transparent; } }
.kg-tool.tx-pulse { animation: tx-pulse 1.2s ease-in-out 6; outline: 2px solid var(--gh-accent); }
html.tx-reduce-motion .kg-tool.tx-pulse { animation: none; }

/* Şeridin en üstündeki Tafix simgesi (resmî sunucuya / girişte açılan sayfaya götürür). */
/* Şerit logosu kendi sınıfını kullanır: .tx-logo açılış ekranının 112 px logosudur, şeritte taşıp kırpılıyordu. */
.kg-rail .kg-srv.tx-rail-logo { padding: 0; overflow: hidden; background: none; }
.kg-rail .kg-srv.tx-rail-logo > span[aria-hidden] { display: block; width: 100%; height: 100%; }
.kg-rail .kg-srv.tx-rail-logo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

/* Özel mesajlarda kişi arama (29 Ekim 2026). */
.tx-dm-search { position: relative; padding: 8px; display: grid; gap: 6px; }
.tx-dm-search-in { width: 100%; min-width: 0; padding: 7px 10px; font-size: 13px !important; border: 1px solid var(--kg-line); border-radius: 8px; background: var(--kg-main); color: var(--gh-fg); font: 14px var(--gh-body); }
.tx-dm-results { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; border: 1px solid var(--kg-line); border-radius: 8px; background: var(--kg-side); max-height: 50vh; overflow-y: auto; }
.tx-dm-results[hidden] { display: none; }
.tx-dm-results .kg-note { padding: 6px 8px; }
.tx-dm-hit { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 8px; border: 0; border-radius: 6px; background: none; color: var(--gh-fg); text-align: left; cursor: pointer; font: 14px var(--gh-body); }
.tx-dm-hit:hover, .tx-dm-hit:focus-visible { background: var(--kg-hover); }
.tx-dm-hit-text { display: grid; min-width: 0; }
.tx-dm-hit-text b, .tx-dm-hit-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-dm-hit-text small, .tx-dm-hit-act { color: var(--gh-muted); font-size: 12px; }
.tx-dm-hit:not(.locked) .tx-dm-hit-act { color: var(--gh-accent); }

/* Ayarlar alt çubuğu: "Kaydet ve kapat" (değişiklikler zaten anında kaydedilir). */
.tx-set-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid var(--kg-line, var(--gh-line)); }
.tx-set-foot .kg-note { margin-right: auto; }

/* Profil galerisi bölümleri, GIF önizleme; çıkartma seçicide GIF sekmesi (29 Ekim 2026). */
.tx-av-sec { margin: 10px 0 6px; color: var(--gh-muted); font: 600 12px var(--gh-body); text-transform: uppercase; letter-spacing: .04em; }
.tx-av-gif { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; display: block; margin: 8px auto; }
.tx-gif-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 4px 2px 8px; }
.tx-gif-empty { grid-column: 1 / -1; }
.tx-stk img { object-fit: contain; }

/* Yayın aç penceresi, yayın kartı ayrıntıları, kimlere açık etiketi, izleme istekleri (29 Ekim 2026). */
.tx-stream-form { display: grid; gap: 12px; max-width: 560px; }
.tx-stream-form label { display: grid; gap: 4px; }
.tx-stream-form input, .tx-stream-form textarea, .tx-stream-form select { width: 100%; min-width: 0; }
.tx-opts { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.tx-opts legend { padding: 0; margin-bottom: 4px; font-weight: 600; }
.tx-opt { display: grid !important; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 10px; border: 1px solid var(--kg-line, var(--gh-line)); border-radius: var(--tx-r-ctl, 8px); cursor: pointer; }
.tx-opt:has(input:checked) { border-color: var(--gh-accent); background: var(--tx-acc-soft, transparent); }
.tx-opt:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.tx-opt span { display: grid; gap: 2px; min-width: 0; }
.tx-opt small { color: var(--gh-muted); }
.tx-sub[hidden], .tx-stream-form .tx-check[hidden] { display: none; }
.tx-stream-actions { justify-content: flex-end; flex-wrap: wrap; }
.tx-live-aud { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; font: 600 11px var(--gh-body); background: var(--kg-side, var(--gh-panel)); color: var(--gh-fg); border: 1px solid var(--kg-line, var(--gh-line)); }
.kg-head .tx-live-aud { position: static; }
.tx-live-aud.approved { border-color: var(--gh-accent); color: var(--gh-accent); }
.tx-live-title { font-size: 15px; }
.tx-live-desc { margin: 2px 0; color: var(--gh-fg-soft, var(--gh-muted)); font-size: 13px; overflow-wrap: anywhere; }
.tx-req { padding: 12px; display: grid; gap: 8px; }
.tx-req-list { display: grid; gap: 6px; }
.tx-req-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.tx-req-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-req-act { display: flex; gap: 4px; }
.tx-stream-desc { padding: 0 12px; overflow-wrap: anywhere; }

/* Anket: düz maddeler; solda oy işareti dairesi (seçilince ✓). */
.tx-poll-txt { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.tx-poll-dot { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 2px solid var(--kg-line, var(--gh-line)); border-radius: 50%; font: 700 11px/1 var(--gh-body); font-style: normal; color: var(--gh-on-accent); }
.tx-poll-opt.mine .tx-poll-dot { background: var(--gh-accent); border-color: var(--gh-accent); }
/* 29 Ekim 2026 (Salih): sunucu kartında taşan simge adın üstüne binmesin; giriş düğmesi yazısı dengeli kırılsın; metin içi "giriş yap" bağlantı gibi görünsün. */
.kg-srv-card .kg-srv-banner + h3 { margin-top: 26px !important; }
.cm-login, .tx-feed-actions button { text-wrap: balance; }
.tx-inline-login { display: inline; height: auto; min-height: 0; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--gh-accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tx-inline-login:hover { color: var(--gh-fg); }
/* Yayınlar simgesi (29 Ekim 2026, Salih: ekran paylaşımıyla aynıydı): yayın dalgaları. */
.kg-ic-live { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='2.5' fill='%23000'/%3E%3Cpath d='M8.5 8.5a5 5 0 0 0 0 7M15.5 8.5a5 5 0 0 1 0 7M5.6 5.6a9 9 0 0 0 0 12.8M18.4 5.6a9 9 0 0 1 0 12.8' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* Botlar ve Anket düğmeleri, Botlar penceresi, gruplu emoji seçici (29 Ekim 2026). */
.kg-ic-bot { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='7' width='16' height='12' rx='3' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 3v4M9 12v1M15 12v1M9 16h6M2 12v3M22 12v3' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.kg-ic-poll { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h10M4 12h16M4 18h7' stroke='%23000' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tx-bot-dlg .tx-bot-group { margin-top: 14px; }
.tx-bot-dlg .tx-bot-group h3 { margin: 0 0 6px; color: var(--gh-muted); font: 600 12px var(--gh-body); letter-spacing: .06em; text-transform: uppercase; }
.tx-bot-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--kg-line); }
.tx-bot-row > div { flex: 1; min-width: 0; }
.tx-bot-row code { color: var(--gh-accent); font: 600 14px var(--gh-mono, ui-monospace, monospace); overflow-wrap: anywhere; }
.tx-bot-row p { margin: 2px 0; color: var(--gh-fg-soft); font-size: 14px; }
.tx-bot-row small { color: var(--gh-muted); font-size: 12px; } .tx-bot-row small code { font-size: 12px; font-weight: 400; color: var(--gh-fg-soft); }
.tx-bot-row button { flex: none; }
.kg-emoji.tx-emoji-all { grid-template-columns: repeat(8, 36px); max-height: min(340px, 60vh); overflow-y: auto; }
.tx-emoji-all .tx-emoji-head { grid-column: 1 / -1; padding: 6px 4px 2px; color: var(--gh-muted); font-size: 12px; }
@media (max-width: 520px) { .kg-emoji.tx-emoji-all { grid-template-columns: repeat(7, 36px); right: 4px; max-width: calc(100vw - 24px); } .kg-composer .tx-poll-btn { display: none; } }
@media (max-width: 360px) { .kg-emoji.tx-emoji-all { grid-template-columns: repeat(6, 36px); } }
.tx-poll-who { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 4px 4px 6px; color: var(--gh-muted); font-size: 12px; }
.tx-poll-who span { display: inline-flex; align-items: center; gap: 4px; } .tx-poll-who .cm-ava { width: 18px; height: 18px; font-size: 10px; }
.tx-poll-inputs { display: grid; gap: 8px; margin-bottom: 8px; }
.tx-poll-item > .tx-poll-opt { width: 100%; }
/* Giriş düğmesi iki satır: "Paylaşmak için" üstte, "giriş yap" altta. */
.kg-app .cm-login.tx-login-2, .kg-app button.primary.tx-login-2 { display: grid; justify-items: center; gap: 0; height: auto; padding-block: 8px; line-height: 1.25; } .tx-login-2 span { display: block; }
/* Giriş öncesi ekolayzer açılışı (tafix-intro.mjs; 29 Ekim 2026). Büyük simge ve karşılama yazısı kartın simgesi ve başlığına kayar. */
.tx-intro { position: fixed; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 28px; padding: 16px; cursor: pointer; }
.tx-intro-logo { width: min(260px, 52vw); height: min(260px, 52vw); animation: tx-intro-pop .55s cubic-bezier(.2,.9,.3,1.25) both; }
.tx-intro-svg { display: block; width: 100%; height: 100%; }
.tx-intro .tx-eq { animation: tx-intro-eq .3s ease-in-out .35s 6 alternate both; transform-origin: 50% 50%; }
.tx-intro .tx-eq3 { animation-delay: .41s; }
.tx-intro-text { margin: 0; font: 700 clamp(30px, 7vw, 64px)/1.15 var(--tx-head, var(--gh-body)); letter-spacing: -.01em; text-align: center; white-space: nowrap; color: var(--gh-fg); }
.tx-intro-text span { display: inline-block; opacity: 0; transform: translateY(14px); animation: tx-intro-letter .32s ease forwards; animation-delay: calc(.85s + var(--i) * 45ms); }
.tx-intro-text .sp { width: .28em; }
@keyframes tx-intro-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes tx-intro-eq { from { transform: scaleY(1); } to { transform: scaleY(.3); } }
@keyframes tx-intro-letter { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tx-intro { display: none; } }
/* Takipçi / takip listesi (29 Ekim 2026): sayıya basınca açılır. */
.tx-prof-stat { display: grid; justify-items: center; padding: 2px 6px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; }
.tx-prof-stat:hover, .tx-prof-stat:focus-visible { background: var(--kg-hover); }
.tx-follow-dlg { width: min(440px, calc(100vw - 32px)); max-height: min(640px, calc(100dvh - 48px)); display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; }
.tx-follow-dlg:not([open]) { display: none; }
.tx-follow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .tx-follow-top h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.tx-follow-list { margin: 0; padding: 0; list-style: none; overflow-y: auto; }
.tx-follow-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 4px; border-top: 1px solid var(--kg-line); }
.tx-follow-row a { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--gh-fg); text-decoration: none; font-weight: 600; }
.tx-follow-row a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-follow-row button { flex: none; }
/* DM: ortadaki arama kaldırıldı; telefonda başlıktaki büyüteç sol paneldeki aramayı açar. */
.kg-ic-search { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='m16 16 4.5 4.5' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tx-dm-find { display: none; margin-left: auto; }
@media (max-width: 760px) { .tx-dm-find { display: inline-grid; place-items: center; } }
/* Üye olduktan sonra "E-postanı doğrula" adımları. */
.tx-auth-steps { display: grid; gap: 6px; width: 100%; padding: 12px 14px; border: 1px solid var(--kg-line); border-radius: 10px; background: var(--gh-panel, #161d26); text-align: left; }
.tx-auth-steps p { margin: 0; font-size: 14px; }
/* DM araması (29 Ekim 2026): başlıkta Sesli ara / Görüntülü ara, konuşmada arama kartı, gelen arama penceresi. */
.kg-ic-phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z' fill='%23000'/%3E%3C/svg%3E"); }
.tx-dm-calls { display: flex; gap: 4px; margin-left: auto; }
.tx-dm-calls + .tx-dm-x { margin-left: 4px; }
.tx-call-card { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 10px 14px; border: 1px solid var(--kg-line); border-radius: 12px; background: var(--gh-panel-2, var(--kg-hover)); }
.tx-call-card .kg-ic { color: var(--gh-accent); } .tx-call-card span { display: grid; } .tx-call-card small { color: var(--gh-muted); }
.tx-call-dlg { display: grid; justify-items: center; gap: 10px; width: min(380px, calc(100vw - 32px)); text-align: center; }
.tx-call-dlg:not([open]) { display: none; }
.tx-call-dlg h2 { margin: 6px 0 0; } .tx-call-dlg p { margin: 0; color: var(--gh-muted); }
.tx-call-dlg .cm-ava { animation: tx-ring 1.2s ease-in-out infinite; }
.tx-call-acts { flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
@keyframes tx-ring { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gh-accent) 60%, transparent); } 70% { box-shadow: 0 0 0 16px transparent; } }
@media (prefers-reduced-motion: reduce) { .tx-call-dlg .cm-ava { animation: none; } }
/* Silinen mesaj için 6 saniyelik "Geri al" çubuğu (tafix-undo.mjs). */
.tx-undo { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 16px; max-width: calc(100vw - 32px); padding: 10px 12px 10px 16px; border: 1px solid var(--kg-line, #2e333a); border-radius: 12px; background: var(--gh-panel, #1a1d21); color: var(--gh-fg, #eef2f6); box-shadow: 0 8px 24px #0009; font: 14px var(--gh-body); }
.tx-undo-btn { flex: none; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--gh-accent, #3cc7aa); color: var(--gh-on-accent, #0b1f1b); font: 700 14px var(--gh-body); cursor: pointer; }
@media (max-width: 760px) { .tx-undo { bottom: calc(72px + env(safe-area-inset-bottom)); } }
.tx-push-sub { margin-left: 26px; }
.kg-composer.tx-drop { outline: 2px dashed var(--gh-accent); outline-offset: -4px; }
/* Tanıtım turu (tafix-tour.mjs): vurgulanan öğe ve yanındaki kart. */
.tx-tour { position: fixed; inset: 0; z-index: 2500; pointer-events: none; }
.tx-tour-spot { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px #000a, 0 0 0 2px var(--gh-accent); transition: all .2s ease; pointer-events: none; }
.tx-tour-card { position: fixed; display: grid; gap: 8px; padding: 16px; border: 1px solid var(--kg-line); border-radius: 14px; background: var(--gh-panel, #1a1d21); color: var(--gh-fg); box-shadow: 0 12px 32px #000a; pointer-events: auto; transition: left .2s ease, top .2s ease; }
.tx-tour-card b { font-size: 16px; } .tx-tour-card p { margin: 0; color: var(--gh-fg-soft); font-size: 14px; line-height: 1.5; } .tx-tour-card small { color: var(--gh-muted); }
.tx-tour-acts { display: flex; align-items: center; gap: 8px; margin-top: 4px; } .tx-tour-acts .text-link { margin-right: auto; }
@media (prefers-reduced-motion: reduce) { .tx-tour-spot, .tx-tour-card { transition: none; } }
.kg-dl-pop .gh-dl-btn.own { border-color: var(--gh-accent); font-weight: 700; }

/* Kişiye göre ses (31 Ekim 2026): kutunun sağ üst köşesinde; kısılmışsa düzeyi yazar. */
.tx-uvol { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 0; border-radius: var(--tx-r-ctl, 999px); background: rgba(10,10,12,.72); color: #fff; font: 600 12px var(--gh-body); cursor: pointer; }
.tx-uvol.off { background: var(--tx-danger); }
.kg-tile:has(.tx-unwatch) .tx-uvol { top: 44px; }
.tx-uvol-dlg, .tx-invite-dlg, .tx-invite-card { display: grid; gap: 12px; width: min(380px, calc(100vw - 32px)); }
:is(.tx-uvol-dlg, .tx-invite-dlg, .tx-invite-card):not([open]) { display: none; }
:is(.tx-uvol-dlg, .tx-invite-dlg, .tx-invite-card) h2 { margin: 0; overflow-wrap: anywhere; }
.tx-uvol-dlg .kg-row, .tx-invite-dlg .kg-row, .tx-invite-card .kg-row { justify-content: flex-end; flex-wrap: wrap; }
.tx-invite-list { display: grid; gap: 8px; }
.tx-invite-list button { width: 100%; text-align: left; }
.tx-invite-card { justify-items: center; text-align: center; }
.tx-invite-card p { margin: 0; color: var(--gh-muted); overflow-wrap: anywhere; }
.tx-invite-card .kg-row { justify-content: center; }
.tx-hidden-toggle { display: block; margin: 8px 12px 12px; }

/* Bekleyen istekler (31 Ekim 2026): her sayfada ekranın üstünde; karar verilmeden kalkmaz. */
.tx-reqbar { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 900; display: grid; gap: 8px; width: min(520px, calc(100vw - 32px)); }
.tx-reqcard { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--gh-accent); border-radius: var(--tx-r-card, 12px); background: var(--gh-panel, #101418); box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.tx-reqtext { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.tx-reqtext small { display: block; color: var(--gh-muted); }
.tx-reqcard .tx-req-act { display: flex; gap: 6px; margin-left: auto; }
.tx-reqbar > .kg-note { margin: 0; text-align: center; }

/* Kurucu rozeti ve profili (31 Ekim 2026). Altın tonu DESIGN.md amber'i; mor yok. */
.tx-founder { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px; border: 1px solid #c9952b; border-radius: 999px; background: rgba(201,149,43,.14); color: #e3b453; font: 700 11px/1.5 var(--gh-body); vertical-align: middle; white-space: nowrap; }
.tx-prof-name h1 .tx-founder { font-size: 13px; }
.tx-prof.founder .tx-prof-ava .md-ring.big > .cm-ava { box-shadow: 0 0 0 3px #c9952b, 0 0 18px rgba(227,180,83,.45); }
.tx-prof.founder .tx-prof-cover { box-shadow: inset 0 -3px 0 #c9952b; }
.tx-founder img { display: block; width: 16px; height: 16px; }
.tx-prof-name h1 .tx-founder img { width: 20px; height: 20px; }

/* tafix.net'e taşıma şeridi (31 Ekim 2026): bir kez, altta. */
.tx-movebar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 880; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; width: min(560px, calc(100vw - 32px)); padding: 10px 14px; border: 1px solid var(--gh-accent); border-radius: var(--tx-r-card, 12px); background: var(--gh-panel); box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.tx-movebar > span:first-child { flex: 1 1 220px; min-width: 0; }
.tx-movebar .tx-req-act { display: flex; gap: 6px; margin-left: auto; }
.tx-auth-note.tx-moved { color: var(--gh-accent); }
/* Profil resmi penceresi: satırlar içerik boyunda; gövde kayar, "Harfli avatara dön" galerinin altında kalır (31 Ekim 2026). */
.tx-avatar .tx-modal-body { grid-auto-rows: max-content; }
/* Yazı kutusu (31 Ekim 2026, Salih: "telefonda yazı okunmuyor, yanında oklar çıkıyor"): ipucu metni tek satır ve "…" ile kısalır;
   kaydırma çubuğu yalnız metin 200 px'i aşınca çıkar (.scroll, autosize ekler). */
.kg-input textarea { overflow-y: hidden; min-width: 0; }
.kg-input textarea.scroll { overflow-y: auto; }
.kg-input textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
  .kg-input { flex-wrap: wrap; row-gap: 2px; }
  .kg-input textarea { order: -1; flex: 1 0 100%; }
  .kg-input > :last-child { margin-left: auto; }
}
