:root{--hv-blue:#0a5cff;--hv-cyan:#20d8ff;--hv-gold:#f4c75b;--hv-card:#0b1628;--hv-line:rgba(94,166,255,.22);--hv-text:#eff7ff;--hv-muted:#8da7c7}
.account-top-strip{margin:10px 14px 0;padding:10px 12px;border:1px solid var(--hv-line);border-radius:14px;background:linear-gradient(135deg,rgba(8,26,52,.96),rgba(7,16,31,.96));display:flex;align-items:center;gap:10px;box-shadow:0 8px 30px rgba(0,0,0,.18)}
.account-top-strip .account-user{min-width:0;flex:1}.account-top-strip .account-user small{display:block;color:var(--hv-muted);font-size:11px}.account-top-strip .account-user b{display:block;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-balance{display:flex;align-items:baseline;gap:5px;padding:7px 10px;border-radius:12px;background:rgba(23,220,135,.09);border:1px solid rgba(23,220,135,.22);white-space:nowrap}.account-balance strong{font-size:18px;color:#63f3b2}.account-balance span{font-size:11px;color:#9ddabf;font-weight:800}
.account-actions{display:flex;gap:7px}.account-actions a,.account-actions button{height:34px;padding:0 11px;border:0;border-radius:10px;background:linear-gradient(135deg,#1264ff,#173d9f);color:#fff;font-size:12px;font-weight:800;text-decoration:none;display:flex;align-items:center;justify-content:center}.account-actions a.gift{background:linear-gradient(135deg,#ffbd3e,#d77716);color:#211102}.account-actions a.support{background:#13223a;border:1px solid rgba(255,255,255,.08)}
.account-guest-actions{display:flex;gap:8px;margin-left:auto}.account-guest-actions a{padding:8px 13px;border-radius:10px;text-decoration:none;font-weight:800;font-size:12px}.account-guest-actions .login{color:#d9eaff;border:1px solid rgba(122,178,255,.35)}.account-guest-actions .register{background:linear-gradient(135deg,#0d67ff,#1ab4ff);color:#fff}
.reward-progress-card{margin:10px 14px 0;padding:13px 14px;border-radius:16px;background:linear-gradient(145deg,rgba(12,35,69,.97),rgba(8,20,40,.98));border:1px solid rgba(69,151,255,.25);box-shadow:0 10px 30px rgba(0,0,0,.18)}
.reward-progress-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.reward-progress-head b{color:#fff}.reward-progress-head span{font-size:12px;color:#f4c75b;font-weight:900}.reward-progress-sub{display:flex;justify-content:space-between;margin-top:7px;color:#94abc7;font-size:11px}.reward-progress-track{height:9px;margin-top:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}.reward-progress-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#0b64ff,#27dbff,#f0cb5c);min-width:0}.reward-progress-note{margin-top:7px;color:#8ea7c6;font-size:11px}.reward-complete{color:#67efae!important}
.auth-page{min-height:100vh;background:radial-gradient(circle at top,#12305f 0,#07111f 40%,#040914 100%);color:#fff;padding:22px 14px 50px}.auth-shell{max-width:480px;margin:0 auto}.auth-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.auth-brand a{color:#bdd9ff;text-decoration:none}.auth-title{font-size:28px;margin:8px 0}.auth-sub{color:#93a9c5;font-size:13px;line-height:1.6;margin-bottom:18px}.auth-card{padding:18px;border-radius:18px;background:rgba(9,23,44,.96);border:1px solid rgba(104,169,255,.23);box-shadow:0 18px 50px rgba(0,0,0,.28)}.auth-card label{display:block;margin:13px 0 7px;color:#b8cae1;font-size:12px;font-weight:800}.auth-card input,.auth-card select{width:100%;box-sizing:border-box;height:46px;border-radius:12px;border:1px solid rgba(111,165,230,.25);background:#071425;color:#fff;padding:0 13px;outline:none}.auth-card input:focus,.auth-card select:focus{border-color:#2e8fff;box-shadow:0 0 0 3px rgba(46,143,255,.12)}.auth-primary{width:100%;height:46px;margin-top:16px;border:0;border-radius:12px;background:linear-gradient(135deg,#0d68ff,#1cc7ff);color:#fff;font-weight:900;font-size:15px}.auth-link-row{display:flex;justify-content:center;gap:7px;margin-top:15px;color:#8da5c3;font-size:12px}.auth-link-row a{color:#8fcbff;text-decoration:none}.flash{padding:10px 12px;border-radius:11px;margin:10px 0;font-size:12px}.flash.error{background:rgba(255,76,92,.13);border:1px solid rgba(255,76,92,.3);color:#ffabb3}.flash.success{background:rgba(34,214,131,.12);border:1px solid rgba(34,214,131,.28);color:#83f0b9}
.account-page-dark{min-height:100vh;background:#050b16;color:#fff}.account-section{margin:12px 14px;padding:14px;border-radius:16px;background:#0a1526;border:1px solid rgba(91,154,236,.18)}.account-section h2{margin:0 0 12px;font-size:16px}.account-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.account-info-grid>div{padding:11px;border-radius:12px;background:#081120;border:1px solid rgba(255,255,255,.05)}.account-info-grid small{display:block;color:#7894b6;font-size:10px}.account-info-grid b{display:block;margin-top:5px;color:#eef7ff;word-break:break-all}.account-button-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.account-button-grid a{height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#fff;font-weight:900;background:linear-gradient(135deg,#0c64ff,#154cb3)}.account-button-grid a.withdraw{background:linear-gradient(135deg,#12365e,#0b223d);border:1px solid rgba(107,166,240,.25)}
.bet-panel{margin:12px 14px;padding:14px;border-radius:18px;background:#fff;border:1px solid #dfe7f1;box-shadow:0 8px 22px rgba(31,56,87,.08)}.bet-panel h3{margin:0 0 10px;color:#1d2d43}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice-btn{height:52px;border:1px solid #cbd8e7;background:#f7faff;border-radius:13px;font-size:16px;font-weight:900;color:#31465f}.choice-btn.active{border-color:#0b67ff;background:linear-gradient(135deg,#0d69ff,#2b9aff);color:#fff;box-shadow:0 8px 18px rgba(13,105,255,.25)}.bet-amount-row{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:10px}.bet-amount-row input{height:46px;border-radius:12px;border:1px solid #ccd9e7;padding:0 12px;font-size:16px}.bet-submit{height:46px;padding:0 18px;border:0;border-radius:12px;background:linear-gradient(135deg,#08a966,#0a7d55);color:#fff;font-weight:900}.bet-submit[disabled]{opacity:.45}.bet-meta{display:flex;justify-content:space-between;gap:10px;margin-top:10px;font-size:12px;color:#6c7e92}.bet-meta b{color:#143b78}.bet-closed{margin-top:8px;padding:8px 10px;border-radius:10px;background:#fff0f1;color:#cf3440;font-size:12px;font-weight:800;display:none}.bet-closed.show{display:block}
.simple-table-wrap{overflow:auto}.simple-table{width:100%;border-collapse:collapse;min-width:620px}.simple-table th,.simple-table td{padding:9px 8px;border-bottom:1px solid rgba(117,157,205,.14);font-size:12px;text-align:left}.simple-table th{color:#84a0c1}.simple-table td{color:#dceaff}.status-pill{display:inline-block;padding:3px 8px;border-radius:999px;background:#15263f;color:#aac7e9}.status-pill.paid,.status-pill.approved{background:rgba(26,194,121,.14);color:#70e0ac}.status-pill.pending{background:rgba(255,183,51,.13);color:#f6c467}.status-pill.rejected{background:rgba(255,74,91,.13);color:#ff9eaa}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-card{margin:12px 14px;padding:14px;border-radius:16px;background:#0a1526;border:1px solid rgba(91,154,236,.18);color:#fff}.form-card label{display:block;margin:10px 0 6px;font-size:12px;color:#91a9c6}.form-card input,.form-card select{width:100%;height:43px;box-sizing:border-box;border-radius:10px;border:1px solid rgba(105,165,235,.22);background:#07111f;color:#fff;padding:0 11px}.form-card button{height:43px;border:0;border-radius:10px;background:linear-gradient(135deg,#0d67ff,#1ebbf8);color:#fff;font-weight:900;padding:0 16px}.fixed-rate-box{padding:9px 11px;margin-top:10px;border-radius:10px;background:rgba(40,151,255,.09);border:1px solid rgba(40,151,255,.2);color:#9bc9ff;font-size:12px}.address-copy-box{display:flex;gap:8px;align-items:center;margin-top:7px;padding:9px;border-radius:10px;background:#07111f;border:1px dashed rgba(86,157,243,.35)}.address-copy-box code{flex:1;word-break:break-all;color:#bfe2ff;font-size:11px}.address-copy-box button{height:32px;background:#17395f}
.agent-page{min-height:100vh;background:#07111f;color:#fff;padding:18px}.agent-shell{max-width:1100px;margin:0 auto}.agent-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.agent-head a{color:#9bcaff}.agent-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.agent-stat{padding:14px;border-radius:14px;background:#0b1a2f;border:1px solid rgba(94,159,234,.18)}.agent-stat small{display:block;color:#7e9cbe}.agent-stat b{display:block;margin-top:7px;font-size:20px}.agent-ref{margin:12px 0;padding:12px;border-radius:12px;background:#0a1930;border:1px solid rgba(92,161,245,.2);word-break:break-all}.agent-ref code{color:#90d3ff}.agent-panel{margin-top:12px;padding:14px;border-radius:14px;background:#0b1a2f;border:1px solid rgba(94,159,234,.18)}
.admin-account-center{max-width:1450px;margin:0 auto;padding:16px}.admin-account-nav{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 16px}.admin-account-nav a{padding:8px 11px;border-radius:9px;background:#0b2b52;color:#dcecff;text-decoration:none;font-size:12px}.admin-account-panel{margin:12px 0;padding:14px;border-radius:12px;background:#fff;border:1px solid #dfe5ed;box-shadow:0 4px 16px rgba(36,55,80,.05)}.admin-account-panel h2{margin:0 0 12px}.admin-account-form{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px}.admin-account-form label{font-size:12px;color:#4b6078}.admin-account-form input,.admin-account-form select{width:100%;height:38px;box-sizing:border-box;border:1px solid #ccd6e2;border-radius:8px;padding:0 9px}.admin-account-form .wide{grid-column:span 2}.admin-account-form button{height:38px;border:0;border-radius:8px;background:#0b61d8;color:#fff;font-weight:800;padding:0 16px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:960px}.admin-table th,.admin-table td{padding:8px;border-bottom:1px solid #e8edf3;font-size:12px;text-align:left;vertical-align:top}.admin-table th{background:#f5f8fc;color:#506278}.admin-inline-form{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.admin-inline-form input{height:30px;border:1px solid #cfd9e5;border-radius:6px;padding:0 7px;max-width:150px}.admin-inline-form button{height:30px;border:0;border-radius:6px;background:#1767d3;color:#fff;padding:0 9px}.admin-inline-form button.danger{background:#d94a57}.admin-note{padding:10px;border-radius:9px;background:#edf6ff;color:#315b86;font-size:12px;margin-bottom:10px}
@media(max-width:760px){.account-top-strip{margin-left:9px;margin-right:9px;gap:7px;padding:9px}.account-top-strip .account-user small{display:none}.account-balance strong{font-size:15px}.account-actions a{padding:0 9px}.reward-progress-card{margin-left:9px;margin-right:9px}.account-info-grid{grid-template-columns:1fr 1fr}.form-row{grid-template-columns:1fr}.agent-grid{grid-template-columns:1fr 1fr}.admin-account-form{grid-template-columns:1fr 1fr}.admin-account-form .wide{grid-column:span 2}.account-top-strip .support{display:none}}

/* account mode v2: notification popup */
.hv-notice-modal{position:fixed;inset:0;z-index:120000;background:rgba(1,8,20,.68);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}
.hv-notice-modal[hidden]{display:none!important}.hv-notice-card{width:min(430px,calc(100vw - 28px));padding:22px 18px 18px;border-radius:20px;background:linear-gradient(160deg,#0c1d36,#07111f);border:1px solid rgba(88,167,255,.34);box-shadow:0 28px 80px rgba(0,0,0,.48);color:#fff;text-align:center}.hv-notice-icon{font-size:34px}.hv-notice-card h3{margin:9px 0 10px;font-size:19px}.hv-notice-body{white-space:pre-line;line-height:1.75;color:#bdd0e6;font-size:14px}.hv-notice-card button{width:100%;height:44px;margin-top:18px;border:0;border-radius:12px;background:linear-gradient(135deg,#0c68ff,#1cbaf5);color:#fff;font-size:14px;font-weight:900}

/* records */
.account-record-tabs{display:flex;gap:7px;overflow:auto;padding-bottom:8px;margin-bottom:8px}.account-record-tabs button{flex:0 0 auto;border:1px solid rgba(103,163,236,.2);background:#09182b;color:#9cb5d2;border-radius:10px;padding:8px 11px;font-size:12px;font-weight:800}.account-record-tabs button.active{background:linear-gradient(135deg,#0c66ff,#178ee8);color:#fff;border-color:transparent}.record-pane{display:none}.record-pane.active{display:block}

/* Admin account center readability + management */
.admin-account-center{color:#21364f}.admin-account-center h1,.admin-account-center h2,.admin-account-center h3{color:#18324f!important}.admin-account-panel{color:#263b52!important}.admin-account-panel h2,.admin-account-panel h3{color:#173653!important}.admin-account-panel .admin-table td{color:#24394f!important;background:#fff}.admin-account-panel .admin-table tbody tr:hover td{background:#f8fbff}.admin-account-panel .admin-table td small{color:#71869d}.admin-account-panel .admin-table tbody tr td[colspan]{color:#8799ab!important}.admin-account-form label{color:#405a73!important}.admin-account-form label small{display:block;color:#6d8299;margin-top:4px;line-height:1.4}.admin-account-form input,.admin-account-form select,.admin-account-form textarea{background:#08162a!important;color:#fff!important;border-color:#233f61!important}.admin-account-form textarea{width:100%;min-height:120px;box-sizing:border-box;border-radius:8px;padding:10px;resize:vertical}.admin-account-panel .admin-inline-form input,.admin-account-panel .admin-inline-form select{background:#fff!important;color:#24394f!important;border-color:#cad6e3!important}.admin-user-search{display:flex;gap:8px;align-items:center;margin-bottom:10px}.admin-user-search input{height:36px;min-width:280px;border:1px solid #ccd6e2;border-radius:8px;padding:0 10px;color:#1f344b;background:#fff}.admin-user-search button,.admin-user-search a{height:36px;display:inline-flex;align-items:center;border:0;border-radius:8px;padding:0 14px;background:#1767d3;color:#fff;text-decoration:none;font-weight:800}.admin-user-manage-link{display:inline-flex;padding:6px 10px;border-radius:7px;background:#1767d3;color:#fff!important;text-decoration:none;font-weight:800}.admin-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px}.admin-tier-card{padding:10px;border:1px solid #dce6f0;border-radius:10px;background:#f8fbff}.admin-tier-card form{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;align-items:end}.admin-tier-card label{font-size:11px;color:#51677e}.admin-tier-card input,.admin-tier-card select{width:100%;height:34px;box-sizing:border-box;border:1px solid #ccd8e5;border-radius:7px;padding:0 7px;background:#fff;color:#24394f}.admin-tier-card button{height:34px;border:0;border-radius:7px;background:#1767d3;color:#fff;padding:0 10px;font-weight:800}.admin-tier-card .danger{background:#d84b58}.admin-message-users{width:100%;min-height:150px;border-radius:8px;border:1px solid #ccd8e5;padding:8px;background:#fff;color:#263b52}.admin-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0}.admin-kpi{padding:12px;border-radius:10px;background:#f3f8fe;border:1px solid #dce9f7}.admin-kpi small{display:block;color:#71869c}.admin-kpi b{display:block;margin-top:5px;font-size:18px;color:#183b63}.user-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}.user-detail-card{padding:13px;border:1px solid #dce6f0;border-radius:11px;background:#fff}.user-detail-card h3{margin:0 0 10px}.user-detail-card label{display:block;font-size:12px;color:#50657b;margin:7px 0}.user-detail-card input,.user-detail-card select{width:100%;height:36px;box-sizing:border-box;border:1px solid #cad6e3;border-radius:8px;padding:0 9px;background:#fff;color:#21364f}.user-detail-card button{height:36px;border:0;border-radius:8px;padding:0 12px;background:#1767d3;color:#fff;font-weight:800}.user-detail-card button.danger{background:#d84b58}.user-perm-row{display:flex;gap:10px;flex-wrap:wrap}.user-perm-row label{display:flex;gap:5px;align-items:center}.user-perm-row input[type=checkbox]{width:auto;height:auto}
@media(max-width:900px){.admin-tier-grid,.user-detail-grid{grid-template-columns:1fr}.admin-kpi-grid{grid-template-columns:1fr 1fr}.admin-user-search{align-items:stretch;flex-direction:column}.admin-user-search input{min-width:0;width:100%}}

/* Admin categorized navigation/pages */
.admin-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:2px 0 14px;padding:2px 2px 10px;border-bottom:1px solid #dbe6f1}.admin-page-head h1{margin:0!important;font-size:26px;color:#153451!important}.admin-page-desc{margin-top:5px;color:#6d8298;font-size:13px}.admin-page-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-page-actions a{display:inline-flex;align-items:center;height:34px;padding:0 12px;border-radius:8px;background:#edf5ff;color:#245d9a;text-decoration:none;font-size:12px;font-weight:800}.admin-page-actions a:hover{background:#e1efff}.admin-account-center>.admin-account-panel{margin-top:0}.admin-account-center>.admin-account-panel>h2:first-child{font-size:22px}.admin-account-center .admin-table-wrap{border:1px solid #e2eaf2;border-radius:10px;background:#fff}.admin-account-center .admin-table{margin:0}.admin-account-center .admin-table thead th{position:sticky;top:0;z-index:1}.admin-account-center .admin-note{line-height:1.65}@media(max-width:760px){.admin-page-head h1{font-size:21px}.admin-page-head{align-items:flex-start}.admin-page-actions{width:100%}}

/* Admin automatic in-site message settings */
.admin-auto-message-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}.admin-auto-message-card{border:1px solid #d8e3ef;border-radius:14px;background:#f8fbff;padding:14px}.admin-auto-message-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.admin-auto-message-head h3{margin:0;color:#123258;font-size:17px}.admin-switch-line{display:flex!important;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#244a78}.admin-switch-line input{width:auto!important;min-height:0!important}.admin-auto-message-card textarea{min-height:90px}.admin-auto-message-card small{display:block;margin-top:7px;color:#6a7f97;word-break:break-word}@media(max-width:900px){.admin-auto-message-grid{grid-template-columns:1fr}}

/* Admin messages: Chinese source + automatic customer-language translation */
.admin-auto-message-card label{display:block;margin:9px 0 0;font-size:12px;color:#405a73!important;font-weight:700}
.admin-auto-message-card input,.admin-auto-message-card textarea{display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #b9c9da!important;border-radius:9px;background:#fff!important;color:#1f344b!important;padding:9px 10px!important;box-shadow:none!important}
.admin-auto-message-card input{height:40px}.admin-auto-message-card textarea{min-height:110px;resize:vertical;line-height:1.55}
.admin-auto-message-card input::placeholder,.admin-auto-message-card textarea::placeholder{color:#8b9bae;opacity:1}
.admin-primary-btn{height:40px;border:0;border-radius:9px;background:#1767d3;color:#fff;font-weight:900;padding:0 18px}
.admin-recipient-picker{border:1px solid #d9e4ef;border-radius:12px;background:#f8fbff;padding:12px;box-sizing:border-box}
.admin-recipient-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.admin-recipient-toolbar input{flex:1 1 240px!important;min-width:220px;background:#fff!important;color:#24394f!important;border:1px solid #cbd8e5!important}.admin-recipient-toolbar button{height:36px!important;background:#eaf3ff!important;color:#245d91!important;border:1px solid #cfe1f5!important}.admin-recipient-toolbar b{font-size:12px;color:#245d91}
.admin-recipient-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:330px;overflow:auto;padding:2px}.admin-recipient-item{display:flex!important;align-items:center;gap:9px;border:1px solid #dce6f0;border-radius:9px;background:#fff;padding:9px 10px;cursor:pointer;color:#203850!important}.admin-recipient-item:hover{border-color:#9fc4ec;background:#f4f9ff}.admin-recipient-item input{width:17px!important;height:17px!important;flex:0 0 auto;margin:0!important}.admin-recipient-item span{display:flex;flex-direction:column;min-width:0}.admin-recipient-item b{font-size:12px;color:#183d65}.admin-recipient-item small{font-size:12px;color:#687f96;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-recipient-item[hidden]{display:none!important}
@media(max-width:900px){.admin-recipient-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.admin-recipient-list{grid-template-columns:1fr}.admin-recipient-toolbar input{min-width:0;width:100%}}

/* Admin automatic-message visual template builder */
.template-builder{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px;align-items:stretch;margin-top:9px}
.template-editor-pane{min-width:0}.template-editor-label{font-size:12px;color:#405a73;font-weight:800;margin-bottom:5px}.template-rich-editor{min-height:138px;box-sizing:border-box;border:1px solid #b9c9da;border-radius:10px;background:#fff;color:#20364f;padding:11px 12px;line-height:1.8;font-size:14px;outline:none;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:inset 0 1px 2px rgba(24,55,88,.03)}.template-rich-editor:focus{border-color:#4b8ff0;box-shadow:0 0 0 3px rgba(75,143,240,.13)}.template-editor-help{margin-top:6px;color:#6e8298;font-size:11px;line-height:1.5}
.template-token{display:inline-flex;align-items:center;vertical-align:baseline;margin:0 2px;padding:2px 7px;border-radius:7px;background:#e4f0ff;border:1px solid #9ec7fa;color:#0c5fbd;font-weight:900;line-height:1.45;user-select:all;cursor:default;box-shadow:0 1px 0 rgba(31,105,191,.05)}
.template-variable-rail{border:1px solid #d5e1ee;border-radius:10px;background:#eef6ff;padding:10px;display:flex;flex-direction:column;gap:7px}.template-variable-rail>b{font-size:13px;color:#183c64}.template-variable-rail>small{font-size:11px;line-height:1.45;color:#698099}.template-variable-buttons{display:flex;flex-wrap:wrap;gap:6px;align-content:flex-start}.template-var-btn{height:auto!important;min-height:30px!important;padding:5px 8px!important;border:1px solid #a8c9ed!important;border-radius:8px!important;background:#fff!important;color:#1762ae!important;font-size:11px!important;font-weight:900!important;cursor:pointer}.template-var-btn:hover{background:#e8f3ff!important;border-color:#70a9e8!important}.template-preview-btn{margin-top:auto;height:auto!important;min-height:36px;border:0!important;border-radius:8px!important;background:#1767d3!important;color:#fff!important;font-weight:900!important;padding:8px 9px!important;font-size:11px!important;cursor:pointer}
.template-preview-box{margin-top:12px;border-top:1px dashed #cfdae7;padding-top:12px}.template-preview-box[hidden]{display:none!important}.template-preview-note{font-size:11px;color:#6a8098;line-height:1.55;margin-bottom:9px}.template-customer-popup{width:min(420px,100%);box-sizing:border-box;margin:0 auto;padding:18px;border-radius:16px;background:linear-gradient(155deg,#0d1f38,#071425);border:1px solid rgba(77,159,246,.36);box-shadow:0 14px 34px rgba(15,36,63,.22);color:#fff;text-align:center}.template-popup-icon{font-size:28px}.template-customer-popup strong{display:block;margin:6px 0 9px;font-size:17px;color:#fff}.template-preview-body{white-space:pre-wrap;line-height:1.75;color:#c7d9eb;font-size:13px;text-align:left;background:rgba(255,255,255,.035);border-radius:10px;padding:10px 11px}.template-customer-popup>span{display:block;margin-top:12px;padding:9px 12px;border-radius:9px;background:linear-gradient(135deg,#0d68ff,#14a6ed);font-size:12px;font-weight:900;color:#fff}
@media(max-width:1100px){.template-builder{grid-template-columns:1fr}.template-variable-rail{display:block}.template-variable-rail>b,.template-variable-rail>small{display:block;margin-bottom:6px}.template-preview-btn{margin-top:8px}.template-variable-buttons{margin-top:7px}}

/* Public UID + username + TRX balance header */
.me-account-top .account-uid{flex:0 0 72px;min-width:72px}
.me-account-top .account-name{flex:1 1 120px}
.account-balance-labeled{display:block;padding:6px 10px}
.account-balance-labeled>small{display:block;color:var(--hv-muted);font-size:10px;line-height:1.2;margin-bottom:2px}
.account-balance-labeled>div{display:flex;align-items:baseline;gap:5px}
@media(max-width:760px){.me-account-top{flex-wrap:wrap}.me-page .me-account-top .account-user small{display:block}.me-account-top .account-uid{flex:0 0 64px;min-width:64px}.me-account-top .account-name{flex:1 1 90px}.me-account-top .account-balance{margin-left:auto}.me-account-top .account-actions{width:100%;justify-content:flex-end}.me-account-top .account-actions a{flex:0 0 auto}}

/* Keep public UID / username / balance readable on every logged-in front page. */
.logged-account-strip .account-uid{flex:0 0 72px;min-width:72px}.logged-account-strip .account-name{flex:1 1 120px}
@media(max-width:760px){.logged-account-strip{flex-wrap:wrap}.logged-account-strip .account-user small{display:block}.logged-account-strip .account-uid{flex:0 0 64px;min-width:64px}.logged-account-strip .account-name{flex:1 1 92px}.logged-account-strip .account-actions{margin-left:auto}.logged-account-strip .account-balance{margin-left:auto}}

/* ===== HashVerse 2026 front-end visual refresh ===== */
body{background:#030914!important}
.app.home-page{width:min(1180px,100%)!important;max-width:1180px!important;margin:0 auto!important;background:linear-gradient(180deg,#06101f 0%,#040b16 100%)!important;box-shadow:0 0 60px rgba(0,0,0,.42)}
.home-page .premium-brand-head{margin:0!important;padding:16px 24px!important;min-height:68px!important;border-bottom:1px solid rgba(80,157,255,.13)!important;background:linear-gradient(180deg,rgba(5,15,31,.98),rgba(5,13,27,.96))!important}
.home-page .premium-brand-head .brand-logo img{height:43px!important;max-width:235px!important;object-fit:contain!important}
.home-page .brand-domain-wrap{flex:1;text-align:center}.home-page .header-domain-mark{font-size:14px!important;letter-spacing:.8px!important;color:#7fb8ff!important;text-shadow:0 0 16px rgba(52,139,255,.55)}
.home-page .language-trigger{width:45px!important;height:45px!important;border-radius:50%!important;background:rgba(21,67,112,.24)!important;border:1px solid rgba(78,173,255,.3)!important}.home-page .language-trigger-icon{font-size:27px!important;line-height:1!important}

.home-page .logged-account-strip{margin:16px 28px 0!important;padding:18px 20px!important;border-radius:24px!important;display:grid!important;grid-template-columns:minmax(110px,.75fr) minmax(180px,1.25fr) minmax(170px,1fr) minmax(310px,1.7fr)!important;align-items:center!important;gap:14px!important;background:radial-gradient(circle at 0 0,rgba(29,112,255,.13),transparent 30%),linear-gradient(145deg,rgba(11,30,58,.98),rgba(7,18,35,.98))!important;border:1px solid rgba(89,165,255,.38)!important;box-shadow:inset 0 0 24px rgba(41,118,226,.08),0 12px 34px rgba(0,0,0,.24)!important}
.home-page .logged-account-strip .account-user,.home-page .logged-account-strip .account-balance{min-width:0!important;display:flex!important;align-items:center!important;gap:10px!important;padding:0!important;background:transparent!important;border:0!important}
.home-page .account-info-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-size:20px;background:linear-gradient(145deg,rgba(40,128,255,.22),rgba(26,79,151,.13));box-shadow:inset 0 0 0 1px rgba(92,168,255,.18),0 0 18px rgba(24,111,255,.09)}
.home-page .account-balance .account-info-icon{background:linear-gradient(145deg,rgba(37,255,184,.19),rgba(19,110,88,.15));box-shadow:inset 0 0 0 1px rgba(69,232,179,.24)}
.home-page .account-info-copy{min-width:0;display:block}.home-page .account-info-copy small{display:block!important;color:#8eb0d6!important;font-size:12px!important;margin-bottom:2px}.home-page .account-info-copy b{display:block!important;color:#fff!important;font-size:19px!important;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-page .balance-value{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.home-page .balance-value strong{font-size:22px!important;color:#69efae!important}.home-page .balance-value em{font-style:normal;font-size:12px;color:#8fd1b3;font-weight:900}
.home-page .account-actions{display:grid!important;grid-template-columns:minmax(150px,1fr) 56px 56px!important;gap:12px!important;align-items:center!important}.home-page .account-actions a{height:52px!important;border-radius:16px!important;padding:0!important;font-size:14px!important;box-shadow:none!important}.home-page .account-actions .deposit-main{padding:0 18px!important;display:flex!important;gap:10px!important;background:linear-gradient(135deg,#159cff,#1f56f6)!important;box-shadow:0 8px 22px rgba(23,100,255,.25),inset 0 1px 0 rgba(255,255,255,.15)!important}.home-page .account-actions .deposit-main .action-ico{font-size:22px}.home-page .account-actions .deposit-main i{margin-left:auto;font-style:normal;font-size:24px;opacity:.85}.home-page .account-actions .gift,.home-page .account-actions .support{font-size:25px!important;border-radius:50%!important}.home-page .account-actions .gift{background:radial-gradient(circle at 35% 25%,#ffce3d,#ee8d00 65%,#a94c00)!important;box-shadow:0 0 22px rgba(255,177,0,.28)!important}.home-page .account-actions .support{background:radial-gradient(circle at 35% 25%,#234578,#101e38 70%)!important;border:1px solid rgba(131,184,255,.35)!important}

.home-page .reward-progress-card{margin:14px 28px 0!important;padding:18px 22px!important;border-radius:22px!important;background:linear-gradient(145deg,rgba(10,31,60,.96),rgba(7,19,38,.98))!important;border:1px solid rgba(69,151,255,.32)!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important}.home-page .reward-progress-head b{font-size:17px!important;color:#ffd64d!important}.home-page .reward-progress-head>span{font-size:14px!important;color:#ffd64d!important}.home-page .reward-progress-sub{font-size:12px!important;margin-top:8px!important}.home-page .reward-progress-track{height:10px!important;background:rgba(172,196,228,.17)!important}.home-page .reward-progress-fill{box-shadow:0 0 14px rgba(25,171,255,.5)}.home-page .reward-progress-note{font-size:12px!important;color:#8fb1d7!important;margin-top:9px!important}

.home-page .premium-home-main{padding:18px 28px 96px!important}.home-page .premium-home-hero{min-height:300px!important;border-radius:24px!important;overflow:hidden!important;border:1px solid rgba(71,150,246,.32)!important;box-shadow:0 14px 34px rgba(0,0,0,.2)!important}.home-page .premium-home-hero img{width:100%!important;height:100%!important;object-fit:cover!important}.home-page .home-hero-copy{left:28px!important;bottom:26px!important;max-width:54%!important}.home-page .home-hero-copy small{color:#52d9ff!important;letter-spacing:3px!important;font-weight:900!important}.home-page .home-hero-copy h1{font-size:38px!important;line-height:1.04!important;text-shadow:0 3px 18px rgba(0,0,0,.55)}.home-page .home-hero-copy p{font-size:14px!important;line-height:1.6!important;color:#d6e6f6!important}

.home-page .premium-game-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;margin-top:20px!important}.home-page .home-game-tile{min-height:245px!important;padding:24px!important;border-radius:25px!important;overflow:hidden!important;box-shadow:0 14px 34px rgba(0,0,0,.22)!important}.home-page .parity-entry{background:radial-gradient(circle at 90% 15%,rgba(221,124,255,.5),transparent 30%),linear-gradient(145deg,#b523d7,#6338ff)!important}.home-page .size-entry{background:radial-gradient(circle at 90% 15%,rgba(100,209,255,.4),transparent 30%),linear-gradient(145deg,#287fe9,#0657d6)!important}.home-page .home-game-tile .tile-orbit{width:78px!important;height:78px!important;font-size:39px!important;right:20px!important;top:18px!important;border:1px solid rgba(255,255,255,.3)!important;background:rgba(255,255,255,.08)!important;box-shadow:0 0 24px rgba(255,255,255,.08)!important}.home-page .home-game-tile .tile-kicker{font-size:12px!important;letter-spacing:2.4px!important}.home-page .home-game-tile h2{font-size:30px!important;max-width:72%!important;line-height:1.08!important;margin-top:34px!important}.home-page .home-game-tile p{font-size:13px!important;line-height:1.5!important}.home-page .home-game-tile>i{width:48px!important;height:48px!important;font-size:36px!important;right:20px!important;bottom:20px!important;background:#fff!important;color:#6b45e8!important;box-shadow:0 8px 20px rgba(0,0,0,.15)!important}

.home-page .premium-features-v2{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:10px!important;margin-top:20px!important;padding:16px!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(9,27,52,.98),rgba(6,17,34,.98))!important;border:1px solid rgba(65,150,242,.27)!important}.home-page .premium-feature{min-width:0!important;padding:11px 7px 12px!important;border-radius:17px!important;background:linear-gradient(180deg,rgba(19,52,92,.85),rgba(8,25,47,.84))!important;border:1px solid rgba(77,158,246,.2)!important;text-decoration:none!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important}.home-page .premium-feature .feature-icon{width:64px!important;height:64px!important;margin:0 auto 9px!important;border-radius:20px!important;display:grid!important;place-items:center!important;font-size:36px!important;line-height:1!important;background:radial-gradient(circle at 35% 28%,rgba(62,180,255,.34),rgba(13,51,101,.7) 68%)!important;border:1px solid rgba(79,171,255,.34)!important;box-shadow:0 0 22px rgba(20,124,255,.18)!important;filter:saturate(1.2)}.home-page .premium-feature.reward-feature .feature-icon{background:radial-gradient(circle at 35% 28%,rgba(255,199,40,.4),rgba(122,67,2,.6) 70%)!important;box-shadow:0 0 24px rgba(255,166,0,.2)!important}.home-page .premium-feature.support-feature .feature-icon{background:radial-gradient(circle at 35% 28%,rgba(38,222,255,.35),rgba(10,71,113,.64) 70%)!important}.home-page .premium-feature.account-feature .feature-icon{background:radial-gradient(circle at 35% 28%,rgba(232,75,255,.33),rgba(83,25,118,.6) 70%)!important}.home-page .premium-feature.coin-feature .feature-icon{background:radial-gradient(circle at 35% 28%,rgba(54,255,208,.36),rgba(12,92,79,.62) 70%)!important}.home-page .premium-feature b{font-size:13px!important;color:#fff!important;white-space:normal!important;line-height:1.25!important}.home-page .premium-feature small{font-size:10px!important;line-height:1.35!important;color:#a9bdd4!important;margin-top:5px!important;white-space:normal!important}
.home-page .premium-home-fair{margin-top:18px!important;padding:18px 20px!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(9,27,52,.93),rgba(6,17,34,.95))!important;border:1px solid rgba(65,150,242,.28)!important}.home-page .premium-home-fair b{color:#ffd754!important;font-size:16px!important}.home-page .premium-home-fair span{color:#b3c7dd!important;font-size:12px!important;line-height:1.6!important}

.home-page .premium-bottom-nav{max-width:1180px!important;left:50%!important;transform:translateX(-50%)!important;background:rgba(3,11,23,.96)!important;border-top:1px solid rgba(81,158,245,.2)!important;backdrop-filter:blur(16px)!important;padding-top:7px!important;padding-bottom:max(7px,env(safe-area-inset-bottom))!important}.premium-bottom-nav a .nav-svg{font-size:0!important;line-height:1!important;width:42px!important;height:42px!important;display:grid!important;place-items:center!important;margin:0 auto 2px!important;border-radius:14px!important;background:rgba(22,52,88,.55)!important}.premium-bottom-nav a .nav-svg:before{font-size:25px!important;filter:saturate(1.2) drop-shadow(0 0 7px rgba(64,160,255,.18))}.premium-bottom-nav a:nth-child(1) .nav-svg:before{content:"🏠"}.premium-bottom-nav a:nth-child(2) .nav-svg:before{content:"🧾"}.premium-bottom-nav a:nth-child(3) .nav-svg:before{content:"🎁"}.premium-bottom-nav a:nth-child(4) .nav-svg:before{content:"🎧"}.premium-bottom-nav a:nth-child(5) .nav-svg:before{content:"👤"}.premium-bottom-nav a.active .nav-svg{background:rgba(255,189,14,.11)!important;box-shadow:0 0 20px rgba(255,184,0,.08)!important}.premium-bottom-nav a b{font-size:11px!important}.premium-bottom-nav a.active b{color:#ffd32d!important}

@media(max-width:760px){
  .app.home-page{width:100%!important;max-width:100%!important}
  .home-page .premium-brand-head{padding:10px 17px!important;min-height:58px!important}.home-page .premium-brand-head .brand-logo img{height:36px!important;max-width:175px!important}.home-page .header-domain-mark{font-size:11px!important}.home-page .language-trigger{width:39px!important;height:39px!important}.home-page .language-trigger-icon{font-size:24px!important}
  .home-page .logged-account-strip{margin:12px 17px 0!important;padding:14px 13px!important;border-radius:20px!important;grid-template-columns:72px minmax(90px,1fr) minmax(112px,auto)!important;gap:10px 9px!important}.home-page .logged-account-strip .account-user,.home-page .logged-account-strip .account-balance{gap:6px!important}.home-page .account-info-icon{display:none!important}.home-page .account-info-copy small{font-size:10px!important}.home-page .account-info-copy b{font-size:17px!important}.home-page .balance-value strong{font-size:18px!important}.home-page .balance-value em{font-size:10px!important}.home-page .account-actions{grid-column:1/-1!important;grid-template-columns:1fr 48px 48px!important;gap:9px!important}.home-page .account-actions a{height:48px!important}.home-page .account-actions .deposit-main{border-radius:14px!important}.home-page .account-actions .gift,.home-page .account-actions .support{font-size:23px!important}
  .home-page .reward-progress-card{margin:10px 17px 0!important;padding:14px 14px!important;border-radius:19px!important}.home-page .reward-progress-head{align-items:flex-start!important}.home-page .reward-progress-head b{font-size:14px!important;max-width:64%!important}.home-page .reward-progress-head>span{font-size:12px!important}.home-page .reward-progress-note{font-size:10px!important}
  .home-page .premium-home-main{padding:14px 17px 88px!important}.home-page .premium-home-hero{min-height:210px!important;border-radius:20px!important}.home-page .home-hero-copy{left:18px!important;bottom:18px!important;max-width:70%!important}.home-page .home-hero-copy small{font-size:8px!important;letter-spacing:2px!important}.home-page .home-hero-copy h1{font-size:26px!important}.home-page .home-hero-copy p{font-size:10px!important;line-height:1.45!important}
  .home-page .premium-game-grid{gap:14px!important;margin-top:16px!important}.home-page .home-game-tile{min-height:245px!important;padding:17px 15px!important;border-radius:21px!important}.home-page .home-game-tile .tile-orbit{width:59px!important;height:59px!important;font-size:30px!important;right:12px!important;top:16px!important}.home-page .home-game-tile h2{font-size:22px!important;max-width:88%!important;margin-top:54px!important}.home-page .home-game-tile p{font-size:10px!important}.home-page .home-game-tile>i{width:42px!important;height:42px!important;font-size:31px!important;right:14px!important;bottom:14px!important}
  .home-page .premium-features-v2{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;padding:9px 7px!important;border-radius:20px!important}.home-page .premium-feature{padding:8px 3px 9px!important;border-radius:13px!important}.home-page .premium-feature .feature-icon{width:48px!important;height:48px!important;border-radius:15px!important;font-size:29px!important;margin-bottom:6px!important}.home-page .premium-feature b{font-size:10px!important;line-height:1.15!important}.home-page .premium-feature small{font-size:8px!important;line-height:1.28!important;margin-top:4px!important}
  .home-page .premium-home-fair{padding:14px 15px!important;border-radius:17px!important}.home-page .premium-home-fair b{font-size:13px!important}.home-page .premium-home-fair span{font-size:10px!important}
  .home-page .premium-bottom-nav{max-width:100%!important}.premium-bottom-nav a .nav-svg{width:38px!important;height:38px!important;border-radius:12px!important}.premium-bottom-nav a .nav-svg:before{font-size:23px!important}
}

@media(max-width:390px){
  .home-page .logged-account-strip{grid-template-columns:60px minmax(78px,1fr) minmax(104px,auto)!important}.home-page .premium-home-main{padding-left:12px!important;padding-right:12px!important}.home-page .reward-progress-card{margin-left:12px!important;margin-right:12px!important}.home-page .logged-account-strip{margin-left:12px!important;margin-right:12px!important}.home-page .premium-game-grid{gap:9px!important}.home-page .home-game-tile{padding:14px 11px!important}.home-page .home-game-tile h2{font-size:19px!important}.home-page .premium-feature .feature-icon{width:43px!important;height:43px!important;font-size:26px!important}.home-page .premium-feature b{font-size:9px!important}.home-page .premium-feature small{font-size:7.5px!important}
}

/* ===== 2026-09-27 exact approved home layout ===== */
.app.home-page{padding-bottom:0!important;}
.home-page .premium-brand-head{display:flex!important;align-items:center!important;gap:18px!important;}
.home-page .premium-brand-head .brand-logo{display:flex!important;align-items:center!important;min-width:220px!important;}
.home-page .brand-domain-wrap{display:flex!important;align-items:center!important;justify-content:center!important;}
.home-page .header-domain-mark:before,.home-page .header-domain-mark:after{content:"";display:inline-block;width:42px;height:1px;margin:0 12px 4px;background:linear-gradient(90deg,transparent,#4ba8ff);opacity:.75}.home-page .header-domain-mark:after{background:linear-gradient(90deg,#4ba8ff,transparent)}

/* The approved member card is always two rows: 3 info blocks above, actions below. */
.home-page .logged-account-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto auto!important;gap:20px 16px!important;padding:22px 24px!important;}
.home-page .logged-account-strip .account-user,.home-page .logged-account-strip .account-balance{padding:3px 12px!important;min-height:58px!important;}
.home-page .logged-account-strip .account-user:not(:first-child),.home-page .logged-account-strip .account-balance{border-left:1px solid rgba(103,158,228,.26)!important;}
.home-page .account-info-icon{width:46px!important;height:46px!important;font-size:24px!important;box-shadow:inset 0 0 0 1px rgba(94,172,255,.28),0 0 20px rgba(21,109,255,.16)!important;}
.home-page .account-info-copy small{font-size:13px!important;}
.home-page .account-info-copy b{font-size:21px!important;}
.home-page .balance-value strong{font-size:24px!important;}
.home-page .balance-value em{font-size:13px!important;}
.home-page .account-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(280px,1fr) 64px 64px!important;gap:18px!important;align-items:center!important;max-width:none!important;}
.home-page .account-actions a{height:60px!important;}
.home-page .account-actions .deposit-main{border-radius:18px!important;font-size:18px!important;font-weight:900!important;}
.home-page .account-actions .gift,.home-page .account-actions .support{font-size:30px!important;width:60px!important;}

.home-page .reward-progress-card{padding:18px 24px!important;}
.home-page .reward-progress-head b{font-size:18px!important;}
.home-page .reward-progress-head>span{font-size:16px!important;}
.home-page .reward-progress-track{height:11px!important;}

/* Keep desktop closer to approved proportions instead of an oversized banner. */
.home-page .premium-home-hero{min-height:265px!important;height:265px!important;}
.home-page .home-hero-copy{top:auto!important;bottom:34px!important;}
.home-page .home-hero-copy h1{font-size:40px!important;}
.home-page .premium-game-grid{margin-top:18px!important;}
.home-page .home-game-tile{min-height:220px!important;}

/* Bigger colorful feature icons. */
.home-page .premium-feature .feature-icon{width:74px!important;height:74px!important;border-radius:24px!important;font-size:42px!important;filter:saturate(1.45) drop-shadow(0 0 9px rgba(62,164,255,.22))!important;}
.home-page .premium-feature b{font-size:15px!important;}
.home-page .premium-feature small{font-size:11px!important;}

/* Bottom navigation: colorful and visually larger. */
.premium-bottom-nav a .nav-svg{width:48px!important;height:48px!important;border-radius:16px!important;}
.premium-bottom-nav a .nav-svg:before{font-size:30px!important;filter:saturate(1.55) drop-shadow(0 0 8px rgba(64,160,255,.22))!important;}

@media(max-width:760px){
  .app.home-page{padding-bottom:0!important;min-height:100vh!important;}
  .home-page .premium-brand-head{gap:8px!important;padding:10px 16px!important;}
  .home-page .premium-brand-head .brand-logo{min-width:0!important;flex:0 1 42%!important;}
  .home-page .premium-brand-head .brand-logo img{height:37px!important;max-width:100%!important;}
  .home-page .header-domain-mark{white-space:nowrap!important;font-size:10.5px!important;}
  .home-page .header-domain-mark:before,.home-page .header-domain-mark:after{width:14px!important;margin:0 5px 3px!important;}

  .home-page .logged-account-strip{margin:12px 16px 0!important;padding:16px 14px!important;grid-template-columns:72px minmax(0,1fr) minmax(116px,auto)!important;grid-template-rows:auto auto!important;gap:12px 8px!important;border-radius:22px!important;}
  .home-page .logged-account-strip .account-user,.home-page .logged-account-strip .account-balance{min-height:52px!important;padding:0 7px!important;gap:7px!important;}
  .home-page .logged-account-strip .account-user:not(:first-child),.home-page .logged-account-strip .account-balance{border-left:1px solid rgba(103,158,228,.25)!important;}
  .home-page .account-info-icon{display:grid!important;width:34px!important;height:34px!important;font-size:18px!important;flex:0 0 34px!important;}
  .home-page .account-info-copy small{font-size:10px!important;}
  .home-page .account-info-copy b{font-size:17px!important;}
  .home-page .balance-value strong{font-size:18px!important;}
  .home-page .balance-value em{font-size:10px!important;}
  .home-page .account-actions{grid-column:1/-1!important;grid-template-columns:minmax(0,1fr) 52px 52px!important;gap:10px!important;max-width:none!important;}
  .home-page .account-actions a{height:52px!important;}
  .home-page .account-actions .deposit-main{font-size:16px!important;border-radius:15px!important;}
  .home-page .account-actions .gift,.home-page .account-actions .support{width:52px!important;font-size:25px!important;}

  .home-page .reward-progress-card{margin:10px 16px 0!important;padding:15px 14px!important;}
  .home-page .reward-progress-head b{font-size:14px!important;}
  .home-page .reward-progress-head>span{font-size:12px!important;}

  /* Remove the old double bottom spacer that produced the large black blank area. */
  .home-page .premium-home-main{padding:14px 16px 76px!important;min-height:0!important;}
  .home-page .premium-home-hero{height:190px!important;min-height:190px!important;}
  .home-page .home-hero-copy{left:18px!important;bottom:16px!important;max-width:76%!important;}
  .home-page .home-hero-copy h1{font-size:25px!important;}

  .home-page .premium-game-grid{gap:12px!important;}
  .home-page .home-game-tile{min-height:255px!important;padding:18px 15px!important;}
  .home-page .home-game-tile h2{font-size:22px!important;margin-top:52px!important;}
  .home-page .home-game-tile p{font-size:10px!important;}

  .home-page .premium-features-v2{gap:6px!important;padding:10px 8px!important;}
  .home-page .premium-feature{padding:9px 3px 10px!important;}
  .home-page .premium-feature .feature-icon{width:58px!important;height:58px!important;border-radius:18px!important;font-size:34px!important;margin-bottom:8px!important;}
  .home-page .premium-feature b{font-size:10px!important;}
  .home-page .premium-feature small{font-size:8px!important;}

  .home-page .premium-home-fair{margin-bottom:0!important;}
  .home-page .premium-bottom-nav{height:72px!important;}
  .premium-bottom-nav a .nav-svg{width:42px!important;height:42px!important;}
  .premium-bottom-nav a .nav-svg:before{font-size:26px!important;}
}

@media(max-width:420px){
  .home-page .logged-account-strip{grid-template-columns:66px minmax(0,1fr) minmax(108px,auto)!important;margin-left:12px!important;margin-right:12px!important;padding-left:10px!important;padding-right:10px!important;}
  .home-page .account-info-icon{width:30px!important;height:30px!important;font-size:16px!important;flex-basis:30px!important;}
  .home-page .account-info-copy b{font-size:15px!important;}
  .home-page .balance-value strong{font-size:16px!important;}
  .home-page .reward-progress-card{margin-left:12px!important;margin-right:12px!important;}
  .home-page .premium-home-main{padding-left:12px!important;padding-right:12px!important;}
  .home-page .premium-feature .feature-icon{width:53px!important;height:53px!important;font-size:31px!important;}
}

/* ===== 2026-09-27 9999-style compact account header / 51299.net branding ===== */
html,body{background:#050b16!important;}
.app.home-page{
  width:100%!important;
  max-width:520px!important;
  min-height:100vh!important;
  margin:0 auto!important;
  background:#050b16!important;
  box-shadow:0 0 42px rgba(0,0,0,.44)!important;
  overflow-x:hidden!important;
}
.home-page .premium-brand-head.compact-account-head{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  min-height:82px!important;
  padding:12px 14px!important;
  gap:8px!important;
  border-bottom:1px solid rgba(91,143,211,.18)!important;
  background:linear-gradient(180deg,#081324 0%,#07111f 100%)!important;
}
.home-page .brand-logo-51299{
  min-width:0!important;
  width:auto!important;
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  text-decoration:none!important;
  overflow:visible!important;
}
.home-page .brand-symbol-crop{
  display:block!important;
  position:relative!important;
  width:47px!important;
  height:54px!important;
  overflow:hidden!important;
  flex:0 0 47px!important;
}
.home-page .brand-symbol-crop img{
  position:absolute!important;
  left:0!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:154px!important;
  height:auto!important;
  max-width:none!important;
}
.home-page .brand-site-name{
  color:#f5f8ff!important;
  font-size:17px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.3px!important;
  text-shadow:0 0 10px rgba(71,148,255,.2)!important;
  white-space:nowrap!important;
}
.home-page .top-guest-actions,.home-page .top-account-actions{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
}
.home-page .top-login,.home-page .top-register,.home-page .top-deposit{
  height:40px!important;
  min-width:54px!important;
  padding:0 13px!important;
  border-radius:20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
.home-page .top-login{color:#eaf3ff!important;background:#16243a!important;border:1px solid rgba(120,171,236,.18)!important;}
.home-page .top-register,.home-page .top-deposit{color:#101725!important;background:linear-gradient(135deg,#ffd325,#ffb100)!important;border:1px solid rgba(255,218,56,.72)!important;box-shadow:0 7px 18px rgba(255,180,0,.14)!important;}
.home-page .top-deposit{min-width:62px!important;}
.home-page .top-round{
  width:40px!important;height:40px!important;flex:0 0 40px!important;
  border-radius:50%!important;display:grid!important;place-items:center!important;text-decoration:none!important;
  font-size:20px!important;background:#17263d!important;border:1px solid rgba(130,177,239,.12)!important;
}
.home-page .top-gift{color:#ffcf25!important;background:linear-gradient(135deg,#3a2e12,#222943)!important;}
.home-page .top-support{color:#fff!important;}
.home-page .top-trx-balance{
  height:40px!important;display:flex!important;align-items:center!important;gap:4px!important;padding:0 8px!important;
  border-radius:20px!important;background:#16243a!important;color:#fff!important;white-space:nowrap!important;
}
.home-page .top-trx-dot{width:24px!important;height:24px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#27aa84!important;color:#fff!important;font-weight:950!important;font-size:12px!important;}
.home-page .top-trx-balance b{font-size:13px!important;color:#fff!important;}
.home-page .top-trx-balance small{font-size:8px!important;color:#71f3bd!important;font-weight:900!important;}
.home-page .compact-language-trigger{
  position:absolute!important;right:8px!important;bottom:-17px!important;z-index:8!important;
  width:34px!important;height:34px!important;border-radius:50%!important;padding:0!important;
  background:#102039!important;border:1px solid rgba(80,161,245,.28)!important;box-shadow:0 6px 18px rgba(0,0,0,.25)!important;
  font-size:18px!important;
}

/* Guest state is intentionally only the compact top row: no Account Center card. */
.home-page .account-top-strip{display:none!important;}

/* 9999-style signed-in member panel: identity + reward progress. */
.home-page .member-profile-card{
  margin:12px 14px 0!important;padding:16px 14px 14px!important;border-radius:22px!important;
  border:1px solid rgba(81,148,231,.26)!important;
  background:linear-gradient(180deg,rgba(28,43,66,.98),rgba(36,42,57,.96))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.16)!important;
}
.home-page .member-profile-top{display:grid!important;grid-template-columns:58px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;}
.home-page .member-avatar{width:58px!important;height:58px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#ffd339,#fff7d2)!important;color:#0a101b!important;font-weight:950!important;font-size:21px!important;box-shadow:0 8px 20px rgba(255,190,27,.17)!important;}
.home-page .member-identity{min-width:0!important;}
.home-page .member-identity b{display:block!important;color:#fff!important;font-size:20px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.home-page .member-identity span{display:block!important;margin-top:4px!important;color:#9aa9be!important;font-size:11px!important;}
.home-page .member-reward-link{display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;color:#d6dce7!important;text-decoration:none!important;max-width:84px!important;text-align:center!important;}
.home-page .member-reward-link span{font-size:30px!important;line-height:1!important;}
.home-page .member-reward-link small{font-size:9px!important;line-height:1.15!important;}
.home-page .member-reward-summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:15px!important;color:#fff!important;}
.home-page .member-reward-summary b{font-size:12px!important;color:#ffd64a!important;}
.home-page .member-reward-summary strong{font-size:12px!important;color:#fff!important;white-space:nowrap!important;}
.home-page .member-profile-card .reward-progress-track{height:8px!important;margin-top:9px!important;background:#7f899b!important;border:0!important;border-radius:99px!important;overflow:hidden!important;}
.home-page .member-profile-card .reward-progress-fill{height:100%!important;background:linear-gradient(90deg,#51c5ff,#7d5cff)!important;border-radius:99px!important;box-shadow:0 0 10px rgba(72,174,255,.45)!important;}
.home-page .member-reward-foot{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:8px!important;color:#a9bbd2!important;font-size:10px!important;}
.home-page .member-reward-foot b{color:#dfe8f5!important;font-size:10px!important;}

/* Same mobile-shaped layout on desktop, centered. */
.home-page .premium-home-main{padding:12px 14px 84px!important;}
.home-page .premium-home-hero{height:240px!important;min-height:240px!important;border-radius:20px!important;}
.home-page .home-hero-copy{left:20px!important;bottom:20px!important;max-width:78%!important;}
.home-page .home-hero-copy h1{font-size:28px!important;}
.home-page .home-hero-copy p{font-size:11px!important;line-height:1.5!important;}
.home-page .premium-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important;}
.home-page .home-game-tile{min-height:268px!important;padding:18px 14px!important;border-radius:22px!important;}
.home-page .home-game-tile h2{font-size:24px!important;margin-top:60px!important;line-height:1.05!important;}
.home-page .home-game-tile p{font-size:10px!important;}
.home-page .premium-features-v2{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;padding:10px 7px!important;margin-top:14px!important;border-radius:20px!important;}
.home-page .premium-feature{padding:8px 2px 10px!important;border-radius:14px!important;}
.home-page .premium-feature .feature-icon{width:52px!important;height:52px!important;border-radius:16px!important;font-size:30px!important;margin-bottom:7px!important;}
.home-page .premium-feature b{font-size:9px!important;line-height:1.15!important;}
.home-page .premium-feature small{font-size:7px!important;line-height:1.25!important;margin-top:4px!important;}
.home-page .premium-home-fair{padding:14px 15px!important;margin-top:14px!important;border-radius:18px!important;}
.home-page .premium-home-fair b{font-size:13px!important;}
.home-page .premium-home-fair span{font-size:9px!important;line-height:1.4!important;}
.home-page .premium-bottom-nav{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:100%!important;max-width:520px!important;height:76px!important;}
.premium-bottom-nav a .nav-svg{width:40px!important;height:40px!important;border-radius:13px!important;}
.premium-bottom-nav a .nav-svg:before{font-size:24px!important;}

@media(max-width:520px){
  .app.home-page{max-width:none!important;box-shadow:none!important;}
  .home-page .premium-brand-head.compact-account-head{min-height:76px!important;padding:10px 10px!important;gap:5px!important;}
  .home-page .brand-symbol-crop{width:42px!important;height:50px!important;flex-basis:42px!important;}
  .home-page .brand-symbol-crop img{width:144px!important;}
  .home-page .brand-site-name{font-size:15px!important;}
  .home-page .top-guest-actions,.home-page .top-account-actions{gap:4px!important;}
  .home-page .top-login,.home-page .top-register,.home-page .top-deposit{height:36px!important;min-width:0!important;padding:0 10px!important;font-size:11px!important;}
  .home-page .top-round{width:36px!important;height:36px!important;flex-basis:36px!important;font-size:18px!important;}
  .home-page .top-trx-balance{height:36px!important;padding:0 6px!important;gap:3px!important;}
  .home-page .top-trx-dot{width:21px!important;height:21px!important;font-size:10px!important;}
  .home-page .top-trx-balance b{font-size:11px!important;}
  .home-page .top-trx-balance small{display:none!important;}
  .home-page .compact-language-trigger{width:30px!important;height:30px!important;right:6px!important;bottom:-15px!important;font-size:16px!important;}
  .home-page .member-profile-card{margin:12px 12px 0!important;padding:15px 12px 13px!important;}
  .home-page .premium-home-main{padding:12px 12px 82px!important;}
  .home-page .premium-home-hero{height:235px!important;min-height:235px!important;}
  .home-page .home-game-tile{min-height:260px!important;padding:17px 12px!important;}
}

@media(max-width:390px){
  .home-page .premium-brand-head.compact-account-head{padding-left:8px!important;padding-right:8px!important;}
  .home-page .brand-symbol-crop{width:37px!important;flex-basis:37px!important;}
  .home-page .brand-symbol-crop img{width:132px!important;}
  .home-page .brand-site-name{font-size:13px!important;}
  .home-page .top-login,.home-page .top-register,.home-page .top-deposit{padding:0 8px!important;font-size:10px!important;}
  .home-page .top-round{width:33px!important;height:33px!important;flex-basis:33px!important;font-size:16px!important;}
  .home-page .top-trx-balance{padding:0 5px!important;}
  .home-page .top-trx-dot{display:none!important;}
  .home-page .top-trx-balance b{font-size:10px!important;}
  .home-page .premium-home-hero{height:220px!important;min-height:220px!important;}
  .home-page .home-game-tile{min-height:245px!important;}
  .home-page .home-game-tile h2{font-size:21px!important;}
  .home-page .premium-feature .feature-icon{width:45px!important;height:45px!important;font-size:27px!important;}
}

/* ===== 2026-09-27 clean 51299 logo crop + real Tether-style reward icon ===== */
/* The source logo image contains the old HashVerse wordmark. Only show the H symbol. */
.home-page .brand-symbol-crop{
  width:38px!important;
  flex:0 0 38px!important;
  overflow:hidden!important;
  position:relative!important;
}
.home-page .brand-symbol-crop img{
  left:-1px!important;
  width:154px!important;
  max-width:none!important;
}
/* Cover the first few pixels of the old wordmark so no white fragment remains after H. */
.home-page .brand-symbol-crop:after{
  content:""!important;
  position:absolute!important;
  z-index:3!important;
  top:0!important;
  right:0!important;
  width:4px!important;
  height:100%!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,rgba(8,19,36,0),#081324 72%)!important;
}

/* Actual Tether-style circular badge used for New user reward. */
.home-page .member-reward-link .member-reward-coin{
  width:50px!important;
  height:50px!important;
  flex:0 0 50px!important;
  display:block!important;
  border-radius:50%!important;
  overflow:hidden!important;
  background:#26A17B!important;
  border:0!important;
  box-shadow:0 0 0 3px rgba(38,161,123,.16),0 7px 18px rgba(0,0,0,.24)!important;
  font-size:0!important;
}
.home-page .member-reward-link .member-reward-coin:before,
.home-page .member-reward-link .member-reward-coin:after{
  content:none!important;
  display:none!important;
}
.home-page .member-reward-link .member-reward-tether-img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.home-page .member-reward-link small{
  margin-top:4px!important;
}

@media(max-width:520px){
  .home-page .brand-symbol-crop{width:36px!important;flex-basis:36px!important;}
  .home-page .brand-symbol-crop img{width:144px!important;}
  .home-page .brand-symbol-crop:after{width:4px!important;}
  .home-page .member-reward-link .member-reward-coin{width:46px!important;height:46px!important;flex-basis:46px!important;}
}
@media(max-width:390px){
  .home-page .brand-symbol-crop{width:34px!important;flex-basis:34px!important;}
  .home-page .brand-symbol-crop img{width:132px!important;}
  .home-page .member-reward-link .member-reward-coin{width:44px!important;height:44px!important;flex-basis:44px!important;}
}

/* Oct 2026: make the guest brand visible without squeezing Login / Register. */
.home-page .premium-brand-head.compact-account-head{min-height:86px!important}
.home-page .brand-logo-51299 .brand-site-name{font-size:19px!important;letter-spacing:-.45px!important}
.home-page .brand-logo-51299 .brand-symbol-crop{width:43px!important;flex-basis:43px!important;height:58px!important}
.home-page .brand-logo-51299 .brand-symbol-crop img{width:157px!important}
@media(max-width:520px){
 .home-page .premium-brand-head.compact-account-head{min-height:78px!important;padding-left:9px!important;padding-right:9px!important}
 .home-page .brand-logo-51299{gap:1px!important}
 .home-page .brand-logo-51299 .brand-symbol-crop{width:40px!important;flex-basis:40px!important;height:50px!important}
 .home-page .brand-logo-51299 .brand-symbol-crop img{width:151px!important}
 .home-page .brand-logo-51299 .brand-site-name{font-size:17px!important;letter-spacing:-.5px!important}
}
@media(max-width:380px){
 .home-page .brand-logo-51299 .brand-symbol-crop{width:36px!important;flex-basis:36px!important}
 .home-page .brand-logo-51299 .brand-symbol-crop img{width:140px!important}
 .home-page .brand-logo-51299 .brand-site-name{font-size:15px!important}
}

/* 2026-10-21: legible mobile H symbol, preserve the original compact layout */
@media(max-width:560px){
.home-page .brand-logo-51299{gap:5px!important;min-width:0!important}
.home-page .brand-logo-51299 .brand-symbol-crop{width:43px!important;flex-basis:43px!important;height:53px!important}
.home-page .brand-logo-51299 .brand-symbol-crop img{width:162px!important;max-width:none!important;height:auto!important}
.home-page .brand-logo-51299 .brand-site-name{font-size:17px!important;white-space:nowrap!important}
}

/* HashVerse 2026-10-22: road-bead columns and compact outcome */
.hv-road-column{display:flex;flex-direction:column;gap:4px;flex:0 0 auto;min-width:36px}.hv-road-column .road-chip{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;margin:0;white-space:nowrap;font-size:12px}.hv-draw-outcome{position:relative;margin:6px 0 4px;min-height:40px;padding-left:10px;max-width:75%;}.hv-draw-outcome[hidden]{display:none!important}.hv-outcome-line{display:flex;align-items:center;gap:11px;white-space:nowrap;font-size:14px;font-weight:800;color:#20365b}.hv-outcome-line strong{font-size:19px;color:#245ce9}.hv-outcome-line a{padding:5px 10px;border-radius:12px;color:#fff;background:#6744ee;text-decoration:none}.hv-hash-connector{position:absolute;bottom:100%;height:18px;border-left:2px dashed #ec4269;pointer-events:none}.hv-draw-anchor{color:#e32b59!important;font-weight:900;background:rgba(234,54,88,.12)}.hv-reward-payout{display:flex;gap:6px;justify-content:space-between;flex-wrap:wrap;color:inherit;font-size:12px;margin:6px 0}.top-wallet-link,.game-wallet-link{display:inline-flex;align-items:center;justify-content:center;border-radius:20px;padding:8px 12px;background:#25467c;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}.wallet-icon{display:none}@media(max-width:640px){.top-wallet-link,.game-wallet-link{width:41px;height:41px;padding:0;border-radius:50%}.wallet-word{display:none}.wallet-icon{display:inline;font-size:23px}.hv-draw-outcome{max-width:70%}.hv-outcome-line{gap:7px;font-size:12px}}


/* 2026-10-22 repair: keep game account identity, UID, balance, and actions
   visible independently of the new-user reward release state. */
.game-page .game-head.premium-game-head{
  grid-template-columns:34px minmax(0,1fr) minmax(160px,40%)!important;
  column-gap:8px!important;
  padding:9px 12px!important;
  box-sizing:border-box!important;
  min-height:102px!important;
}
.game-page .game-head-account{
  box-sizing:border-box;min-width:0;max-width:100%;width:100%;
  align-self:center;display:flex;flex-direction:column;gap:3px;
  padding:6px 8px;border:1px solid #dce5f1;border-radius:11px;
  background:#f6f9ff;color:#24344f;overflow:hidden;
}
.game-page .game-head-identity{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;font-size:10px;line-height:1.25;color:#506786}
.game-page .game-head-identity span{flex:0 0 auto;white-space:nowrap}
.game-page .game-head-identity b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1c2e50;font-size:11px}
.game-page .game-head-balance{display:flex;align-items:baseline;gap:4px;font-size:10px;color:#60748f;white-space:nowrap;min-width:0}
.game-page .game-head-balance strong{font-size:14px;line-height:1.2;color:#1c6d4a;min-width:0;overflow:hidden;text-overflow:ellipsis}
.game-page .game-head-balance b{font-size:10px;color:#1c6d4a}
.game-page .game-head-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:0}
.game-page .game-head-links a{box-sizing:border-box;min-width:0;min-height:26px;padding:4px 2px;
  display:flex;align-items:center;justify-content:center;border-radius:7px;
  color:#fff;background:#2863da;text-decoration:none;font-size:10px;font-weight:800;
  line-height:1.15;overflow-wrap:anywhere;text-align:center}
.game-page .game-head-links a:last-child{background:#7244da}
@media(max-width:420px){
  .game-page .game-head.premium-game-head{grid-template-columns:28px minmax(0,1fr) minmax(126px,43%)!important;gap:5px!important;padding:9px 8px!important}
  .game-page .game-head.premium-game-head .game-title-domain h1{font-size:17px!important;line-height:1.22!important}
  .game-page .game-head.premium-game-head .game-domain-mark{font-size:9px!important;gap:3px!important;white-space:nowrap!important}
  .game-page .game-head.premium-game-head .game-domain-mark i{width:6px!important}
  .game-page .game-head-account{padding:6px 5px}
  .game-page .game-head-identity{font-size:9px;gap:4px}
  .game-page .game-head-identity b{font-size:10px}
  .game-page .game-head-balance{font-size:9px;gap:3px}
  .game-page .game-head-balance strong{font-size:12px}
  .game-page .game-head-links{gap:4px}
  .game-page .game-head-links a{font-size:9px;min-height:25px}
}
/* Narrow home pages: prevent long translated Deposit / Withdraw labels
   from sitting on top of adjacent controls. */
@media(max-width:440px){
  .home-page .premium-brand-head.compact-account-head{flex-wrap:wrap!important;align-content:center!important;min-height:108px!important;row-gap:5px!important}
  .home-page .top-account-actions{width:100%!important;flex:0 0 100%!important;min-width:0!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:5px!important}
  .home-page .top-account-actions > *{box-sizing:border-box!important}
  .home-page .top-deposit{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.1!important;text-align:center!important}
}

/* Keep draw block numbers legible without colliding with the center countdown
   on 320px devices; the TRONSCAN Verify link remains in the result area. */
@media(max-width:420px){
 .game-page .draw-block #previousBlock,.game-page .draw-block #drawBlock{font-size:clamp(12px,3.7vw,17px)!important;letter-spacing:-.25px!important;white-space:nowrap!important}
 .game-page .bet-panel .bet-amount-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(82px,auto)!important;gap:7px!important;min-width:0!important}
 .game-page .bet-panel .bet-amount-row input{box-sizing:border-box!important;width:100%!important;min-width:0!important}
 .game-page .bet-panel .bet-submit{box-sizing:border-box!important;min-width:82px!important;padding:0 8px!important;font-size:13px!important;white-space:normal!important;line-height:1.15!important}
}
/* Keep the completed new-user reward separate from the permanent account UI. */
.home-page .member-reward-link[hidden],.game-page .reward-progress-card[hidden]{display:none!important}
/* Home wallet action: legible label and independent tap target on narrow phones. */
@media(max-width:440px){
 .home-page .top-account-actions .top-wallet-link{width:auto!important;min-width:75px!important;height:36px!important;padding:0 8px!important;border-radius:9px!important;flex:0 0 auto!important}
 .home-page .top-account-actions .top-wallet-link .wallet-word{display:inline!important;font-size:10px!important;line-height:1.1!important;overflow-wrap:anywhere!important;text-align:center!important}
 .home-page .top-account-actions .top-wallet-link .wallet-icon{display:none!important}
}


/* 2026-10-22f: one-row results + three actions, Hash-to-result dashed connector. */
.game-page .premium-draw-stage{position:relative}
.game-page .premium-draw-stage .draw-stage-grid{margin-bottom:24px}
.game-page .hv-result-toolbar{position:relative;z-index:3;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between;gap:5px;min-width:0;min-height:43px;padding:0;margin-top:0;border:0}
.game-page .hv-draw-outcome{display:block;position:relative;flex:1 1 auto;min-width:0;max-width:none;margin:0;padding:0;min-height:0}
.game-page .hv-draw-outcome[hidden]{display:none!important}
.game-page .hv-outcome-line{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;white-space:nowrap;min-width:0;gap:clamp(3px,1.2vw,11px);font-size:clamp(11px,3.15vw,16px);font-weight:900;color:#17243a}
.game-page .hv-outcome-line strong{display:inline-block;min-width:0;line-height:1;font-size:clamp(19px,5vw,25px);color:#5679f6}
.game-page .hv-outcome-line span{white-space:nowrap;line-height:1.1}
.game-page .draw-stage-actions{position:relative;z-index:4;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;flex-flow:row nowrap;gap:clamp(3px,1vw,8px);min-width:0;padding:0;margin:0;border:0}
.game-page .draw-stage-actions .hv-verify-btn,.game-page .draw-stage-actions button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap;height:35px;min-height:35px;margin:0;padding:0 clamp(7px,1.8vw,13px);border:0;border-radius:12px;font-size:clamp(10px,2.5vw,12px);font-weight:900;line-height:1.1;text-decoration:none;color:#fff;background:linear-gradient(135deg,#754ef6,#6140e7);box-shadow:0 5px 13px rgba(100,72,220,.17)}
.game-page .draw-stage-actions .hv-verify-btn[hidden]{display:none!important}
.game-page.size-theme .draw-stage-actions .hv-verify-btn,.game-page.size-theme .draw-stage-actions button{background:linear-gradient(135deg,#2f83ef,#176adb);box-shadow:0 5px 13px rgba(31,112,220,.15)}
.game-page .hv-hash-connector{box-sizing:border-box;position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:visible;border:0!important;transform:none!important}
.game-page .hv-hash-connector svg{width:100%;height:100%;display:block;overflow:visible}
.game-page .previous-meta code .hv-draw-anchor{display:inline-block;min-width:1em;padding:2px 4px;margin:0 1px;border-radius:8px;color:#de5266!important;background:rgba(237,116,136,.15);font-weight:900;vertical-align:baseline}
.game-page .premium-draw-stage .previous-result-line{display:none!important}
@media(max-width:390px){
 .game-page .premium-draw-stage{padding-left:10px!important;padding-right:10px!important}
 .game-page .premium-draw-stage .draw-stage-grid{margin-bottom:20px}
 .game-page .hv-result-toolbar{gap:3px}
 .game-page .hv-outcome-line{gap:4px;font-size:clamp(12px,3.4vw,13px)}
 .game-page .hv-outcome-line strong{font-size:clamp(21px,5.7vw,23px)}
 .game-page .draw-stage-actions{gap:3px}
 .game-page .draw-stage-actions .hv-verify-btn,.game-page .draw-stage-actions button{height:32px;min-height:32px;border-radius:9px;padding:0 6px;font-size:10px}
}


/* 2026-10-22g: FINAL game draw-area layout. Scoped to the parity/size draw
   section only. Prevents legacy .draw-stage-actions CSS from wrapping rows. */
.game-page .premium-draw-stage.hv-one-line-v2{position:relative!important;isolation:isolate;overflow:visible!important}
.game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-grid{margin-bottom:clamp(34px,5vw,45px)!important}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-result-toolbar{
 display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;
 grid-template-rows:1fr!important;align-items:center!important;
 column-gap:clamp(3px,.8vw,8px)!important;
 position:relative!important;z-index:4!important;
 box-sizing:border-box!important;width:100%!important;min-width:0!important;
 padding:0!important;margin:0!important;min-height:36px!important;
 border:0!important;white-space:nowrap!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-draw-outcome{
 display:block!important;position:relative!important;grid-row:1!important;grid-column:1!important;
 width:auto!important;min-width:0!important;max-width:unset!important;
 padding:0!important;margin:0!important;min-height:0!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-draw-outcome[hidden]{display:none!important}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 flex-flow:row nowrap!important;gap:clamp(3px,1vw,9px)!important;
 min-width:0!important;overflow:hidden!important;
 font-weight:900!important;font-size:clamp(10px,2.3vw,15px)!important;
 white-space:nowrap!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line strong{
 flex:0 0 auto!important;font-size:clamp(19px,4.6vw,24px)!important;line-height:1!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line span{
 display:block!important;min-width:0!important;overflow:hidden!important;
 text-overflow:ellipsis!important;white-space:nowrap!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions{
 display:flex!important;flex-flow:row nowrap!important;grid-row:1!important;grid-column:2!important;
 justify-content:flex-end!important;align-items:center!important;gap:clamp(3px,.8vw,8px)!important;
 flex:0 0 auto!important;min-width:0!important;white-space:nowrap!important;
 position:relative!important;z-index:5!important;
 padding:0!important;margin:0!important;border:0!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions .hv-verify-btn,
.game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions button{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;flex:0 0 auto!important;float:none!important;
 height:36px!important;min-height:36px!important;width:auto!important;
 padding:0 clamp(6px,1.3vw,12px)!important;margin:0!important;
 font-size:clamp(10px,2vw,12px)!important;font-weight:900!important;line-height:1!important;
 white-space:nowrap!important;border:0!important;border-radius:11px!important;
 text-decoration:none!important;color:#fff!important;
 background:linear-gradient(135deg,#7650f6,#6240e8)!important;
 box-shadow:0 6px 14px rgba(99,73,216,.18)!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions .hv-verify-btn[hidden]{display:none!important}
.game-page.size-theme .premium-draw-stage.hv-one-line-v2 .draw-stage-actions .hv-verify-btn,
.game-page.size-theme .premium-draw-stage.hv-one-line-v2 .draw-stage-actions button{
 background:linear-gradient(135deg,#2f83ef,#176adb)!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-hash-connector{
 display:block!important;position:absolute!important;inset:0!important;
 left:0!important;top:0!important;bottom:auto!important;right:auto!important;
 width:100%!important;height:100%!important;border:0!important;
 transform:none!important;overflow:visible!important;pointer-events:none!important;
 z-index:2!important;opacity:1!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-hash-connector svg{
 display:block!important;width:100%!important;height:100%!important;overflow:visible!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .previous-result-line{display:none!important}
@media(max-width:390px){
 .game-page .premium-draw-stage.hv-one-line-v2 .hv-result-toolbar{column-gap:3px!important}
 .game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line{font-size:10.5px!important;gap:3px!important}
 .game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line strong{font-size:20px!important}
 .game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions{gap:3px!important}
 .game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions .hv-verify-btn,
 .game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions button{
  height:32px!important;min-height:32px!important;padding:0 5px!important;
  font-size:10px!important;border-radius:9px!important;
 }
}

/* Keep all actions on the same line for long translated button labels too. */
@media(max-width:420px){
 .game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions{max-width:62%!important;width:62%!important;}
 .game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions .hv-verify-btn,
 .game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions button{
  flex:1 1 0!important;min-width:0!important;padding:0 2px!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
 }
}


/* 2026-10-22h: put Verify immediately after draw digit/size/parity.
   Keep Records and History right-aligned. No changes to draw/connector logic. */
.game-page .premium-draw-stage.hv-one-line-v2 .hv-result-toolbar{
  grid-template-columns:minmax(0,1fr) max-content!important;
  column-gap:clamp(6px,1.2vw,12px)!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line{
  overflow:visible!important;
  gap:clamp(3px,.85vw,8px)!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line .hv-verify-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;box-sizing:border-box!important;
  height:36px!important;min-height:36px!important;
  margin:0 0 0 2px!important;padding:0 clamp(6px,1.3vw,12px)!important;
  border:0!important;border-radius:11px!important;
  font-size:clamp(10px,2vw,12px)!important;font-weight:900!important;
  line-height:1!important;text-decoration:none!important;white-space:nowrap!important;
  color:#fff!important;background:linear-gradient(135deg,#7650f6,#6240e8)!important;
  box-shadow:0 6px 14px rgba(99,73,216,.18)!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line .hv-verify-btn[hidden]{display:none!important}
.game-page.size-theme .premium-draw-stage.hv-one-line-v2 .hv-outcome-line .hv-verify-btn{
  background:linear-gradient(135deg,#2f83ef,#176adb)!important;
}
.game-page .premium-draw-stage.hv-one-line-v2 .draw-stage-actions{
  width:auto!important;max-width:none!important;
}
@media(max-width:390px){
 .game-page .premium-draw-stage.hv-one-line-v2 .hv-result-toolbar{column-gap:3px!important}
 .game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line{gap:3px!important}
 .game-page .premium-draw-stage.hv-one-line-v2 .hv-outcome-line .hv-verify-btn{
   height:32px!important;min-height:32px!important;
   padding:0 5px!important;margin-left:0!important;
   border-radius:9px!important;font-size:10px!important;
 }
}
