/* Craft pass adapted from unslop by Damir Sokolovsky (@heydamir), CC BY 4.0: https://heydamir.design/unslop */
dialog.wheel-result-dialog{box-sizing:border-box;width:min(360px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:auto;padding:0;border:1px solid #e1e5e0;border-radius:20px;background:#fff;color:#243029;box-shadow:0 8px 24px #0000001f;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}
dialog.wheel-result-dialog::-webkit-scrollbar{display:none}
dialog.wheel-result-dialog::backdrop{background:#17201b80}
.wheel-result-dialog-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;border-bottom:1px solid #e6e9e4}
.wheel-result-dialog-head h2{min-width:0;margin:0;color:#243029;font-size:18px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.wheel-result-dialog-head .wheel-result-dialog-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:#59655d;font-size:24px;font-weight:400;line-height:1}
.wheel-result-dialog-body{display:grid;justify-items:center;gap:12px;padding:24px;background:#fff}
.wheel-result-dialog-art{display:grid;place-items:center;width:96px;height:96px;margin:0 0 4px}
.wheel-result-dialog-art svg,.wheel-result-dialog-art img{display:block;width:80px;height:80px;object-fit:contain}
.wheel-result-dialog-name{max-width:100%;margin:0;text-align:center;font-size:20px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;text-wrap:balance}
.wheel-result-dialog-detail,.wheel-result-dialog-help{max-width:100%;margin:0;text-align:center;font-size:14px;font-weight:400;line-height:1.5;color:#59655d;overflow-wrap:anywhere}
.wheel-result-dialog-help{font-size:13px;line-height:1.55;color:#68726b}
.wheel-result-dialog-detail:empty,.wheel-result-dialog-status:empty{display:none}
.wheel-result-dialog-status{box-sizing:border-box;width:100%;margin:0;padding:12px;border:1px solid #eadbd5;border-radius:10px;background:#fcf7f4;color:#964637;font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.wheel-result-dialog-actions{display:grid;gap:8px;width:100%;margin-top:8px}
.wheel-result-dialog-actions button{min-height:48px;margin:0;padding:12px 16px;border-radius:10px;font-size:14px;font-weight:500;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.wheel-result-dialog-actions .wheel-result-dialog-confirm{border:1px solid #086444;background:#086444;color:#fff}
.wheel-result-dialog-actions .wheel-result-dialog-delivery{border:1px solid #dce2da;background:#f6f7f4;color:#34483b}
.wheel-result-dialog button:disabled{opacity:.6;cursor:wait}
.wheel-result-dialog button:focus-visible{outline:2px solid #086444;outline-offset:2px}
@media(hover:hover){.wheel-result-dialog-head .wheel-result-dialog-close:hover{background:#f1f3ef}.wheel-result-dialog-actions .wheel-result-dialog-confirm:hover{background:#075638;border-color:#075638}.wheel-result-dialog-actions .wheel-result-dialog-delivery:hover{background:#ecefe9}}
@media(max-height:560px){.wheel-result-dialog-body{gap:8px;padding:16px 24px}.wheel-result-dialog-art{width:64px;height:64px;margin:0}.wheel-result-dialog-art svg,.wheel-result-dialog-art img{width:56px;height:56px}}

/* Match the result to the draw stage without obscuring the actual prize. */
dialog.wheel-result-dialog{border-color:#dfc68c;background:#fffdf7;box-shadow:0 12px 32px #062c1c40}
dialog.wheel-result-dialog::backdrop{background:#08281eb3}
.wheel-result-dialog-head{background:#07513a;border-bottom:1px solid #206e50}
.wheel-result-dialog-head h2{color:#fff9e7;font-weight:700}
.wheel-result-dialog-head .wheel-result-dialog-close{color:#fff9e7}
.wheel-result-dialog-body{background:#fffdf7}
.wheel-result-dialog-art{width:104px;height:104px;border:1px solid #eed390;border-radius:50%;background:#fff2c9;box-shadow:0 3px 0 #eed28c}
.wheel-result-dialog-art svg,.wheel-result-dialog-art img{width:72px;height:72px}
.wheel-result-dialog-name{color:#15402e;font-size:19px;font-weight:700}
.wheel-result-dialog-actions .wheel-result-dialog-confirm{border-color:#087148;background:#087148;font-weight:700}
.wheel-result-dialog-actions .wheel-result-dialog-delivery{border-color:#d8c491;background:#fff9e9;color:#315b3f;font-weight:600}
@media(hover:hover){.wheel-result-dialog-head .wheel-result-dialog-close:hover{background:#ffffff1c}}
@media(max-height:560px){.wheel-result-dialog-art{width:64px;height:64px}.wheel-result-dialog-art svg,.wheel-result-dialog-art img{width:48px;height:48px}}
