/* V28: live black/gold header, existing logo retained. */
.top.header-v28{background:linear-gradient(110deg,#1c1915,#121110 65%,#211c14);border-bottom:1px solid #68513370;position:relative;z-index:30;padding:0;overflow:visible}
.top.header-v28 .top-inner{max-width:1240px;width:100%;margin:auto;min-height:84px;padding:14px 28px;gap:25px;justify-content:flex-start;display:flex;align-items:center}
.top.header-v28 .brand{width:224px;height:48px;background:none;flex:none;margin:0;padding:0;border:0;overflow:visible}
.top.header-v28 .brand img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:left center}
.top.header-v28 .countdown{margin:0;padding-left:24px;border-left:1px solid #7e6b4b;flex-direction:row;gap:12px;align-items:center;white-space:nowrap}
.top.header-v28 .countdown>small{font-size:12px;color:#c6b89f;letter-spacing:0}
.top.header-v28 #countdown{display:flex;align-items:baseline;gap:2px;font-size:23px;color:#ecc67e;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.1}
.top.header-v28 .count-day{font-size:25px;margin-right:6px;display:inline-flex;align-items:baseline;gap:3px}
.top.header-v28 .count-day small{font-size:12px;color:#d8c9af}
.top.header-v28 .count-cell{display:inline;min-width:0;height:auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font-size:inherit;color:inherit}
.top.header-v28 #countdown>i{font-size:inherit;font-style:normal;color:inherit}
.top.header-v28 .account-wrap{display:flex;align-items:center;gap:20px;width:auto;max-width:none;flex:1;margin:0 0 0 auto;padding:0;position:relative}
.top.header-v28 .header-balance{display:flex;align-items:center;gap:8px;color:#e6ddcd;white-space:nowrap;font-size:13px;margin-left:auto}
.top.header-v28 svg{width:24px;height:24px;flex:none;color:#e8be71}
.top.header-v28 .header-balance b{font-size:27px;color:#ebc67f;line-height:1.1}
.top.header-v28 .header-draws{border-left:1px solid #7a684c;padding-left:20px;min-width:104px;white-space:nowrap}
.top.header-v28 .header-draws>div:first-child{display:flex;gap:7px;align-items:baseline;font-size:12px;line-height:1.2}
.top.header-v28 .header-draws b{font-size:20px;color:#ebc67f}
.top.header-v28 .header-draws small{font-size:12px;color:#e6ddcd;font-weight:400}
.top.header-v28 .draw-meter{display:flex;gap:2px;margin-top:6px;width:106px}
.top.header-v28 .draw-meter i{height:4px;flex:1;border-radius:2px;background:#423c31;transform:skewX(-15deg)}
.top.header-v28 .draw-meter i.filled{background:linear-gradient(#f4d396,#c3974f)}
.top.header-v28 .account-dropdown{position:static;margin:0;border-left:1px solid #7a684c;padding-left:20px}
.top.header-v28 .balances{margin:0;min-height:38px;width:auto;max-width:none;padding:5px 11px;border:1px solid #c99d56;border-radius:7px;background:#211c15;display:flex;cursor:pointer;list-style:none;box-shadow:none;font-size:13px}
.top.header-v28 summary::-webkit-details-marker{display:none}
.top.header-v28 .balances .rewards-toggle{margin:0;padding:0;gap:8px;font-size:13px;color:#eee2ca;display:flex;align-items:center;border:0}
.top.header-v28 .rewards-toggle i{color:#e8be71;font-size:19px}
.top.header-v28 .balances:hover{background:#302719;border-color:#f0cb83}
.top.header-v28 .account-panel{position:absolute;top:calc(100% + 16px);right:0;width:490px;max-width:calc(100vw - 24px);padding:18px;border-radius:12px;border:1px solid #b88b49;background:linear-gradient(125deg,#28221a,#191714 80%);box-shadow:0 14px 40px #0008;backdrop-filter:blur(18px);z-index:40}
.top.header-v28 .account-panel:before{content:'';position:absolute;right:28px;top:-7px;width:12px;height:12px;transform:rotate(45deg);border-left:1px solid #b88b49;border-top:1px solid #b88b49;background:#211d17}
.top.header-v28 .account-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0 0 16px;border-bottom:1px solid #6d583b80;text-align:center}
.top.header-v28 .account-stats>div+div{border-left:1px solid #6d583b80}
.top.header-v28 .account-stats span{font-size:12px;color:#c9bba0;display:block;line-height:1.4}
.top.header-v28 .account-stats strong{display:block;font-size:27px;line-height:1.4;color:#ecc67e;margin-top:3px}
.top.header-v28 .account-stats strong small{font-size:12px;font-weight:400;margin-left:4px;color:#e3d7c1}
.top.header-v28 .reward-totals{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:16px 0;margin:0;border-bottom:1px solid #6d583b80}
.top.header-v28 .reward-totals p{display:flex;gap:7px;align-items:center;justify-content:center;margin:0;white-space:nowrap;font-size:12px;color:#e7dcc6}
.top.header-v28 .reward-totals p+p{border-left:1px solid #6d583b80}
.top.header-v28 .reward-totals strong{font-size:23px;color:#ecc67e;line-height:1.2}
.top.header-v28 .account-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px}
.top.header-v28 .account-note{font-size:11px;color:#bcad91;margin:0;white-space:nowrap}
.top.header-v28 .account-links{display:flex;gap:14px;margin:0;padding:0;border:0}
.top.header-v28 .account-links button{background:none;border:0;padding:5px 0;color:#e8c785;font-size:12px;min-height:32px}
.top.header-v28 summary:focus-visible,.top.header-v28 button:focus-visible{outline:2px solid #f3d59c;outline-offset:3px}
@media(min-width:1100px) and (max-width:1240px){.top.header-v28 .top-inner{gap:18px;padding-left:22px;padding-right:22px}.top.header-v28 .brand{width:185px}.top.header-v28 .countdown{gap:8px;padding-left:18px}.top.header-v28 #countdown{font-size:21px}.top.header-v28 .account-wrap{gap:14px}.top.header-v28 .account-dropdown,.top.header-v28 .header-draws{padding-left:14px}.top.header-v28 .header-balance{font-size:12px}.top.header-v28 .reward-trigger-label{font-size:12px}}
@media(max-width:1099px){
.top.header-v28 .top-inner{max-width:720px;min-height:76px;padding:12px 22px;gap:12px;justify-content:space-between}
.top.header-v28 .brand{width:240px;height:46px}
.top.header-v28 .countdown{flex-direction:column;gap:4px;align-items:flex-start;padding-left:20px;margin-left:auto}
.top.header-v28 .countdown>small{font-size:11px}.top.header-v28 #countdown{font-size:22px}.top.header-v28 .count-day{font-size:24px}
.top.header-v28 .account-wrap{width:100%;max-width:720px;min-height:51px;padding:8px 22px;margin:0 auto;gap:18px;border-top:1px solid #68513370;background:linear-gradient(90deg,#382b172b,#b88a3610);justify-content:space-between}
.top.header-v28 .header-balance{margin:0;font-size:13px;gap:8px}.top.header-v28 .header-balance b{font-size:24px}
.top.header-v28 .header-draws{flex:1;min-width:0;padding-left:18px}.top.header-v28 .header-draws>div:first-child{font-size:12px;gap:8px}.top.header-v28 .draw-meter{width:100%;max-width:118px;margin-top:4px}
.top.header-v28 .account-dropdown{padding-left:14px}.top.header-v28 .balances{border:0;background:none;padding:0;min-height:32px;border-radius:0}.top.header-v28 .reward-trigger-label{display:none}.top.header-v28 .balances .rewards-toggle{gap:8px}
.top.header-v28 .account-panel{right:12px;top:calc(100% + 10px);width:490px}.top.header-v28 .account-panel:before{right:23px}
}
@media(max-width:760px){
.top.header-v28 .top-inner{padding:11px 16px;min-height:68px;gap:12px}.top.header-v28 .brand{width:47%;max-width:210px;height:40px}.top.header-v28 .countdown{padding-left:12px;gap:3px}.top.header-v28 .countdown>small{font-size:9px}.top.header-v28 #countdown{font-size:18px;gap:1px}.top.header-v28 .count-day{font-size:20px;margin-right:4px}.top.header-v28 .count-day small{font-size:10px}
.top.header-v28 .account-wrap{padding:8px 16px;gap:12px;min-height:49px}.top.header-v28 .header-balance{font-size:11px;gap:6px}.top.header-v28 .header-balance b{font-size:22px}.top.header-v28 svg{width:21px;height:21px}.top.header-v28 .header-draws{padding-left:12px}.top.header-v28 .header-draws>div:first-child{font-size:11px;gap:6px}.top.header-v28 .header-draws b{font-size:16px}.top.header-v28 .header-draws small{font-size:10px}.top.header-v28 .draw-meter{max-width:105px}.top.header-v28 .account-dropdown{padding-left:12px}
.top.header-v28 .account-panel{padding:15px 12px;width:calc(100vw - 24px)}.top.header-v28 .account-stats span{font-size:11px}.top.header-v28 .account-stats strong{font-size:25px}.top.header-v28 .reward-totals p{font-size:10px;gap:5px}.top.header-v28 .reward-totals strong{font-size:20px}.top.header-v28 .reward-totals svg{width:20px;height:20px}.top.header-v28 .account-footer{gap:5px}.top.header-v28 .account-note{font-size:10px}.top.header-v28 .account-links{gap:12px}.top.header-v28 .account-links button{font-size:11px}
}
@media(max-width:370px){.top.header-v28 .top-inner{padding-left:12px;padding-right:12px;gap:8px}.top.header-v28 .brand{width:44%}.top.header-v28 #countdown{font-size:16px}.top.header-v28 .count-day{font-size:18px}.top.header-v28 .account-wrap{padding-left:12px;padding-right:12px;gap:9px}.top.header-v28 .header-balance{font-size:10px;gap:4px}.top.header-v28 .header-draws{padding-left:9px}.top.header-v28 .account-dropdown{padding-left:9px}.top.header-v28 .reward-totals strong{font-size:18px}.top.header-v28 .reward-totals p{gap:4px}.top.header-v28 .account-note{font-size:9px}.top.header-v28 .account-links{gap:9px}.top.header-v28 .account-links button{font-size:10px}}

@media(max-width:370px){.top.header-v28 .reward-totals p{display:grid;grid-template-columns:18px auto;justify-content:center;column-gap:5px;row-gap:3px}.top.header-v28 .reward-totals strong{grid-column:2;font-size:20px}.top.header-v28 .reward-totals svg{width:18px;height:18px}.top.header-v28 .reward-totals span{font-size:10px}}
