/* Dice Arena v7.9.5 — scoped visual refinements */
.site-header .da-header-actions{gap:12px}
.site-header .da-header-logout{display:inline-flex;align-items:center;justify-content:center;padding:9px 22px;border:1px solid #e85053;border-radius:50px;background:transparent;color:#ffd4d4;text-decoration:none;font-size:13px;font-weight:800;min-height:38px;transition:background .18s,border-color .18s}
.site-header .da-header-logout:hover{background:#d92c3326;border-color:#ff7d81;color:#fff}
.site-header .main-nav .da-mobile-logout{display:none}
.site-header .nav-toggle{border:none!important;background:transparent!important;box-shadow:none!important;font-size:26px;padding:6px 8px}
.arena-controls .da-sr-only{display:none!important}
/* Leaderboard */
.da-leaderboard-panel{min-width:0;background:linear-gradient(145deg,#103b35,#071d20)!important;border:1px solid #34675d!important;border-radius:20px;padding:22px;margin-top:16px}
.da-leaderboard-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.da-leaderboard-heading h2{font-size:19px;margin:4px 0 0;color:#fff}
.da-leaderboard-eyebrow{font-size:10px;letter-spacing:.16em;color:#57cdaa;font-weight:850}
.da-leaderboard-sort{border:1px solid #3a7065;padding:7px 11px;border-radius:25px;color:#bbf5dc;font-size:11px;white-space:nowrap}
.da-leaderboard-table-wrap{overflow-x:auto;overscroll-behavior-x:contain}
.da-leaderboard-table{border-collapse:collapse;width:100%;font-size:12px;min-width:415px}
.da-leaderboard-table th{color:#9dc8b8;font-size:10px;text-align:left;white-space:nowrap;font-weight:800;padding:10px 7px;border-bottom:1px solid #35645c}
.da-leaderboard-table td{padding:11px 7px;border-bottom:1px solid #284d47;color:#f0fff8;white-space:nowrap}
.da-leaderboard-table th:not(:first-child),.da-leaderboard-table td:not(:first-child){text-align:right}
.da-leaderboard-table tr:first-child td:first-child{color:#ffcf63;font-weight:900}
.da-leaderboard-table tr.da-current-player{background:#edaf3421}
.da-my-leaderboard-rank{margin-top:16px;border:1px solid #b28733;background:#8f60282d;color:#ffe09a;border-radius:12px;padding:12px 14px;font-size:12px;font-weight:800;line-height:1.6}
.da-leaderboard-help{font-size:10px!important;color:#a1c1b7!important;line-height:1.5;margin:11px 0 0}
/* Modern wallet: retain existing forms, ids and backend JavaScript */
body.page-template-page-wallet,body:has(.da-modern-wallet-hero){background:#0b1019;color:#f4f5f7}
body:has(.da-modern-wallet-hero) .content-page{max-width:1140px;padding-top:20px;padding-bottom:75px}
.da-modern-hero{position:relative;overflow:hidden;min-height:180px;display:flex;align-items:center;margin-bottom:18px;padding:16px 18px 24px;border-radius:16px;background:radial-gradient(ellipse at 100% 5%,#1b281d 0,#0b1319 55%,transparent 100%)}
.da-modern-hero>div{position:relative;z-index:2;max-width:70%}
.da-modern-kicker{font-size:10px;font-weight:850;letter-spacing:.12em;color:#ffbb3c}
.da-modern-kicker span{color:#bac4c2}
.da-modern-hero h1{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-.045em;margin:14px 0 8px}
.da-modern-hero p{font-size:13px;color:#aeb7be;max-width:480px;line-height:1.6}
.da-wallet-dice-image{position:absolute;right:1%;top:-65px;width:min(38%,360px);height:290px;object-fit:contain;opacity:.8;filter:drop-shadow(0 0 35px #05ce7230);pointer-events:none}
body:has(.da-modern-wallet-hero) .da-wallet-card{max-width:none;margin:0;background:linear-gradient(135deg,#191c23,#11151d 86%);border:1px solid #343a45;border-radius:20px;padding:28px;box-shadow:0 12px 35px #0002}
body:has(.da-modern-wallet-hero) .da-wallet-card:not(.da-payout-profile-card):not(.da-release-card){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:20px;align-items:center;margin-bottom:22px;background:radial-gradient(ellipse at 12% 28%,#382617,#191a20 70%);border-color:#534033;padding:32px}
body:has(.da-modern-wallet-hero) .da-wallet-label{color:#bbc0c6;font-size:11px}
body:has(.da-modern-wallet-hero) .da-wallet-number{grid-column:1;color:#fff;font-size:clamp(34px,4vw,56px);margin:3px 0;font-weight:950;letter-spacing:-.04em}
body:has(.da-modern-wallet-hero) .da-wallet-number::after{content:' Coins';color:#ff9e1c;font-size:.7em}
body:has(.da-modern-wallet-hero) .da-wallet-status{grid-column:1;color:#aeb6bd;font-size:12px;margin:0}
body:has(.da-modern-wallet-hero) .da-wallet-links{grid-column:2;grid-row:1/span 3;justify-content:flex-end}
body:has(.da-modern-wallet-hero) .da-buy,body:has(.da-modern-wallet-hero) .da-release-submit{background:linear-gradient(#ffbe48,#ff9014)!important;color:#141414!important;border:0;border-radius:12px;font-weight:900}
body:has(.da-modern-wallet-hero) .da-secondary{background:#15161c;border:1px solid #74777d!important;color:#e8e8e8!important}
.da-wallet-management-grid{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);align-items:start;gap:22px}
.da-wallet-right-col{display:grid;gap:20px;min-width:0}
body:has(.da-modern-wallet-hero) .da-payout-profile-card h2,body:has(.da-modern-wallet-hero) .da-release-card h2{color:#f7f7f7;font-size:21px;margin:0 0 10px}
body:has(.da-modern-wallet-hero) .da-wallet-card p{color:#afb4be;font-size:12px;line-height:1.6}
body:has(.da-modern-wallet-hero) .da-payout-profile-card form{display:grid;gap:12px}
body:has(.da-modern-wallet-hero) .da-payout-profile-card label{display:block;color:#e6e9ec;font-size:12px;font-weight:700}
body:has(.da-modern-wallet-hero) .da-payout-profile-card input,body:has(.da-modern-wallet-hero) .da-payout-profile-card select{display:block;width:100%;min-width:0;margin:8px 0 0;padding:13px 15px;border-radius:10px;background:#141922;border:1px solid #444a53;color:#fff;box-sizing:border-box}
body:has(.da-modern-wallet-hero) .da-payout-profile-card input:focus,body:has(.da-modern-wallet-hero) .da-payout-profile-card select:focus{border-color:#fca129;outline:1px solid #fca129}
body:has(.da-modern-wallet-hero) input[type=file]{border:1px dashed #68707a!important;min-height:75px;background:#1b212a!important;cursor:pointer}
body:has(.da-modern-wallet-hero) #daPayoutSave{width:100%;margin-top:8px}
body:has(.da-modern-wallet-hero) .da-release-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body:has(.da-modern-wallet-hero) .da-release-presets button,body:has(.da-modern-wallet-hero) .da-release-stepper button{background:#171c24;color:#fff;border:1px solid #484c56;border-radius:12px;min-width:0;font-weight:850}
body:has(.da-modern-wallet-hero) .da-release-presets button.active{border:2px solid #f7a21d;background:#68452050}
body:has(.da-modern-wallet-hero) .da-release-stepper{display:grid;grid-template-columns:42px 1fr 42px;gap:0;border:1px solid #383f4b;border-radius:12px;padding:5px;align-items:center;background:#10141b}
body:has(.da-modern-wallet-hero) .da-release-stepper output{min-width:0;color:#ffad24;font-size:19px}
body:has(.da-modern-wallet-hero) .da-release-stepper button{padding:10px 3px}
body:has(.da-modern-wallet-hero) .da-release-submit{width:100%;margin:12px 0 0}
body:has(.da-modern-wallet-hero) #daReleaseHistory{max-height:310px;overflow:auto}
/* Profile */
body:has(.da-profile-overview) .content-page{max-width:1050px;padding-top:55px;padding-bottom:85px;position:relative}
body:has(.da-profile-overview) .content-page:before{content:'';position:absolute;inset:0 0 auto;max-height:400px;min-height:300px;background:radial-gradient(ellipse at 40% 25%,#04665055,transparent 70%);pointer-events:none}
body:has(.da-profile-overview) .content-page>.eyebrow,body:has(.da-profile-overview) .content-page>h1{position:relative}
body:has(.da-profile-overview) .da-profile-card{position:relative;max-width:none;border:1px solid #1d7668;border-radius:18px;background:linear-gradient(120deg,#083f34,#042820 83%);padding:26px 30px;margin:20px 0}
body:has(.da-profile-overview) .da-profile-card h2{font-size:20px;margin:0 0 24px;color:#f5fff9}
body:has(.da-profile-overview) .da-profile-card h2 span{color:#ffcc4c;margin-right:9px}
.da-account-detail-grid{display:grid;grid-template-columns:90px 1fr;align-items:center;gap:20px}
.da-profile-avatar{display:grid;place-items:center;width:76px;height:76px;border:1px solid #fbc94a;border-radius:100%;font-size:40px;background:radial-gradient(#206756,#093327)}
body:has(.da-profile-overview) .da-profile-overview dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
body:has(.da-profile-overview) .da-profile-overview dl dt{font-size:11px;color:#9dc5b9}
body:has(.da-profile-overview) .da-profile-overview dl dd{font-size:13px;color:#fff;overflow-wrap:anywhere;margin:0;font-weight:800}
body:has(.da-profile-overview) .da-profile-password{min-height:335px}
body:has(.da-profile-overview) .da-password-form{max-width:520px;gap:14px}
.da-password-field{display:flex;align-items:center;position:relative}
body:has(.da-profile-overview) .da-password-field input{padding-right:48px!important}
.da-toggle-password{position:absolute;right:9px;top:50%;transform:translateY(-50%);background:none;border:0;color:#a8e1d2;font-size:17px;cursor:pointer;padding:6px}
body:has(.da-profile-overview) .da-password-form button[type=submit]{background:linear-gradient(#ffe58a,#ffb319);color:#171b16;border:none;border-radius:12px;font-weight:900;box-shadow:0 7px 21px #ffb71e43}
@media(max-width:760px){
 .site-header .da-header-logout{display:none!important}
 .site-header .main-nav .da-mobile-logout{display:block!important;text-align:center;background:linear-gradient(120deg,#cb2229,#921519);border:1px solid #f14d52;border-radius:11px;margin:5px auto 0;width:100%;font-weight:900;color:#fff!important}
 .site-header .nav-toggle{border:0!important;background:transparent!important;font-size:27px}
 .da-wallet-management-grid{grid-template-columns:1fr}
 body:has(.da-modern-wallet-hero) .da-wallet-card:not(.da-payout-profile-card):not(.da-release-card){grid-template-columns:1fr;gap:8px}
 body:has(.da-modern-wallet-hero) .da-wallet-links{grid-column:1;grid-row:auto;justify-content:flex-start;margin-top:16px}
 .da-modern-hero>div{max-width:77%}.da-wallet-dice-image{width:40%;right:-8%;top:-8px;height:200px;opacity:.57}
 .da-modern-hero h1{font-size:37px}
 .da-account-detail-grid{grid-template-columns:1fr;gap:18px}
 body:has(.da-profile-overview) .da-profile-overview dl{grid-template-columns:1fr;gap:7px}
 body:has(.da-profile-overview) .da-profile-overview dl dd{margin-bottom:7px}
 .da-leaderboard-panel{padding:15px}
}
@media(max-width:410px){body:has(.da-modern-wallet-hero) .da-release-presets{grid-template-columns:repeat(2,1fr)}.da-wallet-dice-image{opacity:.38}.da-modern-hero>div{max-width:93%}.da-modern-hero{min-height:175px}}


/* v7.9.6 wallet/account/leaderboard corrections */
body:has(.da-modern-wallet-hero) .da-wallet-number::after{content:none!important}
body:has(.da-modern-wallet-hero) .da-wallet-amount{display:flex;gap:12px;align-items:center;min-width:0;grid-column:1}
body:has(.da-modern-wallet-hero) .da-wallet-number{grid-column:auto;max-width:100%;overflow-wrap:anywhere}
.da-wallet-coin-icon{font-size:clamp(28px,3vw,43px);line-height:1;flex-shrink:0;filter:drop-shadow(0 3px 8px #fa9e2977)}
body:has(.da-modern-wallet-hero) .da-release-stepper{grid-template-columns:54px minmax(0,1fr) 54px!important;gap:6px!important;padding:6px!important;overflow:hidden;min-height:62px}
body:has(.da-modern-wallet-hero) .da-release-stepper button{display:flex!important;align-items:center;justify-content:center;width:48px!important;min-width:0!important;height:46px!important;padding:0!important;font-size:24px!important;line-height:1!important;white-space:nowrap;justify-self:center}
body:has(.da-modern-wallet-hero) .da-release-stepper output{font-size:clamp(14px,2.5vw,19px)!important;min-width:0!important;white-space:nowrap;text-align:center}
body:has(.da-modern-wallet-hero) .da-buy,body:has(.da-modern-wallet-hero) .da-release-submit,body:has(.da-modern-wallet-hero) #daPayoutSave{color:#fff!important;text-shadow:0 1px 1px #63350a66}
body:has(.da-modern-wallet-hero) .da-wallet-card:not(.da-payout-profile-card):not(.da-release-card){grid-template-rows:auto auto auto}
body:has(.da-modern-wallet-hero) .da-wallet-amount{grid-row:2}
body:has(.da-modern-wallet-hero) .da-wallet-status{grid-row:3}
/* dark profile like supplied reference; each label bound to its own correct data */
body:has(.da-modern-profile-hero){background:#0b1019;color:#f5f6f8}
body:has(.da-modern-profile-hero) .content-page{max-width:1140px;padding-top:20px;padding-bottom:80px}
body:has(.da-modern-profile-hero) .content-page:before{display:none}
.da-modern-profile-hero{min-height:150px;margin-bottom:18px}
.da-profile-feature-card{background:radial-gradient(ellipse at 4% 38%,#3a2819,#17171e 68%);border:1px solid #42382f;border-radius:18px;display:flex;gap:24px;align-items:center;padding:23px 28px;margin-bottom:18px;min-width:0}
.da-profile-feature-icon{width:82px;height:82px;flex:none;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#0b503c,#0a221e);border:1px solid #9f6d24;color:#24d18a;box-shadow:0 0 24px #d88d1d30}
.da-profile-feature-copy{min-width:0;flex:1}.da-profile-feature-copy h2{margin:3px 0 5px;font-size:clamp(25px,3vw,36px);color:#fff;line-height:1.15}.da-profile-feature-copy p{font-size:12px;line-height:1.6;margin:0;color:#b9bdc6;overflow-wrap:anywhere}.da-profile-eyebrow{font-size:10px;color:#ecddc3;letter-spacing:.08em;font-weight:800}
.da-profile-shop-link{border:1px solid #777a84;border-radius:12px;padding:12px 23px;min-width:125px;text-align:center;text-decoration:none;color:#fff;font-weight:800;font-size:13px;white-space:nowrap}
.da-profile-shop-link:hover{border-color:#ffad2a;color:#ffbd49}
.da-profile-two-col{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;align-items:stretch}
body:has(.da-modern-profile-hero) .da-profile-card{margin:0;max-width:none;border:1px solid #30333c;background:linear-gradient(115deg,#171a22,#12151c);padding:24px;border-radius:18px;min-width:0}
.da-profile-section-heading{display:flex;gap:13px;align-items:center;margin-bottom:22px}.da-profile-section-icon{color:#ffae1d;font-size:25px;line-height:1}.da-profile-section-heading h2,body:has(.da-modern-profile-hero) .da-profile-card h2{margin:0 0 3px;font-size:18px;color:#fff}.da-profile-section-heading p{font-size:12px;color:#adb2bd;margin:0}
body:has(.da-modern-profile-hero) .da-password-form{max-width:none;display:grid;gap:13px}
body:has(.da-modern-profile-hero) .da-password-form label{font-size:12px;color:#eceef2;font-weight:700}
body:has(.da-modern-profile-hero) .da-password-field input{background:#151920;color:#fff;border:1px solid #3c414b;border-radius:10px;min-height:43px;width:100%;margin:6px 0 0;padding:10px 45px 10px 14px;box-sizing:border-box}
body:has(.da-modern-profile-hero) .da-password-field .da-toggle-password{top:calc(50% + 3px);right:7px;color:#d1d3d8}
body:has(.da-modern-profile-hero) .da-profile-hint{color:#abb1bc;font-size:11px;margin:0}
body:has(.da-modern-profile-hero) .da-password-form button[type=submit]{width:100%;min-height:46px;color:#191919;border-radius:11px;background:linear-gradient(180deg,#ffbf45,#ff9514);font-weight:900;margin-top:2px}
.da-profile-info-list{border:1px solid #32363e;border-radius:13px;overflow:hidden;margin:0}
.da-profile-info-list>div{display:grid;grid-template-columns:minmax(105px,1fr) minmax(0,1.1fr);gap:10px;padding:16px 14px;align-items:center;border-bottom:1px solid #32363e}
.da-profile-info-list>div:last-child{border-bottom:0}.da-profile-info-list dt{font-size:12px;color:#d3d5dc;display:flex;gap:10px;align-items:center;margin:0}.da-profile-info-list dt span{color:#ffc34d;font-size:18px;width:22px}.da-profile-info-list dd{margin:0;font-size:12px;font-weight:800;color:#fff;overflow-wrap:anywhere}
.da-leaderboard-page{max-width:1140px;padding-top:20px;padding-bottom:80px}.da-leaderboard-page .da-leaderboard-panel{background:linear-gradient(145deg,#181b23,#10151b)!important;border-color:#373e47!important;margin:0}.da-leaderboard-page .da-leaderboard-table{font-size:14px}.da-leaderboard-page .da-leaderboard-table td{padding:15px 12px}.da-leaderboard-page .da-leaderboard-table th{padding:13px 12px}
@media(max-width:760px){.da-profile-two-col{grid-template-columns:1fr}.da-profile-feature-card{padding:18px;gap:14px;flex-wrap:wrap}.da-profile-feature-icon{width:62px;height:62px}.da-profile-shop-link{width:100%}.da-profile-info-list>div{grid-template-columns:1fr;gap:5px}.da-modern-profile-hero{min-height:160px}.da-leaderboard-page{padding-top:12px}body:has(.da-modern-wallet-hero) .da-wallet-number{font-size:clamp(29px,8vw,42px)}}
