#hv-event-overlay{position:fixed;inset:0;z-index:10085;display:none;align-items:center;justify-content:center;box-sizing:border-box;padding:10px;background:#000b;backdrop-filter:blur(3px);font-family:'HV368 Display','Arial Narrow',Arial,sans-serif;color:#fff0c6;pointer-events:auto}
#hv-event-overlay.is-open{display:flex}
.hv-event-popup{position:relative;box-sizing:border-box;width:min(1120px,97vw);height:min(660px,94dvh);min-height:0;padding:80px 34px 27px;border:2px solid #d3a34e;border-radius:27px;background:linear-gradient(165deg,#3f1b08c0,#160804e8 36%,#2c1207e8 84%,#6a3c17a8),url('/branding/hv368-popup-frame.png') center/100% 100% no-repeat,#271106;box-shadow:inset 0 0 0 3px #3d230c,inset 0 3px 20px #f8d2864f,0 25px 70px #000e;overflow:hidden}
.hv-event-header{position:absolute;z-index:2;top:-2px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:20px;box-sizing:border-box;width:min(460px,68%);height:65px;padding:0 25px 5px;border:2px solid #deb455;border-radius:0 0 34px 34px;background:linear-gradient(180deg,#3b1a07,#b77726 19%,#7a390e 53%,#341608 90%);box-shadow:inset 0 3px #ffe29c,0 5px 9px #000b}
.hv-event-header h2{margin:0;color:#ffe39a;font-size:31px;font-weight:900;line-height:1;text-shadow:0 2px #5b2106,0 4px 4px #000}
.hv-event-header span{color:#ffd471;font-family:Georgia,serif;font-size:26px;text-shadow:0 2px #4c1c06}
.hv-event-close{position:absolute;z-index:3;top:10px;right:11px;width:56px;height:47px;padding:0;border:2px solid #c26635;border-radius:12px;background:linear-gradient(#e54b32,#a21813 50%,#650b09);box-shadow:inset 0 2px #ffa47c,0 4px 7px #000a;color:#fff1cb;font-family:Arial,sans-serif;font-size:39px;font-weight:900;line-height:36px;text-shadow:0 2px #500706;cursor:pointer}
.hv-event-close:hover{filter:brightness(1.18)}.hv-event-close:active{transform:translateY(2px)}
.hv-event-layout{position:relative;z-index:1;display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;height:100%;min-height:0}
.hv-event-nav{display:flex;flex-direction:column;gap:13px;min-height:0;overflow:auto;padding:9px 3px 4px;scrollbar-width:thin;scrollbar-color:#ad7633 #160a05}
.hv-event-nav button{display:flex;align-items:center;gap:12px;flex:0 0 auto;min-height:63px;width:100%;padding:7px 12px;border:2px solid #7c644c;border-radius:12px;background:linear-gradient(165deg,#92908a,#57524e 48%,#302820);box-shadow:inset 0 2px #ffffff90,inset 0 -6px #211a16,0 4px 6px #000b;color:#f0e4d1;font:800 20px/1.05 'HV368 Display','Arial Narrow',Arial,sans-serif;text-shadow:0 2px 2px #231b17;text-align:left;cursor:pointer}
.hv-event-nav button.active{border-color:#e9b64f;background:linear-gradient(165deg,#ffe786,#de9829 43%,#9c4e0f 86%);box-shadow:inset 0 2px #fff6c3,inset 0 -6px #713408,0 4px 8px #000d;color:#4b2207;text-shadow:0 1px #ffe9a0}
.hv-event-nav button:hover{filter:brightness(1.1)}.hv-event-nav i{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border:2px solid #f0c160;border-radius:9px;background:linear-gradient(#8e3a19,#420d0b);box-shadow:inset 0 1px #ffc571;color:#ffe3a0;font-family:Georgia,serif;font-size:25px;font-style:normal;text-shadow:0 2px #000}
.hv-event-main{display:flex;flex-direction:column;min-width:0;min-height:0}.hv-event-tabs{display:flex;align-items:center;justify-content:center;gap:14px;flex:0 0 58px;min-width:0;overflow-x:auto;scrollbar-width:none}.hv-event-tabs:empty{flex-basis:12px}
.hv-event-tabs button{flex:0 0 auto;min-width:130px;height:44px;padding:0 15px;border:2px solid #7b6a56;border-radius:13px;background:linear-gradient(#686766,#252525 55%,#090909);box-shadow:inset 0 2px #ffffff56,inset 0 -4px #050505,0 3px 5px #000c;color:#e4ddd1;font:900 18px 'HV368 Display','Arial Narrow',Arial,sans-serif;text-shadow:0 2px #000;cursor:pointer}.hv-event-tabs button.active{border-color:#f0c65f;background:linear-gradient(#ffed9d,#cb8734 40%,#754017 80%);box-shadow:inset 0 2px #fff7c3,inset 0 -4px #57300d,0 3px 6px #000c;color:#fff5ce;text-shadow:0 2px #70370d}
.hv-event-content{flex:1;min-height:0;overflow:auto;padding:17px 20px 21px;border:2px solid #c49545;border-radius:24px;background:linear-gradient(180deg,#5c1f09 0,#3a1508 34%,#1e0b05 100%);box-shadow:inset 0 0 0 2px #6e3718,inset 0 8px 18px #220700;scrollbar-color:#d19a45 #1c0c05;scrollbar-width:thin}
.hv-event-update{margin:-1px 0 16px;text-align:center;color:#f9e5c8;font:800 16px Arial,sans-serif}.hv-event-period-list{display:flex;flex-direction:column;gap:17px}.hv-event-period header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.hv-event-period header strong{color:#ffe179;font-size:24px;letter-spacing:1px;text-shadow:0 2px #6b2b08}.hv-event-period header small{color:#bfa67b;font:700 12px Arial,sans-serif}.hv-event-table-head,.hv-event-table-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;min-height:39px;padding:0 7px;text-align:center}.hv-event-table-head{border:1px solid #a76835;border-radius:9px 9px 0 0;background:linear-gradient(#69130e,#330807);color:#ffe29b;font-size:18px;font-weight:900}.hv-event-table-row{border:1px solid #77512d;border-top:0;border-radius:0 0 9px 9px;background:linear-gradient(#3f180e,#1b0805);color:#fff0c2;font-size:19px;text-shadow:0 2px #321006}
.hv-event-claim,.hv-event-deposit,.hv-event-primary{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 14px;border:2px solid #f3d270;border-radius:12px;background:linear-gradient(#ffec98,#c77e20 46%,#6c3009);box-shadow:inset 0 2px #fff8c8,0 3px 6px #000b;color:#3b1c08;font:900 14px 'HV368 Display','Arial Narrow',Arial,sans-serif;text-decoration:none;text-shadow:0 1px #ffe09a;white-space:nowrap;cursor:pointer}.hv-event-claim:hover,.hv-event-deposit:hover,.hv-event-primary:hover{filter:brightness(1.16)}.hv-event-claim:disabled{opacity:.5;cursor:wait}
.hv-event-rules{font:700 15px/1.55 Arial,sans-serif;color:#f9e9d2}.hv-event-rules h3,.hv-event-hourly h3,.hv-event-ref-overview h3{margin:0 0 12px;color:#ffe07a;font:900 23px 'HV368 Display','Arial Narrow',Arial,sans-serif;text-align:center;text-shadow:0 2px #642304}.hv-event-rules p{margin:0 0 13px}.hv-event-rules b{color:#ffe079}.hv-event-rule-note{margin-top:14px!important;color:#e3cca9}.hv-event-rate-table,.hv-event-tier-table{overflow:hidden;border:1px solid #8e5828;border-radius:12px;background:#1a0804}.hv-event-rate-head,.hv-event-rate-table>div:not(:first-child),.hv-event-tier-table>div:not(:first-child){display:grid;grid-template-columns:70px 1fr 130px;align-items:center;min-height:34px;padding:0 14px;border-bottom:1px solid #68371c}.hv-event-rate-head{background:linear-gradient(#68150e,#3b0a08);color:#ffdf89;font-weight:900}.hv-event-rate-table>div:not(:first-child):nth-child(odd),.hv-event-tier-table>div:not(:first-child):nth-child(odd){background:#5a210b55}.hv-event-rate-table b,.hv-event-tier-table b{color:#ffe17a;text-align:right}.hv-event-tier-table .hv-event-rate-head,.hv-event-tier-table>div:not(:first-child){grid-template-columns:1fr 150px}
.hv-event-hourly{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;box-sizing:border-box;padding:10px 35px;text-align:center;font:700 18px/1.55 Arial,sans-serif}.hv-event-hourly-icon{display:grid;place-items:center;width:70px;height:70px;margin-bottom:10px;border:3px solid #ecbb58;border-radius:50%;background:linear-gradient(#a74a12,#4b1408);color:#ffe17f;font-size:48px;box-shadow:inset 0 2px #ffe6a7,0 0 18px #d38028}.hv-event-hourly p{margin:3px 0 10px}.hv-event-hourly b{color:#ffe174}.hv-event-hourly .hv-event-primary{margin-top:12px;min-width:180px;font-size:17px}.hv-event-unavailable{margin-top:10px;color:#c8ab7e;font-size:14px}
.hv-event-tier-list{display:flex;flex-direction:column;gap:8px}.hv-event-tier-row{display:grid;grid-template-columns:1.1fr .8fr 130px;align-items:center;gap:10px;min-height:51px;padding:5px 11px;border:2px solid #b8751e;border-radius:12px;background:linear-gradient(160deg,#54200b,#2a0d05 68%);box-shadow:inset 0 1px #ecc17680,0 3px 5px #000b}.hv-event-tier-row.is-matched{border-color:#ffe27a;box-shadow:0 0 12px #d98538,inset 0 1px #fff5be}.hv-event-tier-row span{color:#fff0c6;font-size:17px}.hv-event-tier-row strong{color:#ffdd6c;font-size:23px;text-align:center;text-shadow:0 2px #5c2503}.hv-event-tier-row button{font-size:12px}
.hv-event-ref-claim>p{margin:0 0 10px;color:#e3c599;font:700 14px Arial,sans-serif}.hv-event-ref-claim>p b{color:#ffe177}.hv-event-milestones{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.hv-event-milestone{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:104px;padding:7px 3px;border:1px solid #6c4222;border-radius:10px;background:linear-gradient(#633019,#260f08);text-align:center;filter:saturate(.56)}.hv-event-milestone.is-ready{border-color:#f6c456;filter:none;box-shadow:0 0 11px #dc832f80}.hv-event-milestone.is-claimed{opacity:.7}.hv-event-milestone>span{color:#e2c182;font-size:30px;line-height:1}.hv-event-milestone b{margin-top:3px;color:#fff0cf;font-size:14px}.hv-event-milestone small{color:#ffcf6d;font:700 12px Arial,sans-serif}.hv-event-milestone button{margin-top:4px;min-height:24px;padding:1px 8px;font-size:10px}.hv-event-milestone em{margin-top:4px;color:#a6d7a3;font:700 10px Arial,sans-serif}
.hv-event-chest{position:relative;display:block;width:38px;height:27px;margin:4px 0 6px;border:2px solid #c9bdab;border-radius:4px 4px 7px 7px;background:linear-gradient(90deg,#615950 0 20%,#aaa297 21% 40%,#5b554e 41% 60%,#aaa297 61% 80%,#655d52 81%);box-shadow:inset 0 2px #ebe3d4,0 3px 5px #0009}.hv-event-chest:before{content:"";position:absolute;left:-3px;right:-3px;top:-7px;height:9px;border:2px solid #c8bca9;border-radius:9px 9px 2px 2px;background:linear-gradient(#c0b7ac,#585149);box-shadow:inset 0 1px #f6f0e5}.hv-event-chest:after{content:"♠";position:absolute;left:50%;top:7px;transform:translateX(-50%);display:grid;place-items:center;width:12px;height:11px;border:1px solid #e2d5ba;border-radius:3px;background:#4a4036;color:#f4e1ad;font:9px Georgia,serif}.hv-event-milestone.is-ready .hv-event-chest{border-color:#f6d474;background:linear-gradient(90deg,#a85b13 0 20%,#f8ca58 21% 40%,#9f5312 41% 60%,#f8ca58 61% 80%,#a45b15 81%)}.hv-event-milestone.is-ready .hv-event-chest:before{border-color:#f4d574;background:linear-gradient(#ffe99c,#a76315)}
.hv-event-ref-share{display:grid;grid-template-columns:1fr 120px 1fr;align-items:center;gap:10px;margin:15px 0;padding:13px;border:1px solid #a87838;border-radius:14px;background:#280d05}.hv-event-ref-share>div{display:flex;flex-direction:column;min-width:0;gap:5px}.hv-event-ref-share small{color:#dfb765;font-size:12px;font-weight:900}.hv-event-ref-share code{overflow:hidden;color:#fff0d5;font:700 12px Arial,sans-serif;text-overflow:ellipsis;white-space:nowrap}.hv-event-ref-share img{display:block;width:112px;height:112px;padding:5px;background:#fff;border-radius:5px}.hv-event-ref-share button{align-self:start;padding:4px 8px;border:1px solid #bb8c4c;border-radius:7px;background:#542610;color:#ffe2aa;cursor:pointer}
.hv-event-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.hv-event-stats>div{padding:14px;border:1px solid #a26831;border-radius:10px;background:linear-gradient(#692112,#290b06);text-align:center}.hv-event-stats small{display:block;color:#ddb877;font:700 12px Arial,sans-serif}.hv-event-stats b{display:block;color:#ffe47c;font-size:27px}.hv-event-commission{display:grid;grid-template-columns:1.5fr 1fr 80px auto;align-items:center;gap:8px;padding:9px 12px;border:1px solid #774522;border-radius:9px;background:#300f07;font-size:14px}.hv-event-commission b{font-size:13px}.hv-event-commission strong{color:#ffe076}.hv-event-commission small{color:#a6d7a3}
.hv-event-downline-head,.hv-event-downline-row{display:grid;grid-template-columns:1fr 1fr 1fr 1.15fr;align-items:center;gap:6px;min-height:40px;padding:0 12px;border-bottom:1px solid #82451e;font:700 13px Arial,sans-serif}.hv-event-downline-head{border-radius:9px;background:linear-gradient(#68140d,#370807);color:#ffdb82;font-weight:900}.hv-event-downline-row:nth-child(odd){background:#ffffff0c}.hv-event-downline-row b{color:#f5d782}.hv-event-empty{padding:30px;text-align:center;color:#c2a482;font:700 14px Arial,sans-serif}.hv-event-loading{display:grid;place-items:center;min-height:100%;color:#f2d27d;font:800 16px Arial,sans-serif;text-align:center}.hv-event-loading.is-error{color:#ff9e8e}
.hv-event-toast{position:absolute;z-index:5;left:50%;bottom:34px;transform:translateX(-50%);display:none;max-width:85%;padding:10px 16px;border:1px solid #d4b062;border-radius:9px;background:#231108f0;box-shadow:0 5px 18px #000;color:#ffe4a2;font:700 14px Arial,sans-serif;text-align:center}.hv-event-toast.is-visible{display:block}.hv-event-toast.is-error{color:#ffaaa0}
#hv-event-overlay button:focus-visible{outline:3px solid #fff0a1;outline-offset:3px}
@media(max-height:570px) and (min-width:701px){.hv-event-popup{height:96dvh;padding:60px 19px 15px}.hv-event-header{height:50px}.hv-event-header h2{font-size:24px}.hv-event-close{width:44px;height:36px;font-size:29px;line-height:27px}.hv-event-layout{grid-template-columns:190px minmax(0,1fr);gap:12px}.hv-event-nav{gap:7px;padding-top:3px}.hv-event-nav button{min-height:43px;font-size:15px;padding:4px 7px}.hv-event-nav i{flex-basis:26px;width:26px;height:26px;font-size:18px}.hv-event-tabs{flex-basis:44px;gap:8px}.hv-event-tabs button{height:33px;min-width:100px;font-size:13px}.hv-event-content{padding:10px 13px;border-radius:17px}.hv-event-update{font-size:12px;margin-bottom:8px}.hv-event-period-list{gap:9px}.hv-event-period header strong{font-size:17px}.hv-event-table-head,.hv-event-table-row{min-height:28px;font-size:13px}.hv-event-rules{font-size:12px}.hv-event-rules h3,.hv-event-hourly h3{font-size:18px}.hv-event-tier-row{min-height:36px;padding:3px 8px}.hv-event-tier-row span{font-size:13px}.hv-event-tier-row strong{font-size:17px}.hv-event-milestone{min-height:72px}.hv-event-milestone>span{font-size:20px}.hv-event-milestone b{font-size:11px}.hv-event-milestone small{font-size:9px}.hv-event-hourly{font-size:14px;padding:4px 18px}.hv-event-hourly-icon{width:48px;height:48px;font-size:32px}}
@media(max-width:700px) and (orientation:portrait){.hv-event-popup{width:98vw;height:94dvh;padding:58px 9px 10px;border-radius:17px}.hv-event-header{height:47px;width:67%;gap:7px}.hv-event-header h2{font-size:19px}.hv-event-header span{font-size:16px}.hv-event-close{top:6px;right:7px;width:36px;height:34px;font-size:26px;line-height:26px}.hv-event-layout{display:flex;flex-direction:column;gap:5px}.hv-event-nav{flex-direction:row;flex:0 0 60px;overflow-x:auto;overflow-y:hidden;gap:6px;padding:4px}.hv-event-nav button{width:150px;min-height:47px;font-size:13px;padding:4px}.hv-event-nav i{flex-basis:24px;width:24px;height:24px;font-size:17px}.hv-event-main{flex:1}.hv-event-tabs{justify-content:flex-start;flex-basis:43px;gap:5px}.hv-event-tabs button{min-width:98px;height:33px;font-size:12px;padding:0 7px}.hv-event-content{padding:12px;border-radius:14px}.hv-event-period header strong{font-size:17px}.hv-event-table-head,.hv-event-table-row{font-size:12px;min-height:32px}.hv-event-rules{font-size:12px}.hv-event-rate-head,.hv-event-rate-table>div:not(:first-child){grid-template-columns:40px 1fr 80px;padding:0 7px;font-size:11px}.hv-event-tier-table .hv-event-rate-head,.hv-event-tier-table>div:not(:first-child){grid-template-columns:1fr 100px}.hv-event-tier-row{grid-template-columns:1fr 88px;min-height:49px}.hv-event-tier-row span{font-size:12px}.hv-event-tier-row strong{font-size:15px}.hv-event-tier-row button{grid-column:1/-1}.hv-event-milestones{grid-template-columns:repeat(3,1fr)}.hv-event-ref-share{grid-template-columns:1fr 1fr}.hv-event-ref-share img{grid-row:1/3;grid-column:2;width:90px;height:90px;justify-self:center}.hv-event-hourly{padding:5px;font-size:13px}.hv-event-commission{grid-template-columns:1fr 1fr;font-size:11px}.hv-event-downline-head,.hv-event-downline-row{font-size:9px;padding:0 4px}}
html.hv-virtual-landscape .hv-event-popup{width:calc(100% - 8px);height:calc(100% - 8px)}
.hv-event-vip-thresholds{overflow:hidden;margin-top:12px;border:1px solid #8e5828;border-radius:10px}.hv-event-vip-thresholds>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;min-height:31px;align-items:center;padding:0 12px;border-bottom:1px solid #66351c;font-size:12px}.hv-event-vip-thresholds>div:first-child{background:#5f170d;color:#ffe18c}.hv-event-vip-thresholds>div:not(:first-child):nth-child(odd){background:#5a210b55}
@media(max-width:700px){.hv-event-vip-thresholds>div{font-size:10px;padding:0 5px;gap:4px}}

#hv-event-quickbar{position:fixed;top:0;right:6px;z-index:10030;display:none;grid-template-columns:repeat(5,minmax(0,1fr));width:min(520px,43vw);height:88px;padding:4px 5px 7px;box-sizing:border-box;border:1px solid #9e6828;border-top:0;border-radius:0 0 14px 14px;background:linear-gradient(180deg,#110a07f5 0%,#2b180bf0 68%,#130905ee 100%);box-shadow:inset 0 -2px #d39a4788,0 5px 17px #000b;pointer-events:auto}
#hv-event-quickbar.is-visible{display:grid}
#hv-event-quickbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:0;padding:1px 2px;border:0;border-right:1px solid #8e582a8a;background:transparent;color:#ffe3a8;font:900 12px/1.05 'HV368 Popup Prefab','Segoe UI',Arial,sans-serif;text-shadow:0 2px 2px #000,0 0 5px #a05417;cursor:pointer;pointer-events:auto}
#hv-event-quickbar button:last-child{border-right:0}
#hv-event-quickbar button:hover,#hv-event-quickbar button:focus-visible{background:linear-gradient(#7d3d1880,#39180d60);filter:brightness(1.25)}
#hv-event-quickbar button img{display:block;width:41px;height:41px;object-fit:contain;filter:drop-shadow(0 0 5px #e8a344)}
#hv-event-quickbar button span{display:block;text-align:center;white-space:nowrap}
#hv-event-quickbar button small{display:block;margin-top:2px;color:#ffbb5e;font-size:10px;white-space:nowrap}
#hv-event-quickbar .hv-event-quick-vip,#hv-event-quickbar button i{display:grid;place-items:center;width:41px;height:41px;border:2px solid #ffd475;border-radius:10px;background:linear-gradient(145deg,#ffde72,#a75c14 45%,#562205);box-shadow:inset 0 1px #fff5ba,0 0 7px #e8a344;color:#fff2ae;font:900 16px Georgia,serif;font-style:normal;text-shadow:0 2px #68350b}
.hv-event-vip-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:100%;padding:12px 9px;border:1px solid #9d6b38;border-radius:8px;background:linear-gradient(#31221b,#130d0b);color:#f4e2c3;text-align:center}
.hv-event-vip-emblem{display:grid;place-items:center;width:100px;height:100px;margin-bottom:2px;border:7px ridge #e8bf6c;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff4c2,#ab7534 42%,#4a2511 80%);box-shadow:0 0 14px #d4a0518a,inset 0 0 0 3px #5d2a0d;color:#fff3d4;font:900 55px Georgia,serif;text-shadow:0 3px #5d270d}
.hv-event-vip-card h3{margin:0;color:#ffca80;font-size:22px}
.hv-event-vip-card p{margin:0;font-size:13px;line-height:1.35}
.hv-event-vip-card b{color:#ffe28d}
.hv-event-vip-next{margin-top:5px!important;color:#f4be77;font-size:12px!important;font-weight:800}
.hv-event-vip-table{overflow:hidden;border:1px solid #916633;border-radius:7px;background:#140e0b}
.hv-event-vip-row{display:grid;grid-template-columns:1.25fr 1fr 1fr 1.05fr;align-items:center;gap:6px;min-height:44px;padding:4px 9px;border-bottom:1px solid #704c2b;color:#eedaba;font-size:14px;text-align:center}
.hv-event-vip-row:nth-child(odd):not(.is-head){background:#51301b55}
.hv-event-vip-row.is-head{min-height:34px;background:linear-gradient(#482c1f,#1d1410);color:#ffdea0;font-size:13px;font-weight:900}
.hv-event-vip-row b{color:#ffe083}
.hv-event-vip-row .hv-event-claim{min-height:29px;padding:2px 10px}
@media(max-height:570px) and (min-width:701px){#hv-event-quickbar{height:58px;width:min(470px,43vw);padding:2px 4px 5px}#hv-event-quickbar button{font-size:9px}#hv-event-quickbar button img,#hv-event-quickbar button i{width:28px;height:28px}#hv-event-quickbar button small{font-size:8px}.hv-event-vip-emblem{width:65px;height:65px;font-size:35px}.hv-event-vip-card{gap:3px}.hv-event-vip-card h3{font-size:16px}.hv-event-vip-card p{font-size:10px}.hv-event-vip-row{min-height:31px;font-size:11px}}
@media(max-width:700px) and (orientation:portrait){#hv-event-quickbar{top:52px;left:1vw;right:1vw;width:98vw;height:61px;padding:2px 3px 4px}#hv-event-quickbar button{font-size:8px}#hv-event-quickbar button img,#hv-event-quickbar button i{width:28px;height:28px}#hv-event-quickbar button small{font-size:7px}.hv-event-vip-emblem{width:54px;height:54px;font-size:29px}.hv-event-vip-card{gap:2px;padding:4px}.hv-event-vip-card h3{font-size:13px}.hv-event-vip-card p{font-size:9px}.hv-event-vip-next{font-size:9px!important}.hv-event-vip-row{min-height:31px;padding:3px;font-size:10px}}

/* Lobby promo art follows the five floating Cocos banners rather than a toolbar. */
#hv-event-quickbar{top:56px;right:14px;width:min(760px,40vw);height:93px;gap:1px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
#hv-event-quickbar button{position:relative;z-index:0;display:block;height:100%;padding:0;border:0;border-radius:0;background:none;color:#fff4cf;text-align:center;white-space:nowrap;transition:filter .18s ease,transform .18s ease}
#hv-event-quickbar button:last-child{border:0}
#hv-event-quickbar button[data-event-quick="firstDeposit"]{--promo-glow:#a738f0;--promo-accent:#e6a9ff}
#hv-event-quickbar button[data-event-quick="daily"]{--promo-glow:#a72ae8;--promo-accent:#ffc3ff}
#hv-event-quickbar button[data-event-quick="vip"]{--promo-glow:#f6a222;--promo-accent:#ffe19a}
#hv-event-quickbar button[data-event-quick="referral"]{--promo-glow:#68c43c;--promo-accent:#caff93}
#hv-event-quickbar button[data-event-quick="hourly"]{--promo-glow:#db3824;--promo-accent:#ffc271}
#hv-event-quickbar button::before{content:"";position:absolute;z-index:-1;inset:8px 9px 15px;border-radius:50%;background:radial-gradient(ellipse,var(--promo-glow) 0%,color-mix(in srgb,var(--promo-glow),transparent 45%) 37%,transparent 70%);filter:blur(10px);opacity:.7;pointer-events:none}
#hv-event-quickbar button::after{content:"";position:absolute;bottom:0;left:13%;right:13%;height:2px;background:linear-gradient(90deg,transparent,#ffe6a1,transparent);box-shadow:0 0 8px var(--promo-glow);opacity:.7;pointer-events:none}
#hv-event-quickbar button:hover,#hv-event-quickbar button:focus-visible{background:none;filter:brightness(1.16);transform:translateY(2px) scale(1.04);outline:none}
#hv-event-quickbar button:focus-visible::after{height:3px;opacity:1}
#hv-event-quickbar button img{position:absolute;top:-3px;left:50%;width:88px;height:84px;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 0 7px var(--promo-glow)) drop-shadow(0 3px 3px #000c);transition:transform .18s ease}
#hv-event-quickbar button:hover img{transform:translateX(-50%) scale(1.06)}
#hv-event-quickbar button[data-event-quick="referral"] img{width:98px}
#hv-event-quickbar button span{position:absolute;z-index:1;left:0;right:0;bottom:11px;display:block;color:#fff4d9;font:900 14px/1 'HV368 Popup Prefab','Segoe UI',Arial,sans-serif;letter-spacing:-.03em;-webkit-text-stroke:.35px #431307;text-shadow:0 2px 2px #000,0 0 5px #000,0 0 7px var(--promo-glow)}
#hv-event-quickbar button small{display:block;margin-top:1px;color:var(--promo-accent);font:900 11px/1 'HV368 Popup Prefab','Segoe UI',Arial,sans-serif;letter-spacing:0;-webkit-text-stroke:.25px #3d1405;text-shadow:0 2px 2px #000,0 0 6px var(--promo-glow)}
@media(max-height:570px) and (min-width:701px){#hv-event-quickbar{top:38px;right:12px;width:min(500px,46vw);height:70px;padding:0}#hv-event-quickbar button img{top:-3px;width:64px;height:60px}#hv-event-quickbar button[data-event-quick="referral"] img{width:72px}#hv-event-quickbar button span{bottom:3px;font-size:10px}#hv-event-quickbar button small{font-size:8px}}
@media(max-width:700px) and (orientation:portrait){#hv-event-quickbar{top:50px;left:1vw;right:1vw;width:98vw;height:67px;padding:0}#hv-event-quickbar button img{top:-2px;width:43px;height:42px}#hv-event-quickbar button[data-event-quick="referral"] img{width:47px}#hv-event-quickbar button span{bottom:3px;font-size:8px}#hv-event-quickbar button small{font-size:7px}}
@media(prefers-reduced-motion:reduce){#hv-event-quickbar button,#hv-event-quickbar button img{transition:none}}

/* Match the Cocos record_bg popup used by Settings and Bet History. */
#hv-event-overlay{background:rgba(0,0,0,.58);backdrop-filter:none}
#hv-event-overlay .hv-event-popup{width:min(1100px,96vw);height:min(660px,94dvh);padding:85px 22px 22px;border:0;border-radius:10px;background:url('/branding/hv368-popup-frame.png') center/100% 100% no-repeat;box-shadow:0 12px 30px rgba(0,0,0,.72)}
#hv-event-overlay .hv-event-header{top:0;left:0;transform:none;justify-content:flex-start;gap:0;width:calc(100% - 125px);height:79px;padding:0 22px 0 36px;border:0;border-radius:0;background:none;box-shadow:none}
#hv-event-overlay .hv-event-header span{display:none}
#hv-event-overlay .hv-event-header h2{color:#ffb97a;font-size:29px;letter-spacing:.02em;text-shadow:0 2px 2px #5a210d,0 0 5px #b65b1b}
#hv-event-overlay .hv-event-close{top:0;right:0;width:128px;height:81px;border:0;border-radius:0;background:url('/remote/resources/native/f2/f283ea89-6c11-47e1-afe5-80923188b4d0.80560.png') center/100% 100% no-repeat;box-shadow:none;color:transparent;font-size:0;text-shadow:none}
#hv-event-overlay .hv-event-close:hover{filter:brightness(1.15)}
#hv-event-overlay .hv-event-layout{grid-template-columns:244px minmax(0,1fr);gap:11px}
#hv-event-overlay .hv-event-nav{gap:7px;padding:5px 1px 4px}
#hv-event-overlay .hv-event-nav button{flex:0 0 78px;min-height:78px;gap:6px;padding:3px 8px 3px 1px;border:1px solid #8c622d;border-radius:7px;background:linear-gradient(180deg,#302623,#171211 47%,#0d0b0a);box-shadow:inset 0 1px #d5aa6140,0 2px 3px #0007;color:#e5d6b5;font-size:19px;text-shadow:0 2px 2px #000}
#hv-event-overlay .hv-event-nav button.active{border-color:#d49a4c;background:linear-gradient(180deg,#6b321d,#371713 48%,#1b0d0b);box-shadow:inset 0 1px #e7b7709c,0 2px 5px #0008;color:#ffdfaa}
#hv-event-overlay .hv-event-nav button:hover{border-color:#d6a465;filter:brightness(1.12)}
#hv-event-overlay .hv-event-nav img{display:block;flex:0 0 58px;width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 2px 2px #0009)}
#hv-event-overlay .hv-event-nav button span{min-width:0}
#hv-event-overlay .hv-event-main{min-height:0}
#hv-event-overlay .hv-event-tabs{flex:0 0 52px;gap:8px;justify-content:center}
#hv-event-overlay .hv-event-tabs button{height:35px;min-width:130px;padding:0 14px;border:1px solid #78552d;border-radius:5px;background:linear-gradient(#30231d,#100d0c 56%,#211814);box-shadow:inset 0 1px #e9be7650,0 2px 3px #0009;color:#e5d4b4;font-size:16px;text-shadow:0 1px 2px #000}
#hv-event-overlay .hv-event-tabs button.active{border-color:#d9a45c;background:linear-gradient(#8c3823,#4d1a13 56%,#26100d);box-shadow:inset 0 1px #f2bf78,0 2px 4px #0009;color:#fff0c9}
#hv-event-overlay .hv-event-content{padding:13px 14px 16px;border:1px solid #9d6a2d;border-radius:8px;background:linear-gradient(180deg,#181313,#080707 100%);box-shadow:inset 0 1px #d4a05255;scrollbar-color:#9d6e32 #15100e}
#hv-event-overlay .hv-event-update{margin:0 0 14px;color:#d4c3a4;font:700 13px/1.3 Arial,sans-serif}
#hv-event-overlay .hv-event-period-list{gap:13px}
#hv-event-overlay .hv-event-period header{margin:0 0 7px}
#hv-event-overlay .hv-event-period header strong{color:#ffbf80;font-size:21px;letter-spacing:0;text-shadow:0 2px #4d1b0c}
#hv-event-overlay .hv-event-period header small{color:#bfae94;font-size:12px}
#hv-event-overlay .hv-event-table-head{min-height:35px;border:1px solid #a67332;border-radius:5px 5px 0 0;background:linear-gradient(#3b2b23,#1b1411);box-shadow:inset 0 1px #c7924d6b;color:#f2e5c2;font-size:16px}
#hv-event-overlay .hv-event-table-row{min-height:39px;border:1px solid #8f6534;border-top:0;border-radius:0 0 5px 5px;background:linear-gradient(#2b2220,#171211);color:#f3e7c8;font-size:17px;text-shadow:0 1px #080606}
#hv-event-overlay .hv-event-claim,#hv-event-overlay .hv-event-deposit,#hv-event-overlay .hv-event-primary{border:1px solid #c99550;border-radius:5px;background:linear-gradient(#9d3b27,#671d17 50%,#3a0e0d);box-shadow:inset 0 1px #e3a06b,0 2px 4px #0009;color:#ffe4b3;text-shadow:0 1px #260805}
#hv-event-overlay .hv-event-rules{color:#e5d7bc}
#hv-event-overlay .hv-event-rules h3,#hv-event-overlay .hv-event-hourly h3,#hv-event-overlay .hv-event-ref-overview h3{color:#ffbd7f;text-shadow:0 2px #501d0c}
#hv-event-overlay .hv-event-rate-table,#hv-event-overlay .hv-event-tier-table,#hv-event-overlay .hv-event-vip-thresholds{border-color:#9a6d38;border-radius:6px;background:#120e0d}
#hv-event-overlay .hv-event-rate-head,#hv-event-overlay .hv-event-downline-head{background:linear-gradient(#3d2b22,#1c1411);color:#efd8aa}
#hv-event-overlay .hv-event-hourly-icon{width:94px;height:94px;object-fit:contain;margin-bottom:1px;border:0;border-radius:0;background:none;box-shadow:none}
#hv-event-overlay .hv-event-tier-row,#hv-event-overlay .hv-event-milestone,#hv-event-overlay .hv-event-ref-share,#hv-event-overlay .hv-event-stats>div{border-color:#8c622e;border-radius:6px;background:linear-gradient(#302421,#150f0e);box-shadow:inset 0 1px #d6a45d40}
#hv-event-overlay .hv-event-tier-row.is-matched,#hv-event-overlay .hv-event-milestone.is-ready{border-color:#d9a155;box-shadow:inset 0 1px #f0bf7b,0 0 6px #a45a2480}
#hv-event-overlay .hv-event-chest{width:39px;height:38px;margin:0 0 3px;border:0;border-radius:0;background:url('/branding/hv368-event-firstdeposit.webp') center/contain no-repeat;box-shadow:none}
#hv-event-overlay .hv-event-chest::before,#hv-event-overlay .hv-event-chest::after{display:none}
#hv-event-overlay .hv-event-milestone.is-ready .hv-event-chest{border:0;background:url('/branding/hv368-event-firstdeposit.webp') center/contain no-repeat}
.hv-event-hourly-status{display:block;margin:10px 0 4px;color:#ffe0a2;font-size:15px;font-weight:900}
.hv-event-channel{display:inline-block;margin-top:10px;color:#d9b779;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.hv-event-channel:hover{color:#fff0bb}
.hv-event-tier-lock{text-align:center;color:#8e806d;font-size:19px}
.hv-event-share-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:5px 0 13px;font:700 12px Arial,sans-serif}
.hv-event-share-actions>span{color:#e3cfaa}
.hv-event-share-actions a,.hv-event-share-actions button{padding:6px 10px;border:1px solid #9b6b37;border-radius:5px;background:linear-gradient(#543325,#241713);color:#f7e3bf;font:700 12px Arial,sans-serif;text-decoration:none;cursor:pointer}
.hv-event-share-actions a:hover,.hv-event-share-actions button:hover{filter:brightness(1.2)}
.hv-event-ref-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}
.hv-event-ref-summary>div{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid #8c622e;border-radius:6px;background:linear-gradient(#302421,#150f0e)}
.hv-event-ref-summary span{color:#d5ac74;font-size:13px;font-weight:900}
.hv-event-ref-summary b{color:#ffe1a1;font-size:18px}
.hv-event-ref-summary small{color:#d4c4a9;font:700 12px Arial,sans-serif}
.hv-event-ref-foot{margin:0 0 13px;color:#ddc7a0;font:700 13px Arial,sans-serif;text-align:center}
.hv-event-ref-foot b{color:#ffe1a1}
@media(max-height:570px) and (min-width:701px){
  #hv-event-overlay .hv-event-popup{padding:54px 13px 12px}
  #hv-event-overlay .hv-event-header{height:51px;padding-left:25px}
  #hv-event-overlay .hv-event-header h2{font-size:22px}
  #hv-event-overlay .hv-event-close{width:90px;height:55px}
  #hv-event-overlay .hv-event-layout{grid-template-columns:195px minmax(0,1fr);gap:8px}
  #hv-event-overlay .hv-event-nav{gap:4px;padding-top:2px}
  #hv-event-overlay .hv-event-nav button{flex-basis:47px;min-height:47px;gap:3px;padding:1px 4px 1px 0;font-size:13px}
  #hv-event-overlay .hv-event-nav img{flex-basis:42px;width:42px;height:42px}
  #hv-event-overlay .hv-event-tabs{flex-basis:38px;gap:5px}
  #hv-event-overlay .hv-event-tabs button{height:28px;min-width:100px;font-size:12px}
  #hv-event-overlay .hv-event-content{padding:7px 10px}
  #hv-event-overlay .hv-event-update{font-size:11px;margin-bottom:6px}
  #hv-event-overlay .hv-event-period header strong{font-size:16px}
  #hv-event-overlay .hv-event-table-head{min-height:25px;font-size:12px}
  #hv-event-overlay .hv-event-table-row{min-height:28px;font-size:12px}
  #hv-event-overlay .hv-event-hourly-icon{width:58px;height:58px}
}
@media(max-width:700px) and (orientation:portrait){
  #hv-event-overlay .hv-event-popup{width:98vw;height:96dvh;padding:55px 7px 10px;border-radius:8px}
  #hv-event-overlay .hv-event-header{width:calc(100% - 60px);height:49px;padding-left:15px}
  #hv-event-overlay .hv-event-header h2{font-size:20px}
  #hv-event-overlay .hv-event-close{top:0;right:0;width:63px;height:50px}
  #hv-event-overlay .hv-event-layout{display:flex;flex-direction:column;gap:4px}
  #hv-event-overlay .hv-event-nav{flex:0 0 65px;flex-direction:row;gap:5px;padding:1px;overflow-x:auto;overflow-y:hidden}
  #hv-event-overlay .hv-event-nav button{flex:0 0 142px;min-height:59px;height:59px;gap:2px;padding:2px 4px 2px 0;font-size:12px}
  #hv-event-overlay .hv-event-nav img{flex:0 0 49px;width:49px;height:49px}
  #hv-event-overlay .hv-event-main{flex:1}
  #hv-event-overlay .hv-event-tabs{flex-basis:38px;gap:5px;justify-content:flex-start}
  #hv-event-overlay .hv-event-tabs button{min-width:91px;height:29px;padding:0 6px;font-size:11px}
  #hv-event-overlay .hv-event-content{padding:8px}
  #hv-event-overlay .hv-event-update{font-size:10px;margin-bottom:8px}
  #hv-event-overlay .hv-event-period header strong{font-size:15px}
  #hv-event-overlay .hv-event-table-head{min-height:28px;font-size:10px}
  #hv-event-overlay .hv-event-table-row{min-height:30px;font-size:12px}
  #hv-event-overlay .hv-event-hourly-icon{width:70px;height:70px}
}
