/* t124u: bendri vaizdo pataisymai (tik dizainas). Įtraukiama foot() po t121_ui.css (cfg/config.php).
   1) kortelės/tekstas nelipa prie kraštų  2) portretų avatarai rodo veidą  3) kompaktiškos modernios dialogų kortelės. */

/* ── 1. Kraštai: tie patys 8px šonai kaip .zk-card, vidinis kvėpavimas tekstui ── */
html .in>.zk-sk-hero:has(+.zp-sk):not(#t124),html .in>.zp.zp-sk:not(#t124){margin-left:8px!important;margin-right:8px!important;box-sizing:border-box;max-width:calc(100% - 16px)}
html .zp-say:not(#t124){padding:11px 14px 11px 11px!important;gap:12px!important;align-items:center!important}
html .zp-say:not(#t124) p{padding-right:2px}
html .zp-st:not(#t124)>div{padding:9px 8px 8px!important}
html .gd-uz-pr:not(#t124){padding-left:10px!important;padding-right:10px!important}
html .ki-sveikas:not(#t124){padding-left:12px!important;padding-right:12px!important}
html :is(details.inv-setas,.sp-preke,.vk-kortele):not(#t124){padding-left:12px!important;padding-right:12px!important}
html .sk-scena-t:not(#t124){padding-left:2px;padding-right:2px}

/* ── 2. Avatarai: viso kūno portretai rodo veidą, ne liemenį ── */
html img.ki-veidas:not(#t124),html img.cb-av:not(#t124){object-position:50% 4%!important}
html :is(.t83q-say,.t66-say,.mkm-say,.zp-say,.mb-say,.mst-npc,.gd-uz-pic,.t44-av,.alb-img,.sg-era,.zp-card,.kh-mapstory,.apr-bulma,.sk-scena) img:is([src*="img/veikejai/"],[src*="img/bulma.png"],[src*="img/sagos/"],[src*="roshi_v17"],[src*="drbrief_v17"]):not(#t124){object-position:50% 3%!important}
html img.zk-art[src*="roshi_v17"]:not(#t124){object-position:50% 12%!important}

/* ── 3. Dialogų kortelės: mažesnės, ramesnės, modernesnės ── */
html :is(.t83q-say,.t66-say,.mkm-say):not(#t9):not(#t9):not(#t124){gap:9px!important;margin:0 0 8px!important;align-items:flex-start!important}
html .t83q-say:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124)>:is(img,.t83q-ini),
html .t66-say:not(#t9):not(#t124) img,html .mkm-say:not(#t9):not(#t124)>img,html .t83-talk:not(#t124){
  width:36px!important;height:36px!important;border-width:1.5px!important;margin-top:1px!important;
  box-shadow:0 0 0 2px rgba(11,18,38,.85),0 2px 6px rgba(0,0,0,.4)!important}
html .t83q-say:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124)>.t83q-ini{font-size:14px!important}
html .apr-bulma .t83q-say>p:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124),
html .t83q-say>p:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124),
html .t66-say:not(#t9):not(#t124) p,html .mkm-say:not(#t9):not(#t124) p,
html .pal-q65-say:not(#t9):not(#t124),html .pal-q68-say:not(#t9):not(#t124){
  padding:7px 11px 8px 12px!important;border-radius:3px 12px 12px 12px!important;border-left-width:2px!important;
  font-size:13.5px!important;line-height:1.45!important;
  background:radial-gradient(120% 140% at 0% 0%,color-mix(in srgb,var(--c2,#ffb43a) 10%,transparent),transparent 50%),linear-gradient(135deg,rgba(32,44,84,.86),rgba(16,24,52,.9))!important;
  border-color:rgba(170,195,255,.14)!important;border-left-color:var(--c2,#ffb43a)!important;
  box-shadow:0 4px 12px -6px rgba(0,0,0,.55)!important}
html .t83q-say:not(#t9)>p::before,html .t66-say:not(#t9) p::before,html .mkm-say:not(#t9) p::before{top:11px!important;left:-6px!important;border-top-width:5px!important;border-bottom-width:5px!important;border-right-width:5px!important}
html .t83q-say>p>b:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124),html .mkm-say:not(#t9):not(#t124) p>b{font-size:9.5px!important;letter-spacing:.9px!important;margin:0 0 2px!important;filter:brightness(1.25)!important}
html .t83q-say>p>b:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124)::before{width:5px;height:5px}
/* scenos kortelė: žemesnis paveikslas, mažesnė antraštė */
html.t83q .apr-bulma.sk-scena:not(#t8):not(#t8):not(#t8):not(#t8):not(#t124)>img{height:124px;margin-bottom:9px}
html.t83q .apr-bulma.sk-scena:not(#t8):not(#t8):not(#t8):not(#t8):not(#t124) .sk-scena-t h3{font-size:21px;margin-bottom:7px}
html :is(.sk-scena-t,.trf-prab)>p:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124){font-size:12px!important;margin:2px 8px 9px!important}
@media (max-width:380px){
  html .t83q-say:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124)>:is(img,.t83q-ini),html .t66-say:not(#t9):not(#t124) img,html .mkm-say:not(#t9):not(#t124)>img,html .t83-talk:not(#t124){width:34px!important;height:34px!important}
  html .t83q-say>p:not(#t9):not(#t9):not(#t9):not(#t9):not(#t9):not(#t124),html .t66-say:not(#t9):not(#t124) p,html .mkm-say:not(#t9):not(#t124) p{font-size:13px!important;padding:7px 10px 8px 11px!important}
  html.t83q .apr-bulma.sk-scena:not(#t8):not(#t8):not(#t8):not(#t8):not(#t124)>img{height:110px}
  html.t83q .apr-bulma.sk-scena:not(#t8):not(#t8):not(#t8):not(#t8):not(#t124) .sk-scena-t h3{font-size:19px}
}
@media (min-width:900px){
  html.t83q .apr-bulma.sk-scena:not(#t8):not(#t8):not(#t8):not(#t8):not(#t124){grid-template-columns:240px minmax(0,1fr);gap:14px}
  html.t83q .apr-bulma.sk-scena:not(#t8):not(#t8):not(#t8):not(#t8):not(#t124)>img{height:100%;min-height:160px;max-height:230px;margin:0}
  html.t83q .apr-bulma.sk-scena:not(#t8):not(#t8):not(#t8):not(#t8):not(#t124) .sk-scena-t h3{font-size:24px}
}

/* ── t124u v3: puslapių kraštai (tik konkrečios klasės, kad nesidubliuotų tarpai) ── */
/* sezonas.php */
html .sz>:is(p,h2,.sz-pastaba,.sz-mano-vieta):not(#t124){padding-left:6px!important;padding-right:6px!important}
/* pokalbių varžytuvės */
html :is(.pv-sarasas,.pv-istorija):not(#t124){padding:11px 12px!important;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07);box-sizing:border-box}
html .pv-sesija:not(#t124){padding-left:4px;padding-right:4px}
/* bendruomene.php?ka=istorija */
html :is(.bk-istorija,.bk-rekordas,.bk-titulai):not(#t124)>:is(p,div,h3,a,ul):not(#t124){padding-left:6px;padding-right:6px}
html .bk-rekordas:not(#t124)>a{display:block}
/* rekordai.php */
html .zp-rk:not(#t124)>:is(p,.rk-pastaba){padding-left:6px!important;padding-right:6px!important}
/* corp.php, kapsuliu_medziokle.php (dirbtuvės) */
html :is(.zp-corp,.zp.km):not(#t124)>:is(h3.zp-gt,p):not(#t124){padding-left:6px!important;padding-right:6px!important}
html .zp.km:not(#t124)>.sk-flash{margin-left:0!important;margin-right:0!important;border-radius:10px!important;padding-left:12px!important;padding-right:12px!important}
/* bendros vietos iš auditų */
html .gd-uz-pr:not(#t124) em{margin-right:2px}
html details#t80-palyg:not(#t124) p.t71-mini,html .t80-d:not(#t124)>p{padding-left:10px!important;padding-right:10px!important}
html :is(.zk.zk44,.zk) .zk-in>.zk-c:not(#t124){padding-left:11px!important}
