/* Öğretmenler Kulübü teması — tek stil dosyası, web fontu yok */

:root {
	--brand: #0e9384;
	--brand-2: #0c7fa8;
	--brand-ink: #0a6a60;
	--brand-soft: #eceff2;
	--ring: rgba(14, 147, 132, .22);
	--accent: #f59e0b;
	--ink: #1a2228;
	--muted: #59636b;
	--paper: #f2f3f5;
	--card: #ffffff;
	--line: #dde1e6;
	--line-2: #edf0f3;
	--heart: #e63957;
	--focus: #f59e0b;
	--on-brand: #ffffff;
	--grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);

	/* İçerik türü renkleri */
	--t-yazi: #5b6b70;
	--t-resim: #e8920b;
	--t-video: #e5484d;
	--t-baglanti: #2f74e0;
	--t-dosya: #7c5ce0;

	--r-card: 16px;
	--r-ctl: 11px;
	--shadow: 0 1px 2px rgba(17, 38, 43, .05), 0 6px 18px -8px rgba(17, 38, 43, .12);
	--shadow-hi: 0 2px 4px rgba(17, 38, 43, .06), 0 14px 30px -12px rgba(14, 147, 132, .28);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--top-h: 60px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ink: #e4eeec; --muted: #9bb0b2; --paper: #0b1517; --card: #132124; --line: #24393c; --line-2: #1a2c2f;
		--brand: #2cc2ad; --brand-2: #3aa6d6; --brand-ink: #6fe0cf; --brand-soft: #143a36; --ring: rgba(44, 194, 173, .3); --on-brand: #05211d; --accent: #fbbf24;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-hi: 0 10px 28px -12px rgba(0, 0, 0, .6);
		--t-yazi: #9aabb0; --t-resim: #fbbf24; --t-video: #f87171; --t-baglanti: #6ea2f5; --t-dosya: #a78bfa;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--ink: #e4eeec; --muted: #9bb0b2; --paper: #0b1517; --card: #132124; --line: #24393c; --line-2: #1a2c2f;
		--brand: #2cc2ad; --brand-2: #3aa6d6; --brand-ink: #6fe0cf; --brand-soft: #143a36; --ring: rgba(44, 194, 173, .3); --on-brand: #05211d; --accent: #fbbf24;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-hi: 0 10px 28px -12px rgba(0, 0, 0, .6);
		--t-yazi: #9aabb0; --t-resim: #fbbf24; --t-video: #f87171; --t-baglanti: #6ea2f5; --t-dosya: #a78bfa;
	color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased;
}
body.ok-lock { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.ok-sr, .ok-hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ok-skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.ok-skip:focus { left: 8px; }
.ok-i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ok-muted { color: var(--muted); }
.ok-muted a { color: inherit; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Butonlar ---------- */
.ok-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 40px; padding: 0 16px; border-radius: var(--r-ctl);
	border: 1px solid var(--line); background: var(--card); color: var(--ink);
	font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; text-decoration: none !important;
}
.ok-btn:hover { border-color: var(--muted); }
.ok-btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ok-btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.ok-btn-ghost { background: transparent; }
.ok-btn-block { width: 100%; }
.ok-btn[disabled] { opacity: .6; cursor: progress; }
.ok-follow.is-on { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); }
.ok-iconbtn {
	display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.ok-iconbtn:hover { background: var(--line-2); }
.ok-link-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: 14px; }
.ok-link-btn:hover { color: var(--heart); text-decoration: underline; }
.ok-inline-form { display: inline; margin: 0; }

/* ---------- Üst çubuk ---------- */
.ok-top {
	position: sticky; top: 0; z-index: 40; height: var(--top-h);
	background: color-mix(in srgb, var(--card) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.ok-top-in { max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 12px; }
.ok-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; text-decoration: none !important; flex: none; }
.ok-logo { max-height: 40px; width: auto; }
.ok-brand-mark {
	display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
	background: var(--brand); color: var(--on-brand); font-size: 14px; letter-spacing: .02em;
}
.ok-brand-name { font-size: 17px; }
.ok-search { position: relative; flex: 1; max-width: 520px; margin: 0 auto; }
.ok-search .ok-i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ok-search input {
	width: 100%; height: 40px; padding: 0 14px 0 38px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--paper);
}
.ok-search input:focus { background: var(--card); border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--ring); }
.ok-search-big { max-width: none; margin: 12px 0 0; }
.ok-search-big input { height: 46px; }
.ok-top-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.ok-top-me img { width: 34px; height: 34px; border-radius: 50%; }
.ok-menu-btn { display: none; }

/* ---------- Yerleşim ---------- */
.ok-shell {
	max-width: 1280px; margin: 0 auto; padding: 20px 16px 48px;
	display: grid; grid-template-columns: 220px minmax(0, 680px) 300px; gap: 24px; justify-content: center; align-items: start;
}
.ok-main { min-width: 0; }
.ok-route-login .ok-shell, .ok-route-signup .ok-shell, .ok-route-lost .ok-shell, .ok-route-edit .ok-shell, .ok-route-channels .ok-shell {
	grid-template-columns: 220px minmax(0, 1004px);
}
.ok-aside { position: sticky; top: calc(var(--top-h) + 20px); display: grid; gap: 16px; }

/* Sol menü */
.ok-nav { position: sticky; top: calc(var(--top-h) + 20px); }
.ok-nav ul { list-style: none; margin: 0; padding: 0; }
.ok-nav-main a, .ok-nav-sub a {
	display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-ctl);
	color: var(--ink); font-weight: 550; text-decoration: none !important;
}
.ok-nav-main a:hover, .ok-nav-sub a:hover { background: var(--card); }
.ok-nav-main a[aria-current="page"] { background: var(--card); color: var(--brand-ink); box-shadow: var(--shadow); }
.ok-nav-head { margin: 20px 12px 6px; font-size: 13px; font-weight: 650; color: var(--muted); }
.ok-nav-sub a { font-weight: 450; padding: 7px 12px; }
.ok-nav-types a { display: flex; align-items: center; gap: 10px; padding: 6px 12px; color: var(--ink); border-radius: var(--r-ctl); }
.ok-nav-types a:hover { background: var(--card); text-decoration: none; }
.ok-nav-types i { width: 10px; height: 10px; border-radius: 3px; background: var(--tc); }
.ok-nav-end { margin-top: 20px !important; padding-top: 12px !important; border-top: 1px solid var(--line) !important; }
.ok-nav-close, .ok-nav-scrim { display: none; }

/* İçerik türü renk değişkeni */
.t-yazi { --tc: var(--t-yazi); }
.t-resim { --tc: var(--t-resim); }
.t-video { --tc: var(--t-video); }
.t-baglanti { --tc: var(--t-baglanti); }
.t-dosya { --tc: var(--t-dosya); }

