.ps-to-top { position:fixed; right:max(16px,env(safe-area-inset-right)); bottom:calc(18px + env(safe-area-inset-bottom)); z-index:85; width:46px; height:46px; border-radius:50%; border:1px solid var(--ps-line); background:var(--ps-panel,#25262a); color:var(--ps-text,#fff); font-size:24px; line-height:1; cursor:pointer; box-shadow:0 3px 12px #0005; }
.ps-to-top[hidden], .ps-history-panel[hidden] { display:none!important; }
@media(max-width:900px) { .ps-to-top { bottom:calc(var(--ps-tabbar-h,60px) + 16px + env(safe-area-inset-bottom)); } .ps-has-checkout .ps-to-top { bottom:calc(var(--ps-tabbar-h,60px) + 90px + env(safe-area-inset-bottom)); } }
@media(hover:hover) { .ps-theme table tbody tr:hover > :is(th,td):not([style*="background"]), .ps-theme .card-table tfoot tr:hover > :is(th,td):not([style*="background"]) { background-color:#292b30!important; color:#f2f3f5; } }
.ps-history-form { position:relative; }
.ps-history-panel { position:absolute; top:100%; left:0; right:0; z-index:110; max-height:min(48vh,340px); overflow:auto; background:var(--ps-panel,#202126); color:var(--ps-text,#fff); border:1px solid var(--ps-line,#555); border-radius:10px; padding:4px; box-shadow:0 6px 18px #0005; }
.ps-history-panel div { display:flex; }
.ps-history-panel button { background:transparent; color:inherit; border:0; padding:8px 10px; cursor:pointer; text-align:left; min-height:40px; overflow-wrap:anywhere; }
.ps-history-panel div button:first-child { flex:1; }
.ps-history-panel button:hover,.ps-history-panel button:focus-visible { background:#33353b; color:white; }
