#up-visio-history-root[hidden]{display:none!important}
#up-visio-history-root{position:fixed;z-index:2147483000;inset:var(--up-visio-top,60px) 0 max(88px,calc(env(safe-area-inset-bottom) + 74px));display:flex;align-items:stretch;justify-content:center;padding:8px max(8px,env(safe-area-inset-right)) 8px;background:rgba(2,13,27,.88);backdrop-filter:blur(20px);color:#ecfbff}
body.up-visio-room-fullscreen #up-visio-history-root{bottom:0}
#up-visio-history-root *{box-sizing:border-box}
.upvh-card{width:min(980px,100%);height:100%;overflow:auto;padding:clamp(16px,3vw,28px);border:1px solid rgba(123,229,242,.48);border-radius:22px;background:radial-gradient(circle at 90% 0%,rgba(38,153,188,.22),transparent 38%),linear-gradient(145deg,#071d30,#0b3145);box-shadow:0 22px 65px rgba(0,0,0,.5)}
.upvh-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}.upvh-head img{width:54px;height:54px;object-fit:contain}.upvh-head div{flex:1;min-width:0}.upvh-head small{color:#82ebf4;letter-spacing:.16em;font-weight:800}.upvh-head h2{margin:4px 0;font-size:clamp(1.35rem,3vw,2.1rem)}.upvh-head p{margin:0;color:#b7dbe4}.upvh-head button{width:38px;height:38px;border-radius:50%;font-size:1.5rem}
.upvh-card button,.upvh-card input,.upvh-card select{font:inherit}.upvh-card button{min-height:38px;padding:7px 12px;border:1px solid rgba(125,230,242,.6);border-radius:10px;background:linear-gradient(120deg,#105773,#194866);color:#fff;cursor:pointer}.upvh-card button:disabled{opacity:.55;cursor:wait}.upvh-card input,.upvh-card select{min-height:39px;padding:7px 10px;border:1px solid rgba(125,230,242,.4);border-radius:9px;background:#09283c;color:#fff;max-width:100%}
.upvh-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.upvh-toolbar label,.upvh-dev-grid label{display:grid;gap:5px;color:#c7e8ef;font-size:.83rem}.upvh-toolbar label{min-width:min(240px,100%)}#upvh-message{min-height:1.5em;color:#a9e7ee;font-size:.84rem}
.upvh-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.upvh-item{min-width:0;padding:15px;border:1px solid rgba(127,225,236,.3);border-radius:16px;background:rgba(12,65,84,.45)}.upvh-item h3{margin:8px 0;font-size:1rem;overflow-wrap:anywhere}.upvh-item p{margin:0;color:#b6d7df;font-size:.8rem;line-height:1.5}.upvh-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.upvh-actions:empty{display:none}.upvh-badge{display:inline-flex;padding:3px 8px;border-radius:99px;background:rgba(124,224,240,.15);color:#b4edf6;font-size:.72rem;font-weight:800}.upvh-live{background:rgba(72,218,163,.2);color:#a9f6d8}.upvh-expired{background:rgba(244,164,95,.2);color:#ffd0a9}.upvh-bottom{display:flex;justify-content:center;margin:15px 0}.upvh-empty{grid-column:1/-1;color:#b8dce5}
.upvh-quota,.upvh-developer{margin-top:18px;padding:17px;border:1px solid rgba(122,225,239,.28);border-radius:15px;background:rgba(5,30,49,.72)}.upvh-quota h3,.upvh-developer h3{margin:0 0 8px}.upvh-quota p,.upvh-developer p{color:#b9dae4;line-height:1.5}.upvh-dev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end}.upvh-dev-grid button{justify-self:start}.upvh-developer[hidden]{display:none!important}
.upvh-list[hidden],.upvh-detail[hidden],.upvh-toolbar[hidden]{display:none!important}.upvh-item{cursor:pointer}.upvh-item:focus-visible{outline:2px solid #a9f6d8;outline-offset:3px}.upvh-detail-section{margin:14px 0;padding:14px;border:1px solid #579bac66;border-radius:14px;background:#071d30aa}.upvh-detail-section h4{color:#8debdc;margin:0 0 10px}.upvh-detail-table{width:100%;border-collapse:collapse;table-layout:fixed}.upvh-detail-table th,.upvh-detail-table td{padding:9px 7px;border-bottom:1px solid #4c7b894a;text-align:left;overflow-wrap:anywhere;vertical-align:top;font-size:.82rem}.upvh-detail-table th{width:42%;color:#bddce6;font-weight:600}.upvh-detail-table td{font-variant-numeric:tabular-nums}.upvh-detail-formula{padding:12px;border-left:3px solid #6fe3d4;line-height:1.7;font-family:ui-monospace,monospace;font-size:.8rem}.upvh-card:has(.upvh-detail:not([hidden])) .upvh-bottom{display:none}
.upvh-visual{height:144px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 30% 15%,#287995,#031b30 70%);border-radius:12px;overflow:hidden;margin-bottom:10px}.upvh-visual img{width:82px;height:82px;object-fit:contain}.upvh-visual img.is-cover{width:100%;height:100%;object-fit:cover}.upvh-personal-section{margin-top:18px}.upvh-belt-controls{display:flex;gap:8px;margin:10px 0}.upvh-personal-belt{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:8px 2px 14px;overscroll-behavior-x:contain}.upvh-personal-object{flex:0 0 min(260px,76vw);min-width:0;scroll-snap-align:start;padding:12px!important;border:1px solid #63b6c67a!important;border-radius:18px!important;background:linear-gradient(130deg,#092f43,#07182d)!important;color:#eaf8ff;text-align:left;cursor:pointer}.upvh-personal-object strong,.upvh-personal-object small{display:block;overflow-wrap:anywhere}.upvh-personal-object small{margin-top:6px;color:#b6d8e2;font-size:.75rem}.upvh-events{display:grid;gap:10px}.upvh-event{padding:11px;border-left:2px solid #77daca;background:#10374755}.upvh-event small{display:block;color:#a8cbd8;font-size:.72rem;margin:5px 0}.upvh-event p{font-size:.8rem;line-height:1.65;overflow-wrap:anywhere}
body:has(#up-visio-history-root:not([hidden])) #unipay-menu-up,body:has(#up-visio-history-root:not([hidden])) #unipay-shell-brand{z-index:2147483500!important;visibility:visible!important;pointer-events:auto!important}
@media(max-width:650px){#up-visio-history-root{padding:3px}.upvh-card{border-radius:12px}.upvh-list,.upvh-dev-grid{grid-template-columns:1fr}.upvh-head img{width:40px;height:40px}.upvh-head p{font-size:.82rem}}