/* ---------- Kart ---------- */
.ok-card {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
	box-shadow: var(--shadow); padding: 16px 18px; margin: 0 0 16px;
}
.ok-page-title { font-size: 24px; margin: 0 0 16px; }
.ok-empty { padding: 32px 20px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-card); }

/* Gönderi kartı: sol kenarda tür rengi */
.ok-post { position: relative; overflow: hidden; }
.ok-post::before, .ok-single::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tc, var(--line));
}
.ok-single { position: relative; overflow: hidden; }
.ok-post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ok-post-av img, .ok-post-head .avatar { width: 40px; height: 40px; border-radius: 50%; }
.ok-post-who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.ok-post-author { color: var(--ink); font-weight: 650; }
.ok-post-who .ok-muted { font-size: 13px; }
.ok-badge {
	flex: none; font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 999px;
	color: var(--tc); background: color-mix(in srgb, var(--tc) 13%, transparent);
}
.ok-post-title { font-size: 19px; margin: 0 0 6px; }
.ok-post-title a { color: var(--ink); }
.ok-post-excerpt { color: var(--muted); margin: 0 0 12px; font-size: 15px; }
.ok-post-text { margin-bottom: 12px; }
.ok-post-text p:last-child { margin-bottom: 0; }
.ok-post-foot { display: flex; align-items: center; gap: 4px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.ok-act {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px;
	border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: none !important;
}
button.ok-act:hover, a.ok-act:hover { background: var(--line-2); color: var(--ink); }
.ok-fav.is-on { color: var(--heart); }
.ok-fav.is-on .ok-i { fill: currentColor; }
.ok-fav.is-on .ok-i { animation: ok-pop .3s ease; }
@keyframes ok-pop { 50% { transform: scale(1.25); } }
.ok-views { cursor: default; }
.ok-post-chips { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ok-post-tools { display: flex; gap: 12px; margin-left: 12px; }
.ok-chip, .ok-chips a {
	display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px;
	background: var(--paper); color: var(--muted); border: 1px solid var(--line-2); text-decoration: none !important;
}
.ok-chip:hover, .ok-chips a:hover { color: var(--brand-ink); border-color: var(--brand); }
.ok-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ok-more-link { font-weight: 600; font-size: 14px; }

/* Medya */
.ok-gallery { display: grid; gap: 4px; border-radius: 12px; overflow: hidden; margin: 0 0 12px; }
.ok-gallery a { position: relative; display: block; background: var(--line-2); }
.ok-gallery img { width: 100%; height: 100%; object-fit: cover; }
.ok-g1 img { max-height: 520px; object-fit: contain; background: var(--line-2); }
.ok-g2 { grid-template-columns: 1fr 1fr; }
.ok-g2 a, .ok-g4 a { aspect-ratio: 1 / 1; }
.ok-g3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 3 / 2; }
.ok-g3 a:first-child { grid-row: span 2; }
.ok-g4 { grid-template-columns: 1fr 1fr; }
.ok-gallery.is-single { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); aspect-ratio: auto; grid-template-rows: none; }
.ok-gallery.is-single a { aspect-ratio: 1 / 1; grid-row: auto; }
.ok-gallery.ok-g1.is-single { grid-template-columns: 1fr; }
.ok-gallery.ok-g1.is-single a { aspect-ratio: auto; }
.ok-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .5); color: #fff; font-size: 26px; font-weight: 700; }

.ok-video {
	position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin: 0 0 12px;
	background: #111 center / cover no-repeat; cursor: pointer;
}
.ok-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ok-video-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(217, 72, 59, .92); color: #fff; display: grid; place-items: center;
}
.ok-video-play .ok-i { fill: currentColor; stroke: none; margin-left: 4px; }
.ok-video:hover .ok-video-play { background: #d9483b; }

.ok-linkcard {
	display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 12px;
	color: var(--ink); text-decoration: none !important; background: var(--paper);
}
.ok-linkcard img { width: 140px; flex: none; object-fit: cover; aspect-ratio: 1 / 1; }
.ok-linkcard-body { padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ok-linkcard small { display: flex; align-items: center; gap: 5px; color: var(--t-baglanti); font-weight: 600; }
.ok-linkcard strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ok-linkcard span > span, .ok-linkcard-body > span { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ok-linkcard:hover { border-color: var(--t-baglanti); }

.ok-files { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.ok-files a {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line);
	border-radius: 12px; color: var(--ink); text-decoration: none !important;
}
.ok-files a:hover { border-color: var(--t-dosya); }
.ok-file-ext {
	flex: none; min-width: 46px; padding: 6px 4px; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 750;
	color: var(--t-dosya); background: color-mix(in srgb, var(--t-dosya) 13%, transparent);
}
.ok-file-name { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.ok-file-name small { color: var(--muted); }
.ok-files .ok-i { color: var(--muted); }

/* ---------- Sekmeler ---------- */
.ok-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 14px; padding: 2px; }
.ok-tabs::-webkit-scrollbar { display: none; }
.ok-tabs a {
	display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 14px; border-radius: 999px;
	background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 550; text-decoration: none !important;
}
.ok-tabs a:hover { border-color: var(--muted); }
.ok-tabs a.is-on { background: var(--ink); border-color: var(--ink); color: var(--card); }
/* Tür sekmeleri: kendi rengiyle dolar */
.ok-type-tabs a .ok-i { color: var(--tc, currentColor); }
.ok-type-tabs a.is-on { background: var(--tc, var(--ink)); border-color: var(--tc, var(--ink)); color: #fff; }
.ok-type-tabs a.is-on .ok-i { color: #fff; }
.ok-scope-tabs a.is-on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.ok-type-tabs a:first-child.is-on, .ok-type-tabs a:first-child.is-on .ok-i { color: var(--card); }

/* ---------- Paylaşım formu ---------- */
.ok-composer { padding: 14px 16px; }
.ok-composer-head { display: flex; gap: 12px; align-items: flex-start; }
.ok-composer-head img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.ok-composer textarea {
	flex: 1; min-height: 42px; resize: none; border: 0; background: var(--paper); border-radius: 12px; padding: 10px 14px;
	line-height: 1.5;
}
.ok-composer textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--brand); background: var(--card); }
.ok-composer-more { display: none; margin-top: 12px; }
.ok-composer.is-open .ok-composer-more { display: grid; gap: 10px; }
.ok-composer input[type=text], .ok-composer input[type=url], .ok-input, .ok-form input[type=text], .ok-form input[type=email], .ok-form input[type=password], .ok-form input[type=url], .ok-form textarea, .ok-form select {
	width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card);
}
.ok-composer input:focus, .ok-input:focus, .ok-form input:focus, .ok-form textarea:focus, .ok-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.ok-composer-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ok-pick {
	display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: var(--r-ctl);
	border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 550;
}
.ok-pick:hover { background: var(--line-2); color: var(--ink); }
.ok-pick:nth-child(1) .ok-i { color: var(--t-resim); }
.ok-pick:nth-child(2) .ok-i { color: var(--t-dosya); }
.ok-pick:nth-child(3) .ok-i { color: var(--t-video); }
.ok-pick:nth-child(4) .ok-i { color: var(--t-baglanti); }
/* Kanal (etiket) alanı */
.ok-chan {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 42px; padding: 5px 8px;
	border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); cursor: text;
}
.ok-chan:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.ok-chan-chips { display: contents; }
.ok-chan-chip {
	display: inline-flex; align-items: center; gap: 2px; padding: 3px 4px 3px 10px; border-radius: 999px;
	background: var(--brand-soft); color: var(--brand-ink); font-size: 14px; font-weight: 600;
}
.ok-chan-chip button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 17px; line-height: 1; width: 22px; height: 22px; border-radius: 50%; }
.ok-chan-chip button:hover { background: color-mix(in srgb, var(--brand) 18%, transparent); }
.ok-composer .ok-chan-input { flex: 1; min-width: 160px; min-height: 30px; border: 0 !important; padding: 2px 4px; background: transparent; box-shadow: none !important; }
.ok-chan-input:focus { outline: none; }
.ok-chan-input:disabled { background: transparent; }
.ok-composer-bar .ok-btn-primary { margin-left: auto; }
.ok-hint { margin: 0; font-size: 13px; color: var(--muted); }
.ok-previews { display: flex; gap: 8px; flex-wrap: wrap; }
.ok-previews:empty { display: none; }
.ok-prev { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--line-2); }
.ok-prev img { width: 100%; height: 100%; object-fit: cover; }
.ok-prev.is-file { width: auto; max-width: 200px; height: auto; padding: 8px 10px; font-size: 13px; color: var(--t-dosya); overflow-wrap: anywhere; }
.ok-composer-guest p { margin: 0; }

