/* UI v4 · 未替换弹窗 / 直播托盘 / 结算层
   视觉来源：2026-07-22 effects boards + transparent component atlas。
   作用域只命中新增 ui4-* 标记，保留原交互与内容结构。 */
.ui4-overlay{background:rgba(3,7,17,.72);backdrop-filter:blur(8px) saturate(.9);-webkit-backdrop-filter:blur(8px) saturate(.9)}
.ui4-overlay-close{position:absolute!important;top:14px!important;right:14px!important;left:auto!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:1px solid rgba(232,195,106,.76)!important;border-radius:50%!important;background:rgba(3,12,27,.92)!important;box-shadow:inset 0 1px rgba(255,255,255,.12),0 5px 16px rgba(0,0,0,.34)!important;transform:none!important;z-index:1000!important;cursor:pointer}
.ui4-overlay-close::before,.ui4-overlay-close::after{content:"";position:absolute;left:9px;top:15px;width:15px;height:2px;border-radius:2px;background:#edc77b;box-shadow:0 0 5px rgba(237,199,123,.24)}
.ui4-overlay-close::before{transform:rotate(45deg)}.ui4-overlay-close::after{transform:rotate(-45deg)}
.ui4-overlay-close:disabled{opacity:.42;cursor:not-allowed}
.ui4-ad .ad-head{padding-right:62px}
.ui4-panel{position:relative;width:88%;max-width:400px;max-height:90%;overflow:hidden;isolation:isolate;background:linear-gradient(160deg,rgba(18,34,58,.98),rgba(5,12,28,.98))!important;border:1px solid rgba(232,195,106,.48)!important;border-radius:16px!important;box-shadow:0 18px 52px rgba(0,0,0,.62),0 0 28px rgba(232,195,106,.12)!important;padding:42px 24px 24px!important;color:#f0e5ca}
.ui4-panel-frame{position:absolute;inset:-7px;width:calc(100% + 14px);height:calc(100% + 14px);object-fit:fill;z-index:0;pointer-events:none;filter:drop-shadow(0 0 8px rgba(232,195,106,.22))}
.ui4-panel .corner{display:none}
.ui4-panel>*:not(.ui4-panel-frame){position:relative;z-index:1}
.ui4-panel .ptitle{top:10px!important;background:transparent!important;border:0!important;padding:0 18px!important;color:#fff4d0!important;font-size:21px!important;text-shadow:0 0 12px rgba(232,195,106,.28),0 2px 4px #030817!important}
.ui4-panel .pclose{top:9px!important;right:9px!important;width:30px!important;height:30px!important;background:rgba(3,9,21,.72)!important;border:1px solid rgba(232,195,106,.7)!important;color:#ffe9b0!important;font-size:17px!important}
.ui4-panel .pbody{color:#eee2c6}.ui4-panel .sign-cell{background:linear-gradient(160deg,rgba(21,40,67,.82),rgba(7,18,36,.82));border:1px solid rgba(232,195,106,.52);border-radius:10px;color:#f0e5ca}.ui4-panel .sign-cell .day,.ui4-panel .sign-cell .rw-lbl{color:#dcc99e}.ui4-panel .sign-cell.d7{background:linear-gradient(160deg,rgba(46,59,80,.92),rgba(12,25,45,.92))}.ui4-panel .sign-cell.d7 .big{color:#ffbf76}
.ui4-panel .settings-row{border-bottom-color:rgba(232,195,106,.18)}.ui4-panel .settings-row .sname{color:#eee2c6}.ui4-panel .tgl{background:rgba(101,117,139,.72);border:1px solid rgba(232,195,106,.4)}.ui4-panel .tgl.on{background:linear-gradient(180deg,#f1c86d,#a8752c)}.ui4-panel .tgl .knob{background:#fff7df}.ui4-panel .tgl:not(.on) .txt{color:#e2d3b0}
.ui4-panel .ans-top,.ui4-panel .ans-list{background:rgba(7,18,36,.72);border-color:rgba(232,195,106,.38);color:#efe4c9}.ui4-panel .ans-list .ans-h{color:#ffd889}.ui4-panel .ans-list .ans-note{color:#bda777}.ui4-panel .ans-list .ans-row{color:#eee2c6}
.ui4-panel .btn-gold{background:linear-gradient(180deg,#ffe7a7,#b68132);border-color:#fff2c8;color:#3d2a0a;box-shadow:0 3px 0 #6c4919,0 0 16px rgba(232,195,106,.22)}.ui4-panel .btn-ad{background:linear-gradient(180deg,#e9a55d,#bd4c3e);border-color:#ffd6a1;box-shadow:0 3px 0 #6f251d,0 0 16px rgba(209,104,68,.24)}.ui4-panel .btn-refuse{background:linear-gradient(180deg,#7896db,#3d5eab);border-color:#cad6ff;box-shadow:0 3px 0 #233c78,0 0 14px rgba(99,133,220,.24)}
.ui4-setting-glyph{position:relative;display:inline-block;width:24px;height:24px;flex:none;color:#f5d88e}.ui4-setting-name.music .ui4-setting-glyph:before{content:'♪';position:absolute;inset:0;font-size:25px;line-height:22px}.ui4-setting-name.sfx .ui4-setting-glyph:before{content:'';position:absolute;left:3px;top:7px;width:8px;height:10px;border:2px solid #f5d88e;border-right:0}.ui4-setting-name.sfx .ui4-setting-glyph:after{content:'))';position:absolute;right:-2px;top:2px;font-size:16px;letter-spacing:-4px}.ui4-setting-name.voice .ui4-setting-glyph:before{content:'';position:absolute;left:7px;top:2px;width:10px;height:15px;border:2px solid #f5d88e;border-radius:8px}.ui4-setting-name.voice .ui4-setting-glyph:after{content:'';position:absolute;left:4px;bottom:2px;width:16px;height:7px;border:2px solid #f5d88e;border-top:0;border-radius:0 0 10px 10px}.ui4-setting-name.vibrate .ui4-setting-glyph:before{content:'▥';position:absolute;inset:0;font-size:23px;line-height:21px}.ui4-reward-glyph{position:relative;display:inline-block;width:30px;height:30px;color:#f5c85f}.ui4-reward-glyph:before{content:'✦';position:absolute;inset:0;text-align:center;font-size:28px;line-height:29px}.ui4-reward-glyph.day-1:before,.ui4-reward-glyph.day-4:before,.ui4-reward-glyph.day-6:before{content:'';left:12px;top:2px;width:8px;height:24px;border:2px solid #f5c85f;border-radius:6px;transform:rotate(42deg)}.ui4-reward-glyph.day-2:before,.ui4-reward-glyph.day-5:before{content:'';left:7px;top:2px;width:16px;height:19px;border:2px solid #f5c85f;border-radius:50% 50% 42% 42%}.ui4-reward-glyph.day-2:after,.ui4-reward-glyph.day-5:after{content:'';position:absolute;left:10px;bottom:2px;width:10px;height:3px;border-top:2px solid #f5c85f;border-bottom:2px solid #f5c85f}.ui4-reward-glyph.day-3:before{content:'';left:3px;top:7px;width:24px;height:15px;border:2px solid #f5c85f;border-radius:3px}.ui4-reward-glyph.day-3:after{content:'';position:absolute;left:8px;top:12px;width:15px;height:2px;background:#f5c85f}.ui4-ticket-glyph{display:inline-flex;align-items:center;justify-content:center;width:42px;height:28px;border:2px solid #f5c85f;border-radius:5px;color:#f5c85f;font-size:12px;font-weight:900;transform:rotate(-3deg)}.ui4-ticket-glyph:before{content:'';position:absolute;left:13px;top:3px;height:18px;border-left:2px dashed #f5c85f}.ui4-entry-glyph{display:inline-block;position:relative;width:36px;height:28px;border:2px solid #f5c85f;border-radius:5px;vertical-align:middle;box-shadow:inset 0 0 0 3px rgba(245,200,95,.13)}.ui4-entry-glyph:before{content:'+';position:absolute;left:11px;top:0;color:#f5c85f;font-size:22px;line-height:23px}

.ui4-sheet-overlay{align-items:stretch}.ui4-bottom-sheet{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,rgba(11,28,52,.98),rgba(4,12,27,.98))!important;border:1px solid rgba(232,195,106,.48)!important;border-bottom:0;border-radius:20px 20px 0 0!important;box-shadow:0 -18px 48px rgba(0,0,0,.58),0 0 28px rgba(232,195,106,.1)!important;color:#eee2c6}
.ui4-sheet-frame{position:absolute;inset:-3px;width:calc(100% + 6px);height:calc(100% + 6px);object-fit:fill;pointer-events:none;z-index:0;opacity:.9;filter:drop-shadow(0 0 8px rgba(232,195,106,.18))}.ui4-bottom-sheet>*:not(.ui4-sheet-frame){position:relative;z-index:1}
.ui4-bottom-sheet .rk-tabs{border-bottom-color:rgba(232,195,106,.24);color:#e9dbbc}.ui4-bottom-sheet .rk-tabs .on{color:#ffe2a0;border-bottom-color:#e8c36a}.ui4-bottom-sheet .rk-tabs .off,.ui4-bottom-sheet .rk-tabs .rk-cd{color:#a99b7f}.ui4-bottom-sheet .rk-tabs .rk-cd b{color:#ffb37a}.ui4-bottom-sheet .rk-row{border-bottom:1px solid rgba(232,195,106,.12)}.ui4-bottom-sheet .rk-row .rk-i{color:#e8c36a}.ui4-bottom-sheet .rk-row .rk-av{font-size:0;background:rgba(8,19,36,.78);border-color:rgba(232,195,106,.72);color:#ffe5a2}.ui4-bottom-sheet .rk-row .rk-av:before{content:'✦';font-size:22px}.ui4-bottom-sheet .rk-row:nth-of-type(3) .rk-av:before{content:'◆'}.ui4-bottom-sheet .rk-row:nth-of-type(4) .rk-av:before{content:'◇'}.ui4-bottom-sheet .rk-row .rk-n{color:#eee2c6}.ui4-bottom-sheet .rk-row .rk-v{color:#e8c36a}
.ui4-bottom-sheet .gs-head,.ui4-bottom-sheet .gs-sub,.ui4-bottom-sheet .gs-note{color:#e9dbbc}.ui4-bottom-sheet .gs-t,.ui4-bottom-sheet .gs-more,.ui4-bottom-sheet .gs-note{color:#a99b7f}.ui4-bottom-sheet .gs-vip,.ui4-bottom-sheet .gs-pay{background:rgba(232,195,106,.12);border:1px solid rgba(232,195,106,.24);color:#f4d88c}.ui4-bottom-sheet .gs-pay{color:#b9eccf}.ui4-bottom-sheet .gs-item{border:1px solid rgba(232,195,106,.22);background:rgba(8,19,36,.5);border-radius:12px}.ui4-bottom-sheet .gs-ico{font-size:0;width:48px;height:48px;margin:0 auto;border:1px solid rgba(232,195,106,.6);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#f5d88e}.ui4-bottom-sheet .gs-ico:before{content:'✦';font-size:25px}.ui4-bottom-sheet .gs-item:nth-child(2n) .gs-ico:before{content:'◆'}.ui4-bottom-sheet .gs-item:nth-child(3n) .gs-ico:before{content:'◇'}.ui4-bottom-sheet .gs-lbl{color:#dfcfaa}.ui4-bottom-sheet .gs-give{background:linear-gradient(180deg,#e9a55d,#bd4c3e);border:1px solid #ffd6a1}

.ui4-result-overlay{isolation:isolate}.ui4-result-overlay .ui4-result-emblem{position:absolute;top:3%;left:50%;width:min(76vw,330px);height:auto;transform:translateX(-50%);z-index:1;opacity:.42;filter:drop-shadow(0 0 18px rgba(232,195,106,.35));pointer-events:none}.ui4-result-overlay .clear-art,.ui4-result-overlay .polaroid,.ui4-result-overlay .clear-btns,.ui4-result-overlay .clear-entry{position:relative;z-index:3}.ui4-result-overlay .clear-art{font-size:44px;letter-spacing:5px;margin-top:9%}.ui4-result-overlay .polaroid{background:linear-gradient(160deg,rgba(22,39,63,.96),rgba(5,14,29,.98));border:1px solid rgba(232,195,106,.75);box-shadow:0 0 0 2px rgba(184,146,58,.35),0 16px 42px rgba(0,0,0,.68)}.ui4-result-overlay .polaroid .pol-img{border:1px solid rgba(232,195,106,.32)}.ui4-result-overlay .polaroid .pol-cap{color:#eee2c6;text-shadow:0 1px 3px #020817}.ui4-result-fail .ui4-result-emblem{filter:drop-shadow(0 0 18px rgba(180,190,220,.3));opacity:.34}.ui4-result-fail .clear-art.fail{-webkit-text-stroke:1px #7d8398}.ui4-result-overlay .clear-entry .circ{background:rgba(8,19,36,.88);border-color:rgba(232,195,106,.7);font-size:0}.ui4-result-overlay .clear-entry .circ:before{content:'✦';font-size:26px;color:#f5d88e}
.ui4-loading-mark{position:relative;width:64px;height:64px;border:1px solid rgba(232,195,106,.75);border-radius:50%;box-shadow:0 0 20px rgba(232,195,106,.18)}.ui4-loading-mark:before,.ui4-loading-mark:after{content:'';position:absolute;left:50%;top:50%;width:26px;height:2px;background:#ffe9b0;transform-origin:left center}.ui4-loading-mark:before{transform:translate(-50%,-50%) rotate(45deg)}.ui4-loading-mark:after{transform:translate(-50%,-50%) rotate(-45deg)}.ui4-loading .panel-title{color:#ffe9b0}.ui4-loading .boot-bar{background:rgba(255,255,255,.08)}
.loading-page{display:block;background:#020914!important;overflow:hidden;isolation:isolate;backdrop-filter:none;-webkit-backdrop-filter:none}
.loading-poster,.loading-video,.loading-readability{position:absolute;inset:0;width:100%;height:100%}
.loading-poster{z-index:0;background:#020914 url('art/ui-v8/loading/loading-static.png') center/cover no-repeat}
.loading-video{z-index:1;display:block;object-fit:cover;object-position:center;border:0;pointer-events:none;opacity:0;transition:opacity .18s ease}
.loading-video.is-ready{opacity:1}
.loading-readability{z-index:2;background:linear-gradient(180deg,rgba(2,9,20,.06) 0%,rgba(2,9,20,.02) 38%,rgba(2,9,20,.08) 59%,rgba(2,9,20,.48) 78%,rgba(2,9,20,.74) 100%);pointer-events:none}
.loading-title{position:absolute;z-index:3;left:50%;top:49.46%;transform:translate(-50%,-50%);font-family:"CorpSrcWinSong","Source Han Serif SC",serif;font-size:clamp(48px,13.6vw,66px);font-weight:400;line-height:1;letter-spacing:.15em;white-space:nowrap;color:#ffebc5;text-shadow:0 0 9px rgba(255,240,199,.47),0 2px 7px rgba(0,0,0,.82)}
.loading-quip{position:absolute;z-index:3;left:50%;top:59.4%;width:82%;transform:translateX(-50%);font-family:"Source Han Sans SC",sans-serif;font-size:clamp(14px,3.4vw,17px);font-weight:400;line-height:1.4;letter-spacing:.1em;text-align:center;white-space:normal;color:#ffebc5;text-shadow:0 2px 5px rgba(0,0,0,.9);animation:loading-quip-in 280ms ease-out both}
@keyframes loading-quip-in{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}
.loading-progress{position:absolute;z-index:4;left:14.56%;top:69.38%;width:71.31%;height:27px;transform:translateY(-50%)}
.loading-progress-track{position:absolute;left:0;right:0;top:50%;height:8px;transform:translateY(-50%);border:1px solid rgba(255,224,160,.92);border-radius:999px;background:rgba(4,12,24,.8);box-shadow:inset 0 0 0 2px rgba(8,19,34,.92),0 0 7px rgba(231,191,105,.22)}
.loading-progress-fill{position:absolute;left:0;top:50%;height:6px;max-width:100%;transform:translateY(-50%);border-radius:999px;background:linear-gradient(90deg,#d69e42 0%,#ffe7a5 62%,#fff3cc 100%);box-shadow:0 0 8px rgba(255,211,120,.38);pointer-events:none}
.loading-progress-orb{position:absolute;z-index:2;top:50%;width:44px;height:44px;padding:0;border:0;border-radius:50%;transform:translate(-50%,-50%);background:transparent;cursor:pointer;touch-action:manipulation}
.loading-progress-orb span{position:absolute;left:50%;top:50%;width:22px;height:22px;transform:translate(-50%,-50%);border:1px solid #ffedbd;border-radius:50%;background:radial-gradient(circle at 38% 32%,#fff8dc 0 8%,#e8bd6b 28%,#9b642b 68%,#3e2813 100%);box-shadow:0 0 0 2px rgba(151,103,43,.45),0 0 12px rgba(255,214,132,.72)}
.loading-progress-orb span::after{content:"";position:absolute;inset:5px;transform:rotate(45deg);border-radius:3px;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,217,140,.12))}
@keyframes loading-orb-jump{0%,100%{transform:translate(-50%,-50%) scale(1)}35%{transform:translate(-50%,calc(-50% - 22px)) scale(.94,1.06)}70%{transform:translate(-50%,calc(-50% + 2px)) scale(1.08,.92)}}
.loading-progress-orb.is-jumping{animation:loading-orb-jump 420ms cubic-bezier(.2,.8,.25,1)}
.loading-progress-orb:focus-visible{outline:2px solid #fff0c7;outline-offset:2px}
.loading-network-note{position:absolute;z-index:3;left:50%;top:73.9%;width:88%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:10px;font-family:"Source Han Sans SC",sans-serif;font-size:clamp(11px,2.7vw,13px);letter-spacing:.08em;color:rgba(255,235,197,.9);text-shadow:0 2px 5px rgba(0,0,0,.88)}
.loading-network-note i{width:5px;height:5px;transform:rotate(45deg);background:#ffe5a1;box-shadow:0 0 7px rgba(255,218,133,.8)}
.loading-retry{position:absolute;z-index:3;left:50%;bottom:10.8%;transform:translateX(-50%);padding:9px 15px;border:0;border-bottom:1px solid rgba(255,226,168,.72);background:transparent;font-family:"Source Han Sans SC",sans-serif;font-size:clamp(12px,3vw,15px);letter-spacing:.08em;color:#f4d9a2;text-shadow:0 2px 5px rgba(0,0,0,.9);cursor:pointer}
.loading-retry::before,.loading-retry::after{content:"";display:inline-block;width:5px;height:5px;margin:0 11px 2px;transform:rotate(45deg);background:#ffe5a1;box-shadow:0 0 7px rgba(255,218,133,.8)}
.app:has(.loading-page) .platform-capsule{display:none}
@media (prefers-reduced-motion: reduce){.loading-video{display:none}.loading-quip,.loading-progress-orb.is-jumping{animation:none}}
.ui4-ad{background:radial-gradient(100% 70% at 50% 20%,rgba(41,69,109,.72),rgba(3,8,20,.98))!important}.ui4-ad .ad-card{background:linear-gradient(160deg,rgba(18,36,61,.96),rgba(5,14,29,.98));border:1px solid rgba(232,195,106,.45);box-shadow:0 18px 48px rgba(0,0,0,.55);color:#eee2c6}.ui4-ad .ui4-ad-mark{font-size:0;background:rgba(8,19,36,.8);border:1px solid rgba(232,195,106,.7);box-shadow:0 0 18px rgba(232,195,106,.2)}.ui4-ad .ui4-ad-mark:before{content:'▶';font-size:31px;color:#ffe9b0}.ui4-ad .ad-card>div:nth-child(3){color:#b9ad95!important}.ui4-ad .ad-dl{background:linear-gradient(180deg,#e9a55d,#bd4c3e);border:1px solid #ffd6a1;box-shadow:0 3px 0 #6f251d,0 0 14px rgba(209,104,68,.24)}
.ui4-ad .ad-card{position:relative}
.ui4-ad .ad-card .ui4-overlay-close{top:-18px!important;right:-18px!important}
