/* ÖGG forum tarzı üst çubuk (yalnızca kısa kodla eklenir). Tüm sınıflar oggt- ile başlar. */
.oggt-bar {
	--oggt-arka: #305076; --oggt-renk: #ffffff; --oggt-hover: #3d628b; --oggt-kenar: #244061; --oggt-h: 64px; --oggt-hm: 56px;
	--oggb-renk: var(--oggt-renk); --oggb-hover-arka: var(--oggt-hover);
	position: relative; box-sizing: border-box; width: 100%; background: var(--oggt-arka); color: var(--oggt-renk);
	border-bottom: 1px solid var(--oggt-kenar); font: 15px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.oggt-bar *, .oggt-bar *::before, .oggt-bar *::after { box-sizing: border-box; }
.oggt-ic { display: flex; align-items: center; gap: 6px; min-height: var(--oggt-h); max-width: 1400px; margin: 0 auto; padding: 0 14px; }
.oggt-bar a { color: inherit; text-decoration: none; }
.oggt-bosluk { flex: 1 1 auto; }

.oggt-logo { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-right: 6px; font-weight: 800; font-size: 1.15rem; color: var(--oggt-renk) !important; }
.oggt-logo img { display: block; width: auto; max-height: calc(var(--oggt-h) - 20px); }

.oggt-menu { position: relative; display: inline-flex; }
.oggt-menu-btn, .oggt-ikon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; margin: 0;
	border: 0; border-radius: 10px; background: transparent; color: var(--oggt-renk) !important; cursor: pointer; font: inherit; -webkit-tap-highlight-color: transparent;
	transition: background .15s ease;
}
.oggt-menu-btn:hover, .oggt-menu-btn:focus-visible, .oggt-ikon-btn:hover, .oggt-menu.oggt-acik > .oggt-menu-btn { background: var(--oggt-hover); }
.oggt-ik { width: 22px; height: 22px; flex: 0 0 auto; }
.oggt-uygulamalar .oggt-menu-btn { border: 1px solid rgba(255, 255, 255, .22); }
.oggt-ikon-btn .oggb-rozet { position: absolute; top: 4px; right: 3px; min-width: 18px; padding: 1px 5px; border-radius: 10px; background: var(--oggb-rozet, #e11d48); color: #fff !important; font: 700 11px/1.5 system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px var(--oggt-arka); }
.oggt-ikon-btn .oggb-rozet[hidden] { display: none; }

/* arama */
.oggt-arama { flex: 1 1 auto; max-width: 520px; margin: 0 8px; position: static; }
.oggt-arama-kutu { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .13); }
.oggt-arama-kutu:focus-within { background: rgba(255, 255, 255, .2); }
.oggt-arama-ik { display: inline-flex; opacity: .85; }
.oggt-arama input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; color: var(--oggt-renk); font-size: 16px; }
.oggt-arama input::placeholder { color: var(--oggt-renk); opacity: .7; }
.oggt-arama-ac { display: none; }

/* özel düğme */
.oggt-ust-buton { display: inline-flex; align-items: center; padding: 9px 16px; margin: 0 4px; border: 2px solid #c08b2c; border-radius: 8px; background: #c08b2c; color: #fff !important; font-weight: 700; white-space: nowrap; }
.oggt-ust-buton:hover { filter: brightness(1.08); }

/* kullanıcı kutusu */
.oggt-kisi-btn { padding: 3px 8px 3px 4px; gap: 10px; }
.oggt-av { position: relative; display: block; width: 40px; height: 40px; flex: 0 0 auto; }
.oggt-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .4); }
.oggt-online { position: absolute; left: -2px; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--oggt-arka); }
.oggt-kisi-metin { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.oggt-kisi-metin small { opacity: .8; font-size: .76rem; }
.oggt-kisi-metin strong { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.oggt-misafir { display: inline-flex; gap: 8px; align-items: center; }
.oggt-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: .95rem; white-space: nowrap; border: 2px solid rgba(255, 255, 255, .55); }
.oggt-btn-hafif { color: var(--oggt-renk) !important; background: transparent; }
.oggt-btn-hafif:hover { background: var(--oggt-hover); }
.oggt-btn-dolu { background: #fff; color: var(--oggt-arka) !important; border-color: #fff; }
.oggt-btn-dolu:hover { filter: brightness(.93); }

/* açılır paneller (konum JS ile hesaplanır) */
.oggt-panel { position: fixed; z-index: 100002; min-width: 220px; max-width: calc(100vw - 16px); max-height: calc(100vh - 80px); overflow: auto; background: #fff; color: #1d2b36; border: 1px solid #dde3ea; border-radius: 12px; box-shadow: 0 14px 44px rgba(14, 34, 55, .28); text-align: left; }
.oggt-panel[hidden] { display: none; }
.oggt-liste { list-style: none; margin: 0; padding: 6px; }
.oggt-liste a { display: block; padding: 11px 12px; border-radius: 8px; color: #1d2b36 !important; font-weight: 600; }
.oggt-liste a:hover { background: #eef4fb; }
.oggt-kisi-bas { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #f4f6f9; border-bottom: 1px solid #dde3ea; }
.oggt-kisi-bas img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.oggt-izgara { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 300px; max-width: calc(100vw - 16px); padding: 10px; }
.oggt-izgara a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 10px; font-size: 13px; text-align: center; color: #1d2b36 !important; font-weight: 600; }
.oggt-izgara a:hover { background: #eef4fb; }
.oggt-harf { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #305076; color: #fff; font-weight: 800; font-size: 1.1rem; }

/* mobil */
@media (max-width: 700px) {
	.oggt-ic { min-height: var(--oggt-hm); padding: 0 6px; gap: 2px; }
	.oggt-logo { font-size: 1rem; }
	.oggt-logo img { max-height: calc(var(--oggt-hm) - 16px); }
	.oggt-arama { flex: 0 0 auto; margin: 0; }
	.oggt-arama-kutu { display: none; }
	.oggt-arama-ac { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--oggt-renk) !important; cursor: pointer; }
	.oggt-arama.oggt-acik .oggt-arama-kutu { display: flex; position: absolute; left: 6px; right: 6px; top: 6px; bottom: 6px; height: auto; z-index: 5; background: var(--oggt-arka); border: 1px solid rgba(255, 255, 255, .4); }
	.oggt-ust-buton { padding: 7px 10px; font-size: .85rem; }
	.oggt-kisi-btn .oggt-ik { display: none; }
	.oggt-misafir .oggt-btn { min-height: 36px; padding: 0 10px; font-size: .85rem; }
	.oggt-mg-hosgeldin .oggt-kisi-metin, .oggt-mg-kullanici .oggt-kisi-metin { display: none; }
	.oggt-mg-buton .oggt-ust-buton { display: none; }
	.oggt-mg-uygulamalar .oggt-uygulamalar { display: none; }
	.oggt-mg-menu .oggt-ayar { display: none; }
	.oggt-mg-logo .oggt-logo { display: none; }
	.oggt-mg-arama .oggt-arama { display: none; }
	.oggt-mg-mesaj .oggt-mesaj { display: none; }
	.oggt-panel { left: 8px !important; right: 8px !important; width: auto !important; }
	.oggt-izgara { width: auto; }
}