/* ---------- Formlar ---------- */
.ok-auth { max-width: 440px; margin: 0 auto; }
.ok-route-edit .ok-main { max-width: 640px; }
.ok-form { display: grid; gap: 14px; }
.ok-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.ok-form .ok-check { display: flex; align-items: center; gap: 8px; font-weight: 450; }
.ok-form fieldset { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 14px; display: grid; gap: 12px; margin: 0; }
.ok-form legend { padding: 0 6px; font-weight: 650; font-size: 14px; }
.ok-form-links { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.ok-form-avatar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ok-form-avatar img { width: 72px; height: 72px; border-radius: 50%; }
.ok-form input[type=file] { font-size: 14px; font-weight: 400; }

/* ---------- Profil ---------- */
.ok-profile { padding: 0; overflow: hidden; }
.ok-cover { height: 160px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 50%, var(--t-baglanti))) center / cover; }
.ok-profile-main { display: flex; align-items: flex-end; gap: 16px; padding: 0 20px; margin-top: -48px; flex-wrap: wrap; }
.ok-profile-avatar, .ok-profile-main .avatar { width: 112px; height: 112px; border-radius: 50%; border: 4px solid var(--card); background: var(--card); }
.ok-profile-id { flex: 1; min-width: 180px; padding-bottom: 6px; }
.ok-profile-id h1 { font-size: 24px; margin: 0; }
.ok-profile-id p { margin: 0; font-size: 14px; }
.ok-profile-cta { padding-bottom: 10px; }
.ok-bio { padding: 0 20px; margin: 12px 0 0; }
.ok-bio a { display: inline-flex; align-items: center; gap: 5px; }
.ok-stats { list-style: none; display: flex; gap: 20px; padding: 12px 20px 0; margin: 0; font-size: 14px; }
.ok-stats a { color: var(--muted); }
.ok-stats strong { color: var(--ink); font-size: 16px; }
.ok-profile-tabs { padding: 14px 20px 16px; margin: 0; border-top: 1px solid var(--line-2); margin-top: 14px; }
.ok-user-list, .ok-answer-list { list-style: none; margin: 0; padding: 0; }
.ok-user-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin-bottom: 10px; }
.ok-user-row > a { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: var(--ink); }
.ok-user-row img { width: 44px; height: 44px; border-radius: 50%; }
.ok-user-row span { display: flex; flex-direction: column; min-width: 0; }
.ok-user-row small { color: var(--muted); }
.ok-answer-to { font-weight: 650; color: var(--ink); }
.ok-answer-text { margin: 4px 0; }

/* ---------- Tekil ---------- */
.ok-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; margin: 0 0 10px; }
.ok-crumbs a { color: var(--muted); }
.ok-crumbs a + a::before { content: "/"; margin-right: 8px; color: var(--line); }
.ok-single { padding: 20px 24px; }
.ok-single-title { font-size: 28px; margin: 6px 0 14px; }
.ok-single .ok-post-head .ok-btn { min-height: 34px; padding: 0 12px; font-size: 14px; }
.ok-tags { margin: 8px 0 0; }
.ok-related h2, .ok-answers h2 { font-size: 18px; }
.ok-related ul { list-style: none; margin: 0; padding: 0; }
.ok-related li { display: flex; align-items: baseline; gap: 10px; padding: 8px 0 8px 14px; border-top: 1px solid var(--line-2); position: relative; }
.ok-related li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 2px; background: var(--tc); }
.ok-related a { flex: 1; color: var(--ink); }
.ok-related small { color: var(--muted); white-space: nowrap; }

/* İçerik tipografisi */
.ok-prose { overflow-wrap: break-word; }
.ok-prose > * { max-width: 100%; }
.ok-prose h2 { font-size: 21px; margin: 1.4em 0 .5em; }
.ok-prose h3 { font-size: 18px; margin: 1.3em 0 .4em; }
.ok-prose ul, .ok-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.ok-prose li { margin: .25em 0; }
.ok-prose blockquote { margin: 0 0 1em; padding: 6px 16px; border-left: 3px solid var(--brand); color: var(--muted); }
.ok-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; display: block; overflow-x: auto; }
.ok-prose th, .ok-prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.ok-prose th { background: var(--paper); }
.ok-prose img { border-radius: 10px; margin: 0 auto 1em; }
.ok-prose figure { margin: 0 0 1em; }
.ok-prose figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.ok-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; }
.ok-prose pre { background: var(--paper); padding: 12px; border-radius: 10px; overflow-x: auto; }
.ok-prose a { text-decoration: underline; text-underline-offset: 2px; }
.ok-prose .wp-block-button__link, .ok-prose .wp-block-file__button {
	display: inline-block; padding: 8px 16px; border-radius: var(--r-ctl); background: var(--brand); color: #fff; text-decoration: none;
}
.ok-prose .wp-block-file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 1em; }
.ok-prose .wp-block-columns { display: flex; gap: 16px; flex-wrap: wrap; }
.ok-prose .wp-block-column { flex: 1 1 240px; }
.ok-prose .wp-block-image.aligncenter, .ok-prose .aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.ok-prose .wp-block-embed__wrapper { position: relative; }
.ok-prose .has-text-align-center { text-align: center; }

