/* =====================================================================
   WMF ortak krom (dizin, sözlük, araçlar): forumdaki WMF teması ile aynı
   başlık, menü ve footer. Tüm sınıflar "wmfx-" önekli; uygulamaların kendi
   CSS'iyle çakışmaz. Değerler forumdaki WMF'den ölçülmüştür.
   İçerik renkleri (açık/koyu) değişken olarak verilir: uygulamalar kendi
   içerik alanlarında var(--wmfx-…) kullanır.
   ===================================================================== */

:root
{
	/* koyu krom (her iki modda aynı) */
	--wmfx-bg: #323448;
	--wmfx-bg-raised: #3f4257;
	--wmfx-bg-hover: #464a61;
	--wmfx-line: #494c62;
	--wmfx-band: #303245;
	--wmfx-band-mid: #494c62;
	--wmfx-ctext: #d9dae9;
	--wmfx-cmuted: #9a9cb5;
	--wmfx-accent: #ee0743;
	--wmfx-accent-hover: #c20537;
	--wmfx-cta: #38a9ff;
	--wmfx-f-bg: #232534;
	--wmfx-f-pre: #262838;
	--wmfx-f-card: #2b2d40;
	--wmfx-f-box: #26283a;
	--wmfx-f-line: #34364a;
	--wmfx-f-bar: #1d1f2c;
	--wmfx-font: 'Poppins', 'Segoe UI', 'Helvetica Neue', Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', sans-serif;

	/* içerik (açık mod) */
	--wmfx-page: #e8eaec;
	--wmfx-card: #f5f8fa;
	--wmfx-card-alt: #edf0f3;
	--wmfx-highlight: #e6effa;
	--wmfx-text: #515365;
	--wmfx-dim: #6b6e86;
	--wmfx-muted: #868aa3;
	--wmfx-strong: #2b2d3c;
	--wmfx-border: #e2e6e9;
	--wmfx-link: #3a3d55;
	--wmfx-input: #ffffff;
	--wmfx-input-border: #d8dde3;
}

html[data-wmfx-scheme="dark"]
{
	--wmfx-page: #383b50;
	--wmfx-card: #333549;
	--wmfx-card-alt: #2c2e40;
	--wmfx-highlight: #3f4257;
	--wmfx-text: #d9dae9;
	--wmfx-dim: #b4b6cb;
	--wmfx-muted: #979aae;
	--wmfx-strong: #ffffff;
	--wmfx-border: #3c3f55;
	--wmfx-link: #d9dae9;
	--wmfx-input: #2c2e40;
	--wmfx-input-border: #494c62;
	color-scheme: dark;
}

/* --- temel sıfırlama (yalnızca krom içinde) ------------------------- */
/* Uygulamaların header/nav/footer ETİKETLERİNE yazdığı genel stiller (köşe, iç boşluk, yazı tipi) kroma sızmasın */
.wmfx header.wmfx-header, .wmfx nav.wmfx-nav, footer.wmfx-footer
{
	float: none; width: auto; max-width: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none;
	background-image: none; font-family: var(--wmfx-font); font-size: 13px; font-weight: 400; line-height: 1.4; text-align: left;
}
.wmfx a:hover, .wmfx a:focus { text-decoration: none; outline-offset: 2px; }
.wmfx img { max-width: none; }
footer.wmfx-footer a { font-weight: 400; } /* uygulamaların 'footer a { bold }' kuralı sızmasın */
.wmfx, .wmfx *, .wmfx *:before, .wmfx *:after { box-sizing: border-box; }
.wmfx { font-family: var(--wmfx-font); font-size: 13px; line-height: 1.4; -webkit-font-smoothing: antialiased; text-align: left; }
.wmfx a { text-decoration: none; }
.wmfx ul { list-style: none; margin: 0; padding: 0; }
.wmfx p, .wmfx h3 { margin: 0; }
.wmfx button { font: inherit; cursor: pointer; }
.wmfx .wmfx-ico { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -0.125em; overflow: visible; }
.wmfx .wmfx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wmfx-inner { max-width: 2100px; margin: 0 auto; padding: 0 24px; }

