#wheel-modal>.custom-modal-content{width:min(390px,calc(100vw - 24px));padding:22px 20px;background:#101820;color:#d7e2ed;}
#wheel-modal h2{font-size:26px;line-height:1.2;margin:5px 20px 10px!important;color:var(--gold)!important;}
#wheel-modal .modal-close-btn{top:8px;right:8px;width:27px;height:27px;border:1px solid #8a98b4;border-radius:50%;background:#202b3b;color:white;font:23px/23px Arial;padding:0;}
#wheel-modal .wheel-main-container{width:min(300px,100%)!important;height:auto!important;aspect-ratio:1;margin:16px auto!important;}
#wheel-modal .wheel-pointer{top:-10px;left:50%;width:24px;height:32px;transform:translateX(-50%);background:linear-gradient(100deg,#ff7766,#ed382f 55%,#a61919);clip-path:polygon(50% 100%,0 0,100% 0);z-index:20;pointer-events:none;filter:drop-shadow(0 2px 1px #210707);}
#wheel-modal .wheel-rotor-viewport{position:absolute;inset:0;overflow:hidden;border-radius:50%;contain:strict;}
#wheel-modal #wheelWrapper svg{display:block;width:100%;height:100%;filter:drop-shadow(0 5px 4px #0008);}
#wheel-modal .wheel-sector-value{font:bold 15px Arial,sans-serif;}
#wheel-modal .wheel-label{box-sizing:border-box;top:0;left:50%;width:14%;height:100%;padding-top:15%;justify-content:flex-start;transform-origin:50% 50%;}
#wheel-modal .wheel-val{font-size:15px;line-height:18px;margin-bottom:3px;}
#wheel-modal .wheel-icon-gem{width:21px;height:22px;object-fit:contain;}
#wheel-modal .wheel-stock{display:inline-flex;gap:8px;align-items:center;border:1px solid #877039;border-radius:6px;padding:7px 14px;background:#090f16;color:#ffe298;font-size:13px;margin:0 auto 3px;}
#wheel-modal .wheel-stock img{width:20px;height:20px;object-fit:contain;}
#wheel-modal #wheel-spin-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:200px;padding:12px 20px!important;margin:6px auto!important;border:2px solid #080808!important;border-radius:11px!important;background:linear-gradient(#ffdb37,#ffae00 65%,#e88500)!important;box-shadow:inset 0 2px #fff4,0 3px #0009!important;color:#241300!important;font-size:16px!important;text-shadow:none!important;}
#wheel-modal #wheel-spin-btn::before{content:'';width:25px;height:25px;flex:none;background:url('/assets/media/button_video.lossless.webp') center/contain no-repeat;filter:brightness(0);}
#wheel-modal #wheel-spin-btn:disabled::before{visibility:hidden;}
#wheel-modal #wheel-spin-btn:disabled{background:#343941!important;color:#9aa3ae!important;box-shadow:none!important;}
#wheel-modal #wheel-probabilities{margin:14px 0 0!important;padding:10px!important;border:2px solid #9b752b!important;border-radius:8px!important;background:#0b1016!important;font-size:11px!important;line-height:1.5!important;text-align:left!important;}
#wheel-modal #wheel-probabilities summary{color:var(--gold);cursor:pointer;font-size:12px;}
#wheel-modal #wheel-reset-timer{font-size:11px;color:#91a0b0;}
@media(max-width:360px){#wheel-modal>.custom-modal-content{padding:20px 12px;}#wheel-modal h2{font-size:23px;}}
@media(max-height:600px){#wheel-modal .wheel-main-container{width:min(230px,100%)!important;}}
body.mobile-landscape #wheel-modal>.custom-modal-content{width:min(700px,calc(100vw - 30px));padding:15px;}
body.mobile-landscape #wheel-modal .modal-frame-scroll{display:grid;grid-template-columns:230px 1fr;column-gap:18px;align-items:center;}
body.mobile-landscape #wheel-modal .wheel-main-container{grid-column:1;grid-row:1/7;margin:12px 0!important;}
body.mobile-landscape #wheel-modal h2,body.mobile-landscape #wheel-modal p,body.mobile-landscape #wheel-modal .wheel-stock,body.mobile-landscape #wheel-modal #wheel-spin-btn,body.mobile-landscape #wheel-modal #wheel-reset-timer,body.mobile-landscape #wheel-modal #wheel-probabilities{grid-column:2;}
body.mobile-landscape #wheel-modal h2{grid-row:1;font-size:21px;margin:0!important;}
body.mobile-landscape #wheel-modal .modal-frame-scroll>p{grid-row:2;font-size:11px!important;margin:5px 0!important;}
body.mobile-landscape #wheel-modal .wheel-stock{grid-row:3;padding:3px 10px;margin:3px auto;}
body.mobile-landscape #wheel-modal #wheel-spin-btn{grid-row:4;padding:7px 15px!important;}
body.mobile-landscape #wheel-modal #wheel-reset-timer{grid-row:5;}
body.mobile-landscape #wheel-modal #wheel-probabilities{grid-row:6;font-size:10px!important;margin:7px 0 0!important;padding:6px!important;}
body.mobile-landscape #wheel-modal .modal-close-btn{right:1px;top:1px;}
@media(max-height:360px){body.mobile-landscape #wheel-modal>.custom-modal-content{padding:10px;}body.mobile-landscape #wheel-modal .modal-frame-scroll{grid-template-columns:210px 1fr;column-gap:12px;}body.mobile-landscape #wheel-modal .wheel-main-container{width:210px!important;margin:6px 0!important;}body.mobile-landscape #wheel-modal h2{font-size:19px;}body.mobile-landscape #wheel-modal #wheel-probabilities{font-size:9.5px!important;padding:4px!important;margin-top:3px!important;}body.mobile-landscape #wheel-modal #wheel-probabilities p{margin:3px 0!important;}}
.daily-claim-receipt{position:fixed;inset:0;margin:auto;box-sizing:border-box;min-width:0;width:min(300px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:20px;border:9px solid transparent;background:#101820;color:#d7e2ed;overflow:visible;border-radius:8px;text-align:center;}
.daily-claim-receipt::after{content:'';position:absolute;inset:-9px;border:9px solid transparent;border-image:url('/assets/ui/hud/frame-v2.webp') 17% stretch;filter:var(--hud-art-filter,none);pointer-events:none;}
.daily-claim-receipt::backdrop{background:#0009;backdrop-filter:blur(3px);}
.daily-claim-receipt h3{margin:0 0 16px;color:var(--gold);font-size:21px;}
.daily-claim-receipt .claim-receipt-row{display:flex;align-items:center;justify-content:center;gap:10px;font-size:24px;font-weight:900;color:#ffe298;margin:12px 0;}
.daily-claim-receipt .claim-receipt-row img{width:32px;height:34px;object-fit:contain;}
.daily-claim-receipt button{min-width:110px;margin-top:12px;}
/* Match the approved compact footer; all wording is translated UTF-8 text. */
#wheel-modal .wheel-stock{display:inline-flex;gap:8px;padding:5px 10px;border:1px solid #8c7649;border-radius:5px;background:#090f16;color:#f4d58d;font-size:12px;}
#wheel-modal .wheel-prize-range{display:flex;justify-content:center;align-items:center;gap:6px;color:#64dca6;font-weight:800;font-size:12px;margin:7px auto;}
#wheel-modal .wheel-prize-range img{width:21px;height:22px;object-fit:contain;}
#wheel-modal #wheel-spin-btn{margin:8px auto!important;}
#wheel-modal #wheel-reset-timer{margin-top:8px!important;font-size:10px;font-weight:400!important;color:#a5b3c4;}
#wheel-modal #wheel-probabilities{margin-top:14px!important;padding:10px 0 0!important;border:0!important;border-top:1px solid #3d4956!important;border-radius:0!important;background:none!important;text-align:center!important;font-size:10px!important;}
#wheel-modal #wheel-probabilities summary{font-size:11px;font-weight:800;color:#e6ce8b;list-style-position:inside;}
#wheel-modal #wheel-probabilities p{margin:5px 0 0!important;}
body.mobile-landscape #wheel-modal .wheel-main-container{grid-row:1/8;}
body.mobile-landscape #wheel-modal .wheel-prize-range{grid-column:2;grid-row:4;margin:3px 0;font-size:11px;}
body.mobile-landscape #wheel-modal #wheel-spin-btn{grid-row:5;margin:4px auto!important;}
body.mobile-landscape #wheel-modal #wheel-reset-timer{grid-row:6;margin-top:3px!important;}
body.mobile-landscape #wheel-modal #wheel-probabilities{grid-row:7;padding-top:6px!important;margin-top:6px!important;}
/* Approved fantasy wheel: live labels/translations over stone, no outer scenery. */
#wheel-modal>.custom-modal-content{box-sizing:border-box;width:min(430px,calc(100vw - 24px));padding:14px 14px 16px;background:linear-gradient(#090c1088,#090c1066),url('../ui/wheel/stone.png') center/420px;border:6px solid #bd8532!important;border-image:linear-gradient(135deg,#74420d 0%,#ffe3a0 18%,#b77316 30%,#f8cf6b 47%,#9e5c13 70%,#ffdc83 90%,#68400c 100%) 1!important;border-radius:0;box-shadow:inset 0 0 0 2px #241604,0 4px 18px #0008;color:#eee2c9;}
#wheel-modal>.custom-modal-content::after{display:none!important}
#wheel-modal .modal-frame-scroll{padding:2px 3px;scrollbar-color:#a77c34 #17191c}
#wheel-modal h2,#wheel-modal #wheel-spin-btn{font-family:Georgia,'Times New Roman',serif;font-weight:800;color:#ffe1a1!important;text-shadow:0 2px #442807,1px 0 #442807,-1px 0 #442807!important;border:3px solid #c29346!important;border-image:linear-gradient(135deg,#865419,#ffe3a0 20%,#b77a1f 40%,#fbd789 60%,#9b6219 80%,#ffe1a1) 1!important;background:linear-gradient(#080b1080,#080b1080),url('../ui/wheel/stone.png') center/360px!important;border-radius:0!important;box-shadow:inset 0 0 0 2px #2b1b07,0 2px 0 #090907!important;}
#wheel-modal h2{font-size:clamp(23px,5.8vw,32px);line-height:1.15;margin:0 18px 12px 0!important;padding:12px 5px;overflow-wrap:anywhere;}
#wheel-modal .modal-close-btn{top:3px;right:3px;width:35px;height:35px;border:3px solid #d7a448;border-radius:50%;background:linear-gradient(135deg,#3e2b10,#11151b);color:#ffe4a1;font:bold 29px/27px Georgia;padding:0;box-shadow:0 0 0 2px #1c1307;}
#wheel-modal .modal-frame-scroll>p{font-family:Georgia,'Times New Roman',serif;color:#eee2c9!important;font-size:14px!important;line-height:1.4;margin:5px 0 12px!important;}
#wheel-modal .wheel-stock{font-family:Georgia,'Times New Roman',serif;background:#0b1118;border:1px solid #bd8b35;border-radius:0;padding:5px 12px;color:#f7e0a4;font-size:13px;}
#wheel-modal .wheel-main-container{width:min(340px,100%)!important;margin:14px auto 8px!important;}
#wheel-modal .wheel-pointer{top:0;width:30px;height:28px;background:linear-gradient(100deg,#80500e,#ffe9a7 25%,#e7a424 55%,#814606);clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 2px 1px #110a03);}
#wheel-modal .wheel-label{padding-top:11.5%;width:14%;}
#wheel-modal .wheel-val{font-family:Georgia,'Times New Roman',serif;font-size:clamp(14px,4vw,19px);font-weight:800;line-height:20px;color:#ffe4a2;text-shadow:0 2px 1px #000,1px 0 #201407,-1px 0 #201407;margin-bottom:3px;}
#wheel-modal .wheel-icon-gem{width:22px;height:23px;filter:drop-shadow(0 1px 2px #000)}
#wheel-modal .wheel-prize-range{color:#f6e3b5;font-family:Georgia,'Times New Roman',serif;font-size:15px;margin:8px auto;}
#wheel-modal #wheel-spin-btn{width:92%;min-width:0;min-height:50px;margin:8px auto!important;padding:10px 14px!important;font-size:20px!important;line-height:1.2;overflow-wrap:anywhere;}
#wheel-modal #wheel-spin-btn::before{display:none!important}
#wheel-modal #wheel-spin-btn:hover:not(:disabled){filter:brightness(1.18)}
#wheel-modal #wheel-spin-btn:disabled{opacity:.6;color:#b4a98f!important;cursor:default}
#wheel-modal #wheel-probabilities{padding-top:10px!important;border-color:#8e6d36!important;color:#d5ccb8;font-size:11px!important;line-height:1.45!important;}
#wheel-modal #wheel-probabilities summary{font-family:Georgia,'Times New Roman',serif;color:#f5dba2;font-size:13px;}
@media(max-width:360px){#wheel-modal>.custom-modal-content{padding:10px 7px}#wheel-modal h2{font-size:23px}#wheel-modal .wheel-val{font-size:14px;line-height:17px}#wheel-modal .wheel-icon-gem{width:18px;height:19px}#wheel-modal #wheel-spin-btn{font-size:18px!important}}
@media(max-height:650px) and (min-width:700px){#wheel-modal .wheel-main-container{width:230px!important}#wheel-modal .wheel-val{font-size:13px;line-height:15px}#wheel-modal .wheel-icon-gem{width:17px;height:18px}}
body.mobile-landscape #wheel-modal>.custom-modal-content{background:linear-gradient(#090c1088,#090c1066),url('../ui/wheel/stone.png') center/420px;padding:10px;}
body.mobile-landscape #wheel-modal h2{font-size:22px;padding:7px 4px;margin:0 20px 4px 0!important;}
body.mobile-landscape #wheel-modal #wheel-spin-btn{min-height:38px;font-size:18px!important;}
body.mobile-landscape #wheel-modal .wheel-val{font-size:14px;line-height:17px}
body.mobile-landscape #wheel-modal .wheel-icon-gem{width:18px;height:19px}
/* Bevelled clipped corners from the approved title/button, without gemstone ornaments. */
#wheel-modal>.custom-modal-content{position:relative;isolation:isolate;border:0!important;border-image:none!important;background:none!important;padding:20px 20px 22px;box-shadow:none;}
#wheel-modal>.custom-modal-content::before,#wheel-modal>.custom-modal-content::after{content:'';display:block!important;position:absolute;pointer-events:none;border:0!important;border-image:none!important;border-radius:0;filter:none!important;}
#wheel-modal>.custom-modal-content::before{inset:0;z-index:-2;background:linear-gradient(125deg,#70400c,#ffdf93 17%,#b67b23 30%,#fbd481 48%,#865018 70%,#ffe19b 88%,#8e5b1c);clip-path:polygon(16px 0,calc(100% - 16px) 0,100% 16px,100% calc(100% - 16px),calc(100% - 16px) 100%,16px 100%,0 calc(100% - 16px),0 16px);}
#wheel-modal>.custom-modal-content::after{inset:6px;z-index:-1;background:linear-gradient(#090c10b0,#090c1080),url('../ui/wheel/stone.png') center/420px;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px);}
#wheel-modal h2,#wheel-modal #wheel-spin-btn{position:relative;isolation:isolate;font-family:Georgia,'Times New Roman',serif!important;border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;}
#wheel-modal h2::before,#wheel-modal #wheel-spin-btn::before,#wheel-modal h2::after,#wheel-modal #wheel-spin-btn::after{content:'';display:block!important;position:absolute;pointer-events:none;width:auto;height:auto;filter:none;flex:none;}
#wheel-modal h2::before,#wheel-modal #wheel-spin-btn::before{inset:0;z-index:-2;background:linear-gradient(125deg,#865419,#ffe3a0 20%,#b77a1f 40%,#fbd789 60%,#9b6219 80%,#ffe1a1);clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px);}
#wheel-modal h2::after,#wheel-modal #wheel-spin-btn::after{inset:3px;z-index:-1;background:linear-gradient(#080b10b0,#080b1080),url('../ui/wheel/stone.png') center/360px;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px);}
#wheel-modal .modal-frame-scroll>p,#wheel-modal .wheel-val,#wheel-modal .wheel-prize-range,#wheel-modal .wheel-stock,#wheel-modal #wheel-probabilities summary{font-family:Georgia,'Times New Roman',serif!important;}
@media(max-width:360px){#wheel-modal>.custom-modal-content{padding:16px 13px}}

/* Close on the outer top-right frame corner, clear of the title and scroller. */
#wheel-modal .modal-close-btn,body.mobile-landscape #wheel-modal .modal-close-btn{top:-10px!important;right:-10px!important;width:32px;height:32px;font-size:26px;line-height:25px;z-index:5;}
#wheel-modal h2{margin-right:0!important;padding-right:5px!important;}
