/* ==========================================================================
   KO-FOX v1.1 — Kontrol paneli (r10 .controlPanel), reklamlar, paketler, yönetim
   ========================================================================== */

/* ---------------- Kontrol paneli düzeni */
.controlPanel { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 25px; align-items: start; margin-bottom: 25px; }
.controlPanel .cpLeft { background: #494c62; border-radius: 2px; overflow: hidden; position: sticky; top: 15px; }
body.night .controlPanel .cpLeft { background: #2a2c3f; }
.controlPanel .cpLeft > .head { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 18px; background: var(--blue); color: #fff; font-weight: 700; text-transform: uppercase; }
.controlPanel .cpLeft > .head i { font-size: 20px; font-weight: 400; }
.cpUser { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #5a5e76; }
.cpUser img { width: 48px; height: 48px; border-radius: 100%; object-fit: cover; border: 2px solid #5a5e76; background: #fff; }
.cpUser b { display: block; color: #fff; font-size: 15px; }
.cpUser span { color: #c2c7cc; font-size: 12px; }
.cpUser .pkgBadge { margin-left: 0; }
.cpMenu { display: block; padding: 6px 0; }
.cpGroup + .cpGroup { border-top: 1px solid #5a5e76; margin-top: 6px; padding-top: 6px; }
.cpGroupTitle { display: flex; align-items: center; gap: 8px; padding: 10px 18px 6px; color: #a3a6ba; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.cpGroupTitle i { font-size: 15px; }
.cpMenu a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; color: #d9dae9; font-size: 13.5px; font-weight: 600; border-left: 3px solid transparent; }
.cpMenu a > span { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cpMenu a i { font-size: 17px; color: #a3a6ba; transition: color .2s; }
.cpMenu a:hover { background: #3f4257; color: #fff; }
.cpMenu a:hover i { color: #fff; }
.cpMenu a.active { background: #3f4257; color: #fff; border-left-color: var(--orange); }
.cpMenu a.active i { color: var(--orange); }
body.night .cpMenu a:hover, body.night .cpMenu a.active { background: #232533; }
.cpCount { flex-shrink: 0; min-width: 22px; padding: 0 7px; border-radius: 10px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 20px; text-align: center; }
.panelButton { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; background: var(--purple); color: #fff !important; font-weight: 700; text-transform: uppercase; font-size: 13px; }
.panelButton:hover { background: var(--purple-dark); }
.cpHelp { margin: 12px; padding: 15px; background: #3f4257; border-radius: 2px; text-align: center; color: #c2c7cc; font-size: 12.5px; }
body.night .cpHelp { background: #232533; }
.cpHelp b { display: block; color: #fff; margin-bottom: 6px; font-size: 13.5px; }
.cpHelp p { margin: 0 0 12px; }
.cpHelpBtn { display: inline-block; padding: 6px 14px; border: 1px solid var(--blue); border-radius: 2px; color: #fff !important; font-weight: 600; }
.cpHelpBtn:hover { background: var(--blue); }
.controlPanel .cpRight { min-width: 0; }
.controlBlock { margin-bottom: 25px; background: var(--panel); border: 1px solid var(--panel-border); border-radius: 2px; overflow: hidden; }
.controlBlock > .head { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 18px; background: var(--purple); color: #fff; font-weight: 700; text-transform: uppercase; }
.controlBlock > .head i { font-size: 19px; font-weight: 400; }
.cpInfo { display: flex; gap: 10px; align-items: flex-start; margin: 15px; padding: 12px 15px; background: var(--card); border: 1px solid var(--panel-border); border-left: 3px solid var(--blue); border-radius: 2px; font-size: 13px; }
.rPanel .content > .cpInfo { margin: 0 0 15px; }
.cpInfo i { font-size: 18px; color: var(--blue); line-height: 1.2; }
.cpInfo a { color: var(--blue); font-weight: 600; }
.exWelcome .content { padding: 30px 20px; text-align: center; }
.exWelcome .welcomeFox { width: 80px; height: 80px; }
.exWelcome h2 { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 6px; font-size: 22px; }
.exWelcome p { color: var(--muted); max-width: 560px; margin: 0 auto 18px; }
.cpStats { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.cpStats.five { grid-template-columns: repeat(5, 1fr); }

/* ---------------- r10 fiyat listesi */
.pricing > ul { margin: 0; padding: 0; list-style: none; }
.pricing > ul > li { position: relative; display: grid; grid-template-columns: 22% 1fr 210px; margin: 0 10px 20px; background: var(--panel); border-radius: 2px; transition: box-shadow .2s; }
.pricing > ul > li::before, .pricing > ul > li::after { content: ""; position: absolute; top: 0; width: 10px; height: 100%; transition: all .2s ease-in-out; }
.pricing > ul > li::before { left: -10px; border-radius: 2px 0 0 2px; background: var(--pkg, #26a91d); }
.pricing > ul > li::after { right: -10px; background: var(--panel); border-radius: 0 2px 2px 0; }
.pricing > ul > li:hover { box-shadow: 0 0 24px 0 rgba(63, 66, 87, .2); }
.pricing > ul > li:hover::before { left: -16px; }
.pricing > ul > li:hover::after { right: -16px; }
.pricing .name { position: relative; display: flex; align-items: center; justify-content: center; padding: 25px 15px; overflow: hidden; background: var(--pkg, #26a91d); color: #fff; font-size: 22px; font-weight: 800; text-align: center; line-height: 1.2; }
.pricing .name span { position: relative; z-index: 1; }
.pricing .name .pFox { position: absolute; right: -25px; bottom: -30px; width: 120px; height: 120px; opacity: .2; filter: grayscale(1) brightness(3); transform: rotate(-12deg); }
.pricing .features { position: relative; padding: 18px 110px 18px 35px; }
.pricing .features::after { content: ""; position: absolute; top: 50%; left: -1px; transform: translateY(-50%); border-style: solid; border-width: 22px 0 22px 18px; border-color: transparent transparent transparent var(--pkg, #26a91d); }
.pricing .features ul { margin: 0; padding: 0; list-style: none; }
.pricing .features li { display: flex; align-items: flex-start; gap: 8px; padding: 3px 0; font-size: 13.5px; }
.pricing .features li i { color: var(--pkg, #26a91d); font-size: 16px; line-height: 1.3; }
.pricing .features .pkgBadge.rank { position: absolute; top: 15px; right: 15px; }
.pricing .buy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 18px; border-left: 1px solid var(--line); text-align: center; }
.pricing .buy b { font-size: 24px; color: var(--text-strong); line-height: 1.1; }
.pricing .buy small { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.pricing .buy form { margin-top: 8px; }
.pricing .buyBtn { min-width: 130px; height: 36px; padding: 0 18px; border: 0; border-radius: 2px; background: var(--pkg, #26a91d); color: #fff; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: filter .2s; }
.pricing .buyBtn:hover { filter: brightness(1.12); }
.pkg-silver { --pkg: #26a91d; }
.pkg-gold { --pkg: #1a7bc1; }
.pkg-platin { --pkg: #c89b0e; }
.pkg-maxi { --pkg: #494c62; }
.pkg-ultra { --pkg: #2d3a58; }
.pkg-sponsor { --pkg: #ff5e3a; }
.pkg-nickchange { --pkg: #3f4257; }
.pkg-featured { --pkg: #ee0743; }
.pkg-notificationad { --pkg: #38a9ff; }
.pricing li.silver { --pkg: #26a91d; }
.pricing li.gold { --pkg: #1a7bc1; }
.pricing li.platin { --pkg: #c89b0e; }
.pricing li.maxi { --pkg: #494c62; }
.pricing li.ultra { --pkg: #2d3a58; }
.pricing li.sponsor { --pkg: #ff5e3a; }
.pricing li.nickchange { --pkg: #3f4257; }
.pricing li.featured { --pkg: #ee0743; }
.pricing li.notificationad { --pkg: #38a9ff; }

/* ---------------- Paket rozeti */
.pkgBadge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; margin-left: 6px; border-radius: 11px; background: var(--pkg, #26a91d); color: #fff !important; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; vertical-align: middle; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.pkgBadge i { font-size: 12px; }
.postList .post .postUser .userLeft .smallInfo .rank { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.pkgDot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 100%; background: var(--pkg); }

/* ---------------- Durum etiketleri */
.statusTag { display: inline-block; padding: 1px 9px; border-radius: 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; background: var(--chip); color: var(--text); vertical-align: middle; text-transform: none; }
.statusTag.ok { background: rgba(43, 215, 104, .15); color: #14953f; }
.statusTag.warn { background: rgba(229, 161, 0, .16); color: #a77400; }
.statusTag.bad { background: rgba(238, 7, 67, .12); color: var(--red); }
.statusTag.muted { background: var(--chip); color: var(--muted); }
body.night .statusTag.ok { color: #42e07c; }
body.night .statusTag.warn { color: #f2bd3a; }
.rPanel > .head .statusTag.ok, .rPanel > .head .statusTag.bad { background: #fff; }
.slotState { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.slotState.full { background: #e8304f; color: #fff; }
.slotState.free { background: #22b85a; color: #fff; }
.robtn.ok:hover { background: #1fbf57; }

/* ---------------- Reklam alanları (sitede) */
.adRow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 25px; }
.adRow.cols-1 { grid-template-columns: minmax(0, 728px); justify-content: center; }
.adRow .adCell { min-width: 0; display: flex; justify-content: center; }
.adRow.adTop { margin-bottom: 25px; }
.adRow.adInList { margin: 0; padding: 15px; background: var(--panel); border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 750fr) minmax(0, 285fr); }
.adRow.adInList.cols-1 { grid-template-columns: minmax(0, 750px); }
.adRow.adInList .kfAd { max-width: none; }
.postList > ul > li.adItem { margin-bottom: 25px; }
.postList > ul > li.adItem .adRow { margin-bottom: 0; }
.kfAd { position: relative; display: block; width: 100%; max-width: 728px; aspect-ratio: var(--ad-ratio, 728 / 90); border-radius: 2px; overflow: hidden; }
.kfAd.banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kfAd.placeholder { display: flex; align-items: center; gap: 14px; padding: 0 18px; background: linear-gradient(110deg, #ffb21f 0%, #ff8a1f 55%, #ff6a1f 100%); color: #fff; }
.adRow .adCell:nth-child(2) .kfAd.placeholder { background: linear-gradient(110deg, #565a74 0%, #3f4257 60%, #35374a 100%); }
.kfAd.placeholder .adFox { width: 54px; height: 54px; flex-shrink: 0; background: #fff; border-radius: 100%; padding: 6px; }
.kfAd.placeholder .adTxt { flex: 1; min-width: 0; text-align: center; line-height: 1.15; }
.kfAd.placeholder .adTxt small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kfAd.placeholder .adTxt b { display: block; font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.kfAd.placeholder em { flex-shrink: 0; padding: 7px 14px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); border-radius: 2px; font-style: normal; font-size: 12px; font-weight: 700; }
.kfAd.placeholder:hover { color: #fff; filter: brightness(1.06); }
.kfAd.placeholder.small { flex-direction: column; justify-content: center; gap: 3px; padding: 8px; text-align: center; }
.kfAd.placeholder.small .adFox { width: 30px; height: 30px; padding: 3px; }
.kfAd.placeholder.small .adTxt small { display: none; }
.kfAd.placeholder.small .adTxt b { font-size: 15px; }
.kfAd.placeholder.small em { padding: 3px 8px; font-size: 10px; }
.kfAd.textAd { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 10px 18px; background: var(--panel); border: 1px dashed var(--muted); color: var(--text); }
.kfAd.textAd b { font-size: 16px; color: var(--blue); }
.kfAd.textAd span { font-size: 13px; color: var(--muted); }
.kfAd .adLabel { position: absolute; top: 6px; right: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted) !important; }
.threadList .thread.sponsored { background: linear-gradient(90deg, rgba(255, 94, 58, .1), transparent 70%), var(--panel); }
.threadList .thread.sponsored ol li:nth-child(2) { width: 90px; }
.threadList .thread.sponsored .spLabel { display: inline-block; padding: 1px 8px; border-radius: 2px; background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.threadList .thread.sponsored .title a span { color: var(--orange); font-weight: 600; }
.threadList .thread.sponsored .user { color: var(--muted); }

/* ---------------- Yönetim bileşenleri */
.adminPanel .cpMenu a { padding: 9px 18px; }
.adminPanel .adminCards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1300px) { .adminPanel .adminCards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.maintBanner { margin-bottom: 20px; }
.adminCards .card { color: #fff !important; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.adminCards .card.red { background: linear-gradient(135deg, #ff2d63, #c4002f); }
.adminCards .card.yellow { background: linear-gradient(135deg, #f2b33c, #d88a00); }
.barChart { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 14px; }
.barChart .bcol { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; min-width: 0; }
.barChart .bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-bottom: 1px solid var(--line); }
.barChart .bar { position: relative; width: 42%; min-height: 2px; border-radius: 2px 2px 0 0; font-size: 0; }
.barChart .bar.posts { background: var(--blue); }
.barChart .bar.users { background: var(--orange); }
.barChart .bcol:hover .bar { filter: brightness(1.15); }
.barChart small { margin-top: 5px; font-size: 10px; color: var(--muted); white-space: nowrap; }
.chartLegend { display: flex; gap: 18px; justify-content: center; margin-top: 12px; font-size: 12px; color: var(--muted); }
.chartLegend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; }
.chartLegend .posts::before { background: var(--blue); }
.chartLegend .users::before { background: var(--orange); }
.panelLinks { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 15px; border-top: 1px solid var(--line); }
.panelLinks a { padding: 5px 12px; background: var(--chip); border-radius: 2px; font-size: 12.5px; font-weight: 600; }
.panelLinks a:hover { background: var(--blue); color: #fff; }
.filterChips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 15px; }
.filterChips a { padding: 6px 14px; border-radius: 16px; background: var(--chip); font-size: 13px; font-weight: 600; }
.filterChips a b { margin-left: 4px; padding: 0 7px; border-radius: 10px; background: rgba(0, 0, 0, .08); font-size: 11px; }
.filterChips a.active, .filterChips a:hover { background: var(--blue); color: #fff; }
.filterChips .inlineForm { margin-left: auto; }
.searchForm { margin-bottom: 15px; }
.searchForm .form-control.small, .form-control.small { flex: 0 1 180px; min-width: 140px; width: auto; }
.searchForm.grow { flex: 1; margin-bottom: 0; }
.searchForm form.js-confirm { margin: 0; }
.tableWrap.flush { margin: 0; }
.adminTable th.chk, .adminTable td.chk { width: 36px; text-align: center; }
.adminTable td.ops { white-space: nowrap; }
.adminTable td.ops form { display: inline-block; margin: 0; }
.noteLine { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.adminTable tr.rowBanned td { background: rgba(238, 7, 67, .05); }
.adminTable tr.rowMuted td { opacity: .55; }
.adminTable tr.rowActive td { background: rgba(56, 169, 255, .08); }
.adminTable code, .pMeta code, .userHero code { padding: 1px 5px; background: var(--chip); border-radius: 2px; font-size: 11.5px; }
.userHero code { background: rgba(255, 255, 255, .12); color: #fff; }
.adminTable i.s { color: var(--purple); }
.bulkBar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 15px; background: var(--card); border: 1px solid var(--panel-border); border-radius: 2px; }
.bulkBar > span { font-weight: 600; font-size: 13px; }
.bulkBar .form-control { width: auto; height: 35px; }
.postAdminList { margin: 0; padding: 0; list-style: none; }
.postAdminList > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.postAdminList > li:last-child { border-bottom: 0; }
.postAdminList .pMeta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.postAdminList .pThread { display: inline-block; margin: 6px 0 2px; font-weight: 700; }
.postAdminList p { margin: 4px 0 10px; font-size: 13.5px; color: var(--text); }
.postAdminList .ops form { display: inline-block; margin: 0; }
.reportItem .reportFlag { color: var(--red); font-size: 16px; }
.muted.small { font-size: 12px; }
.userHero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; padding: 20px; border-radius: 2px; background: linear-gradient(135deg, #26283b, #3f4257); color: #d9dae9; }
.userHero img { width: 90px; height: 90px; border-radius: 100%; border: 3px solid #fff; object-fit: cover; background: #fff; }
.userHero h2 { margin: 0 0 6px; color: #fff; font-size: 22px; }
.userHero h2 .username { color: #fff; }
.userHero p { margin: 0 0 10px; font-size: 13px; }
.heroLinks { display: flex; gap: 6px; flex-wrap: wrap; }
.dangerZone > .head { background: var(--red) !important; }
.orderGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 15px; }
.orderGrid > div { padding: 12px 15px; background: var(--card); border: 1px solid var(--panel-border); border-radius: 2px; }
.orderGrid span { display: block; font-size: 12px; color: var(--muted); }
.orderGrid b { font-size: 15px; }
.quoteBox { margin-bottom: 15px; padding: 12px 15px; background: var(--quote); border-left: 3px solid var(--purple); border-radius: 2px; font-size: 13.5px; }
.rPanel > .head .statusTag { margin-left: 8px; }
.rPanel > .head .headBtn { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 2px; background: var(--blue); color: #fff; font-size: 12px; text-transform: none; }
.rPanel > .head .headBtn:hover { background: var(--blue-dark); color: #fff; }
.groupTitle { scroll-margin-top: 15px; }
.stickyActions { position: sticky; bottom: 0; margin: 15px -20px -20px; padding: 12px 20px; background: var(--panel); border-top: 1px solid var(--line); z-index: 5; }
.groupTitle i { color: var(--orange); }
.adCellInfo { display: flex; align-items: center; gap: 10px; }
.adThumb { width: 90px; height: 34px; object-fit: cover; border-radius: 2px; border: 1px solid var(--line); background: var(--card); }
.adPreviewBox { display: flex; align-items: center; gap: 12px; margin-top: 5px; font-size: 13px; color: var(--muted); }
.adPreviewBox img { max-width: 360px; max-height: 90px; border-radius: 2px; border: 1px solid var(--line); }
.inlineSmall { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.radioList { display: flex; flex-direction: column; gap: 4px; }
.narrowPanel { max-width: 720px; margin: 0 auto 25px; }
.reportPreview { margin-bottom: 18px; padding: 12px 15px; background: var(--card); border: 1px solid var(--panel-border); border-left: 3px solid var(--orange); border-radius: 2px; font-size: 13.5px; }
.reportPreview p { margin: 6px 0 0; color: var(--muted); }
.toolCard .content { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.toolCard .content p { margin: 0; }
.maintOn > .head { background: var(--red); }

/* ---------------- Bakım sayfası */
.maintenancePage { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; background: linear-gradient(135deg, #26283b, #3f4257); }
.maintenanceBox { max-width: 520px; padding: 40px 30px; background: #fff; border-radius: 4px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.maintenanceBox .maintFox { width: 90px; height: 90px; }
.maintenanceBox h1 { margin: 12px 0 8px; color: #3f4257; }
.maintenanceBox p { color: #515365; margin: 0 0 22px; }

/* ---------------- Duyarlı */
@media (max-width: 1100px) {
    .controlPanel { grid-template-columns: 1fr; }
    .controlPanel .cpLeft { position: static; }
    .controlPanel .cpMenu { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; }
    .controlPanel .cpGroup { display: contents; }
    .controlPanel .cpGroupTitle { display: none; }
    .controlPanel .cpMenu a { flex: 1 1 auto; border-left: 0; border-radius: 2px; background: #3f4257; padding: 8px 12px; }
    .controlPanel .cpMenu a.active { background: var(--orange); }
    .controlPanel .cpMenu a.active i { color: #fff; }
    .cpHelp { display: none; }
    .pricing > ul > li { grid-template-columns: 1fr; }
    .pricing .features { padding: 18px 20px; }
    .pricing .features::after { display: none; }
    .pricing .features .pkgBadge.rank { position: static; margin: 10px 0 0; }
    .pricing .buy { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
    .pricing .buy form { margin: 0; }
    .orderGrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
    .adRow { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
    .adRow .adCell:nth-child(2) { display: none; }
    .kfAd.placeholder .adTxt b { font-size: 16px; }
    .kfAd.placeholder .adFox { width: 38px; height: 38px; }
    .kfAd.placeholder em { display: none; }
    .cpStats, .cpStats.five { grid-template-columns: 1fr 1fr; }
    .bulkBar .form-control { flex: 1 1 140px; }
    .threadList .thread.sponsored ol li:nth-child(1) { display: none; }
    .threadList .thread.sponsored ol li:nth-child(2) { display: table-cell; width: 80px; text-align: center; }
}
@media (max-width: 600px) {
    .controlPanel .cpMenu a { flex: 1 1 calc(50% - 4px); font-size: 12.5px; }
    .orderGrid { grid-template-columns: 1fr; }
    .barChart { gap: 2px; }
    .barChart small { font-size: 8px; }
    .pricing > ul > li { margin: 0 0 20px; }
    .pricing > ul > li::before, .pricing > ul > li::after { display: none; }
}

/* ---------------- Site ayarları (sekmeli düzen) */
.settingsPanel { overflow: visible; }
.settingsBody { display: grid; grid-template-columns: 240px 1fr; min-height: 420px; }
.setNav { display: flex; flex-direction: column; padding: 12px 0; background: var(--card); border-right: 1px solid var(--panel-border); }
.setNav a { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-left: 3px solid transparent; color: var(--text); transition: background .15s, color .15s; }
.setNav a i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 6px; background: var(--chip); color: var(--muted); font-size: 17px; transition: background .15s, color .15s; }
.setNav a span { display: flex; flex-direction: column; min-width: 0; }
.setNav a b { font-size: 13px; font-weight: 600; line-height: 1.3; }
.setNav a small { font-size: 11.5px; color: var(--muted); }
.setNav a:hover { background: var(--hover); color: var(--blue); }
.setNav a.active { border-left-color: var(--orange); background: var(--panel); color: var(--blue); }
.setNav a.active i { background: var(--orange); color: #fff; }
.setPanes { min-width: 0; padding: 20px 25px 10px; }
.setPane { display: none; }
.setPane.active { display: block; animation: kfFade .2s ease; }
@keyframes kfFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.setPaneHead { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 2px solid var(--line); }
.setPaneHead > i { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; font-size: 22px; }
.setPaneHead h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--text-strong); }
.setPaneHead p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.setRow { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 10px 30px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.setRow:last-child { border-bottom: 0; }
.setRow.tall { align-items: start; }
.setLabel label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-strong); cursor: pointer; }
.setLabel small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.setControl { min-width: 0; max-width: 720px; }
.setControl .form-control { margin: 0; }
.setActions { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 15px; padding: 12px 20px; background: var(--panel); border-top: 1px solid var(--panel-border); box-shadow: 0 -4px 12px rgba(0, 0, 0, .06); }
.setActions .hint { display: flex; align-items: center; gap: 6px; margin-right: auto; font-size: 12.5px; color: var(--muted); }

/* Açık / kapalı anahtarı */
.kfSwitch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.kfSwitch input { position: absolute; opacity: 0; width: 0; height: 0; }
.kfSwitch i { position: relative; width: 44px; height: 24px; border-radius: 12px; background: var(--input-border); transition: background .2s; }
.kfSwitch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 100%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.kfSwitch input:checked + i { background: #1fbf57; }
.kfSwitch input:checked + i::after { transform: translateX(20px); }
.kfSwitch input:focus-visible + i { outline: 2px solid var(--blue); outline-offset: 2px; }
.kfSwitch span { font-size: 13px; font-weight: 600; }
.kfSwitch .on { display: none; color: #1fbf57; }
.kfSwitch .off { color: var(--muted); }
.kfSwitch input:checked ~ .on { display: inline; }
.kfSwitch input:checked ~ .off { display: none; }

/* Öne çıkan forum seçici */
.forumPick { border: 1px solid var(--input-border); border-radius: 2px; background: var(--input-bg); }
.forumPickHead { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid var(--input-border); font-size: 12.5px; color: var(--muted); }
.forumPickHead b { color: var(--blue); }
.forumPick.full .forumPickHead b { color: var(--orange); }
.forumPickBody { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 20px; max-height: 340px; overflow-y: auto; padding: 12px; }
.forumPickCat > b { display: block; margin-bottom: 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--text-strong); }
.forumPickCat .checkbox { display: flex; margin: 3px 0; font-size: 13px; }
.forumPickCat .checkbox.sub { padding-left: 16px; font-size: 12.5px; color: var(--muted); }
.forumPick.full .checkbox:has(input:not(:checked)) { opacity: .45; cursor: not-allowed; }

@media (max-width: 1100px) {
    .settingsBody { grid-template-columns: 1fr; }
    .setNav { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--panel-border); }
    .setNav a { flex: 1 1 auto; padding: 8px 10px; border-left: 0; border-radius: 4px; }
    .setNav a small { display: none; }
    .setNav a i { width: 28px; height: 28px; font-size: 15px; }
    .setNav a.active { background: var(--orange); color: #fff; }
    .setNav a.active i { background: rgba(255, 255, 255, .2); }
}
@media (max-width: 760px) {
    .setPanes { padding: 15px; }
    .setRow { grid-template-columns: 1fr; gap: 8px; }
    .setActions .hint { display: none; }
}
