/* 5.0.70 — three front-end fixes (loaded after ui-shell.css) */

/* 1) Stock cards (home page & any grid): the hover caption was the link colour (green), 14px and two lines.
      Now: white, one line, compact, on a soft bottom fade — same look as the Stock page. */
.stock-tile__over{inset:auto 0 0 0;gap:2px;padding:16px 10px 7px;border-radius:0 0 10px 10px;background:linear-gradient(to bottom,rgba(10,17,16,0) 0%,rgba(10,17,16,.38) 38%,rgba(10,17,16,.72) 100%);color:#fff;pointer-events:none}
.stock-tile__over,.stock-tile__over *{color:#fff}
.stock-tile__over strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;font-size:clamp(11px,.85vw,13px);font-weight:700;line-height:1.3;text-shadow:0 1px 3px rgba(0,0,0,.75)}
.stock-tile__meta{gap:8px;font-size:10.5px;line-height:1.2;opacity:.95;text-shadow:0 1px 2px rgba(0,0,0,.7)}
.stock-tile__meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (hover:none){.stock-tile__over{opacity:1;transform:none;padding:12px 8px 6px}}

/* 2) Chat button: always bottom RIGHT (like Fiverr and most sites), in LTR and RTL languages.
      Things that used to share that corner move up a little. */
.chat{inset-inline-start:auto;inset-inline-end:auto;left:auto;right:20px;align-items:flex-end}
.chat__panel{transform-origin:bottom right}
.ntoasts{bottom:92px}
.season-fx__off{bottom:88px}
.editfab{bottom:92px}
@media (max-width:760px){.chat{right:14px}}

/* 3) Account page illustration: the default is the animated /assets/img/ui/account-hero.svg.
      Replace it in Admin > Appearance > "Account page illustration" (SVG with animation, PNG, WebP). */
.ui5 .acct .acct-head--hero::after{background-image:var(--account-hero,url(../img/ui/account-hero.svg))}
/* the chat hint bubble hangs from the button, which is now on the right in every language */
.chat__hint,[dir=rtl] .chat__hint{inset-inline-start:auto;inset-inline-end:auto;left:auto;right:0;border-radius:16px 16px 4px 16px}
.chat__hint{padding:10px 8px 10px 14px}
[dir=rtl] .chat__hint{padding:10px 14px 10px 8px}
