/* ---------- Yönetim paneli ---------- */
.yn-app svg, .yn-mpmodal svg, .yn-udmodal svg { width: 16px; height: 16px; flex: none; }
.yn-app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - var(--hdr)); background:
  radial-gradient(900px 500px at 100% -10%, rgba(200,29,51,.08), transparent 60%), radial-gradient(700px 500px at 0 110%, rgba(217,178,111,.05), transparent 60%), var(--bg); }

/* sol menü */
.yn-nav { position: sticky; top: var(--hdr); align-self: start; height: calc(100vh - var(--hdr)); display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; overflow-y: auto;
  background: linear-gradient(180deg, #120f10, #0a0909); border-right: 1px solid rgba(217,178,111,.14); }
.yn-brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 20px; margin-bottom: 8px; border-bottom: 1px solid rgba(217,178,111,.1); }
.yn-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ember2), 0 0 18px rgba(200,29,51,.45); }
.yn-brand small { display: block; font: 700 10.5px var(--f-head); letter-spacing: .28em; text-transform: uppercase; color: var(--ember); }
.yn-brand b { font: 700 16px var(--f-display); color: #f3e2bb; }
.yn-nav nav { display: grid; gap: 2px; }
.yn-link { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 12px; color: #b4a892; font: 600 15px var(--f-head); letter-spacing: .04em; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.yn-link:hover { color: #f3e2bb; background: rgba(217,178,111,.05); }
.yn-link.on { color: #fff1d6; background: linear-gradient(90deg, rgba(200,29,51,.22), rgba(200,29,51,0)); border-color: rgba(200,29,51,.3); }
.yn-link.on::before { content: ''; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 3px; background: var(--ember); box-shadow: 0 0 12px var(--ember); }
.yn-link.on svg { color: var(--ember2); }
.yn-link span { flex: 1; }
.yn-link em { font-style: normal; font: 700 11px var(--f-head); color: #1a1310; background: var(--ember2); padding: 1px 7px; border-radius: 10px; }
.yn-link em:empty { display: none; }
.yn-out { margin-top: auto; color: #7d7262; }

/* ana alan */
.yn-main { padding: 30px 36px 70px; min-width: 0; }
.yn-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(217,178,111,.12); }
.yn-top small { font: 700 11px var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: var(--ember); }
.yn-top h1 { margin: 4px 0 6px; font: 800 clamp(26px, 3vw, 36px)/1.1 var(--f-display); background: linear-gradient(180deg, #fff3d6, #d9b26f 70%, #a3824a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yn-top p { margin: 0; color: #9b8f7c; font-size: 15px; }
.yn-top p a { color: var(--ember2); }
.yn-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.yn-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; cursor: pointer; font: 700 13.5px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: #fff4dc;
  background: linear-gradient(180deg, #c8293c, #8e1524); border: 1px solid #e05a62; box-shadow: 0 6px 20px rgba(200,29,51,.25), inset 0 1px 0 rgba(255,255,255,.18); transition: filter .2s, transform .15s; }
.yn-btn:hover { filter: brightness(1.15); transform: translateY(-1px); color: #fff; }
.yn-btn.ghost { background: rgba(217,178,111,.06); border-color: rgba(217,178,111,.32); color: #e9d6ac; box-shadow: none; }
.yn-btn.ghost:hover { background: rgba(217,178,111,.12); border-color: rgba(243,220,170,.6); }
.yn-btn.danger { background: rgba(200,29,51,.12); border-color: rgba(255,107,107,.5); color: #ffb0a6; box-shadow: none; }
.yn-btn.sm { padding: 7px 12px; font-size: 12px; }
.yn-btn[hidden] { display: none; }

.yn-chip { display: inline-flex; align-items: center; padding: 3px 9px; font: 700 10.5px var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #c8b998; background: rgba(217,178,111,.08); border: 1px solid rgba(217,178,111,.22); white-space: nowrap; }
.yn-chip.live { color: #a8f0bd; background: rgba(60,160,90,.12); border-color: rgba(95,211,122,.4); }
.yn-chip.draft { color: #ffd88a; background: rgba(230,170,50,.12); border-color: rgba(240,190,90,.45); }
.yn-chip.ban { color: #ffaaa0; background: rgba(200,29,51,.14); border-color: rgba(255,107,107,.5); }
.yn-empty { color: #7d7262; font-size: 14px; padding: 10px 0; }
.yn-note { color: #8e826f; font-size: 13.5px; line-height: 1.6; margin: 12px 0 0; }
.dim { color: var(--dim); }

/* kartlar */
.yn-card { position: relative; padding: 20px 22px; background: linear-gradient(180deg, rgba(24,20,21,.92), rgba(11,10,11,.95)); border: 1px solid rgba(217,178,111,.14); }
.yn-card::before { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 2px; background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.yn-card h2 { margin: 0 0 14px; font: 700 13px var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: var(--ember2); }
.yn-grid2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.yn-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.yn-system .yn-grid2, .yn-grid2.eq { grid-template-columns: 1fr 1fr; }

.yn-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.yn-stat { position: relative; display: flex; gap: 16px; align-items: center; padding: 20px; overflow: hidden; color: inherit; background: linear-gradient(135deg, rgba(40,22,24,.9), rgba(12,10,11,.95));
  border: 1px solid rgba(217,178,111,.16); transition: border-color .25s, transform .25s, box-shadow .25s; }
.yn-stat::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(200,29,51,.22), transparent 70%); }
.yn-stat:hover { border-color: rgba(243,220,170,.45); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.yn-stat > span { width: 48px; height: 48px; display: grid; place-items: center; flex: none; color: var(--ember2); background: rgba(200,29,51,.14); border: 1px solid rgba(200,29,51,.35); transform: rotate(45deg); }
.yn-stat > span svg { transform: rotate(-45deg); width: 20px; height: 20px; }
.yn-stat small { display: block; font: 700 11px var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: #9b8f7c; }
.yn-stat b { display: block; font: 800 32px/1.1 var(--f-display); color: #fff1d6; }
.yn-stat em { font-style: normal; font-size: 12.5px; color: #8b806e; }

.yn-chart { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-bottom: 20px; }
.yn-day { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 2px; }
.yn-day i { flex: 1; min-height: 2px; transition: height .6s cubic-bezier(.2,.8,.2,1); }
.yn-day i.p { background: linear-gradient(180deg, #e2bd78, rgba(226,189,120,.25)); }
.yn-day i.u { background: linear-gradient(180deg, #ff5a6c, rgba(200,29,51,.3)); box-shadow: 0 0 10px rgba(200,29,51,.35); }
.yn-day small { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font: 600 10.5px var(--f-head); color: #6f6656; }
.yn-day:hover i { filter: brightness(1.3); }
.yn-legend { display: flex; gap: 18px; align-items: center; margin: 10px 0 0; font-size: 13px; color: #9b8f7c; }
.yn-legend i { display: inline-block; width: 10px; height: 10px; margin-right: -10px; }
.yn-legend i.u { background: #ff5a6c; } .yn-legend i.p { background: #e2bd78; }

.yn-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.yn-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; color: inherit; border: 1px solid transparent; }
.yn-list a:hover { background: rgba(217,178,111,.05); border-color: rgba(217,178,111,.14); }
.yn-list img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.yn-list b { flex: 1; min-width: 0; font-weight: 600; color: #ece0c8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yn-list small { color: #7d7262; font-size: 12.5px; white-space: nowrap; }

.yn-sysrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.yn-sysbox { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: rgba(0,0,0,.25); border: 1px solid rgba(217,178,111,.1); margin-bottom: 8px; }
.yn-sysbox i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #5fd37a; box-shadow: 0 0 10px #5fd37a; }
.yn-sysbox.bad i { background: #ff6b6b; box-shadow: 0 0 10px #ff6b6b; }
.yn-sysbox small { display: block; font: 700 10.5px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #8b806e; }
.yn-sysbox b { font-weight: 600; color: #ece0c8; font-size: 14px; }
.yn-kv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.yn-kv li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(217,178,111,.12); color: #a99d88; }
.yn-kv b { color: #f3e2bb; font-family: var(--f-display); }

/* araç satırı (arama, filtre) */
.yn-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.yn-search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 380px; }
.yn-search svg { position: absolute; left: 12px; color: #7d7262; }
.yn-search input, .yn-tools select, .yn-f input, .yn-f select, .yn-table select { width: 100%; padding: 10px 12px; font: 500 15px var(--f-body); color: var(--text); background: rgba(0,0,0,.35);
  border: 1px solid rgba(217,178,111,.2); outline: none; transition: border-color .2s, box-shadow .2s; }
.yn-search input { padding-left: 38px; }
.yn-tools select { width: auto; }
.yn-search input:focus, .yn-tools select:focus, .yn-f input:focus, .yn-f select:focus { border-color: rgba(243,220,170,.55); box-shadow: 0 0 0 3px rgba(200,29,51,.15); }
.yn-seg { display: inline-flex; border: 1px solid rgba(217,178,111,.22); background: rgba(0,0,0,.3); }
.yn-seg button { padding: 9px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--f-head); letter-spacing: .06em; color: #a99d88; background: none; border: 0; border-right: 1px solid rgba(217,178,111,.14); }
.yn-seg button:last-child { border-right: 0; }
.yn-seg button:hover { color: #f3e2bb; }
.yn-seg button.on { color: #fff1d6; background: linear-gradient(180deg, rgba(200,29,51,.4), rgba(200,29,51,.18)); }
.yn-seg.sm button { padding: 6px 10px; font-size: 12px; }
.yn-total { margin-left: auto; color: #8b806e; font-size: 13.5px; }

.yn-tg { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #c8b998; user-select: none; }
.yn-tg input { position: absolute; opacity: 0; pointer-events: none; }
.yn-tg i { position: relative; width: 36px; height: 20px; flex: none; background: rgba(0,0,0,.45); border: 1px solid rgba(217,178,111,.3); border-radius: 12px; transition: background .2s, border-color .2s; }
.yn-tg i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #8b806e; transition: transform .2s, background .2s; }
.yn-tg input:checked + i { background: rgba(200,29,51,.5); border-color: #e05a62; }
.yn-tg input:checked + i::after { transform: translateX(16px); background: #fff1d6; box-shadow: 0 0 8px rgba(255,200,180,.8); }
.yn-tg input:disabled + i { opacity: .35; }
.yn-tg input:focus-visible + i { box-shadow: 0 0 0 3px rgba(200,29,51,.3); }

/* içerik kartları (duyuru / yama) */
.yn-cards { display: grid; gap: 10px; }
.yn-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 10px; background: linear-gradient(180deg, rgba(22,18,19,.9), rgba(11,10,11,.92)); border: 1px solid rgba(217,178,111,.12); transition: border-color .2s; }
.yn-item:hover { border-color: rgba(217,178,111,.35); }
.yn-item[hidden] { display: none; }
.yn-thumb { position: relative; height: 84px; background: center / cover; border: 1px solid rgba(217,178,111,.18); }
.yn-pin { position: absolute; left: 6px; top: 6px; display: grid; place-items: center; width: 26px; height: 26px; color: #1a1310; background: var(--ember2); }
.yn-pin svg { width: 14px; height: 14px; }
.yn-ver { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; font: 800 14px var(--f-display); color: #fff1d6; background: rgba(0,0,0,.7); border: 1px solid rgba(217,178,111,.4); }
.yn-ib { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.yn-ib > .yn-chip + .yn-chip { margin-left: 6px; }
.yn-ib { grid-template-columns: auto auto 1fr; }
.yn-ib h3, .yn-ib small { grid-column: 1 / -1; }
.yn-ib h3 { margin: 4px 0 0; font: 700 18px/1.3 var(--f-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.yn-ib h3 a { color: #f3e2bb; }
.yn-ib h3 a:hover { color: #fff; }
.yn-ib small { color: #7d7262; font-size: 13px; }
.yn-iact { display: flex; gap: 6px; padding-right: 6px; }
.yn-ibtn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; cursor: pointer; color: #b4a892; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.2); transition: color .2s, border-color .2s; }
.yn-ibtn:hover { color: #fff1d6; border-color: rgba(243,220,170,.55); }
.yn-ibtn.danger:hover { color: #ff7a6b; border-color: #ff7a6b; }

/* tablo */
.yn-tablewrap { overflow-x: auto; border: 1px solid rgba(217,178,111,.14); background: rgba(10,9,10,.85); }
.yn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.yn-table th { position: sticky; top: 0; text-align: left; padding: 12px 14px; font: 700 11px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #9b8f7c; background: #141011; border-bottom: 1px solid rgba(217,178,111,.18); white-space: nowrap; }
.yn-table td { padding: 10px 14px; border-bottom: 1px solid rgba(217,178,111,.07); white-space: nowrap; }
.yn-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.yn-table tbody tr[data-uid] { cursor: pointer; }
.yn-table tbody tr:hover td { background: rgba(217,178,111,.04); }
.yn-table tr.banned td { opacity: .6; }
.yn-table select { width: auto; padding: 6px 8px; font-size: 13.5px; }
.yn-table td.yn-empty, .yn-table td .loading-row { text-align: center; }
.yn-user { display: flex; align-items: center; gap: 10px; }
.yn-user img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(217,178,111,.4); }
.yn-user b { display: block; color: #f3e2bb; font-weight: 600; }
.yn-user a b:hover { color: #fff; }
.yn-user small { color: #7d7262; font-size: 12px; }

/* ----- editör ----- */
.yn-restore { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; color: #ffe2a6; background: rgba(230,170,50,.1); border: 1px solid rgba(240,190,90,.35); }
.yn-restore span { flex: 1; font-size: 14px; }
.yn-ed { display: grid; gap: 16px; }
.yn-fields { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 14px 16px; align-items: start; }
.yn-f { display: grid; gap: 6px; }
.yn-f > span { display: flex; justify-content: space-between; font: 700 11px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #9b8f7c; }
.yn-f > span em { font-style: normal; letter-spacing: .04em; color: #6f6656; }
.yn-f > span em.over { color: #ffb36b; }
.yn-f.full { grid-column: 1 / 3; }
.yn-f.cover { grid-column: 3; grid-row: 1 / span 2; }
.yn-cover { display: grid; gap: 8px; }
.yn-cimg { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: rgba(0,0,0,.35); border: 1px dashed rgba(217,178,111,.3); color: #6f6656; font-size: 13px; }
.yn-cimg img { width: 100%; height: 100%; object-fit: cover; }
.yn-cimg span { display: inline-flex; gap: 8px; align-items: center; }
.yn-cbtns { display: flex; gap: 8px; }

.yn-tb { position: sticky; top: calc(var(--hdr) + 6px); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px; background: rgba(18,15,16,.96); border: 1px solid rgba(217,178,111,.2); box-shadow: 0 10px 30px rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.yn-tb button { min-width: 34px; height: 34px; display: grid; place-items: center; padding: 0 6px; cursor: pointer; font: 600 15px var(--f-body); color: #d6c8ad; background: rgba(0,0,0,.3); border: 1px solid transparent; transition: color .15s, border-color .15s, background .15s; }
.yn-tb button:hover { color: #fff1d6; border-color: rgba(217,178,111,.35); background: rgba(217,178,111,.08); }
.yn-tb button mark { background: rgba(226,189,120,.4); color: inherit; padding: 0 3px; }
.yn-tb select { height: 34px; padding: 0 8px; font: 600 13px var(--f-head); letter-spacing: .04em; color: #d6c8ad; background: rgba(0,0,0,.35); border: 1px solid rgba(217,178,111,.2); cursor: pointer; }
.yn-sep { width: 1px; height: 22px; margin: 0 4px; background: rgba(217,178,111,.18); }
.yn-colors { display: flex; gap: 4px; padding: 0 2px; }
.yn-colors button { min-width: 0; width: 20px; height: 20px; padding: 0; border-radius: 50%; background: var(--c) !important; border: 2px solid rgba(0,0,0,.6) !important; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.yn-colors button:hover { transform: scale(1.18); box-shadow: 0 0 10px var(--c); }
.yn-tb .bx { font: 800 14px var(--f-display); }
.yn-tb .bx.warn { color: #ffb36b; } .yn-tb .bx.info { color: #7fb4ff; } .yn-tb .bx.tip { color: #6fe39a; }
.yn-tb-r { margin-left: auto; }
.yn-tb-r .yn-seg button { height: auto; min-width: 0; border: 0; border-right: 1px solid rgba(217,178,111,.14); }

.yn-panes { display: grid; gap: 16px; align-items: start; }
.yn-panes.m-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.yn-panes.m-edit .yn-prev, .yn-panes.m-preview .yn-write { display: none; }
.yn-write { display: grid; background: rgba(0,0,0,.35); border: 1px solid rgba(217,178,111,.2); }
.yn-write:focus-within { border-color: rgba(243,220,170,.45); }
.yn-write textarea { min-height: 420px; resize: none; overflow: hidden; padding: 18px 20px; font: 400 15.5px/1.75 ui-monospace, 'SF Mono', Menlo, monospace; color: #e8dcc6; background: transparent; border: 0; outline: none; tab-size: 2; }
.yn-wfoot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px; font-size: 12.5px; color: #6f6656; border-top: 1px solid rgba(217,178,111,.1); }
.yn-prev { position: sticky; top: calc(var(--hdr) + 66px); max-height: calc(100vh - var(--hdr) - 90px); display: flex; flex-direction: column; background: #0b0a0c; border: 1px solid rgba(217,178,111,.2); }
.yn-panes.m-preview .yn-prev { position: static; max-height: none; }
.yn-prevbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; font: 700 11px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #8b806e; border-bottom: 1px solid rgba(217,178,111,.12); background: #120f10; }
.yn-frame { flex: 1; overflow-y: auto; padding: 0; transition: max-width .35s; width: 100%; margin: 0 auto; }
.yn-frame.mobile { max-width: 390px; border-left: 1px solid rgba(217,178,111,.15); border-right: 1px solid rgba(217,178,111,.15); }
.yn-frame.mobile .article p { font-size: 16px; }
.yn-frame.mobile .yn-pv-hero h1 { font-size: 26px; }

.yn-pv-hero { position: relative; min-height: 240px; display: flex; align-items: flex-end; padding: 28px; background: center / cover; isolation: isolate; }
.yn-pv-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,10,12,.15), #0b0a0c 92%); }
.yn-pv-hero h1 { margin: 8px 0 6px; font: 800 clamp(24px, 2.6vw, 36px)/1.15 var(--f-display); color: #fff1d6; text-shadow: 0 4px 24px #000; }
.yn-pv-hero p { margin: 0 0 6px; color: #b6aa94; }
.yn-pv-hero small { color: #8b806e; }
.yn-pv-ver { padding: 2px 10px; margin-right: 6px; border: 1px solid rgba(217,178,111,.5); background: rgba(0,0,0,.5); color: var(--ember2); }
.yn-pv-art { padding: 10px 28px 40px; max-width: none; }
.yn-pv-patch { padding: 10px 24px 40px; display: grid; gap: 18px; }
.yn-pv-patch section { position: relative; background: linear-gradient(180deg, rgba(26,22,25,.85), rgba(10,9,11,.92)); border: 1px solid var(--edge); }
.yn-pv-patch section::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, #e2bd78, transparent); }
.yn-pv-patch header { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--edge); }
.yn-pv-patch header span { font: 800 20px var(--f-display); color: var(--ember); }
.yn-pv-patch header h2 { flex: 1; margin: 0; font: 700 19px var(--f-display); color: var(--gold2); }
.yn-pv-patch header em { font-style: normal; font-size: 12.5px; color: #7d7262; }
.yn-pv-patch ul { margin: 0; padding: 12px 18px 16px 38px; }
.yn-pv-patch li { margin: 6px 0; line-height: 1.6; }
.yn-pv-patch li::marker { color: var(--ember); }
.yn-pv-patch .yn-empty { padding: 20px; }

.yn-foot { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 14px 16px; background: rgba(14,12,13,.97); border: 1px solid rgba(217,178,111,.2); box-shadow: 0 -10px 30px rgba(0,0,0,.5); }
.yn-err { color: #ff8f84; font-size: 14px; }
.yn-err:empty { display: none; }
.yn-fbtns { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }

.yn-fullmodal { width: min(1100px, 100%); padding: 0; }
.yn-fullprev { max-height: calc(90vh - 60px); overflow-y: auto; }
.yn-mform { display: grid; gap: 12px; padding: 16px 22px 22px; }

/* medya seçici + medya sayfası */
.yn-mpmodal { width: min(920px, 100%); }
.yn-mp { padding: 14px 22px 22px; display: grid; gap: 12px; }
.yn-mp-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.yn-mp-drop { position: relative; overflow: hidden; padding: 16px; text-align: center; font-size: 13.5px; color: #8b806e; border: 1px dashed rgba(217,178,111,.3); background: rgba(0,0,0,.25); transition: border-color .2s, background .2s; }
.yn-mp-drop.big { padding: 30px; margin-bottom: 18px; font-size: 14.5px; }
.yn-mp-drop.over { border-color: var(--ember2); background: rgba(200,29,51,.1); color: #f3e2bb; }
.yn-mp-drop i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--ember), var(--ember2)); transition: width .2s; }
.yn-mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 52vh; overflow-y: auto; }
.yn-mp-grid button { display: grid; gap: 4px; padding: 6px; text-align: left; cursor: pointer; color: inherit; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.14); transition: border-color .2s, transform .2s; }
.yn-mp-grid button:hover { border-color: var(--ember2); transform: translateY(-2px); }
.yn-mp-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.yn-mp-grid span { font-size: 12px; color: #c8b998; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yn-mp-grid small { font-size: 11px; color: #6f6656; }

.yn-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.yn-mitem { margin: 0; display: grid; background: linear-gradient(180deg, rgba(22,18,19,.9), rgba(11,10,11,.92)); border: 1px solid rgba(217,178,111,.14); transition: border-color .2s; }
.yn-mitem:hover { border-color: rgba(217,178,111,.4); }
.yn-mitem > a img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.yn-mitem figcaption { display: grid; gap: 5px; padding: 10px 12px 12px; }
.yn-mitem b { font-weight: 600; font-size: 13.5px; color: #ece0c8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yn-mitem small { font-size: 12px; color: #7d7262; }
.yn-mitem .used { color: #c8b998; }
.yn-mact { display: flex; gap: 6px; margin-top: 4px; }
.yn-mact button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; cursor: pointer; font: 600 12px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: #c8b998; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.2); }
.yn-mact button:hover { color: #fff1d6; border-color: rgba(243,220,170,.5); }
.yn-mact button.danger:hover { color: #ff7a6b; border-color: #ff7a6b; }

/* kullanıcı detayı */
.yn-udmodal { width: min(820px, 100%); padding: 0; }
.yn-ud { position: relative; }
.yn-ud-x { position: absolute; right: 10px; top: 10px; z-index: 2; width: 34px; height: 34px; cursor: pointer; font-size: 22px; color: #e9d6ac; background: rgba(0,0,0,.5); border: 1px solid rgba(217,178,111,.3); }
.yn-ud-head { position: relative; display: flex; align-items: flex-end; gap: 18px; padding: 70px 24px 20px; background: center 30% / cover; isolation: isolate; }
.yn-ud-head::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,10,12,.3), #151216 95%); }
.yn-ud-head img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--ember2), 0 0 24px rgba(200,29,51,.6); }
.yn-ud-head h3 { margin: 0; font: 800 26px var(--f-display); color: #fff1d6; }
.yn-ud-head small { display: block; color: #b6aa94; margin-bottom: 6px; }
.yn-ud-head span { display: inline-flex; gap: 6px; }
.yn-ud-bio { margin: 0; padding: 14px 24px 0; color: #b6aa94; font-style: italic; }
.yn-ud-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 16px 24px 0; }
.yn-ud-stats div { text-align: center; padding: 10px 6px; background: rgba(0,0,0,.3); border: 1px solid rgba(217,178,111,.12); }
.yn-ud-stats b { display: block; font: 800 22px var(--f-display); color: #f3e2bb; }
.yn-ud-stats small { font: 700 10.5px var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #8b806e; }
.yn-ud-meta { margin: 0; padding: 12px 24px 0; font-size: 13px; color: #7d7262; }
.yn-ud > .yn-note { padding: 0 24px; }
.yn-ud-acts { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 24px 0; }
.yn-pw { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; width: 100%; background: rgba(60,160,90,.1); border: 1px solid rgba(95,211,122,.4); font-size: 13.5px; color: #b9f0c6; }
.yn-pw code { padding: 4px 10px; font: 700 15px ui-monospace, Menlo, monospace; color: #fff; background: rgba(0,0,0,.45); letter-spacing: .06em; user-select: all; }
.yn-ud-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 24px 24px; }
.yn-ud-cols h4 { margin: 0 0 8px; font: 700 12px var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--ember2); }
.yn-ud-cols a { display: grid; gap: 2px; padding: 8px 10px; margin-bottom: 4px; color: inherit; background: rgba(0,0,0,.25); border: 1px solid rgba(217,178,111,.08); }
.yn-ud-cols a:hover { border-color: rgba(217,178,111,.35); }
.yn-ud-cols a b { font-weight: 600; color: #ece0c8; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yn-ud-cols a span { font-size: 13px; color: #a99d88; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.yn-ud-cols a small { font-size: 12px; color: #6f6656; }

/* ----- ekran boyutları ----- */
@media (max-width: 1400px) {
  .yn-fields { grid-template-columns: 200px minmax(0, 1fr) 240px; }
  .yn-sysrow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .yn-app { grid-template-columns: 76px minmax(0, 1fr); }
  .yn-nav { padding: 18px 10px; }
  .yn-brand { justify-content: center; padding: 0 0 16px; }
  .yn-brand div, .yn-link span { display: none; }
  .yn-link { justify-content: center; padding: 12px; }
  .yn-link em { position: absolute; right: 2px; top: 2px; }
  .yn-link svg { width: 20px; height: 20px; }
  .yn-stats { grid-template-columns: repeat(2, 1fr); }
  .yn-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yn-panes.m-split { grid-template-columns: 1fr; }
  .yn-panes.m-split .yn-prev { position: static; max-height: none; }
}
@media (max-width: 820px) {
  .yn-app { grid-template-columns: minmax(0, 1fr); }
  .yn-nav { position: sticky; top: var(--hdr); z-index: 20; height: auto; flex-direction: row; padding: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(217,178,111,.14); }
  .yn-nav { scrollbar-width: none; }
  .yn-nav::-webkit-scrollbar { display: none; }
  .yn-brand, .yn-out { display: none; }
  .yn-nav nav { display: flex; gap: 4px; }
  .yn-link { flex: none; padding: 10px 12px; }
  .yn-link.on::before { left: 6px; right: 6px; top: auto; bottom: -1px; width: auto; height: 3px; }
  .yn-main { padding: 22px 16px 60px; }
  .yn-grid2, .yn-grid3 { grid-template-columns: minmax(0, 1fr); }
  .yn-stat b { font-size: 26px; }
  .yn-fields { grid-template-columns: minmax(0, 1fr); }
  .yn-f.full, .yn-f.cover { grid-column: auto; grid-row: auto; }
  .yn-item { grid-template-columns: 96px minmax(0, 1fr); }
  .yn-thumb { height: 64px; }
  .yn-iact { grid-column: 1 / -1; justify-content: flex-end; padding: 0; }
  .yn-ib h3 { font-size: 16px; white-space: normal; }
  .yn-tb-r { margin-left: 0; width: 100%; }
  .yn-tb-r .yn-seg { width: 100%; }
  .yn-tb-r .yn-seg button { flex: 1; justify-content: center; }
  .yn-tb { position: static; }
  .yn-prev { position: static; max-height: none; }
  .yn-foot { position: static; }
  .yn-fbtns { margin-left: 0; width: 100%; }
  .yn-fbtns .yn-btn { flex: 1 1 auto; justify-content: center; }
  .yn-ud-stats { grid-template-columns: repeat(3, 1fr); }
  .yn-ud-cols { grid-template-columns: 1fr; }
  .yn-kv { grid-template-columns: 1fr; }
  .yn-total { margin-left: 0; }
  .yn-search { max-width: none; }
}
@media (max-width: 520px) {
  .yn-stats { grid-template-columns: 1fr; }
}

/* ---------- moderasyon ---------- */
.yn-modrule { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 18px; border: 1px solid rgba(200,29,51,.35); background: linear-gradient(90deg, rgba(200,29,51,.12), rgba(12,10,11,.9)); }
.yn-modrule > svg { width: 26px; height: 26px; flex: none; color: var(--ember2); }
.yn-modrule b { display: block; font: 700 12px var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: #f3e2bb; margin-bottom: 4px; }
.yn-modrule span { color: #a99d88; font-size: 14px; line-height: 1.7; }
.yn-modrule em { font-style: normal; display: inline-block; margin: 0 4px 0 0; padding: 0 7px; color: #ffd0c8; background: rgba(200,29,51,.18); border: 1px solid rgba(255,107,107,.35); font-size: 12.5px; }
.yn-stats.yn-stats3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yn-evs { display: grid; gap: 10px; }
.yn-ev { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; background: rgba(14,12,13,.9); border: 1px solid rgba(217,178,111,.14); }
.yn-ev.new { border-color: rgba(255,107,107,.45); box-shadow: inset 3px 0 0 var(--ember); }
.yn-ev-ic { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ember2); background: rgba(200,29,51,.12); border: 1px solid rgba(200,29,51,.3); }
.yn-ev.unban .yn-ev-ic { color: #a8f0bd; background: rgba(60,160,90,.1); border-color: rgba(95,211,122,.35); }
.yn-ev-ic svg { width: 20px; height: 20px; }
.yn-ev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yn-ev-top small { color: #7d7262; margin-left: auto; }
.yn-ev-top code, .yn-ip code { padding: 2px 7px; font-size: 12.5px; color: #c9d6ff; background: rgba(90,120,220,.1); border: 1px solid rgba(120,150,255,.25); }
.yn-ev-user { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #f3e2bb; }
.yn-ev-user img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.yn-ev-word { color: #ffb3a8; font-weight: 600; }
.yn-ev-main p { margin: 6px 0 0; color: #b9ad97; font-size: 14px; }
.yn-ev-main blockquote { margin: 8px 0 0; padding: 8px 12px; color: #d9a9a2; background: rgba(200,29,51,.07); border-left: 2px solid rgba(255,107,107,.5); font-size: 13.5px; word-break: break-word; }
.yn-ev-acts { display: flex; flex-direction: column; gap: 6px; }
.yn-ipform-row { display: grid; grid-template-columns: minmax(0, 1.2fr) 150px minmax(0, 1.6fr) auto; gap: 8px; }
.yn-ipform input, .yn-ipform select, .yn-wtest { height: 40px; padding: 0 12px; color: #f3e2bb; background: rgba(0,0,0,.35); border: 1px solid rgba(217,178,111,.25); font: inherit; }
.yn-ipform { margin-bottom: 18px; }
.yn-table tr.dim td { opacity: .5; }
.yn-words { width: 100%; min-height: 380px; padding: 12px; resize: vertical; color: #f3e2bb; background: rgba(0,0,0,.35); border: 1px solid rgba(217,178,111,.25); font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.yn-wordacts { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.yn-help { margin: 0; padding-left: 18px; color: #a99d88; font-size: 14px; line-height: 1.7; }
.yn-help li { margin-bottom: 8px; }
.yn-help code { padding: 1px 6px; color: #ffd88a; background: rgba(230,170,50,.1); }
.yn-h2gap { margin-top: 22px !important; }
.yn-wtest { width: 100%; }
.yn-wres { margin: 10px 0 0; padding: 10px 12px; color: #8b806e; border: 1px solid rgba(217,178,111,.14); }
.yn-wres.bad { color: #ffb3a8; border-color: rgba(255,107,107,.45); background: rgba(200,29,51,.1); }
.yn-wres.ok { color: #a8f0bd; border-color: rgba(95,211,122,.4); background: rgba(60,160,90,.08); }
/* üye penceresi: yasak kutusu ve IP'ler */
.yn-banbox { margin: 16px 24px 0; padding: 14px; border: 1px solid rgba(217,178,111,.16); background: rgba(0,0,0,.25); }
.yn-banstate { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.yn-banstate > svg { width: 22px; height: 22px; flex: none; color: #a8f0bd; }
.yn-banstate.on > svg { color: #ff8a80; }
.yn-banstate b { display: block; color: #f3e2bb; }
.yn-banstate small { color: #8b806e; }
.yn-banbtns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.yn-banbtns > span { font: 700 11px var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: #8b806e; margin-right: 4px; }
.yn-ud-ips { padding: 16px 24px 0; }
.yn-ud-ips h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 12px var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--ember2); }
.yn-ud-ips h4 svg { width: 16px; height: 16px; }
.yn-ip { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.05); }
.yn-ip.off code { text-decoration: line-through; opacity: .6; }
.yn-ip small { color: #7d7262; }
.yn-ip-others { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; color: #a99d88; font-size: 13px; }
.yn-ip-others svg { width: 15px; height: 15px; color: #ffd88a; }
.yn-ip-others a { color: #ffd88a; }
.yn-ip-others a.ban { color: #ff8a80; text-decoration: line-through; }
.yn-ip-others em { color: #6f6556; font-style: normal; }
.yn-ev-mini { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: 13px; color: #b9ad97; }
.yn-ev-mini q { display: block; color: #d9a9a2; margin-top: 2px; }
.yn-ev-mini small { color: #7d7262; }
@media (max-width: 820px) {
  .yn-stats.yn-stats3 { grid-template-columns: minmax(0, 1fr); }
  .yn-ev { grid-template-columns: minmax(0, 1fr); }
  .yn-ev-ic { display: none; }
  .yn-ev-acts { flex-direction: row; flex-wrap: wrap; }
  .yn-ipform-row { grid-template-columns: minmax(0, 1fr); }
  .yn-ip { grid-template-columns: minmax(0, 1fr); }
}
