/* Vakıf tableti (/terminal/): sitede bir tablet. Masaüstünde çerçeveli cihaz, telefonda tam ekran.
   Koyu zemin, kırmızı mühür, amber vurgu. Satır içi stil yok (CSP); bütün görünüm bu dosyada. */
:root {
  --bg: #050607; --panel: #141619; --panel2: #1b1e22; --panel3: #262a30; --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .14);
  --text: #ece9e2; --soft: #bdbab3; --muted: #8d929b; --red: #8f1c14; --redb: #c8291d; --amber: #c99a3d; --amberb: #e0b45a;
  --safe: #5aa772; --euclid: #d9a441; --keter: #e0473a; --thaumiel: #9b82e0; --neutral: #8a929c;
  --display: 'Oswald', 'Arial Narrow', sans-serif; --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace; --sans: 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body.tb-body { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; background: var(--bg) radial-gradient(circle at 50% 0%, rgba(143, 28, 20, .18), transparent 60%); color: var(--text); font: 15px/1.5 var(--sans); }
::selection { background: var(--redb); color: #fff; }
a { color: var(--amberb); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: progress; opacity: .6; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amberb); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tb-noscript { padding: 40px; font-family: var(--mono); }

/* Cihaz */
.tb-device { position: relative; width: min(1180px, 100%); height: min(820px, calc(100dvh - 48px)); min-height: 560px; padding: 14px; border-radius: 40px; background: linear-gradient(160deg, #24272c, #111316 60%); box-shadow: 0 0 0 1px #2e3238, inset 0 0 0 2px #0a0b0d, 0 40px 90px rgba(0, 0, 0, .7); }
.tb-device::before { content: ''; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #0b0c0e; box-shadow: inset 0 0 0 1px #30343a; }
.tb-screen { position: relative; height: 100%; overflow: hidden; border-radius: 28px; background: radial-gradient(circle at 18% 0%, rgba(143, 28, 20, .42), transparent 55%), radial-gradient(circle at 92% 100%, rgba(201, 154, 61, .14), transparent 50%), #0c0e11; }
.tb-root { position: absolute; inset: 0; display: flex; flex-direction: column; }

/* Mühür */
.t-seal { width: 48px; height: 48px; flex: none; }
.t-seal circle, .t-seal ellipse, .t-seal line { fill: none; stroke: var(--redb); }
.t-seal .dim, .t-seal .dim line { stroke: var(--amber); }
.t-seal .pupil { fill: var(--redb); stroke: none; }

/* Açılış */
.tb-boot { position: absolute; inset: 0; z-index: 40; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #000; transition: opacity .35s; }
.tb-boot.is-done { opacity: 0; pointer-events: none; }
.tb-boot .t-seal { width: 78px; height: 78px; animation: tb-pulse 2.2s ease-in-out infinite; }
.tb-boot span { color: var(--muted); font: 12px var(--mono); letter-spacing: .32em; }
@keyframes tb-pulse { 50% { opacity: .55; transform: scale(.96); } }

/* Simgeler */
.tb-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tb-ic.sm { width: 16px; height: 16px; }
.tb-ic.xl { width: 52px; height: 52px; }

/* Durum çubuğu */
.tb-status { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; padding: 0 20px; color: var(--soft); font: 12px var(--mono); }
.tb-status-time { min-width: 44px; font-weight: 600; color: var(--text); }
.tb-status-mid { color: var(--muted); letter-spacing: .24em; }
.tb-status-right { display: flex; justify-content: flex-end; min-width: 44px; }
.tb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, .05); font: 600 12px var(--mono); }
.tb-chip:hover { background: rgba(255, 255, 255, .1); }

/* Ortak parçalar */
.tb-label { margin-bottom: 8px; color: var(--muted); font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.tb-fine { color: var(--muted); font-size: 12.5px; }
.tb-soft { color: var(--soft); }
.tb-link { padding: 0; border: 0; background: none; color: var(--amberb); text-decoration: underline; text-underline-offset: 2px; font-size: inherit; text-align: left; }
.tb-err { margin-bottom: 14px; padding: 9px 12px; border: 1px solid rgba(200, 41, 29, .4); border-radius: 10px; background: rgba(200, 41, 29, .12); color: #ffaaa0; font-size: 14px; }
.tb-note { padding: 10px 12px; border-left: 3px solid var(--amber); border-radius: 8px; background: rgba(201, 154, 61, .08); color: var(--soft); font-size: 14px; }
.tb-from { color: var(--soft); font-size: 14px; }
.tb-empty { padding: 40px 12px; color: var(--muted); text-align: center; }
.tb-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.tb-row.wrap { flex-wrap: wrap; }
.tb-row select { width: auto; }
.tb-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(145deg, #3a3f47, #262a30); color: var(--text); font: 500 15px var(--display); letter-spacing: .04em; }
.tb-avatar.sys { background: linear-gradient(145deg, var(--redb), var(--red)); }
.tb-avatar.xl { width: 68px; height: 68px; font-size: 24px; }
.tb-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--soft); font: 600 11px var(--mono); letter-spacing: .04em; white-space: nowrap; }
.tb-tag.amber { background: rgba(201, 154, 61, .16); color: var(--amberb); }
.tb-tag.green { background: rgba(90, 167, 114, .18); color: #9bd9ae; }
.tb-lv { flex: none; display: inline-flex; padding: 2px 7px; border: 1px solid rgba(201, 154, 61, .45); border-radius: 6px; color: var(--amberb); font: 600 11px var(--mono); white-space: nowrap; }
.tb-lv.l4 { border-color: rgba(224, 71, 58, .6); color: #f19388; }
.tb-lv.l5 { border-color: var(--redb); background: var(--redb); color: #fff; }

/* Düğmeler ve alanlar */
.tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; border: 1px solid transparent; border-radius: 12px; background: #a8251a; color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: background .15s, transform .1s; }
.tb-btn:hover { background: var(--redb); }
.tb-btn:active { transform: scale(.97); }
.tb-btn.ghost { border-color: var(--line2); background: rgba(255, 255, 255, .04); color: var(--text); }
.tb-btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.tb-btn.plain { background: none; color: var(--soft); }
.tb-btn.plain:hover { color: #ffaaa0; }
.tb-btn.danger { background: #b3261b; }
.tb-btn.discord { background: #5865f2; }
.tb-btn.discord:hover { background: #4752c4; }
.tb-btn.discord svg { width: 20px; height: 20px; fill: currentColor; }
.tb-btn.small { min-height: 34px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.tb-btn.wide { width: 100%; }
.tb-input { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line2); border-radius: 12px; background: rgba(0, 0, 0, .35); color: var(--text); }
.tb-input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(201, 154, 61, .2); }
textarea.tb-input { resize: vertical; line-height: 1.55; }
select.tb-input { appearance: auto; }
.tb-field { display: grid; gap: 6px; min-width: 0; }
.tb-field > span { color: var(--soft); font-size: 13px; font-weight: 600; }
.tb-field > small { color: var(--muted); font-size: 12px; }
.tb-form { display: grid; gap: 14px; }
.tb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tb-check { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 14px; }
.tb-check input { width: 18px; height: 18px; accent-color: var(--amber); }

/* Kilit ekranı */
.tb-lock { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 20px 28px; overflow-y: auto; }
.tb-lock-time { display: grid; justify-items: center; gap: 2px; margin-top: 2vh; color: var(--text); text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.tb-big-time { font: 300 76px/1 var(--display); letter-spacing: .02em; }
.tb-lock-time > span:last-child { color: var(--soft); font-size: 16px; text-transform: capitalize; }
.tb-card { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(20, 22, 25, .72); backdrop-filter: blur(16px); }
.tb-lock-card { width: min(430px, 100%); display: grid; gap: 16px; padding: 22px; border-radius: 22px; }
.tb-lock-card h1 { font: 500 24px var(--display); letter-spacing: .03em; text-transform: uppercase; }
.tb-lock-brand { display: flex; align-items: center; gap: 12px; }
.tb-lock-brand b { display: block; font: 500 17px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.tb-lock-brand span { color: var(--muted); font-size: 12.5px; }
.tb-lock-seal { width: 42px; height: 42px; }
.tb-accounts { display: grid; gap: 8px; }
.tb-acc { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .04); text-align: left; }
.tb-acc:hover { background: rgba(255, 255, 255, .09); }
.tb-acc-text { flex: 1; min-width: 0; display: grid; }
.tb-acc-text b, .tb-acc-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-acc-text small { color: var(--muted); font: 12px var(--mono); }
.tb-lock-form { display: grid; gap: 12px; }
.tb-lock-foot { max-width: 430px; color: var(--muted); font-size: 12.5px; text-align: center; }

/* Ana ekran */
.tb-home { flex: 1; overflow-y: auto; padding: 26px 44px 44px; }
.tb-hello h1 { font: 500 32px/1.15 var(--display); letter-spacing: .02em; }
.tb-hello p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; color: var(--soft); }
.tb-widget { display: grid; gap: 6px; width: min(560px, 100%); margin-top: 20px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(20, 22, 25, .7); backdrop-filter: blur(16px); text-align: left; }
.tb-widget:hover { border-color: var(--line2); }
.tb-widget .tb-label { margin: 0; }
.tb-widget-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.tb-widget-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tb-widget-row span { flex: none; color: var(--muted); font: 12px var(--mono); }
.tb-widget-row.imp b { color: var(--amberb); }
.tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 26px 16px; max-width: 820px; margin-top: 30px; }
.tb-app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 4px; border: 0; background: none; color: var(--text); }
.tb-app:active .tb-app-ic { transform: scale(.92); }
.tb-app-ic { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 21px; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18); transition: transform .12s; }
.tb-app-ic .tb-ic { width: 36px; height: 36px; stroke-width: 1.7; }
.c-blue { background: linear-gradient(150deg, #4485e6, #1f4e9c); }
.c-amber { background: linear-gradient(150deg, #e2ad4c, #9d6a1b); }
.c-green { background: linear-gradient(150deg, #4aa86d, #22613b); }
.c-red { background: linear-gradient(150deg, #d8372a, #7a140d); }
.c-teal { background: linear-gradient(150deg, #33aaa6, #155c5a); }
.c-violet { background: linear-gradient(150deg, #8b6fd6, #45308a); }
.c-yellow { background: linear-gradient(150deg, #e8c75a, #a8821a); }
.c-slate { background: linear-gradient(150deg, #6b7480, #343a43); }
.tb-badge { position: absolute; top: -4px; left: calc(50% + 24px); min-width: 23px; height: 23px; padding: 0 6px; border: 2px solid #0c0e11; border-radius: 12px; background: #e5372a; color: #fff; font: 700 12px/19px var(--sans); }
.tb-app-name { font-size: 13.5px; font-weight: 600; text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* Uygulama penceresi */
.tb-window { flex: 1; display: flex; flex-direction: column; min-height: 0; background: rgba(10, 11, 13, .82); }
.tb-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-bottom: 1px solid var(--line); background: rgba(16, 18, 21, .9); }
.tb-bar .tb-app-ic { width: 30px; height: 30px; border-radius: 9px; box-shadow: none; }
.tb-bar .tb-app-ic .tb-ic { width: 18px; height: 18px; }
.tb-bar h2 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 19px var(--display); letter-spacing: .03em; }
.tb-back { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: none; color: var(--text); }
.tb-back:hover { background: rgba(255, 255, 255, .08); }
.tb-app-tools { display: flex; gap: 8px; }
.tb-app-body { flex: 1; overflow-y: auto; padding: 20px max(24px, calc((100% - 880px) / 2)) 28px; }
.tb-homebar { flex: none; display: flex; align-items: center; justify-content: center; height: 24px; border: 0; background: none; }
.tb-homebar::before { content: ''; width: 140px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .38); }
.tb-homebar:hover::before { background: rgba(255, 255, 255, .6); }

/* Listeler */
.tb-list { display: grid; gap: 6px; }
.tb-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 1px solid transparent; border-radius: 14px; background: rgba(255, 255, 255, .035); text-align: left; }
.tb-item:hover { background: rgba(255, 255, 255, .075); }
.tb-item.static { cursor: default; }
.tb-item.static:hover { background: rgba(255, 255, 255, .035); }
.tb-item.unread { border-color: rgba(201, 154, 61, .35); background: rgba(201, 154, 61, .07); }
.tb-item.unread .tb-item-top b, .tb-item.unread .tb-item-subj { font-weight: 800; color: var(--text); }
.tb-item.locked { opacity: .62; }
.tb-item.off { opacity: .5; }
.tb-item-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.tb-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tb-item-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.tb-item-top time { flex: none; color: var(--muted); font: 11.5px var(--mono); }
.tb-item-subj, .tb-item-snip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-item-subj { color: var(--soft); font-size: 14px; }
.tb-item-snip { color: var(--muted); font-size: 12.5px; }
.tb-item-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--panel3); color: var(--soft); font-size: 17px; }
.tb-item-acts { flex: none; display: flex; flex-wrap: wrap; gap: 6px; }
.oc-safe { color: var(--safe); }
.oc-euclid { color: var(--euclid); }
.oc-keter, .oc-apollyon { color: var(--keter); }
.oc-thaumiel, .oc-archon { color: var(--thaumiel); }
.oc-neutralized { color: var(--neutral); }
.tb-tag.oc-safe { background: rgba(90, 167, 114, .18); }
.tb-tag.oc-euclid { background: rgba(217, 164, 65, .16); }
.tb-tag.oc-keter, .tb-tag.oc-apollyon { background: rgba(224, 71, 58, .16); }
.tb-tag.oc-thaumiel, .tb-tag.oc-archon { background: rgba(155, 130, 224, .16); }
.tb-group { margin-bottom: 18px; }
.tb-seg { display: flex; gap: 2px; max-width: 100%; margin-bottom: 14px; padding: 3px; overflow-x: auto; border-radius: 12px; background: rgba(255, 255, 255, .05); width: fit-content; }
.tb-seg button { flex: none; padding: 7px 14px; border: 0; border-radius: 9px; background: none; color: var(--soft); font-size: 13.5px; font-weight: 600; }
.tb-seg button.on { background: var(--panel3); color: var(--text); }
.tb-search { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 12px; background: rgba(0, 0, 0, .3); color: var(--muted); }
.tb-search .tb-input { border: 0; background: none; padding-left: 0; box-shadow: none; }

/* Kartlar, belgeler, e-posta */
.tb-cards { display: grid; gap: 12px; }
.tb-news { display: grid; gap: 8px; }
.tb-news.imp { border-color: rgba(201, 154, 61, .5); }
.tb-news-top { display: flex; justify-content: space-between; gap: 10px; }
.tb-news-top time { color: var(--muted); font: 11.5px var(--mono); }
.tb-news h3 { font: 500 21px var(--display); }
.tb-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.tb-thread { display: grid; gap: 12px; }
.tb-msg { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(20, 22, 25, .75); }
.tb-msg header { display: flex; gap: 12px; }
.tb-msg header b { display: block; }
.tb-msg header small { display: block; color: var(--muted); font-size: 12.5px; }
.tb-msg h3 { margin: 12px 0 8px; font: 500 20px var(--display); }
.tb-reads { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tb-rchip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--panel3); font-size: 13px; }
.tb-rchip.dept { color: var(--amberb); }
.tb-rchip button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); line-height: 1; }
.tb-sugg { display: grid; gap: 4px; }
.tb-sugg button { padding: 8px 10px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .05); text-align: left; font-size: 14px; }
.tb-sugg button:hover { background: rgba(255, 255, 255, .1); }
.tb-attach { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tb-thumb { position: relative; width: 88px; height: 88px; padding: 0; overflow: hidden; border: 1px solid var(--line2); border-radius: 12px; background: #000; }
.tb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #fff; }
.tb-doc { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(20, 22, 25, .75); }
.tb-doc + .tb-form, .tb-doc + .tb-actions, .tb-idcard + .tb-form, .tb-idcard + .tb-doc, .tb-idcard + .tb-fine { margin-top: 18px; }
.tb-doc-head { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tb-doc h3 { margin-bottom: 4px; font: 500 23px var(--display); }
.tb-doc .tb-text { margin-top: 12px; }
.tb-doc .tb-note { margin-top: 14px; }
.tb-kv { margin-top: 14px; }
.tb-kv > span { color: var(--muted); font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.tb-kv .tb-text { margin-top: 3px; }
.tb-denied { display: grid; justify-items: center; gap: 10px; padding: 44px 20px; border: 1px solid rgba(200, 41, 29, .45); border-radius: 18px; background: rgba(200, 41, 29, .08); color: var(--soft); text-align: center; }
.tb-denied .tb-ic { color: var(--redb); }
.tb-denied h3 { color: #ff8d80; font: 500 28px var(--display); letter-spacing: .12em; }
.tb-idcard { max-width: 540px; padding: 18px; border: 1px solid var(--line2); border-top: 4px solid var(--redb); border-radius: 18px; background: linear-gradient(160deg, #1d2025, #121417); }
.tb-idcard-top { display: flex; align-items: center; gap: 10px; }
.tb-idcard-top b { display: block; font: 600 11px var(--mono); letter-spacing: .14em; }
.tb-idcard-top span { color: var(--muted); font-size: 12px; }
.tb-idcard-top .tb-lv { margin-left: auto; }
.tb-id-seal { width: 32px; height: 32px; }
.tb-idcard-main { display: flex; align-items: center; gap: 14px; margin: 16px 0; }
.tb-idcard-main h3 { font: 500 26px/1.15 var(--display); }
.tb-idcard-main p { color: var(--soft); }
.tb-idcard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0; padding-top: 14px; border-top: 1px dashed var(--line2); }
.tb-idcard-grid dt { color: var(--muted); font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.tb-idcard-grid dd { margin: 2px 0 0; font-weight: 600; }
.tb-note-edit > .tb-input:first-child { font: 500 20px var(--display); }
.tb-card + .tb-card { margin-top: 14px; }
.tb-card .tb-form { margin-top: 14px; }
.tb-card > p { margin-top: 4px; }
.tb-secret { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: #000; font: 14px var(--mono); }

/* Kayıtlar */
.tb-log { display: grid; gap: 4px; margin-top: 12px; }
.tb-log-row { display: grid; grid-template-columns: 148px 1fr; gap: 2px 12px; padding: 9px 12px; border-left: 3px solid transparent; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 13.5px; }
.tb-log-row.bad { border-left-color: var(--redb); background: rgba(200, 41, 29, .07); }
.tb-log-row time { color: var(--muted); font: 11.5px/1.9 var(--mono); }
.tb-log-what { overflow-wrap: anywhere; }
.tb-log-who { grid-column: 2; color: var(--muted); font-size: 12.5px; }

/* Pencereler ve bildirim */
dialog.tb-modal { width: min(460px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line2); border-radius: 18px; background: #16181c; color: var(--text); }
dialog.tb-modal::backdrop, dialog.tb-zoom::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.tb-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tb-modal-head h3 { font: 500 19px var(--display); }
.tb-modal.warn .tb-modal-head h3 { color: #ff9a8f; }
.tb-modal-body { display: grid; gap: 12px; padding: 18px; }
.tb-x { width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 20px; line-height: 1; }
dialog.tb-zoom { max-width: 92vw; padding: 0; border: 0; background: none; }
dialog.tb-zoom img { display: block; max-width: 92vw; max-height: 86vh; border-radius: 12px; }
.tb-toast { position: absolute; left: 50%; bottom: 36px; z-index: 50; max-width: calc(100% - 32px); padding: 10px 16px; transform: translateX(-50%); border: 1px solid var(--line2); border-radius: 12px; background: #23272d; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font-size: 14px; }
.tb-toast.bad { border-color: rgba(200, 41, 29, .6); color: #ffb3aa; }

/* Telefon ve küçük ekran: cihaz çerçevesi kalkar, tablet tam ekran olur. */
@media (max-width: 760px), (max-height: 600px) {
  body.tb-body { display: block; padding: 0; }
  .tb-device { width: 100%; height: 100vh; height: 100dvh; min-height: 0; padding: 0; border-radius: 0; box-shadow: none; background: none; }
  .tb-device::before { display: none; }
  .tb-screen { border-radius: 0; }
  .tb-toast { bottom: 28px; }
}
@media (max-width: 640px) {
  .tb-home { padding: 18px 18px 36px; }
  .tb-hello h1 { font-size: 26px; }
  .tb-grid { grid-template-columns: repeat(4, 1fr); gap: 20px 8px; }
  .tb-app-ic { width: 62px; height: 62px; border-radius: 18px; }
  .tb-app-ic .tb-ic { width: 30px; height: 30px; }
  .tb-badge { left: calc(50% + 18px); }
  .tb-app-name { font-size: 12px; }
  .tb-app-body { padding: 16px 14px 24px; }
  .tb-two { grid-template-columns: 1fr; }
  .tb-big-time { font-size: 62px; }
  .tb-log-row { grid-template-columns: 1fr; }
  .tb-log-who { grid-column: 1; }
  .tb-item-acts { flex-direction: column; }
  .tb-bar .tb-app-ic { display: none; }
}
@media (max-width: 380px) {
  .tb-grid { grid-template-columns: repeat(3, 1fr); }
}
/* ===== Yeni uygulamalar (10 Kasım 2026): SiteApp, Sitetagram, Sitefy, Deneyler, Yetkiler, profil fotoğrafı ===== */
.c-whats { background: linear-gradient(150deg, #37d277, #127a43); }
.c-gram { background: linear-gradient(45deg, #f6b13c 0%, #e8466d 45%, #8a3ad6 100%); }
.c-fy { background: linear-gradient(150deg, #2a2d31, #0b0c0d); color: #3ee07b; box-shadow: 0 10px 24px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(62, 224, 123, .35); }
.c-cyan { background: linear-gradient(150deg, #37b8cc, #135f6c); }
.c-orange { background: linear-gradient(150deg, #f0913f, #93420e); }
.tb-avatar { overflow: hidden; }
.tb-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tb-avatar.xxl { width: 92px; height: 92px; font-size: 32px; }
.tb-avatar.sa-group { background: linear-gradient(145deg, #2c7a52, #194a33); color: #c9f5da; }
.tb-hello.with-photo { display: flex; align-items: center; gap: 16px; }
.tb-hello.with-photo .tb-avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.tb-tag.red { background: rgba(200, 41, 29, .2); color: #ff9e93; }
.tb-item.on { border-color: rgba(55, 210, 119, .55); background: rgba(55, 210, 119, .1); }
.tb-input.mono { font: 13.5px/1.6 var(--mono); }
.tb-photo-row { display: flex; align-items: center; gap: 16px; }
.tb-photo-row .tb-actions { margin-top: 10px; }
.tb-photo-card + .tb-form { margin-top: 18px; }
.tb-idcard + .tb-photo-card { margin-top: 18px; }
progress { width: 100%; height: 8px; accent-color: #3ee07b; }

/* Tam ekran uygulama gövdesi (SiteApp sohbeti) */
.tb-app-body.flush { padding: 0; overflow: hidden; display: flex; flex-direction: column; }

/* ----- SiteApp ----- */
.sa-list { display: grid; gap: 2px; }
.sa-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; background: none; text-align: left; }
.sa-row:hover { background: rgba(255, 255, 255, .05); }
.sa-row .tb-avatar { width: 50px; height: 50px; }
.sa-row-text { flex: 1; min-width: 0; display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sa-row-top { display: flex; justify-content: space-between; gap: 10px; }
.sa-row-top b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.sa-row-top time { flex: none; color: var(--muted); font: 11.5px var(--mono); }
.sa-row-last { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 13.5px; }
.sa-row.unread .sa-row-top time { color: #37d277; }
.sa-row.unread .sa-row-last { color: var(--text); }
.sa-unread { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #25c165; color: #06210f; font: 700 12px/22px var(--sans); text-align: center; }
.sa-pick { max-height: 46vh; overflow-y: auto; }
.sa-check { width: 20px; height: 20px; flex: none; border: 2px solid var(--line2); border-radius: 50%; }
.tb-item.on .sa-check { border-color: #25c165; background: #25c165 radial-gradient(circle, #06210f 30%, transparent 32%); }
.sa-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #0b141a radial-gradient(circle at 20% 10%, rgba(37, 193, 101, .06), transparent 40%); }
.sa-head { flex: none; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--line); background: #111b21; color: var(--text); text-align: left; }
.sa-head-text { flex: 1; min-width: 0; display: grid; }
.sa-head-text b { font-weight: 600; }
.sa-head-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12.5px; }
.sa-msgs { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 14px max(14px, calc((100% - 820px) / 2)); }
.sa-b { position: relative; align-self: flex-start; max-width: min(78%, 560px); padding: 6px 10px 5px; border-radius: 4px 12px 12px 12px; background: #202c33; color: #e9edef; box-shadow: 0 1px 1px rgba(0, 0, 0, .25); cursor: pointer; }
.sa-b.me { align-self: flex-end; border-radius: 12px 4px 12px 12px; background: #005c4b; }
.sa-b.gone { opacity: .7; font-style: italic; cursor: default; }
.sa-who { display: block; margin-bottom: 1px; color: #53bdeb; font-size: 12.5px; font-weight: 700; }
.sa-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; }
.sa-meta { float: right; display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 -2px 10px; color: rgba(233, 237, 239, .6); font: 10.5px var(--mono); }
.sa-tick { letter-spacing: -.18em; }
.sa-tick.read { color: #53bdeb; }
.sa-quote { display: grid; margin-bottom: 4px; padding: 4px 8px; border-left: 3px solid #53bdeb; border-radius: 6px; background: rgba(0, 0, 0, .22); font-size: 12.5px; }
.sa-quote b { color: #53bdeb; }
.sa-quote span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); }
.sa-img { display: block; max-width: 300px; margin: 2px 0 4px; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #000; }
.sa-img img { display: block; width: 100%; max-height: 320px; object-fit: cover; }
.sa-sys, .sa-day { align-self: center; margin: 6px 0; padding: 4px 12px; border-radius: 8px; background: #182229; color: #8696a0; font-size: 12.5px; text-align: center; }
.sa-day { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.sa-older { align-self: center; }
.sa-bottom { flex: none; background: #111b21; border-top: 1px solid var(--line); }
.sa-replybar, .sa-fileprev { display: flex; align-items: center; gap: 10px; margin: 8px 12px 0; padding: 6px 10px; border-left: 3px solid #53bdeb; border-radius: 8px; background: rgba(255, 255, 255, .05); }
.sa-replybar > div { flex: 1; min-width: 0; display: grid; font-size: 13px; }
.sa-replybar b { color: #53bdeb; }
.sa-replybar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--soft); }
.sa-replybar button, .sa-fileprev button { width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.sa-fileprev img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.sa-fileprev { border-left-color: #25c165; }
.sa-compose { display: flex; align-items: flex-end; gap: 8px; padding: 8px 12px 10px; }
.sa-input { flex: 1; min-height: 42px; max-height: 130px; padding: 10px 14px; border: 0; border-radius: 21px; background: #2a3942; color: var(--text); resize: none; line-height: 22px; }
.sa-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(37, 193, 101, .4); }
.sa-ibtn, .sa-send { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; color: #8696a0; }
.sa-ibtn:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.sa-send { background: #25c165; color: #06210f; }
.sa-send:hover { background: #2fd775; }
.sa-audit { flex: none; padding: 12px; background: #111b21; color: var(--amberb); font-size: 13px; text-align: center; }

/* ----- Sitetagram ----- */
.tb-app-body.ig { padding-left: max(14px, calc((100% - 620px) / 2)); padding-right: max(14px, calc((100% - 620px) / 2)); }
.ig-feed { display: grid; gap: 18px; }
.ig-post { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #101215; }
.ig-post > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.ig-who { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; background: none; color: var(--text); text-align: left; }
.ig-who .tb-avatar { width: 36px; height: 36px; font-size: 13px; box-shadow: 0 0 0 2px #101215, 0 0 0 4px #e8466d; }
.ig-who span { display: grid; min-width: 0; }
.ig-who b { font-size: 14px; }
.ig-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.ig-frame { position: relative; background: #000; }
.ig-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ig-media::-webkit-scrollbar { display: none; }
.ig-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; }
.ig-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.ig-count { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font: 600 12px var(--mono); }
.ig-pop { position: absolute; top: 50%; left: 50%; display: grid; color: #fff; opacity: 0; transform: translate(-50%, -50%) scale(.4); pointer-events: none; }
.ig-pop .tb-ic { width: 96px; height: 96px; fill: #fff; stroke: none; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .5)); }
.ig-pop.go { animation: ig-pop .8s ease-out; }
@keyframes ig-pop { 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 30% { transform: translate(-50%, -50%) scale(.95); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); } }
.ig-bar { display: flex; gap: 4px; padding: 6px 8px 0; }
.ig-act { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--text); }
.ig-act:hover { background: rgba(255, 255, 255, .06); }
.ig-act .tb-ic { width: 26px; height: 26px; }
.ig-act.on { color: #ff3b5c; }
.ig-act.on .tb-ic { fill: #ff3b5c; }
.ig-act.sm .tb-ic { width: 20px; height: 20px; }
.ig-body { display: grid; gap: 4px; padding: 2px 14px 14px; font-size: 14px; }
.ig-likes { font-weight: 700; }
.ig-cap { white-space: pre-wrap; overflow-wrap: anywhere; }
.ig-more { color: var(--muted); text-decoration: none; }
.ig-csec { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #101215; }
.ig-comments { display: grid; gap: 12px; }
.ig-comment { display: flex; align-items: flex-start; gap: 10px; }
.ig-comment .tb-avatar { width: 32px; height: 32px; font-size: 12px; }
.ig-comment p { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.ig-comment small { display: block; color: var(--muted); font-size: 11.5px; }
.ig-cform { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ig-cform .tb-avatar { width: 32px; height: 32px; font-size: 12px; }
.ig-prof { display: flex; align-items: center; gap: 22px; margin: 6px 0 12px; }
.ig-prof .tb-avatar { box-shadow: 0 0 0 3px #0c0e11, 0 0 0 5px #e8466d; }
.ig-prof-main { flex: 1; min-width: 0; }
.ig-prof-main h3 { font: 500 24px/1.15 var(--display); }
.ig-stats { display: flex; gap: 22px; margin-top: 10px; }
.ig-stats div { display: grid; text-align: center; }
.ig-stats b { font-size: 18px; }
.ig-stats span { color: var(--muted); font-size: 12.5px; }
.ig-bio { margin-bottom: 10px; color: var(--soft); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 16px; }
.ig-cell { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; background: #1a1d21; }
.ig-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-multi { position: absolute; top: 6px; right: 8px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.ig-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; background: rgba(0, 0, 0, .45); color: #fff; font-weight: 700; opacity: 0; transition: opacity .15s; }
.ig-cell:hover .ig-hover, .ig-cell:focus-visible .ig-hover { opacity: 1; }

/* ----- Sitefy ----- */
.tb-app-body.fy { background: linear-gradient(180deg, rgba(30, 140, 70, .22), transparent 260px); }
/* Çalar açıkken içerik alttaki çaların arkasında kalmasın. */
.has-player .tb-app-body:not(.flush), .has-player .tb-home { padding-bottom: 140px; }
.has-player .sa-bottom { padding-bottom: 104px; }
.fy-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.fy-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #0b0c0d; color: #3ee07b; box-shadow: inset 0 0 0 1px rgba(62, 224, 123, .35); }
.fy-logo .tb-ic { width: 34px; height: 34px; }
.fy-hero h3 { font: 600 30px/1 var(--display); letter-spacing: .02em; }
.fy-list { display: grid; gap: 2px; }
.fy-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.fy-row:hover, .fy-row:focus-visible { background: rgba(255, 255, 255, .07); }
.fy-row.playing .fy-text b, .fy-row.playing .fy-n { color: #3ee07b; }
.fy-n { width: 22px; flex: none; color: var(--muted); font: 13px var(--mono); text-align: right; }
.fy-cover { flex: none; display: grid; place-items: center; width: 46px; height: 46px; overflow: hidden; border-radius: 6px; background: #222; color: rgba(255, 255, 255, .85); }
.fy-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fy-cover.sm { width: 42px; height: 42px; }
.fy-cover.hue0 { background: linear-gradient(135deg, #1db954, #0d4d25); }
.fy-cover.hue1 { background: linear-gradient(135deg, #e8466d, #5b1630); }
.fy-cover.hue2 { background: linear-gradient(135deg, #4485e6, #172f63); }
.fy-cover.hue3 { background: linear-gradient(135deg, #e2ad4c, #6b4512); }
.fy-cover.hue4 { background: linear-gradient(135deg, #8b6fd6, #2f1f63); }
.fy-cover.hue5 { background: linear-gradient(135deg, #33aaa6, #0f4644); }
.fy-text { flex: 1; min-width: 0; display: grid; }
.fy-text b, .fy-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fy-text b { font-weight: 600; }
.fy-text small { color: var(--muted); font-size: 12.5px; }
.fy-meta { flex: none; display: grid; justify-items: end; color: var(--muted); font: 11.5px var(--mono); }
.fy-heart { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 18px; }
.fy-heart:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.fy-heart.on { color: #3ee07b; }
.fy-heart.on .tb-ic { fill: #3ee07b; }
.fy-usage { display: grid; gap: 6px; margin-top: 18px; }
.fy-up { margin-top: 4px; }
.fy-mini { position: absolute; left: 50%; bottom: 30px; z-index: 30; width: min(620px, calc(100% - 24px)); padding: 8px 12px; transform: translateX(-50%); border: 1px solid rgba(62, 224, 123, .25); border-radius: 16px; background: rgba(18, 20, 22, .96); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); backdrop-filter: blur(14px); }
.fy-mini-top { display: flex; align-items: center; gap: 10px; }
.fy-mini-cover { flex: none; display: grid; }
.fy-mini-text { flex: 1; min-width: 0; display: grid; }
.fy-mini-text b, .fy-mini-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fy-mini-text small { color: var(--muted); font-size: 12px; }
.fy-state { color: #3ee07b; font: 11.5px var(--mono); }
.fy-state:empty { display: none; }
.fy-mini-btns { flex: none; display: flex; align-items: center; gap: 2px; }
.fy-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--text); font-size: 20px; }
.fy-btn:hover { background: rgba(255, 255, 255, .08); }
.fy-btn .tb-ic { width: 18px; height: 18px; fill: currentColor; }
.fy-btn.main { width: 40px; height: 40px; background: #fff; color: #000; }
.fy-btn.main:hover { background: #3ee07b; }
.fy-mini-seek { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.fy-seek { flex: 1; accent-color: #3ee07b; }
.fy-time { min-width: 34px; color: var(--muted); font: 11px var(--mono); text-align: center; }

/* ----- Deneyler ----- */
.ex-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 16px 18px; border: 1px solid rgba(55, 184, 204, .3); border-left: 4px solid #37b8cc; border-radius: 16px; background: linear-gradient(120deg, rgba(55, 184, 204, .12), rgba(20, 22, 25, .7)); }
.ex-banner > div:first-child { display: grid; }
.ex-banner b { font: 600 13px var(--mono); letter-spacing: .16em; }
.ex-banner span { color: var(--muted); font-size: 12.5px; }
.ex-stats { display: flex; gap: 18px; }
.ex-stats div { display: grid; text-align: center; }
.ex-stats b { font: 500 24px var(--display); letter-spacing: 0; }
.ex-stats span { color: var(--muted); font-size: 11.5px; }
.ex-ic { background: rgba(55, 184, 204, .14); }
.ex-tags { flex: none; display: grid; justify-items: end; gap: 4px; }
.ex-doc { padding: 0 0 18px; overflow: hidden; border: 1px solid var(--line2); border-radius: 16px; background: linear-gradient(180deg, #16191d, #111316); }
.ex-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(55, 184, 204, .08); }
.ex-head > div { flex: 1; min-width: 0; display: grid; }
.ex-head b { font: 600 12px var(--mono); letter-spacing: .16em; }
.ex-head span { color: var(--muted); font-size: 12.5px; }
.ex-seal { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid #37b8cc; border-radius: 50%; color: #6fd6e6; }
.ex-class { padding: 6px 18px; background: var(--amber); color: #111; font: 700 12px var(--mono); letter-spacing: .14em; }
.ex-class.l1, .ex-class.l2 { background: #3d7a52; color: #e6fff0; }
.ex-class.l4 { background: #b2442e; color: #fff; }
.ex-class.l5 { background: var(--redb); color: #fff; }
.ex-doc > h3 { margin: 16px 18px 0; font: 500 26px/1.15 var(--display); }
.ex-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 18px; margin: 16px 18px 0; padding: 14px 0; border-top: 1px dashed var(--line2); border-bottom: 1px dashed var(--line2); }
.ex-meta dt { color: var(--muted); font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.ex-meta dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ex-sec { margin: 18px 18px 0; }
.ex-sec h4 { padding-bottom: 6px; border-bottom: 1px solid var(--line); color: #6fd6e6; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.ex-log { display: grid; gap: 2px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #070809; font: 13px/1.6 var(--mono); }
.ex-log div { white-space: pre-wrap; overflow-wrap: anywhere; }
.ex-review { margin: 18px 18px 0; }
.ex-foot { display: flex; align-items: center; gap: 10px; margin: 18px 18px 0; }
.ex-foot .tb-avatar { width: 32px; height: 32px; font-size: 12px; }
.ex-foot .tb-fine { flex: 1; }
.ex-reviewbox { margin-top: 14px; display: grid; gap: 10px; }
.ex-form .ex-fs { display: grid; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.ex-fs legend { padding: 0 6px; color: #6fd6e6; font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* ----- Yetkiler ----- */
.pm-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.pm-list { display: grid; gap: 6px; margin: 12px 0; }
.pm-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); cursor: pointer; }
.pm-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--amber); }
.pm-row span { display: grid; gap: 2px; }
.pm-row small { color: var(--muted); font-size: 12.5px; }
.pm-row.off { opacity: .55; cursor: default; }

@media (max-width: 640px) {
  .sa-b { max-width: 88%; }
  .sa-img { max-width: 220px; }
  .ig-prof { gap: 14px; }
  .tb-avatar.xxl { width: 76px; height: 76px; }
  .ig-stats { gap: 14px; }
  .fy-meta { display: none; }
  .fy-mini { bottom: 26px; }
  .ex-stats { gap: 12px; }
  .tb-hello.with-photo .tb-avatar { width: 56px; height: 56px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