/* Cevaplar */
.ok-answers .ok-answer-list { margin-bottom: 16px; }
.ok-answer { display: block; padding: 14px 0 0; border-top: 1px solid var(--line-2); }
.ok-answer-row { display: flex; gap: 12px; padding-bottom: 14px; }
.ok-answer-row > img, .ok-answer-row > .avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.ok-answer-body { flex: 1; min-width: 0; }
.ok-answer-body header { display: flex; gap: 4px 8px; align-items: baseline; flex-wrap: wrap; font-size: 15px; }
.ok-answer-body header .ok-muted { font-size: 13px; }
.ok-reply-to { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.ok-answer-body .ok-prose { margin-top: 4px; overflow-wrap: anywhere; }
.ok-answer-body .ok-prose p:last-child { margin-bottom: 0; }
.ok-answer-body .ok-prose img { max-height: 420px; width: auto; margin: 6px 0; }
.ok-answer-body footer { display: flex; gap: 14px; font-size: 13px; margin-top: 6px; }
.ok-answer-body footer a { color: var(--muted); }
/* Yanıtlar: girintili, sol çizgili; 3. seviyeden sonra girinti artmaz */
.ok-answer .children { list-style: none; margin: 0 0 12px 20px; padding: 0 0 0 16px; border-left: 2px solid var(--line); }
.ok-answer .children .ok-answer { border-top: 0; padding-top: 6px; }
.ok-answer .children .ok-answer-row { padding-bottom: 8px; }
.ok-answer .children .ok-answer-row > img, .ok-answer .children .ok-answer-row > .avatar { width: 32px; height: 32px; }
.ok-answer .children .children .children { margin-left: 0; padding-left: 0; border-left: 0; }
.ok-answer:target > .ok-answer-row, .ok-answer.is-hl > .ok-answer-row { background: var(--brand-soft); border-radius: 10px; }
/* Yanıt formu yanıtlanan cevabın altına taşınınca */
@media (max-width: 860px) {
	.ok-answer .children { margin-left: 8px; padding-left: 10px; }
}
.ok-comment-form { margin-top: 8px; }
.ok-comment-form p { margin: 0; }
.ok-comment-form label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 4px; }
.ok-comment-form textarea, .ok-comment-form input[type=text], .ok-comment-form input[type=email] {
	width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card);
}
.comment-reply-title { font-size: 16px; margin: 8px 0; }
.comment-reply-title small { margin-left: 8px; font-size: 13px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 14px; }

/* Arşiv başlığı */
.ok-archive-head { position: relative; overflow: hidden; }
.ok-archive-head h1 { font-size: 26px; margin: 0 0 4px; }
.ok-archive-head .ok-muted { margin: 0; font-size: 14px; }
.ok-archive-head .ok-chips { margin-top: 12px; }
.ok-archive-head[class*=" t-"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tc); }
.ok-archive-desc { margin-top: 8px; color: var(--muted); }
.ok-archive-desc p:last-child { margin: 0; }

/* Kanallar */
.ok-channels-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ok-channels-head .ok-page-title { margin: 0; }
.ok-channels-intro { margin: 6px 0 16px; max-width: 64ch; }
.ok-channels-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.ok-channels-tools .ok-tabs { margin: 0; }
.ok-channel-filter { flex: 1; min-width: 220px; max-width: 420px; }
.ok-channel-none { margin: 0 0 16px; }
.ok-channel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ok-channel { display: flex; flex-direction: column; gap: 2px; margin: 0; color: var(--ink); text-decoration: none !important; }
.ok-channel:hover { border-color: var(--brand); }
.ok-channel small { color: var(--muted); }
.ok-channel span { color: var(--muted); font-size: 14px; margin-top: 4px; }
.ok-channel[hidden] { display: none; }

/* Kenar çubuğu */
.ok-aside .ok-card { margin: 0; }
.ok-widget h3 { font-size: 15px; margin: 0 0 10px; }
.ok-wlist { margin: 0; padding: 0; list-style: none; counter-reset: w; }
.ok-wlist li { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 14px; line-height: 1.4; }
.ok-wlist li:first-child { border-top: 0; padding-top: 0; }
.ok-wlist a { color: var(--ink); font-weight: 550; }
.ok-wlist small { color: var(--muted); font-size: 12px; }
.ok-wanswers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ok-wanswers li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; }
.ok-wanswers img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.ok-wanswers div { min-width: 0; }
.ok-wanswers strong a { color: var(--ink); }
.ok-wanswers .ok-muted { font-size: 13px; }
.ok-wanswers span { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.ok-widget .ok-chips a { font-size: 12px; }
.ok-widget p:last-child { margin: 10px 0 0; }
.ok-avatars { display: flex; flex-wrap: wrap; gap: 8px; }
.ok-avatars img { width: 40px; height: 40px; border-radius: 50%; }
.ok-aside-cta { min-height: 44px; }

/* Sayfalama */
.ok-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 8px 0 24px; color: var(--muted); font-size: 14px; }
.ok-pager a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; text-decoration: none !important; }
.ok-pager .ok-next { order: 3; }
.ok-pager .ok-next.is-loading { opacity: .6; pointer-events: none; }
.ok-pager > span { order: 2; }
.ok-feed + .ok-pager span { display: none; }
.ok-feed + .ok-pager .ok-next { flex: 1; text-align: center; max-width: 320px; }

/* Bildirim */
.ok-flash {
	position: relative; padding: 12px 44px 12px 16px; border-radius: var(--r-ctl); margin: 0 0 16px;
	background: var(--brand-soft); color: var(--brand-ink); font-weight: 550; transition: opacity .4s;
}
.ok-flash-err { background: color-mix(in srgb, var(--heart) 14%, var(--card)); color: var(--heart); }
.ok-flash-info { background: color-mix(in srgb, var(--t-baglanti) 12%, var(--card)); color: var(--t-baglanti); }
.ok-flash.is-hide { opacity: 0; }
.ok-flash-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-size: 22px; cursor: pointer; color: inherit; width: 32px; height: 32px; }