/* =====================================================================
   1. BAŞLIK
   ===================================================================== */
.wmfx-header { background: var(--wmfx-bg); color: var(--wmfx-ctext); border-bottom: 1px solid var(--wmfx-line); }
.wmfx-header-row { display: flex; align-items: center; gap: 16px; min-height: 80px; padding-top: 16px; padding-bottom: 16px; }

/* metin logosu */
.wmfx-logo { display: inline-flex; align-items: stretch; gap: 10px; flex: 0 0 auto; color: #fff !important; line-height: 1; }
.wmfx-logo-mark { position: relative; width: 60px; margin-top: 4px; }
.wmfx-logo-mark:before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 146%; background: url("https://webmasterforum.com.tr/styles/wmf/wf-mark-light.svg") left bottom / contain no-repeat; }
.wmfx-logo-text { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.wmfx-logo-title { position: relative; display: block; padding-bottom: 2px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .01em; line-height: 24px; text-transform: uppercase; }
.wmfx-logo-tld { position: absolute; right: 0; top: 27px; padding: 1px 4px; border-radius: 2px; background: #03a9f4; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; line-height: 13px; transition: transform .2s; }
.wmfx-logo:hover .wmfx-logo-tld { transform: scale(1.15) rotate(5deg); }
.wmfx-logo-sub { padding-right: 52px; color: #c9cde0; font-size: 12px; font-weight: 400; line-height: 15.6px; }

/* kare ikon düğmeleri */
.wmfx-sq { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 4px; background: var(--wmfx-bg-raised); color: var(--wmfx-cmuted) !important; font-size: 19px; transition: background .2s, color .2s; }
.wmfx-sq:hover { background: var(--wmfx-bg-hover); color: #fff !important; }
.wmfx-apps { color: var(--wmfx-ctext) !important; }
.wmfx-apps .wmfx-ico { width: 20px; height: 20px; }

/* sağ taraf: hesap */
.wmfx-account { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.wmfx-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--wmfx-cmuted) !important; font-size: 22px; transition: background .2s, color .2s; }
.wmfx-icon:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }

.wmfx-auth { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px 0 12px; border-radius: 4px; color: #fff !important; font-size: 15px; font-weight: 600; white-space: nowrap; transition: filter .2s; }
.wmfx-auth .wmfx-ico { font-size: 24px; }
.wmfx-auth:hover { filter: brightness(1.08); }
.wmfx-auth--login { background: #64a9f0; }
.wmfx-auth--register { background: #7b5cc4; }

.wmfx-user { display: inline-flex; align-items: center; gap: 12px; height: 52px; margin-left: 14px; padding: 0 14px 0 6px; border-radius: 6px; color: #fff !important; transition: background .2s; }
.wmfx-user:hover { background: rgba(255, 255, 255, .06); }
.wmfx-avatar { display: block; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #e6e7ec; }
.wmfx-avatar--default { background: #e6e7ec url("https://webmasterforum.com.tr/styles/wmf/avatar-default.svg") 50% 50% / 60% 60% no-repeat; }
.wmfx-user-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wmfx-user-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; color: #fff; }
.wmfx-user-sub { font-size: 12px; color: var(--wmfx-cmuted); }

/* =====================================================================
   2. MENÜ SATIRI
   ===================================================================== */
.wmfx-nav { background: var(--wmfx-bg); color: var(--wmfx-ctext); border-bottom: 1px solid var(--wmfx-line); }
.wmfx-nav-row { display: flex; align-items: center; min-height: 64px; }
.wmfx-nav-list { display: flex; align-items: center; gap: 26px; }
.wmfx-nav-list > li { display: flex; }
.wmfx-nav-link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 64px; color: var(--wmfx-ctext) !important; font-size: 14px; font-weight: 500; white-space: nowrap; }
.wmfx-nav-link .wmfx-ico { color: var(--wmfx-accent); font-size: 16px; }
.wmfx-nav-link:hover { color: #fff !important; }
.wmfx-nav-link.is-active { color: #fff !important; font-weight: 600; }
.wmfx-nav-link.is-active:after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wmfx-accent); }
.wmfx-navToggle { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; border-radius: 4px; background: var(--wmfx-bg-raised); color: var(--wmfx-ctext); font-size: 14px; font-weight: 600; }

/* =====================================================================
   3. FOOTER
   ===================================================================== */
.wmfx-footer { margin-top: 0; background: var(--wmfx-f-bg); color: var(--wmfx-ctext); }
.wmfx-fcard { background: var(--wmfx-f-card); border-radius: 2px; }
.wmfx-pre { padding: 18px 0; background: var(--wmfx-f-pre); }
.wmfx-social { display: flex; gap: 18px; padding-top: 6px; padding-bottom: 10px; }
.wmfx-about { display: flex; flex: 1 1 auto; min-height: 108px; }
.wmfx-about-logo { flex: 0 0 136px; border-right: 1px solid var(--wmfx-f-line); background: url("https://webmasterforum.com.tr/styles/wmf/wf-mark-light.svg") center / 64px auto no-repeat; }
.wmfx-about-body { display: flex; align-items: center; padding: 15px 25px; }
.wmfx-about-body p { color: var(--wmfx-ctext); font-size: 14px; line-height: 1.4; }
.wmfx-follow { display: flex; align-items: center; flex: 0 0 auto; }
.wmfx-follow-text { display: flex; flex-direction: column; gap: 2px; padding: 0 20px; border-right: 1px solid var(--wmfx-f-line); align-self: stretch; justify-content: center; }
.wmfx-follow-text strong { color: #fff; font-size: 15px; font-weight: 700; }
.wmfx-follow-text span { color: var(--wmfx-cmuted); font-size: 12px; }
.wmfx-follow-btns { display: flex; gap: 8px; padding: 0 20px; }
.wmfx-sbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 42px; border-radius: 2px; color: #fff !important; font-size: 19px; transition: filter .2s, transform .2s; }
.wmfx-sbtn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.wmfx-sbtn--discord { background: #5865f2; }
.wmfx-sbtn--youtube { background: #e62117; }
.wmfx-sbtn--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.wmfx-sbtn--telegram { background: #2aa1da; }
.wmfx-sbtn--x { background: #000; }

.wmfx-main { padding: 25px 0; border-top: 1px solid var(--wmfx-f-line); }
.wmfx-legal { display: flex; align-items: stretch; padding: 14px; gap: 18px; }
.wmfx-legal-box { display: flex; align-items: center; justify-content: center; flex: 0 0 88px; border-radius: 2px; background: var(--wmfx-f-box); color: var(--wmfx-ctext); font-size: 20px; }
.wmfx-legal-body { padding: 4px 0; }
.wmfx-legal-body h3 { margin-bottom: 6px; color: #fff; font-size: 15px; font-weight: 700; }
.wmfx-legal-body p { color: var(--wmfx-ctext); font-size: 13px; line-height: 1.6; }
.wmfx-legal-body strong { color: #fff; }
.wmfx-sep { height: 0; margin: 25px 0; border: 0; border-top: 1px solid var(--wmfx-f-line); }
.wmfx-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px; }
.wmfx-contact { display: flex; align-items: stretch; min-height: 55px; color: var(--wmfx-ctext) !important; transition: background .2s; }
.wmfx-contact:hover { background: var(--wmfx-bg-raised); }
.wmfx-contact-ico { display: flex; align-items: center; justify-content: center; flex: 0 0 46px; border-right: 1px solid var(--wmfx-f-line); color: var(--wmfx-cmuted); font-size: 15px; }
.wmfx-contact-text { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 8px 14px; }
.wmfx-contact-lbl { color: var(--wmfx-cmuted); font-size: 12px; line-height: 1.3; }
.wmfx-contact-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 13px; font-weight: 700; }

.wmfx-bar { background: var(--wmfx-f-bar); border-top: 1px solid var(--wmfx-f-line); }
.wmfx-bar-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.wmfx-copy { display: flex; align-items: center; gap: 8px; color: var(--wmfx-cmuted); font-size: 13px; }
.wmfx-copy strong { color: #fff; }
.wmfx-copy-mark { width: 26px; height: 26px; background: url("https://webmasterforum.com.tr/styles/wmf/wf-mark-light.svg") center / contain no-repeat; }
.wmfx .wmfx-bar-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 0; margin-left: auto; }
.wmfx-bar-links li { display: flex; align-items: center; }
.wmfx-bar-links li + li:before { content: '\2022'; margin: 0 12px; color: var(--wmfx-line); }
.wmfx-bar-links a, .wmfx-bar-links button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--wmfx-ctext) !important; font-size: 13px; }
.wmfx-bar-links a:hover, .wmfx-bar-links button:hover { color: #fff !important; }
.wmfx-bar-links li:last-child:before { display: none; }
.wmfx-bar-links .wmfx-top { justify-content: center; width: 32px; height: 32px; margin-left: 14px; border-radius: 2px; background: var(--wmfx-bg-raised); }

/* =====================================================================
   4. DUYARLI (tablet / mobil)
   ===================================================================== */
@media (max-width: 1100px)
{
	.wmfx-nav-list { gap: 18px; }
	.wmfx-social { flex-direction: column; }
	.wmfx-follow { justify-content: space-between; padding: 14px 0; }
}

@media (max-width: 900px)
{
	.wmfx-inner { padding: 0 14px; }
	.wmfx-header-row { gap: 10px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
	.wmfx-logo-sub, .wmfx-apps, .wmfx-bulb { display: none; }
	.wmfx-logo-mark { width: 44px; }
	.wmfx-logo-title { font-size: 18px; line-height: 20px; }
	.wmfx-logo-tld { position: static; display: inline-block; margin-left: 6px; vertical-align: 3px; }
	.wmfx-auth { height: 40px; padding: 0 12px; font-size: 14px; }
	.wmfx-auth .wmfx-ico { font-size: 20px; }
	.wmfx-user { margin-left: 4px; padding-right: 6px; }
	.wmfx-user-text { display: none; }

	.wmfx-nav-row { flex-wrap: wrap; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
	.wmfx-navToggle { display: inline-flex; }
	.wmfx-nav-list { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 8px; }
	.wmfx-nav.is-open .wmfx-nav-list { display: flex; }
	.wmfx-nav-link { width: 100%; height: 44px; padding: 0 10px; border-radius: 4px; }
	.wmfx-nav-link.is-active { background: var(--wmfx-bg-raised); }
	.wmfx-nav-link.is-active:after { display: none; }

	.wmfx-about-logo { flex-basis: 80px; background-size: 44px; }
	.wmfx-follow { flex-direction: column; align-items: stretch; gap: 12px; }
	.wmfx-follow-text { border-right: 0; }
	.wmfx-legal-box { flex-basis: 56px; }
	.wmfx-bar-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px)
{
	.wmfx-logo-text { display: none; }
	.wmfx-logo-mark { width: 44px; height: 42px; margin-top: 0; }
	.wmfx-logo-mark:before { height: 100%; background-position: center bottom; }
	.wmfx-copy { display: block; line-height: 1.6; }
	.wmfx-copy-mark { display: inline-block; vertical-align: middle; margin-right: 6px; }
	.wmfx .wmfx-bar-links { justify-content: flex-start; gap: 10px 18px; margin-left: 0; }
	.wmfx-bar-links li + li:before { display: none; }
	.wmfx-bar-links .wmfx-top { margin-left: 0; }
	.wmfx-search { display: inline-flex; width: 40px; height: 40px; }
	.wmfx-auth span { display: none; }
	.wmfx-auth { padding: 0 10px; }
	.wmfx-account .wmfx-icon { width: 38px; height: 38px; font-size: 19px; }
	.wmfx-about { flex-direction: column; }
	.wmfx-about-logo { flex: 0 0 70px; border-right: 0; border-bottom: 1px solid var(--wmfx-f-line); }
	.wmfx-follow-btns { flex-wrap: wrap; }
	.wmfx-legal { flex-direction: column; }
	.wmfx-legal-box { flex: 0 0 48px; }
}
