/* =====================================================================================================
   KAVİM EVİ (2026-11-29) — PC'ye özel kavim sayfası. Yapı: js/kavim-evi.js. Dil: İşlemehane (pc-islemehane.css) ve toplama
   dünya pencereleri: sıcak kömür zemin, koyu kahve-gri paneller, 1 px kısık kenar, altın vurgu; kavmin rengi (--fc) yalnız
   arma, sancak, lider tacı ve "senin" satırlarında. 1280 × 720: iki sütun; geniş orta alanda (≥ 1000 px) üç sütun ve sayfa
   bütünüyle büyür. Sayfa kaymaz; yalnız uzun listeler kendi içinde kayar. Canlandırma transform / opacity / tek değişkenle.
   ===================================================================================================== */
.app.desk .kve-win > .sh-body:has(> .kve) { display: flex; flex-direction: row; align-items: stretch; padding: 0 18px 14px; overflow: hidden; container: kvec / inline-size; }
.app.desk .kve-win > .sh-head { padding-top: 12px; padding-bottom: 10px; margin-bottom: 8px; }
.kve { --ed: #3a3229; --void: #0b0a0a; --ink: #f4ecd9; --sub: #a0968f; --dim: #7f766e; --ok: #8fdc7a; --no: #ee8a6e; --gold: #e7c26a;
  --panel: linear-gradient(180deg, rgba(36, 31, 26, .96), rgba(20, 17, 15, .97));
  --fcs: color-mix(in srgb, var(--fc) 55%, #e7c26a);
  flex: 1 1 auto; width: 100%; min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; }
@container kvec (min-width: 1200px) { .kve { zoom: 1.14; } }
@container kvec (min-width: 1340px) { .kve { zoom: 1.24; } }
@container kvec (min-width: 1600px) { .kve { zoom: 1.34; } }

/* ---------- ortak ---------- */
.kve-box { position: relative; min-width: 0; min-height: 0; border-radius: 12px; background: var(--panel);
  box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px var(--ed), inset 0 1px 0 rgba(255, 236, 200, .06), 0 14px 26px -18px #000; }
.kve-box::before { content: ''; position: absolute; inset: 4px; border-radius: 9px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .035); }
.kve-h { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.kve-h > b { flex: none; font: 700 10.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #d9bd7e; white-space: nowrap; }
.kve-h > small { flex: 1; min-width: 0; font: 500 11px var(--fb); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-h > small i { font-style: normal; color: #cfc5b6; }
.kve-bar { position: relative; display: block; height: 4px; border-radius: 2px; overflow: hidden; background: #0e0c0b; box-shadow: inset 0 0 0 1px #2a2420; }
.kve-bar > i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p)); border-radius: 2px; background: linear-gradient(90deg, #8a6a2c, #e7c26a); transition: transform .6s var(--ease); animation: kveGrow .8s var(--ease) both; }
.kve-bar.ok > i { background: linear-gradient(90deg, #3f7a36, #8fdc7a); }
.kve-bar.no > i { background: linear-gradient(90deg, #7a3a2a, #ee8a6e); }
.kve-bar.nc > i { background: linear-gradient(90deg, #6e2a1f, #e5533f); }
.kve-bar.hp > i { background: linear-gradient(90deg, color-mix(in srgb, var(--fc) 45%, #000), var(--fc)); }
@keyframes kveGrow { from { transform: scaleX(0); } }
.kve-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; font: 700 11.5px var(--fb); color: #e6d6b0;
  background: linear-gradient(180deg, #2c261f, #1f1a16); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #4a3d2c, inset 0 1px 0 rgba(255, 236, 200, .07); transition: transform .15s var(--spring), box-shadow .15s, color .15s; }
.kve-btn:hover:not(:disabled) { color: #f6dc94; box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #8a6a2c, inset 0 1px 0 rgba(255, 236, 200, .1); transform: translateY(-1px); }
.kve-btn:disabled { opacity: .42; cursor: default; }
.kve-btn.sm { height: 24px; padding: 0 9px; font-size: 10.5px; border-radius: 7px; }
.kve-btn.wide { width: 100%; }
.kve-btn .ic { width: 12px; height: 12px; }
.kve-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 38px; border-radius: 10px; font: 700 13px var(--fs); letter-spacing: .06em; color: #24180a;
  background: linear-gradient(180deg, #dec47d, #b8974f 55%, #8e7443); box-shadow: 0 0 0 1px var(--void), inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 18px -10px rgba(231, 194, 106, .7); transition: transform .15s var(--spring), filter .15s; }
.kve-go:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.kve-go:disabled { filter: grayscale(.9) brightness(.55); cursor: default; }
.kve-go .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.kve-note { display: block; font: italic 400 11px/1.35 var(--fb); color: var(--dim); }
.kve-nil { display: block; padding: 12px 6px; font: 400 12px var(--fb); font-style: normal; color: var(--dim); text-align: center; }
.kve-tag { display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 7px; border-radius: 9px; font: 700 9px var(--fs); letter-spacing: .1em; text-transform: uppercase; font-style: normal;
  color: var(--fcs); background: color-mix(in srgb, var(--fc) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 40%, transparent); white-space: nowrap; }
.kve-tag .ic { width: 9px; height: 9px; }
.kve-row { display: flex; gap: 6px; } .kve-row > * { flex: 1; }
.kve-load { flex: 1; min-height: 120px; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--dim); font: 500 12px var(--fb); }
.kve-load > i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #3a3229; border-top-color: #e7c26a; animation: kveSpin 1s linear infinite; }
.kve-load > .ic { width: 22px; height: 22px; color: var(--no); }
.kve-load > b { color: #e6dfd7; font-weight: 600; }
@keyframes kveSpin { to { transform: rotate(360deg); } }
.kve-empty { display: grid; justify-items: center; gap: 5px; padding: 26px 12px; text-align: center; color: var(--dim); }
.kve-empty .ic { width: 22px; height: 22px; color: #6d5e3b; }
.kve-empty b { font: 700 13px var(--fb); color: #cfc5b6; } .kve-empty small { font: 400 11px/1.35 var(--fb); max-width: 320px; }

/* ---------- başlık ---------- */
.kve-hd .kve-hem { position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--fc);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--fc) 30%, #2a2219), #120f0c 75%); box-shadow: 0 0 0 1px #000, inset 0 0 0 1px color-mix(in srgb, var(--fc) 55%, #6d5e3b), 0 0 18px -6px var(--fc); }
.kve-hd .kve-hem::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--fc) 45%, transparent); animation: kveSpin 40s linear infinite; }
.kve-hd .kve-hem .ic { width: 22px; height: 22px; stroke-width: 1.6; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--fc) 60%, transparent)); }
.kve-hs { margin-left: auto; display: flex; gap: 18px; padding-right: 4px; }
.kve-hs > span { display: grid; justify-items: end; gap: 3px; }
.kve-hs small { font: 700 7.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #a0968f; }
.kve-hs b { font: 600 13px/1 var(--fn); color: #f6ecd2; white-space: nowrap; }
.kve-hs > span:nth-child(2) b { font-family: var(--fs); font-weight: 700; color: var(--fcs); }

/* ---------- sancak şeridi ---------- */
.kve-nav { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 4px; border-radius: 13px; background: #110f0d; box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px var(--ed); }
.kve-sl { position: absolute; left: 4px; bottom: 2px; width: calc((100% - 8px) / 5); height: 2px; pointer-events: none; transform: translateX(calc(var(--i) * 100%)); transition: transform .38s var(--spring); }
.kve-sl::before { content: ''; position: absolute; left: 18%; right: 18%; top: 0; bottom: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, #caaa5e 20%, #eeda9c 50%, #caaa5e 80%, transparent); box-shadow: 0 0 8px rgba(231, 194, 106, .7); }
.kve-t { position: relative; min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; height: 50px; padding: 5px 10px 6px 7px; border-radius: 9px; text-align: left; color: #c9bfb2; transition: background .18s, box-shadow .18s; }
.kve-t + .kve-t::before { content: ''; position: absolute; left: 0; top: 11px; bottom: 11px; width: 1px; background: linear-gradient(180deg, transparent, #3a3229, transparent); }
.kve-t:hover { background: rgba(255, 230, 180, .04); }
.kve-t.on { background: linear-gradient(180deg, rgba(231, 194, 106, .14), rgba(231, 194, 106, .03)); box-shadow: inset 0 0 0 1px #6d5a35, inset 0 1px 0 rgba(255, 240, 200, .08); }
.kve-t.on + .kve-t::before, .kve-t.on::before { opacity: 0; }
.kve-md { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #b9a477;
  background: radial-gradient(circle at 50% 38%, #2e271f, #15110d 72%); box-shadow: inset 0 0 0 1px #4a3f2c, 0 0 0 1px #000; transition: color .2s, box-shadow .2s, transform .25s var(--spring); }
.kve-md .ic { width: 16px; height: 16px; }
.kve-t:hover .kve-md { transform: rotate(-6deg) scale(1.05); }
.kve-t.on .kve-md { color: #f6dc94; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--fc) 28%, #2e271f), #15110d 72%); box-shadow: inset 0 0 0 1px #8a6a2c, 0 0 0 1px #000, 0 0 14px -4px rgba(231, 194, 106, .55); }
.kve-tt { min-width: 0; display: grid; gap: 3px; }
.kve-tt b { font: 700 13px/1 var(--fs); letter-spacing: .03em; color: #efe5cf; white-space: nowrap; }
.kve-t.on .kve-tt b { color: #f3d68e; }
.kve-tt small { font: 500 10.5px/1.1 var(--fb); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-tp { position: absolute; left: 51px; right: 12px; bottom: 6px; height: 2px; border-radius: 1px; background: rgba(255, 236, 200, .06); overflow: hidden; }
.kve-tp::after { content: ''; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #6d5a35, #c9a24f); transition: transform .6s var(--ease); }
.kve-t.on .kve-tp { bottom: 8px; }

/* ---------- sayfa ızgarası ---------- */
.kve-pg { min-height: 0; display: grid; gap: 12px; grid-template-columns: 232px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.kve-col { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.kve-cx { display: none; }
.kve-wide { grid-column: 1 / -1; }
.kve-p2 { grid-template-columns: minmax(0, 1fr) 252px; }
.kve-p2 .kve-cb { order: 0; } .kve-p2 .kve-ya { order: 1; } .kve-p2 .kve-cx { order: 2; }
.kve-p3 { grid-template-columns: 236px minmax(0, 1fr); }
.kve-p4 { grid-template-columns: minmax(0, 1fr); }
@container kvec (min-width: 1000px) {
  .kve-pg { grid-template-columns: 262px minmax(0, 1fr) 286px; gap: 14px; }
  .kve-cx { display: flex; }
  .kve-p2 { grid-template-columns: minmax(0, 1fr) 286px 250px; }
  .kve-p3 { grid-template-columns: 262px minmax(0, 1fr) 330px; }
  .kve-p3 .kve-cb > .kve-mat { display: none; }
  .kve-p4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- tablolar ---------- */
.kve-tbl { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 11px 10px 8px 12px; }
.kve-th { flex: none; display: grid; align-items: center; gap: 10px; height: 24px; padding: 0 10px 0 8px; border-radius: 7px; background: #1a1714; box-shadow: inset 0 0 0 1px #262019; }
.kve-th > span { font: 700 7.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #8a8078; white-space: nowrap; }
.kve-ls, .kve-ll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; display: grid; align-content: start; gap: 2px; padding: 1px 2px 2px 1px; scrollbar-width: thin; scrollbar-color: #3a332b transparent; }
.kve-r { position: relative; display: grid; align-items: center; gap: 10px; min-height: 42px; padding: 4px 10px 4px 8px; border-radius: 9px; animation: kveIn .45s var(--ease) both; animation-delay: calc(var(--d, 0) * 25ms); transition: background .15s, box-shadow .15s; }
.kve-r:nth-child(even) { background: rgba(255, 255, 255, .016); }
.kve-r:hover { background: #1f1b17; box-shadow: inset 0 0 0 1px #3d342a; }
.kve-r.my { background: linear-gradient(90deg, color-mix(in srgb, var(--fc) 16%, #1b1815), rgba(27, 24, 21, .4)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 42%, transparent), inset 3px 0 0 var(--fc); }
@keyframes kveIn { from { opacity: 0; transform: translateY(4px); } }
.kve-th.m, .kve-r.m { grid-template-columns: 26px minmax(0, 1fr) 92px 120px 52px; }
.kve-th.m.ld, .kve-r.m.ld { grid-template-columns: 26px minmax(0, 1fr) 84px 104px 44px 86px; }
.kve-th.c, .kve-r.c { grid-template-columns: 26px minmax(0, 1fr) 110px 76px; }
.kve-th.p, .kve-r.p { grid-template-columns: 26px minmax(0, 1fr) 120px 86px; }
.kve-th.l { grid-template-columns: 24px minmax(0, 1fr) 70px 64px; }
.kve-n { justify-self: center; display: grid; place-items: center; min-width: 22px; height: 22px; font: 700 11px var(--fn); color: #8a7a5c; }
.kve-n .ic { width: 13px; height: 13px; color: #f6dc94; }
.kve-r.lead .kve-n { border-radius: 50%; background: radial-gradient(circle at 50% 35%, #6e5626, #2a2014); box-shadow: inset 0 0 0 1px #c9a24f, 0 0 10px -3px #e7c26a; }
.kve-md1, .kve-md2, .kve-md3 { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font: 800 10px var(--fn); color: #1c1408; box-shadow: 0 0 0 1px #0b0a0a, inset 0 1px 0 rgba(255, 255, 255, .4); }
.kve-md1 { background: linear-gradient(180deg, #dec47d, #a98c4d); } .kve-md2 { background: linear-gradient(180deg, #e6e3dc, #9d978c); } .kve-md3 { background: linear-gradient(180deg, #e0a876, #9a6438); }
.kve-nm { min-width: 0; display: grid; gap: 2px; }
.kve-nm b { font: 700 13px/1.1 var(--fb); color: #efe5cf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-nm b em { margin-left: 4px; font: 700 8.5px var(--fs); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--fcs); }
.kve-nm small { font: 400 11px/1.15 var(--fb); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-r.c .kve-nm small { font-style: italic; }
.kve-rl { display: inline-flex; align-items: center; gap: 5px; font: 600 11px var(--fb); color: #9a9087; white-space: nowrap; }
.kve-rl .ic { width: 11px; height: 11px; }
.kve-r.r-lead .kve-rl { color: #f3d68e; } .kve-r.r-dep .kve-rl { color: #e0c48a; } .kve-r.r-cand .kve-rl { color: #c9b48a; }
.kve-v { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; row-gap: 2px; }
.kve-v .kve-bar { height: 3px; }
.kve-v b { font: 600 12px var(--fn); color: #f0e6d2; text-align: right; }
.kve-v small { grid-column: 1 / -1; font: 500 10px var(--fn); color: var(--dim); text-align: right; }
.kve-w { font: 600 12px var(--fn); color: #cfc5b6; text-align: right; }
.kve-vb { height: 26px; padding: 0 8px; border-radius: 7px; font: 700 11px var(--fb); color: #e6d6b0; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(180deg, #2c261f, #1f1a16); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #4a3d2c; transition: box-shadow .15s, color .15s, transform .15s var(--spring); }
.kve-vb:hover:not(:disabled) { color: #f6dc94; box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #8a6a2c; transform: translateY(-1px); }
.kve-vb:disabled { cursor: default; color: var(--ok); background: rgba(95, 211, 111, .07); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px rgba(95, 211, 111, .3); }
.kve-r.m .kve-vb:disabled, .kve-r.p .kve-vb:disabled { color: #6f665d; background: #1a1714; box-shadow: inset 0 0 0 1px #2a241e; }
.kve-vb .ic { width: 11px; height: 11px; }
.kve-flash { animation: kveFlash 1s var(--ease); }
@keyframes kveFlash { 30% { box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #c9a24f, 0 0 22px -6px rgba(231, 194, 106, .6); } }

/* defter satırı */
.kve-lg { display: grid; grid-template-columns: 24px minmax(0, 1fr) 70px 64px; align-items: center; gap: 10px; min-height: 30px; padding: 3px 10px 3px 8px; border-radius: 8px; animation: kveIn .45s var(--ease) both; }
.kve-lg:nth-child(even) { background: rgba(255, 255, 255, .016); }
.kve-li { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: #b9a477; background: #1a1714; box-shadow: inset 0 0 0 1px #2e2720; }
.kve-li .ic { width: 12px; height: 12px; }
.kve-lg em { min-width: 0; font: 400 12px/1.25 var(--fb); font-style: normal; color: #d8cfc2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kve-lk { font: 700 8.5px var(--fs); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: #9a8a68; white-space: nowrap; }
.kve-lg time { font: 500 10.5px var(--fn); color: var(--dim); text-align: right; white-space: nowrap; }
.kve-lg.k-dep .kve-li, .kve-lg.k-depi .kve-li { color: var(--ok); } .kve-lg.k-wd .kve-li { color: var(--no); }
.kve-lg.k-done .kve-li, .kve-lg.k-lead .kve-li { color: #f6dc94; box-shadow: inset 0 0 0 1px #6d5a35; } .kve-lg.k-noconf .kve-li { color: #e5533f; }
.kve-lg.sm { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; min-height: 28px; padding: 3px 6px; }
.kve-lg.sm .kve-lk { display: none; }
.kve-lg.sm em { font-size: 11.5px; }

/* ---------- 0 · Divan ---------- */
.kve-ban { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 0; padding-bottom: 22px; border-radius: 12px 12px 4px 4px; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--fc2) 42%, #1d1915) 0%, #1b1714 46%, #15120f 100%);
  box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px color-mix(in srgb, var(--fc) 30%, #3a3229), 0 16px 28px -18px #000;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 14px), 0 100%); }
.kve-ban::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 14px; pointer-events: none;
  background: linear-gradient(to top right, transparent 49%, color-mix(in srgb, var(--fc) 35%, transparent) 50%, transparent 51%) left / 50% 100% no-repeat,
              linear-gradient(to top left, transparent 49%, color-mix(in srgb, var(--fc) 35%, transparent) 50%, transparent 51%) right / 50% 100% no-repeat; opacity: .7; }
.kve-art { position: relative; flex: none; width: 100%; height: 108px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.kve-art .station-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kve-emb { position: relative; z-index: 1; flex: none; margin-top: -30px; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--fc);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--fc) 32%, #2a2219), #110e0b 74%); box-shadow: 0 0 0 1px #000, inset 0 0 0 1.5px color-mix(in srgb, var(--fc) 60%, #6d5e3b), 0 0 26px -6px var(--fc), 0 6px 14px -4px #000;
  animation: kveGlow 5s ease-in-out infinite; }
.kve-emb::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--fc) 35%, transparent); }
.kve-emb::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--fc) 30%, transparent); animation: kveSpin 50s linear infinite; }
.kve-emb .ic { width: 28px; height: 28px; stroke-width: 1.5; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--fc) 70%, transparent)); }
@keyframes kveGlow { 50% { box-shadow: 0 0 0 1px #000, inset 0 0 0 1.5px color-mix(in srgb, var(--fc) 75%, #6d5e3b), 0 0 34px -4px var(--fc), 0 6px 14px -4px #000; } }
.kve-bt { min-height: 0; display: grid; justify-items: center; gap: 3px; padding: 9px 14px 0; }
.kve-fn { font: 700 17px/1.1 var(--fs); letter-spacing: .03em; color: var(--fcs); text-shadow: 0 1px 0 #000; }
.kve-bt > small { font: 600 9px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #9a8f84; }
.kve-mo { margin-top: 3px; font: italic 500 12.5px/1.3 var(--fb); color: #e6d6b0; }
.kve-bt > p { margin: 2px 0 0; font: 400 11.5px/1.38 var(--fb); color: #a99f94; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kve-orn { display: block; width: 120px; height: 10px; margin: 6px 0 2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fc) 45%, #6d5e3b), transparent) center / 100% 1px no-repeat; position: relative; }
.kve-orn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; transform: translate(-50%, -50%) rotate(45deg); background: var(--fc); box-shadow: 0 0 8px var(--fc); }
.kve-bt > small.kve-tg { font: italic 400 11px/1.35 var(--fb); letter-spacing: 0; text-transform: none; color: #8a8078; }
.kve-bon { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 10px; text-align: left;
  background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 30%, #3a3229); }
.kve-bon > .ic { width: 16px; height: 16px; color: var(--fcs); animation: kvePulse 3s ease-in-out infinite; }
.kve-bon small { display: block; font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #8a8078; }
.kve-bon b { font: 700 12px var(--fb); color: #efe5cf; } .kve-bon b i { font-style: normal; font-family: var(--fn); color: var(--fcs); }
@keyframes kvePulse { 50% { transform: scale(1.15) rotate(12deg); opacity: .8; } }
.kve-me { flex: none; display: grid; gap: 8px; padding: 11px 12px 12px; }
.kve-fp { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kve-fp small, .kve-mk small { white-space: nowrap; font: 700 7.5px var(--fs); letter-spacing: .15em; text-transform: uppercase; color: #8a8078; }
.kve-fp b { display: inline-flex; align-items: center; gap: 6px; font: 700 18px/1 var(--fn); color: #f6e7bd; }
.kve-fp .hc-fp { width: 18px; height: 18px; }
.kve-mk { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); gap: 4px; }
.kve-mk > span { display: grid; gap: 2px; padding: 5px 7px; border-radius: 8px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px #2a241e; min-width: 0; }
.kve-mk b { font: 700 12px/1.1 var(--fb); color: #efe5cf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-mk b.num { font: 600 13px/1.1 var(--fn); }
.kve-mk em { font: 400 9.5px var(--fb); font-style: normal; color: var(--dim); }
.kve-me .kve-note { margin-top: -2px; }

.kve-gov { flex: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "cr lt nc" "dp dp dp"; align-items: center; column-gap: 11px; row-gap: 9px; padding: 11px 12px; overflow: hidden; }
.kve-gov::after { content: ''; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, color-mix(in srgb, var(--fc) 13%, transparent), transparent); }
.kve-gov.sm { grid-template-areas: "cr lt" "nc nc"; grid-template-columns: 40px minmax(0, 1fr); }
.kve-crown { grid-area: cr; position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #2a1c08;
  background: radial-gradient(circle at 50% 30%, #fbe7ae, #d9b057 55%, #8a6424); box-shadow: 0 0 0 1px #000, 0 0 0 3px color-mix(in srgb, var(--fc) 55%, #3a2a14), 0 0 22px -4px rgba(231, 194, 106, .65); }
.kve-crown .ic { width: 20px; height: 20px; stroke-width: 2; fill: rgba(255, 245, 210, .35); }
.kve-gov:not(.none) .kve-crown { overflow: hidden; }
.kve-gov:not(.none) .kve-crown::after { content: ''; position: absolute; inset: 0; right: auto; width: 200%; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-60px); animation: kveShine 5s ease-in-out infinite; }   /* FPS 2026-12-02: arka plan kaydırma yerine katman kayar (transform, GPU); görünüm aynı */
@keyframes kveShine { 0%, 60% { transform: translateX(60px); } 100% { transform: translateX(-60px); } }
.kve-gov.sm .kve-crown { width: 40px; height: 40px; }
.kve-gov.none .kve-crown { color: #6f665d; background: radial-gradient(circle at 50% 30%, #3a332b, #1a1714); box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #3a3229; }
.kve-lt { grid-area: lt; min-width: 0; display: grid; gap: 2px; }
.kve-lt small { font: 700 8px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: var(--fcs); }
.kve-lt b { font: 700 18px/1.05 var(--fs); color: #f6ecd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-lt em { font: 400 11px/1.2 var(--fb); font-style: normal; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-nc { grid-area: nc; position: relative; z-index: 1; display: grid; gap: 3px; min-width: 112px; padding: 6px 10px 7px; border-radius: 9px; text-align: left;
  background: linear-gradient(180deg, #2a1d19, #1c1513); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #5a2e24; transition: box-shadow .15s, transform .15s var(--spring); }
button.kve-nc:hover:not(:disabled) { box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #a04a36; transform: translateY(-1px); }
.kve-nc small { display: flex; align-items: center; gap: 4px; font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #e08a74; }
.kve-nc small .ic { width: 9px; height: 9px; }
.kve-nc b { font: 600 12px var(--fn); color: #f0dcd2; }
.kve-nc .kve-bar { height: 3px; }
.kve-nc.done, .kve-nc.ro { cursor: default; }
.kve-gov.sm .kve-nc { min-width: 0; }
.kve-deps { grid-area: dp; position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding-top: 9px; border-top: 1px solid #2a231c; min-width: 0; }
.kve-deps > small { flex: none; display: grid; gap: 1px; font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #8a8078; }
.kve-deps > small i { font: 600 11px var(--fn); font-style: normal; letter-spacing: 0; color: #cfc5b6; }
.kve-deps > span { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.kve-dp { min-width: 0; display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: 7px; background: color-mix(in srgb, var(--fc) 9%, #1a1714); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 30%, #3a3229); }
.kve-dp .ic { flex: none; width: 11px; height: 11px; color: var(--fcs); }
.kve-dp b { font: 700 11.5px var(--fb); color: #e6dfd7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-dp.none { justify-content: center; background: transparent; box-shadow: inset 0 0 0 1px #2a241e; }
.kve-dp.none b { font-weight: 400; font-style: italic; color: #6f665d; }
.kve-deps > .kve-btn, .kve-deps > .kve-tag { flex: none; }

.kve-sums { flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.kve-sum { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 9px; border-radius: 10px; text-align: left; background: var(--panel);
  box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px var(--ed); animation: kveIn .5s var(--ease) both; animation-delay: calc(var(--d) * 50ms); transition: box-shadow .15s, transform .15s var(--spring); }
.kve-sum:hover { box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #6d5a35; transform: translateY(-1px); }
.kve-sum > .ic { flex: none; width: 16px; height: 16px; color: #b9a477; }
.kve-sum > span { min-width: 0; display: grid; gap: 1px; }
.kve-sum small { font: 700 7px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #8a8078; white-space: nowrap; }
.kve-sum b { font: 600 13px/1.15 var(--fn); color: #f6ecd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-sum em { font: 400 10px var(--fb); font-style: normal; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.kve-xs, .kve-xl, .kve-rules { display: flex; flex-direction: column; gap: 8px; padding: 11px 12px; }
.kve-xl { flex: 1; min-height: 0; }
.kve-lnk { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font: 600 10.5px var(--fb); color: #b9a477; }
.kve-lnk .ic { width: 10px; height: 10px; } .kve-lnk:hover { color: #f6dc94; }
.kve-pm { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 10px; cursor: pointer; }
.kve-pm img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 3px 4px #000); }
.kve-pm > .ic { width: 22px; height: 22px; justify-self: center; color: #6d5e3b; }
.kve-pm > span { min-width: 0; display: grid; gap: 3px; }
.kve-pm small { font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #8a8078; }
.kve-pm b { font: 700 13px var(--fb); color: #efe5cf; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-pm em { font: 400 10.5px var(--fb); font-style: normal; color: var(--dim); } .kve-pm em i { font-style: normal; color: #cfc5b6; }
.kve-bar.pj > i { background: linear-gradient(90deg, #3f7a36, #8fdc7a); }
.kve-rules > span { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.kve-rules > span .ic { width: 13px; height: 13px; margin-top: 2px; color: #b9a477; }
.kve-rules > span em { font: 400 11.5px/1.35 var(--fb); font-style: normal; color: #b8aea2; }

/* ---------- 1 · Seçim ---------- */
.kve-term { flex: none; display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 12px; }
.kve-term > p { grid-column: 1 / -1; margin: 2px 0 0; font: italic 400 11px/1.35 var(--fb); color: var(--dim); }
.kve-ring { position: relative; width: 74px; height: 74px; display: grid; place-items: center; }
.kve-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.kve-ring circle { fill: none; }
.kve-ring .bk { stroke: rgba(109, 94, 59, .3); stroke-width: 4; }
.kve-ring .fg { stroke: url(#none); stroke: #e7c26a; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(231, 194, 106, .55)); transition: stroke-dashoffset 1s var(--ease); }
.kve-ring .tk { fill: #4a3f2c; } .kve-ring .tk:first-of-type { fill: #c9a24f; }
.kve-ring > span { position: relative; display: grid; justify-items: center; line-height: 1; }
.kve-ring > span b { font: 700 22px/1 var(--fn); color: #f6ecd2; }
.kve-ring > span small { margin-top: 2px; font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #8a8078; }
.kve-tm { min-width: 0; display: grid; gap: 3px; }
.kve-tm small { font: 700 8px var(--fs); letter-spacing: .15em; text-transform: uppercase; color: #d9bd7e; }
.kve-tm b { font: 700 14px var(--fb); color: #efe5cf; white-space: nowrap; } .kve-tm b span { font-family: var(--fn); font-size: 13px; color: #f6dc94; }
.kve-tm em { font: 400 11px var(--fb); font-style: normal; color: var(--dim); }
.kve-vote { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 11px 12px 12px; }
.kve-mk em { display: block; }
.kve-vote .kve-mk { grid-template-columns: 1fr 1fr; }
.kve-my { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px #2a241e; }
.kve-my > .ic { flex: none; width: 14px; height: 14px; color: #8a7a5c; }
.kve-my.on { background: color-mix(in srgb, var(--fc) 9%, #15120f); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 35%, #2a241e); } .kve-my.on > .ic { color: var(--ok); }
.kve-my > span { min-width: 0; display: grid; gap: 1px; font: 400 12px var(--fb); color: #d8cfc2; }
.kve-my b { font-weight: 700; color: #f3d68e; } .kve-my small { font: 400 10.5px var(--fb); color: var(--dim); }
.kve-wt { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 8px; padding: 2px 2px 0; }
.kve-wt small { font: 700 7.5px var(--fs); letter-spacing: .15em; text-transform: uppercase; color: #8a8078; } .kve-wt b { font: 600 12px var(--fn); color: #f6ecd2; }
.kve-wt .kve-bar, .kve-wt em { grid-column: 1 / -1; } .kve-wt em { font: 400 10.5px var(--fb); font-style: normal; color: var(--dim); }
.kve-pl { width: 100%; height: 32px; padding: 0 10px; border-radius: 8px; border: 0; outline: 0; font: 400 12px var(--fb); color: #efe5cf; background: #0f0d0c; box-shadow: inset 0 0 0 1px #3a3229; transition: box-shadow .15s; }
.kve-pl:focus { box-shadow: inset 0 0 0 1px #8a6a2c, 0 0 0 3px rgba(231, 194, 106, .08); }
.kve-pl::placeholder { color: #6f665d; }
.kve-vote .kve-go { margin-top: auto; }
.kve-vote .kve-pl { margin-top: auto; }
.kve-vote .kve-pl + .kve-go { margin-top: 0; }
.kve-ok, .kve-no, .kve-res { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 10px; border-radius: 9px; font: 600 11.5px/1.3 var(--fb); text-align: center; }
.kve-ok { color: var(--ok); background: rgba(95, 211, 111, .07); box-shadow: inset 0 0 0 1px rgba(95, 211, 111, .3); }
.kve-no, .kve-res { color: #9a9087; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px #2a241e; }
.kve-res.on { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(95, 211, 111, .3); }
.kve-ok .ic, .kve-no .ic, .kve-res .ic { flex: none; width: 12px; height: 12px; }
.kve-dist { flex: none; display: flex; height: 8px; gap: 2px; border-radius: 4px; overflow: hidden; background: #0e0c0b; box-shadow: inset 0 0 0 1px #2a2420; }
.kve-dist > i { flex: var(--w) 0 0; min-width: 3px; background: color-mix(in srgb, var(--fc) calc(var(--o) * 100%), #3a3229); animation: kveGrow .9s var(--ease) both; transform-origin: 0 50%; }
.kve-dist > i:first-child { background: linear-gradient(90deg, color-mix(in srgb, var(--fc) 70%, #000), var(--fc)); box-shadow: 0 0 8px -1px var(--fc); }
.kve-dist > i.rest { background: #2a241e; }
.kve-dist.none > i { flex: 1; background: transparent; }
.kve-dl { flex: none; display: flex; gap: 14px; margin-top: -1px; min-width: 0; }
.kve-dl > span { display: inline-flex; align-items: center; gap: 5px; font: 600 11px var(--fb); color: #b8aea2; white-space: nowrap; min-width: 0; }
.kve-dl > span > i { flex: none; width: 8px; height: 8px; border-radius: 2px; background: color-mix(in srgb, var(--fc) calc(var(--o) * 100%), #3a3229); }
.kve-dl b { font: 600 10.5px var(--fn); color: #f0e6d2; }
.kve-pk > .kve-h { align-items: center; } .kve-pk > .kve-h > b { margin-left: 4px; }

/* ---------- 2 · Yapılar ---------- */
.kve-ys { gap: 9px; }
.kve-grp { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: 7px; padding: 9px 10px 10px; }
.kve-grp > .kve-h { position: relative; padding-bottom: 6px; }
.kve-grp > .kve-h > em { flex: none; font: 600 11px var(--fn); font-style: normal; color: #cfc5b6; }
.kve-grp > .kve-h > .kve-bar.gs { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; box-shadow: none; background: rgba(255, 236, 200, .05); }
.kve-bg { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.kve-b { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; justify-items: center; align-items: center; gap: 4px; padding: 7px 5px 7px; border-radius: 10px; text-align: center;
  background: linear-gradient(180deg, #221d18, #171411); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #2e2720; animation: kveIn .5s var(--ease) both; animation-delay: calc(var(--d) * 22ms); transition: box-shadow .15s, transform .18s var(--spring), background .15s; }
.kve-b:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #5a4a32, 0 8px 14px -10px #000; }
.kve-b img { width: 100%; height: 100%; max-width: 46px; max-height: 46px; min-height: 0; object-fit: contain; filter: drop-shadow(0 3px 3px #000) saturate(.85); transition: transform .25s var(--spring), filter .2s; }
.kve-b:hover img { transform: scale(1.08) rotate(-3deg); filter: drop-shadow(0 3px 3px #000); }
.kve-b > b { max-width: 100%; font: 700 11px/1.1 var(--fb); color: #e6dfd7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-btr { position: absolute; right: 5px; top: 5px; min-width: 20px; height: 16px; padding: 0 4px; display: grid; place-items: center; border-radius: 5px; font: 700 9.5px/1 var(--fs); font-style: normal; color: #cfc5b6; background: #120f0d; box-shadow: inset 0 0 0 1px #3a3229; }
.kve-b.max .kve-btr { color: #1c1408; background: linear-gradient(180deg, #d6bd78, #a98c4d); box-shadow: 0 0 0 1px #0b0a0a; }
.kve-pp { display: flex; gap: 3px; }
.kve-pp > i { width: 9px; height: 3px; border-radius: 2px; background: #2a241e; }
.kve-pp > i.on { background: linear-gradient(90deg, #a98c4d, #d6bd78); box-shadow: 0 0 4px rgba(231, 194, 106, .4); }
.kve-pp > i.nx { background: var(--ok); animation: kveBlink 1.2s ease-in-out infinite; box-shadow: 0 0 6px var(--ok); }
@keyframes kveBlink { 50% { opacity: .3; } }
.kve-b.on { background: linear-gradient(180deg, rgba(95, 211, 111, .1), #171411 70%); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px rgba(95, 211, 111, .45); }
.kve-b.on::after { content: ''; position: absolute; left: 6px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #5fd36f; box-shadow: 0 0 6px #5fd36f; animation: kveBlink 1.4s ease-in-out infinite; }
.kve-b.sel { background: linear-gradient(180deg, rgba(231, 194, 106, .16), #171411 75%); box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #c9a24f, 0 0 16px -8px rgba(231, 194, 106, .7); }
.kve-b.sel > b { color: #f3d68e; }
.kve-b.pool { cursor: default; grid-template-rows: minmax(0, 1fr) auto auto; background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .02) 0 6px, transparent 6px 12px), #14110f; box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px #2a241e; }
.kve-b.pool:hover { transform: none; }
.kve-pi { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #b9a477; background: #1a1714; box-shadow: inset 0 0 0 1px #3a3229; }
.kve-pi .ic { width: 15px; height: 15px; }
.kve-b.pool > b { font: 700 14px var(--fn); color: #f6ecd2; }
.kve-b.pool > small { font: 700 7px var(--fs); letter-spacing: .12em; text-transform: uppercase; color: #8a8078; }

.kve-pj { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 9px; padding: 11px 12px 12px; overflow: hidden; }
.kve-pj.none { align-items: center; text-align: center; }
.kve-pj.none > .kve-h { align-self: stretch; }
.kve-pjx { margin-top: 30px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: #6d5e3b; background: radial-gradient(circle at 50% 35%, #2a241e, #14110f); box-shadow: inset 0 0 0 1px #3a3229; animation: kveFloat 4s ease-in-out infinite; }
.kve-pjx .ic { width: 28px; height: 28px; }
@keyframes kveFloat { 50% { transform: translateY(-4px); } }
.kve-pj.none > b { font: 700 15px var(--fs); color: #efe5cf; }
.kve-pj.none > em { font: 400 11.5px/1.4 var(--fb); font-style: normal; color: var(--dim); } .kve-pj.none > em i { font-style: normal; color: #f6dc94; }
.kve-pjh { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 11px; }
.kve-pji { position: relative; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #2e271f, #14110f 75%); box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #4a3f2c; }
.kve-pji img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 3px 4px #000); animation: kveFloat 5s ease-in-out infinite; }
.kve-pjh > span:last-child { min-width: 0; display: grid; gap: 5px; }
.kve-pjh b { font: 700 16px/1.1 var(--fs); color: #f6ecd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-tr { display: flex; align-items: center; gap: 6px; }
.kve-tr > i { min-width: 24px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 6px; font: 700 11px/1 var(--fs); font-style: normal; color: #cfc5b6; background: #120f0d; box-shadow: inset 0 0 0 1px #3a3229; }
.kve-tr > i.nx { color: #1c1408; background: linear-gradient(180deg, #d6bd78, #a98c4d); box-shadow: 0 0 0 1px #0b0a0a, 0 0 10px -2px rgba(231, 194, 106, .7); }
.kve-tr > .ic { width: 12px; height: 12px; color: #8a7a5c; }
.kve-tr > em { font: italic 400 11px var(--fb); color: var(--dim); }
.kve-pbig { position: relative; display: block; height: 22px; border-radius: 7px; overflow: hidden; background: #0e0c0b; box-shadow: inset 0 0 0 1px #2a2420; }
.kve-pbig > i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p)); background: linear-gradient(90deg, #2f6a2a, #6fc75e 70%, #a6ec8f); animation: kveGrow 1s var(--ease) both; }
.kve-pbig > i { overflow: hidden; }
.kve-pbig > i::after { content: ''; position: absolute; inset: 0; right: auto; width: 50%; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); animation: kveFlow 2.6s linear infinite; }   /* FPS 2026-12-02: arka plan kaydırma yerine katman kayar (transform, GPU); görünüm aynı */
@keyframes kveFlow { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.kve-pbig > span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 11px var(--fn); color: #f6ecd2; text-shadow: 0 1px 2px #000; }
.kve-pjs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.kve-pjs > span { display: grid; gap: 2px; padding: 5px 7px; border-radius: 8px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px #2a241e; }
.kve-pjs small { font: 700 7px var(--fs); letter-spacing: .13em; text-transform: uppercase; color: #8a8078; white-space: nowrap; }
.kve-pjs b { font: 600 13px var(--fn); color: #f6ecd2; }
.kve-nx { display: grid; gap: 2px; padding: 7px 10px; border-radius: 9px; background: rgba(95, 211, 111, .06); box-shadow: inset 0 0 0 1px rgba(95, 211, 111, .25); }
.kve-nx small { font: 700 7.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #7fb871; }
.kve-nx b { font: 700 12px var(--fb); color: #d6f0cc; }
.kve-top { min-height: 0; display: grid; gap: 3px; }
.kve-top > span { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 26px; padding: 0 8px 0 4px; border-radius: 7px; }
.kve-top > span:nth-of-type(odd) { background: rgba(255, 255, 255, .016); }
.kve-top > span.me { background: color-mix(in srgb, var(--fc) 10%, #1a1714); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 30%, transparent); }
.kve-top > span em { font: 600 12px var(--fb); font-style: normal; color: #e6dfd7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-top > span b { font: 600 12px var(--fn); color: #f0e6d2; }
.kve-mdl { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font: 800 9.5px var(--fn); font-style: normal; color: #1c1408; background: #3a3229; }
.kve-mdl.g { background: linear-gradient(180deg, #dec47d, #a98c4d); } .kve-mdl.s { background: linear-gradient(180deg, #e6e3dc, #9d978c); } .kve-mdl.b { background: linear-gradient(180deg, #e0a876, #9a6438); }
.kve-mdl .ic { width: 10px; height: 10px; color: var(--fcs); } .kve-top .me .kve-mdl { background: #1a1714; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 40%, transparent); }
.kve-pj > .kve-note { margin-top: auto; }
.kve-pj.det > .kve-h { align-items: center; justify-content: space-between; }
.kve-pj.det > .kve-h > small { flex: none; font: 700 8px var(--fs); letter-spacing: .14em; text-transform: uppercase; }
.kve-lad { display: grid; gap: 2px; }
.kve-lad > span { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; height: 22px; padding: 0 7px 0 3px; border-radius: 6px; }
.kve-lad i { display: grid; place-items: center; height: 16px; border-radius: 5px; font: 700 9.5px/1 var(--fs); font-style: normal; color: #6f665d; }
.kve-lad em { font: 400 11px var(--fb); font-style: normal; color: #6f665d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-lad b { font: 700 7px var(--fs); letter-spacing: .12em; text-transform: uppercase; }
.kve-lad .past i { color: #9a8a68; } .kve-lad .past em { color: #8a8078; }
.kve-lad .now { background: rgba(231, 194, 106, .1); box-shadow: inset 0 0 0 1px #6d5a35; } .kve-lad .now i { color: #1c1408; background: linear-gradient(180deg, #d6bd78, #a98c4d); } .kve-lad .now em { color: #f3e2b4; } .kve-lad .now b { color: #d9bd7e; }
.kve-lad .next { background: rgba(95, 211, 111, .06); box-shadow: inset 0 0 0 1px rgba(95, 211, 111, .25); } .kve-lad .next i { color: var(--ok); box-shadow: inset 0 0 0 1px rgba(95, 211, 111, .4); } .kve-lad .next em { color: #d6f0cc; } .kve-lad .next b { color: #7fb871; }
.kve-cost { display: grid; gap: 5px; }
.kve-cost > span { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 7px; row-gap: 3px; }
.kve-cost > span > .kve-bar { grid-column: 2 / -1; height: 3px; }
.kve-cost em { font: 600 11px var(--fb); font-style: normal; color: #cfc5b6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kve-cost b { font: 600 11px var(--fn); color: var(--no); } .kve-cost .ok b { color: var(--ok); } .kve-cost .pt b { color: #f6ecd2; }
.kve-cost .coin { justify-self: center; }
.kve-cost > span > .ic { width: 13px; height: 13px; justify-self: center; color: #b9a477; }
.kve-ci { width: 22px; height: 22px; }
.kve-pj.det > .kve-go, .kve-pj.det > .kve-res { margin-top: auto; }

/* ---------- 3 · Hazine ---------- */
.kve-vault { flex: none; display: grid; justify-items: center; gap: 4px; padding: 14px 12px 12px; text-align: center; overflow: hidden; }
.kve-vault::after { content: ''; position: absolute; left: 50%; top: -40px; width: 200px; height: 140px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(231, 194, 106, .12), transparent); }
.kve-chest { position: relative; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #f6dc94; background: radial-gradient(circle at 50% 35%, #4a3a1c, #1a140c 75%); box-shadow: 0 0 0 1px #000, inset 0 0 0 1px #8a6a2c, 0 0 18px -6px rgba(231, 194, 106, .6); }
.kve-chest .ic { width: 20px; height: 20px; }
.kve-vault > small { margin-top: 2px; font: 700 8px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #d9bd7e; }
.kve-vault > b { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font: 700 24px/1.1 var(--fn); color: #f6e7bd; text-shadow: 0 0 18px rgba(231, 194, 106, .3); }
.kve-vault > b .coin { transform: scale(1.15); }
.kve-vault > em { font: 400 11px/1.3 var(--fb); font-style: normal; color: var(--dim); }
.kve-vs { margin-top: 4px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.kve-vs > span { display: grid; gap: 2px; padding: 5px 7px; border-radius: 8px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px #2a241e; }
.kve-vs small { font: 700 7px var(--fs); letter-spacing: .13em; text-transform: uppercase; color: #8a8078; } .kve-vs b { font: 600 12.5px var(--fn); color: #f6ecd2; }
.kve-wd, .kve-dep { flex: none; display: grid; gap: 8px; padding: 11px 12px 12px; }
.kve-wdl { display: flex; align-items: baseline; gap: 8px; } .kve-wdl b { font: 700 17px var(--fn); color: #f6ecd2; } .kve-wdl small { font: 400 10.5px var(--fb); color: var(--dim); }
.kve-bar.wd > i { background: linear-gradient(90deg, #7a3a2a, #ee8a6e); }
.kve-dep .kve-btn { padding: 0 6px; font-family: var(--fn); font-weight: 600; }
.kve-dep .coin { transform: scale(.8); }
.kve-ca:has(.kve-dep) .kve-dep { flex: 1 1 auto; align-content: start; }
.kve-mat { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 11px 12px 12px; }
.kve-ig { display: flex; flex-wrap: wrap; gap: 6px; max-height: 92px; overflow: hidden; }
.kve-si { width: 42px; height: 42px; }
button.kve-si { cursor: pointer; transition: transform .15s var(--spring), filter .15s; }
button.kve-si:hover { transform: translateY(-2px); filter: brightness(1.12); }
.kve-mat.gift { box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px color-mix(in srgb, var(--fc) 28%, var(--ed)), inset 0 1px 0 rgba(255, 236, 200, .06); }
.kve-log { flex: 1 1 auto; }
.kve-cx > .kve-mat { flex: 1 1 0; } .kve-cx > .kve-mat .kve-ig { max-height: none; align-content: flex-start; }
.kve-cx > .kve-mat .kve-si { width: 46px; height: 46px; }

/* ---------- 4 · Taşlar ---------- */
.kve-ts { gap: 10px; }
.kve-ts > .kve-h { align-items: center; }
.kve-rst { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px; font: 500 11px var(--fb); color: var(--dim); }
.kve-rst .ic { width: 12px; height: 12px; color: #8a7a5c; } .kve-rst b { font: 600 11.5px var(--fn); color: #f6dc94; }
.kve-fcs { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kve-fc { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 11px 12px 12px; overflow: hidden; animation: kveIn .5s var(--ease) both; animation-delay: calc(var(--d) * 70ms);
  background: radial-gradient(120% 60% at 50% 45%, color-mix(in srgb, var(--fc) 9%, transparent), transparent 70%), var(--panel); }
.kve-fc.own { box-shadow: 0 0 0 1px var(--void), inset 0 0 0 1px color-mix(in srgb, var(--fc) 45%, var(--ed)), inset 0 1px 0 rgba(255, 236, 200, .06), 0 14px 26px -18px #000; }
.kve-fh { align-self: stretch; display: flex; align-items: center; gap: 8px; color: var(--fc); }
.kve-fh > .ic { width: 20px; height: 20px; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--fc) 60%, transparent)); }
.kve-fh > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.kve-fh b { font: 700 14px/1 var(--fs); color: #f6ecd2; } .kve-fh small { font: 400 10.5px var(--fb); color: var(--dim); }
.kve-fc .kve-tag { --fc: inherit; }
.kve-sr { flex: 1 1 auto; min-height: 0; width: 100%; max-width: 200px; overflow: visible; }
.kve-sr .aura { fill: color-mix(in srgb, var(--fc) 7%, transparent); stroke: color-mix(in srgb, var(--fc) 22%, transparent); stroke-width: .6; stroke-dasharray: 2 3; transform-origin: 60px 60px; animation: kveSpin 60s linear infinite; }
.kve-sr .hex { fill: none; stroke: color-mix(in srgb, var(--fc) 30%, #3a3229); stroke-width: .8; }
.kve-sr .core { fill: #14110f; stroke: color-mix(in srgb, var(--fc) 50%, #3a3229); stroke-width: 1; }
.kve-sr .emb { fill: none; stroke: var(--fc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kve-st { animation: kveIn .5s var(--ease) both; animation-delay: calc(var(--d) * 60ms + 150ms); }
.kve-st .bk { fill: #1a1714; stroke: #2e2720; stroke-width: 2.4; }
.kve-st .hp { fill: none; stroke: var(--fc); stroke-width: 2.4; stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.kve-st .mono { fill: color-mix(in srgb, var(--fc) 70%, #e6dfd7); stroke: #0b0a0a; stroke-width: .6; }
.kve-st.hurt .mono { animation: kveBlink 2s ease-in-out infinite; }
.kve-st.down .hp { display: none; }
.kve-st.down .bk { fill: #110f0d; stroke-dasharray: 2 2; } .kve-st.down .mono { fill: #3a3229; }
.kve-fs { display: flex; align-items: baseline; gap: 6px; } .kve-fs b { font: 700 18px var(--fn); color: #f6ecd2; } .kve-fs small { font: 500 11px var(--fb); color: var(--dim); }
.kve-fhp { align-self: stretch; display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: baseline; }
.kve-fhp small { font: 700 7.5px var(--fs); letter-spacing: .13em; text-transform: uppercase; color: #8a8078; } .kve-fhp b { justify-self: end; font: 600 11px var(--fn); color: #cfc5b6; }
.kve-fhp .kve-bar { grid-column: 1 / -1; }
.kve-fl { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 6px; height: 28px; border-radius: 8px; font: 600 11.5px var(--fb); color: #9a9087; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px #2a241e; }
.kve-fl .ic { width: 12px; height: 12px; } .kve-fl i { font-style: normal; font-family: var(--fn); }
.kve-fl.on { color: var(--ok); background: rgba(95, 211, 111, .07); box-shadow: inset 0 0 0 1px rgba(95, 211, 111, .3); }
.kve-fc.open .kve-sr .core { stroke: var(--ok); }
.kve-tinfo { flex: none; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.kve-rules.row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; }
.kve-war { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 11px; padding: 11px 12px; overflow: hidden; }
.kve-wi { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #e08a74; background: radial-gradient(circle at 50% 35%, #3a2019, #150f0d); box-shadow: inset 0 0 0 1px #5a2e24; }
.kve-wi .ic { width: 18px; height: 18px; }
.kve-war > span:last-child { min-width: 0; display: grid; gap: 2px; }
.kve-war small { font: 700 7.5px var(--fs); letter-spacing: .16em; text-transform: uppercase; color: #e08a74; } .kve-war b { font: 700 14px var(--fs); color: #f6ecd2; }
.kve-war em { font: 400 11px/1.35 var(--fb); font-style: normal; color: var(--dim); }
@container kvec (min-width: 1000px) {
  .kve-sr { max-width: 250px; }
  .kve-fc { padding: 14px 16px 16px; gap: 9px; }
  .kve-rules.row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kve-tinfo { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); }
}

/* geniş orta alan: daha ferah satırlar ve büyük kartlar */
@container kvec (min-width: 1000px) {
  .kve-art { height: 132px; }
  .kve-r { min-height: 46px; }
  .kve-b img { max-width: 56px; max-height: 56px; }
  .kve-b > b { font-size: 12px; }
  .kve-th.m, .kve-r.m { grid-template-columns: 30px minmax(90px, 1fr) 96px minmax(100px, 150px) 52px; }
  .kve-th.m.ld, .kve-r.m.ld { grid-template-columns: 28px minmax(80px, 1fr) 84px minmax(86px, 130px) 44px 88px; gap: 8px; }
  .kve-th.c, .kve-r.c { grid-template-columns: 30px minmax(0, 1fr) 150px 84px; }
}
@media (prefers-reduced-motion: reduce) { .kve *, .kve *::before, .kve *::after { animation: none !important; } }
.reduce-fx .kve *, .reduce-fx .kve *::before, .reduce-fx .kve *::after { animation: none !important; }
/* alçak pencere (tarayıcı çubuklarıyla 1280 × 720): Seçim'in sol sütununda açıklamalar gizlenir, sayfa kaymaz */
@media (max-height: 700px) { .kve-term > p, .kve-wt, .kve-bt > p { display: none; } .kve-art { height: 92px; } }