/* Işık kutusu */
.ok-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .9); display: grid; place-items: center; }
.ok-lightbox img { max-width: 94vw; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.ok-lb-bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(20, 30, 32, .82); max-width: calc(100vw - 24px); }
.ok-lightbox .ok-lb-bar button, .ok-lb-act { position: static; display: inline-flex; align-items: center; gap: 6px; width: auto; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.ok-lightbox .ok-lb-bar button:hover, .ok-lb-act:hover, .ok-lb-act:focus-visible { background: rgba(255, 255, 255, .16); outline: none; }
.ok-lb-count { color: rgba(255, 255, 255, .7); font-size: 13px; padding: 0 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ok-lb-count:empty { display: none; }
.ok-single .ok-prose img, .ok-answer-body .ok-prose img { cursor: zoom-in; }
@media (max-width: 520px) { .ok-lb-act { padding: 0 10px; font-size: 13px; } .ok-lb-act svg { display: none; } }
.ok-lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.ok-lb-x { top: 16px; right: 16px; }
.ok-lb-p { left: 16px; top: 50%; transform: translateY(-50%); }
.ok-lb-n { right: 16px; top: 50%; transform: translateY(-50%); }

/* 404 */
.ok-404 { text-align: center; padding: 40px 24px; }
.ok-404 .ok-search { max-width: 460px; margin: 16px auto; }

/* Alt bilgi */
.ok-foot { border-top: 1px solid var(--line); background: var(--card); }
.ok-foot-in { max-width: 1280px; margin: 0 auto; padding: 24px 16px; font-size: 14px; }
.ok-foot-in p { margin: 0 0 6px; }
.ok-foot-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 0; margin: 8px 0; }
.ok-tabbar { display: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
	.ok-shell { grid-template-columns: 200px minmax(0, 680px); }
	.ok-aside { display: none; }
	.ok-route-login .ok-shell, .ok-route-signup .ok-shell, .ok-route-lost .ok-shell, .ok-route-edit .ok-shell, .ok-route-channels .ok-shell { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 860px) {
	:root { --top-h: 56px; }
	.ok-shell, .ok-route-login .ok-shell, .ok-route-signup .ok-shell, .ok-route-lost .ok-shell, .ok-route-edit .ok-shell, .ok-route-channels .ok-shell {
		grid-template-columns: minmax(0, 1fr); padding: 12px 0 90px;
	}
	.ok-main > * { margin-left: 0; margin-right: 0; }
	.ok-main { padding: 0 10px; }
	.ok-card { border-radius: 12px; padding: 14px; }
	.ok-menu-btn { display: inline-grid; margin-left: -8px; }
	.ok-brand-name { display: none; }
	.ok-search { max-width: none; }
	.ok-top-share, .ok-top-actions .ok-btn-ghost { display: none; }
	.ok-top-actions .ok-btn { padding: 0 12px; min-height: 36px; font-size: 14px; }
	.ok-top-in { gap: 8px; padding: 0 10px; }

	.ok-nav {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(300px, 86vw);
		background: var(--card); transform: translateX(-102%); transition: transform .22s ease; overflow-y: auto;
		box-shadow: 4px 0 24px rgba(0, 0, 0, .18);
	}
	.ok-nav.is-open { transform: none; }
	.ok-nav-in { padding: 12px; }
	.ok-nav-close { display: inline-grid; margin: 0 0 8px auto; float: right; }
	.ok-nav-main { clear: both; }
	.ok-nav-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .2s; }
	.ok-nav.is-open + .ok-nav-scrim { opacity: 1; pointer-events: auto; }
	.ok-nav-main a[aria-current="page"] { box-shadow: none; background: var(--brand-soft); }

	.ok-tabbar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
		background: var(--card); border-top: 1px solid var(--line);
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
	}
	.ok-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; font-size: 11px; color: var(--muted); text-decoration: none !important; }
	.ok-tabbar a[aria-current="page"] { color: var(--brand-ink); }
	.ok-tabbar .ok-tabbar-share {
		flex: none; width: 52px; height: 52px; margin: -18px 8px 0; border-radius: 16px; justify-content: center;
		background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 45%, transparent);
	}
	.ok-foot { padding-bottom: 70px; }
	.ok-single { padding: 16px; }
	.ok-single-title { font-size: 23px; }
	.ok-page-title { font-size: 21px; }
	.ok-cover { height: 120px; }
	.ok-profile-main { padding: 0 14px; margin-top: -40px; }
	.ok-profile-avatar, .ok-profile-main .avatar { width: 88px; height: 88px; }
	.ok-bio, .ok-stats, .ok-profile-tabs { padding-left: 14px; padding-right: 14px; }
	.ok-linkcard img { width: 96px; }
	.ok-pick span { display: none; }
	.ok-post-chips { display: none; }
	.ok-tabs { margin-left: -10px; margin-right: -10px; padding: 2px 10px; }
}
@media (max-width: 420px) {
	.ok-top-actions [data-theme-toggle] { display: none; }
	.ok-composer-bar .ok-btn-primary { width: 100%; }
}

/* Gizlilik / anonim */
.ok-anon { font-weight: 650; color: var(--ink); }
.ok-anon-note { font-size: 12px; color: var(--muted); font-weight: 450; }
.ok-avatar-anon { border-radius: 50%; filter: grayscale(1); opacity: .75; }
.ok-anon-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); flex-wrap: wrap; }
.ok-anon-toggle small { font-weight: 400; color: var(--muted); }
.ok-privacy select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); }
.ok-privacy .ok-hint { margin: -4px 0 4px; }

/* Cevap formu */
.ok-respond { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ok-respond-title { display: flex; align-items: baseline; gap: 12px; font-size: 16px; margin: 0 0 10px; }
.ok-respond-title small { font-size: 13px; font-weight: 500; }
.ok-respond-title #cancel-comment-reply-link { color: var(--muted); }
.ok-answer-form { padding: 0; margin: 0; border: 0; box-shadow: none; background: transparent; }
.ok-answer-form textarea { min-height: 72px; }
.ok-guest-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ok-guest-fields input { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); }
.ok-answer .ok-respond { margin: 0 0 14px 52px; padding: 12px; border: 0; background: var(--paper); border-radius: 12px; }
.ok-answer-media { margin-top: 8px; }
.ok-answer-media > *:last-child { margin-bottom: 0; }
.ok-answer-gallery.is-single { grid-template-columns: repeat(auto-fill, minmax(120px, 160px)); }
.ok-answer-gallery.ok-g1.is-single { grid-template-columns: minmax(0, 360px); }
.ok-answer-media .ok-video { max-width: 520px; }
.ok-answer-guest p { margin: 0; }
@media (max-width: 860px) {
	.ok-answer .ok-respond { margin-left: 0; }
	.ok-guest-fields { grid-template-columns: 1fr; }
}
/* Cevap ekleri .ok-prose kurallarından etkilenmesin */
.ok-prose .ok-answer-media ul.ok-files { padding-left: 0; margin: 8px 0 0; }
.ok-prose .ok-answer-media .ok-files li { margin: 0; }
.ok-prose .ok-answer-media a { text-decoration: none; }
.ok-answer-body .ok-prose .ok-answer-media .ok-gallery img { width: 100%; height: 100%; max-height: none; margin: 0; border-radius: 0; object-fit: cover; }
.ok-answer-body .ok-prose .ok-answer-media .ok-g1 img { object-fit: contain; max-height: 420px; }
.ok-answer-media .ok-gallery { margin: 0 0 8px; background: none; }
.ok-answer-media .ok-linkcard img { margin: 0; border-radius: 0; max-height: none; }

