/* Karta „Podpoř vývoj UnityChatu“ (core/kofi-card.js) — maketa artifact NSPnnXweNuJkFaBCtyPPUw, varianta E5 + Zlatý kov.
   Bez color-mix / :has (OBS = Chromium 103). */
.msg .uc-kofi {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 9px; box-sizing: border-box;
  max-width: 520px; margin: 4px 0 2px; padding: 11px 12px 12px; border-radius: 14px; color: #efeff1; line-height: 1.4;
  background: radial-gradient(120% 90% at 0% 0%, rgba(245,166,35,.26), transparent 60%) padding-box,
    radial-gradient(80% 70% at 100% 100%, rgba(168,86,10,.22), transparent 60%) padding-box,
    linear-gradient(#15100a, #15100a) padding-box,
    linear-gradient(135deg, #ffd76a, #a8560a 40%, #3a2208 60%, #e88a12) border-box;
  border: 1px solid transparent; box-shadow: 0 0 30px rgba(245,166,35,.18), inset 0 1px 0 rgba(255,255,255,.06);
  animation: ucKofiIn .7s cubic-bezier(.2,.9,.25,1.15) both;
}
.msg .uc-kofi * { box-sizing: border-box; }
.msg .uc-kofi::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 45%, rgba(255,255,255,.10) 50%, transparent 55%) no-repeat; background-size: 300% 100%; background-position: 100% 0; animation: ucKofiSheenBg 5.5s ease-in-out 1s infinite; }
@keyframes ucKofiSheenBg { 0%, 70% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
@keyframes ucKofiIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.uc-kofi-ghost { position: absolute; right: -18px; top: 6px; width: 132px; opacity: .14; pointer-events: none; z-index: -1; }
.uc-kofi-ghost svg { width: 100%; height: auto; overflow: visible; display: block; }
.uc-kofi-steam path { fill: none; stroke: rgba(255,241,214,.55); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 26; animation: ucKofiSteam 2.8s ease-in-out infinite; }
.uc-kofi-steam path:nth-child(2) { animation-delay: .9s; }
.uc-kofi-steam path:nth-child(3) { animation-delay: 1.8s; }
@keyframes ucKofiSteam { 0% { stroke-dashoffset: 26; opacity: 0; transform: translateY(4px); } 30% { opacity: 1; } 100% { stroke-dashoffset: -26; opacity: 0; transform: translateY(-8px); } }
.uc-kofi-kicker { display: flex; align-items: center; gap: 6px; font: 800 10.5px 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; color: #ffc23a; }
.uc-kofi-logo { width: 15px; height: 15px; flex: none; filter: drop-shadow(0 0 5px rgba(255,170,0,.7)); }
@property --uc-kofi-hp { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@keyframes ucKofiHolo { to { --uc-kofi-hp: 300%; } }
.uc-kofi-title { font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -.01em;
  background: linear-gradient(100deg, #f0951c, #ffad2a, #ffc63a, #ffd65c, #ffc63a, #ffad2a, #f0951c) var(--uc-kofi-hp) 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: ucKofiHolo 30s linear infinite; }
.uc-kofi-foot { display: flex; align-items: center; gap: 12px; min-width: 0; }
.uc-kofi-sub { flex: 1; min-width: 0; font-weight: 600; font-size: 11.5px; line-height: 1.45; color: #adadb8; }
.uc-kofi-author { font-weight: 800; }
/* PeepiLove má nahoře ~1/3 průhledného místa → výřez spodní části (object-position), ať sedí na řádku textu. */
.uc-kofi-emote { width: 27px; height: 18px; object-fit: cover; object-position: 50% 100%; margin-left: 3px; vertical-align: -4px; }
/* .msg .uc-kofi …: přebít obecné `.msg .tx a` (barva, zalomení, podtržení) ze sidepanel.css / webu. */
.msg .uc-kofi .uc-kofi-btn { word-break: normal; position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 11px; text-decoration: none; white-space: nowrap;
  font-weight: 800; font-size: 13px; color: #2a1500; background: linear-gradient(135deg, #ffd76a, #f5a623 45%, #d1700c);
  box-shadow: 0 0 0 1px rgba(255,255,255,.22) inset, 0 6px 18px rgba(209,112,12,.45), 0 0 22px rgba(245,166,35,.18); transition: transform .15s ease, box-shadow .2s ease; }
.uc-kofi-btn svg { width: 18px; height: 18px; flex: none; }
.uc-kofi-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: ucKofiSheen 3.2s ease-in-out 1.2s infinite; }
@keyframes ucKofiSheen { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.msg .uc-kofi .uc-kofi-btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 8px 24px rgba(209,112,12,.55), 0 0 30px rgba(245,166,35,.35); }
.uc-kofi-btn:focus-visible { outline: 2px solid #ffc23a; outline-offset: 2px; }
.msg.uc-kofi-msg.uc-deleted .uc-kofi { display: none; }
@media (prefers-reduced-motion: reduce) { .msg .uc-kofi, .msg .uc-kofi *, .msg .uc-kofi::after, .msg .uc-kofi *::after { animation: none !important; transition: none !important; } }