/* Simgeyle açılan ek alanları */
.ok-field[hidden] { display: none !important; }
.ok-field input, .ok-field textarea {
	width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); resize: vertical;
}
.ok-field input:focus, .ok-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.ok-pick.is-on { background: var(--brand-soft); color: var(--brand-ink); }
.ok-answer-form .ok-composer-more { display: grid; gap: 10px; margin-top: 10px; }

/* Başlık en üstte; üye adı ve tarih altta */
.ok-post-title { margin-top: 2px; }
.ok-post > .ok-post-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 4px; justify-content: flex-start; }
.ok-post .ok-post-foot { justify-content: space-between; gap: 8px; }
.ok-post-by { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.ok-post-by .ok-post-av img, .ok-post-by .ok-post-av .avatar { width: 28px; height: 28px; border-radius: 50%; display: block; }
.ok-post-by .ok-post-author { font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ok-post-date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.ok-post-date::before { content: "·"; margin-right: 8px; color: var(--line); }
.ok-post-acts { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ok-single-by { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ok-single-by .ok-post-av img, .ok-single-by .ok-post-av .avatar { width: 40px; height: 40px; }
.ok-single-by .ok-post-who { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.ok-single-by .ok-post-who .ok-muted { font-size: 13px; }
.ok-single-by .ok-btn { min-height: 34px; padding: 0 12px; font-size: 14px; }
.ok-single .ok-single-title { margin-top: 0; }
.ok-single .ok-post-foot { border-top: 0; margin-top: 8px; padding-top: 0; }
@media (max-width: 420px) {
	.ok-post-date::before { display: none; }
	.ok-post-by { flex-wrap: wrap; row-gap: 0; }
	.ok-post-acts .ok-act { padding: 0 7px; }
}

/* Biçimli yazı düzenleyici */
.ok-editor { flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: 12px; background: var(--paper); }
.ok-editor:focus-within { box-shadow: 0 0 0 2px var(--brand); background: var(--card); }
.ok-ed-bar { display: none; flex-wrap: wrap; gap: 2px; padding: 6px 6px 0; }
.ok-composer.is-open .ok-ed-bar, .ok-answer-form .ok-ed-bar { display: flex; }
.ok-ed-btn {
	min-width: 32px; height: 30px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
	color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer;
}
.ok-ed-btn:hover { background: var(--line-2); color: var(--ink); }
.ok-ed-btn.is-on { background: var(--brand-soft); color: var(--brand-ink); }
.ok-ed-btn b, .ok-ed-btn i, .ok-ed-btn u, .ok-ed-btn s { font-size: 15px; }
.ok-ed { position: relative;
	min-height: 42px; max-height: 480px; overflow-y: auto; padding: 10px 14px; line-height: 1.55; outline: none;
	overflow-wrap: anywhere; cursor: text;
}
.ok-composer.is-open .ok-ed, .ok-answer-form .ok-ed { min-height: 96px; }
.ok-ed.is-empty::before { content: attr(data-placeholder); color: var(--muted); pointer-events: none; position: absolute; }
.ok-ed p, .ok-ed div { margin: 0 0 .5em; }
.ok-ed p:last-child { margin-bottom: 0; }
.ok-ed h3 { font-size: 18px; margin: .4em 0; }
.ok-ed ul, .ok-ed ol { margin: 0 0 .5em; padding-left: 1.4em; }
.ok-ed blockquote { margin: 0 0 .5em; padding: 4px 12px; border-left: 3px solid var(--brand); color: var(--muted); }
.ok-ed a { color: var(--brand-ink); text-decoration: underline; }

/* Resim alanı: bilgisayardan seç + adres */
.ok-field-image { display: grid; gap: 8px; }
.ok-image-src { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ok-image-pick { min-height: 36px; font-size: 14px; cursor: pointer; }
.ok-prev { position: relative; }
.ok-prev-x {
	position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0;
	background: rgba(0, 0, 0, .65); color: #fff; font-size: 15px; line-height: 1; cursor: pointer;
}
.ok-prev.is-url::after { content: "adres"; position: absolute; left: 4px; bottom: 4px; font-size: 10px; padding: 1px 5px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; }
.ok-prev.is-bad { outline: 2px solid var(--heart); }
.ok-prev.is-bad img { opacity: .2; }

/* Kısa bildirim */
.ok-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 120; margin: 0; padding-right: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .15); max-width: 90vw; }

/* İçerikte biçimler */
.ok-prose u { text-decoration: underline; }
.ok-prose s, .ok-prose del, .ok-prose strike { text-decoration: line-through; }
.ok-answer-body .ok-prose h3 { font-size: 17px; margin: .6em 0 .3em; }
.ok-answer-body .ok-prose ul, .ok-answer-body .ok-prose ol { margin: .3em 0; }

/* Sabitleme */
.ok-pinned-label { display: flex; align-items: center; gap: 6px; margin: -4px 0 6px; font-size: 12px; font-weight: 650; color: var(--brand-ink); }
.ok-post.is-pinned { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand-soft) 35%, var(--card)); }
.ok-pin {
	display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border-radius: 999px;
	border: 1px dashed var(--line); background: none; color: var(--muted); font-size: 13px; cursor: pointer;
}
.ok-pin:hover { color: var(--brand-ink); border-color: var(--brand); }
.ok-pin.is-on { border-style: solid; border-color: var(--brand); color: var(--brand-ink); background: var(--brand-soft); }
.ok-pin.is-on .ok-i { fill: currentColor; }
.ok-post-acts .ok-pin span { display: none; }
.ok-post-acts .ok-pin { padding: 0 8px; margin-left: 4px; }
.ok-pin-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }


/* =========================================================
   Kimlik: okul defteri ve kara tahta
   - Üst çubuk ve alt bilgi düz kara tahta yeşili (degrade yok).
   - Sade kartlar: küçük köşe, gölge yerine ince kenar; süsleyici çizgi yok.
   - Okunaklılık önce: koyu metin, rahat satır aralığı, kalın ve net başlıklar (sade sistem yazı tipi).
   - Sekmeler cetvel çizgisi gibi alt çizgili; kanallar etiket bandı gibi.
   ========================================================= */
:root {
	--board: #1f3a34;
	--board-2: #2a4a43;
	--chalk: #f4f6f1;
	--redpen: #c2372f;
	--r-card: 6px;
	--r-ctl: 6px;
	--shadow: 0 1px 0 rgba(26, 34, 40, .06);
	--shadow-hi: 0 1px 0 rgba(26, 34, 40, .06);
}
body { background: var(--paper); }

/* Okunaklı yazı */
:root { --ink: #1c1f23; --muted: #5a6168; }
body { font-size: 16px; line-height: 1.6; }
.ok-post-title { font-size: 19px; line-height: 1.35; font-weight: 700; letter-spacing: -.005em; margin-bottom: 6px; }
.ok-single-title { font-size: 28px; line-height: 1.25; font-weight: 750; letter-spacing: -.01em; }
.ok-post-excerpt { font-size: 15.5px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 80%, var(--card)); }
.ok-prose { font-size: 16px; line-height: 1.7; }
.ok-answer-body .ok-prose { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.ok-answer-body header strong { font-weight: 650; }
.ok-wlist a { font-weight: 500; }

/* Üst çubuk: kara tahta */
.ok-top { background: var(--board); border-bottom: 3px solid var(--board-2); box-shadow: none; }
@supports (backdrop-filter: blur(1px)) { .ok-top { backdrop-filter: none; -webkit-backdrop-filter: none; } }
.ok-brand { color: var(--chalk); }
.ok-brand-name { font-size: 18px; font-weight: 750; }
.ok-brand-mark {
	width: 38px; height: 38px; border-radius: 4px; background: transparent; color: var(--chalk);
	border: 2px solid var(--chalk); box-shadow: inset 0 0 0 2px var(--board), inset 0 0 0 3px rgba(244, 246, 241, .45);
	font-size: 14px; font-weight: 750;
}
.ok-top .ok-iconbtn { color: var(--chalk); }
.ok-top .ok-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.ok-search input { background: rgba(255, 255, 255, .08); border-color: rgba(244, 246, 241, .22); border-radius: 6px; color: var(--chalk); }
.ok-search input::placeholder { color: rgba(244, 246, 241, .7); }
.ok-top .ok-search .ok-i { color: rgba(244, 246, 241, .8); }
.ok-search input:focus { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.ok-search input:focus::placeholder { color: var(--muted); }
.ok-top .ok-search:focus-within .ok-i { color: var(--muted); }
.ok-top .ok-btn-primary { background: var(--chalk); border: 0; color: var(--board); box-shadow: none; }
.ok-top .ok-btn-primary:hover { background: #fff; filter: none; }
.ok-top .ok-btn-ghost { color: var(--chalk); border-color: rgba(244, 246, 241, .45); }
.ok-top-me img { box-shadow: 0 0 0 2px var(--chalk); }
.ok-search-big input, .ok-404 .ok-search input { background: var(--card); color: var(--ink); border-color: var(--line); }
.ok-search-big input::placeholder { color: var(--muted); }
.ok-search-big .ok-i { color: var(--muted) !important; }

/* Düğmeler: düz, keskin */
.ok-btn { border-radius: var(--r-ctl); transition: background-color .15s, border-color .15s; }
.ok-btn-primary { background: var(--brand); border: 1px solid var(--brand); box-shadow: none; }
.ok-btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); filter: none; }
.ok-aside-cta { min-height: 46px; font-size: 15px; }

/* Kartlar: sade */
.ok-card { border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: none; }
.ok-post::before, .ok-single::before, .ok-archive-head[class*=" t-"]::before { content: none; }
.ok-post { transition: border-color .15s; }
@media (hover: hover) { .ok-post:hover { border-color: color-mix(in srgb, var(--ink) 28%, var(--line)); } }
.ok-post-title a:hover { color: var(--ink); text-decoration: none; }
.ok-single { padding: 22px 26px; }

/* Avatarlar: yaka kartı gibi yuvarlatılmış kare */
.avatar, .ok-post-av img, .ok-answer-row > img, .ok-answer-row > .avatar, .ok-wanswers img, .ok-avatars img, .ok-user-row img,
.ok-composer-head img, .ok-fav-answer-by .avatar, .ok-form-avatar img, .ok-top-me img { border-radius: 28% !important; }
.ok-profile-avatar, .ok-profile-main .avatar { border-radius: 22% !important; }

/* Sol menü */
.ok-nav-main a { position: relative; border-radius: 4px; }
.ok-nav-main a .ok-i { color: var(--muted); }
.ok-nav-main a:hover { background: var(--line-2); color: var(--ink); }
.ok-nav-main a:hover .ok-i { color: var(--ink); }
.ok-nav-main a[aria-current="page"] { background: var(--line-2); color: var(--ink); box-shadow: none; font-weight: 700; }
.ok-nav-main a[aria-current="page"] .ok-i { color: var(--ink); }
.ok-nav-main a[aria-current="page"]::before { content: none; }
.ok-nav-end { border-top-style: dashed !important; }

/* Sekmeler: cetvel çizgisi */
.ok-tabs { gap: 2px; padding: 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.ok-tabs a, .ok-tabs a:hover {
	background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; box-shadow: none;
	padding: 9px 12px 8px; margin-bottom: -1px; color: var(--muted); font-weight: 600;
}
.ok-tabs a:hover { color: var(--ink); border-bottom-color: var(--line); }
.ok-tabs a.is-on,
.ok-type-tabs a.is-on, .ok-type-tabs a:first-child.is-on, .ok-scope-tabs a.is-on, .ok-sort-tabs a.is-on, .ok-profile-tabs a.is-on {
	background: transparent; color: var(--ink); border-bottom-color: var(--ink); box-shadow: none;
}
.ok-type-tabs a.is-on { border-bottom-color: var(--tc, var(--ink)); }
.ok-type-tabs a.is-on .ok-i, .ok-type-tabs a:first-child.is-on .ok-i { color: var(--tc, var(--ink)); }
.ok-type-tabs a:first-child.is-on .ok-i { color: var(--ink); }
.ok-profile-tabs { border-top: 1px solid var(--line-2); padding: 0 20px; margin-top: 14px; border-bottom: 0; }
.ok-profile-tabs a { padding-top: 12px; padding-bottom: 11px; }

/* Kanallar: etiket bandı */
.ok-chip, .ok-chips a {
	display: inline-flex; align-items: center; padding: 2px 8px 2px 7px; border-radius: 3px; font-size: 13px; font-weight: 600;
	background: var(--line-2); color: var(--ink); border: 0; border-radius: 999px; padding: 3px 10px;
}
.ok-chip:hover, .ok-chips a:hover { background: var(--line); color: var(--ink); border: 0; }
.ok-chan-chip { border-radius: 999px; }

/* Favori ve etkileşim */
.ok-act { border-radius: 4px; }
.ok-fav:hover { color: var(--heart); }

/* Kenar çubuğu */
.ok-widget h3 { display: block; font-size: 15px; font-weight: 700; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.ok-widget h3::before { content: none; }
.ok-wlist a:hover, .ok-related a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Profil kapağı: kara tahta */
.ok-cover {
	background-color: var(--board);
	background-image: repeating-linear-gradient(0deg, rgba(244, 246, 241, .05) 0 1px, transparent 1px 30px);
	background-size: cover; background-position: center;
}
.ok-profile-avatar, .ok-profile-main .avatar { border-color: var(--card); }

/* Paylaşım formu */
.ok-composer { border-color: var(--line); }
.ok-editor, .ok-composer textarea { background: color-mix(in srgb, var(--paper) 60%, var(--card)); border-radius: 4px; }
.ok-editor:focus-within, .ok-composer textarea:focus { box-shadow: 0 0 0 2px var(--brand); }

/* Sabit konu: kırmızı kalem işareti */
.ok-post.is-pinned { border-color: var(--line); background: var(--card); }
.ok-pinned-label { color: var(--brand-ink); }

/* Sayfalama ve bildirim */
.ok-pager a { border-radius: var(--r-ctl); }
.ok-flash { border-radius: var(--r-ctl); border-left: 4px solid currentColor; }
.ok-empty { border-radius: var(--r-card); }

/* Alt bilgi: kara tahta */
.ok-foot { background: var(--board); border-top: 3px solid var(--board-2); color: rgba(244, 246, 241, .82); }
.ok-foot a { color: var(--chalk); text-decoration: underline; text-underline-offset: 3px; }
.ok-foot .ok-muted { color: rgba(244, 246, 241, .6); }

/* Mobil */
.ok-tabbar .ok-tabbar-share { background: var(--board); color: var(--chalk); border-radius: 8px; box-shadow: none; }
.ok-tabbar a[aria-current="page"] { color: var(--ink); }
.ok-tabbar a[aria-current="page"] .ok-i { stroke-width: 2.4; }
@media (max-width: 860px) {
	.ok-nav-main a[aria-current="page"] { background: var(--line-2); }
	.ok-single { padding: 16px; }
	.ok-single-title { font-size: 23px; }
	.ok-post-title { font-size: 18px; }
	.ok-tabs { margin-left: -10px; margin-right: -10px; padding: 0 10px; }
	.ok-profile-tabs { padding: 0 14px; }
}

/* Karanlık mod */
:root[data-theme="dark"] { --board: #0f1f1c; --board-2: #1a2f2b; --redpen: #ef7068; }
:root[data-theme="dark"] .ok-foot { background: var(--board); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --board: #0f1f1c; --board-2: #1a2f2b; --redpen: #ef7068; }
}
@media (prefers-reduced-motion: reduce) { .ok-post, .ok-btn { transition: none; } }

/* Bildir */
.ok-report-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.ok-report-link:hover { color: var(--heart); }
.ok-report-link.is-done { color: var(--muted); cursor: default; opacity: .7; }
.ok-post-tools { align-items: center; }
.ok-dialog { width: min(460px, calc(100vw - 32px)); border: 0; border-radius: var(--r-card); padding: 20px; background: var(--card); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); }
.ok-dialog::backdrop { background: rgba(10, 25, 28, .5); }
.ok-dialog h3 { margin: 0 0 4px; font-size: 18px; }
.ok-dialog .ok-muted { margin: 0 0 6px; font-size: 14px; }
.ok-report-reasons { display: grid; gap: 6px; }
.ok-report-reasons .ok-check { font-weight: 450; font-size: 15px; }
.ok-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.ok-report-msg { margin: 0; padding: 8px 12px; border-radius: var(--r-ctl); font-size: 14px; }
.ok-report-msg.is-ok { background: var(--brand-soft); color: var(--brand-ink); }
.ok-report-msg.is-err { background: color-mix(in srgb, var(--heart) 12%, var(--card)); color: var(--heart); }

/* Kullanıcı adı alanı (@ önekli) */
.ok-input-prefix { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); overflow: hidden; font-weight: 400; }
.ok-input-prefix > span { display: flex; align-items: center; padding: 0 10px; color: var(--muted); background: var(--paper); border-right: 1px solid var(--line); }
.ok-form .ok-input-prefix input[type=text], .ok-form .ok-input-prefix input[type=text]:focus { border: 0; border-radius: 0; box-shadow: none; flex: 1; min-width: 0; }
.ok-input-prefix:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.ok-username-box code { word-break: break-all; }
.ok-name-choice { display: grid; gap: 8px; padding-top: 4px; border-top: 1px dashed var(--line); }
.ok-name-choice > strong { font-size: 14px; }
.ok-name-choice .ok-check { font-weight: 500; }
.ok-name-choice .ok-muted { font-weight: 400; margin-left: 4px; }

/* Cevap favorisi ve Favori İçerikler */
.ok-answer-body footer { align-items: center; flex-wrap: wrap; }
.ok-answer-body footer .ok-cfav { min-height: 28px; height: 28px; padding: 0 6px; margin-left: -6px; gap: 4px; font-size: 13px; color: var(--muted); }
.ok-answer-body footer .ok-cfav.is-on { color: var(--heart); }
.ok-answer-body footer .ok-cfav span:empty { display: none; }
.ok-fav-tabs small { font-size: 12px; opacity: .75; margin-left: 2px; }
.ok-fav-answer { display: grid; gap: 8px; }
.ok-fav-answer-on { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.ok-fav-answer-on span { font-weight: 600; color: var(--brand); }
.ok-fav-answer-on a { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ok-fav-answer-by { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ok-fav-answer-by .avatar { border-radius: 50%; }
.ok-fav-answer-by a { color: inherit; }
.ok-fav-answer-by .ok-muted { color: var(--muted); font-size: 13px; }
.ok-fav-answer .ok-prose { margin: 0; }
.ok-fav-answer .ok-prose img { max-height: 360px; width: auto; }
.ok-fav-answer .ok-post-foot { margin-top: 4px; }
.ok-fav-answer .ok-post-foot .ok-cfav span:empty { display: none; }
.ok-fav-answer .ok-prose > :last-child { margin-bottom: 0; }
