.mag-random-wheel{width:min(360px,76vw);margin:6px auto 14px;text-align:center;isolation:isolate}.mag-random-wheel svg{display:block;width:100%;height:auto;overflow:visible;filter:drop-shadow(0 12px 14px #39254238)}.mag-random-wheel [data-wheel-pointer]{filter:drop-shadow(0 2px 2px #38214280)}.mag-random-wheel[data-settled=true] svg{filter:drop-shadow(0 0 15px #f5c66b80)}.mag-wheel-status{font:600 13px/1.5 system-ui;color:#6a4a86;margin:8px 0 0}.stage-wheel-host{width:100%;min-width:0}.stage-random-card:has(.stage-wheel-host){padding:12px 18px 20px;max-width:620px;box-sizing:border-box;animation:none}.stage-random-card:has(.stage-wheel-host)>span{display:none}.stage-random-card:has(.stage-wheel-host)>strong{display:block;font-size:25px;line-height:1.5}.stage-random-card:has(.stage-wheel-host)>p{line-height:1.7;white-space:pre-line}.stage-random-card .stage-last-art{max-height:200px;object-fit:contain}.stage-reveal:has(.stage-wheel-host){padding-top:14px;padding-bottom:24px}.stage-reveal:has(.stage-wheel-host) h2{margin:10px 0 14px}.auction-random-wheel{margin:10px auto}.auction-random-wheel .mag-random-wheel{width:min(320px,68vw)}@media(max-width:650px){.mag-random-wheel{width:min(300px,70vw)}.stage-random-card:has(.stage-wheel-host){padding:8px 12px 16px}.stage-random-card:has(.stage-wheel-host)>strong{font-size:20px}}@media(max-height:750px) and (min-width:651px){.mag-random-wheel{width:260px}}

.stage-reveal:has(.stage-wheel-host){height:auto;min-height:100%;box-sizing:border-box;justify-content:flex-start}
.stage-reveal:has(.stage-wheel-host)>*{flex-shrink:0}
.stage-random-card:has(.stage-wheel-host){height:auto;max-height:none;flex:0 0 auto;min-height:0;overflow:visible}
.stage-random-card:has(.stage-wheel-host)>*{flex-shrink:0;min-width:0}
.stage-random-card:has(.stage-wheel-host)>p{max-height:none;overflow:visible;overflow-wrap:anywhere;margin:0 0 6px}

.mag-wheel-lookup{margin:12px 0 0;text-align:left;font:14px/1.5 system-ui,sans-serif;color:#382b51;max-width:100%;box-sizing:border-box}
.mag-wheel-lookup summary{cursor:pointer;padding:10px 12px;border:1px solid #d9c9ee;border-radius:10px;background:#f4edff;color:#654293;font-weight:650;overflow-wrap:anywhere}
.mag-wheel-lookup summary:focus-visible,.mag-wheel-lookup input:focus-visible,.mag-wheel-lookup-scroll:focus-visible{outline:3px solid #9974c8;outline-offset:2px}
.mag-wheel-lookup-panel{padding:10px;border:1px solid #e0d5ed;border-radius:10px;background:#fff;box-sizing:border-box;min-width:0}
.mag-wheel-lookup-panel p{font:12px/1.6 system-ui,sans-serif;margin:4px 0 10px;color:#74647f;overflow-wrap:anywhere}
.mag-wheel-lookup label{display:block;font-weight:600}
.mag-wheel-lookup input{display:block;box-sizing:border-box;width:100%;min-width:0;margin:5px 0 8px;padding:9px;border:1px solid #d9c9ee;border-radius:8px;background:#fff;color:#382b51;font:16px/1.4 system-ui,sans-serif}
.mag-wheel-lookup-scroll{max-height:260px;overflow:auto;overscroll-behavior:contain}
.mag-wheel-lookup table{width:100%;border-collapse:collapse;table-layout:fixed;font:13px/1.5 system-ui,sans-serif}
.mag-wheel-lookup th,.mag-wheel-lookup td{padding:8px 6px;border-bottom:1px solid #eee7f5;vertical-align:top;text-align:left;white-space:normal;overflow-wrap:anywhere}
.mag-wheel-lookup th:first-child{width:36px}.mag-wheel-lookup thead{background:#f6f1fb}.mag-wheel-lookup small{display:block;color:#74647f;font-size:11px;margin-top:3px}
.mag-wheel-lookup-caption{font-size:12px;text-align:left;padding:4px 0}.mag-wheel-lookup [hidden]{display:none!important}

.mag-random-wheel .mag-wheel-surface{position:relative;width:100%;aspect-ratio:1;flex-shrink:0}.mag-random-wheel .mag-wheel-surface>svg{width:100%;height:100%;display:block}.mag-random-wheel .mag-wheel-surface>.mag-wheel-trigger{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:20%!important;height:20%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%;background:#fff8e7;color:#5e3e7d;font:bold clamp(10px,2vw,14px)/1.2 system-ui;box-shadow:none!important;display:grid;place-items:center;z-index:2;cursor:pointer}.mag-random-wheel .mag-wheel-surface>.mag-wheel-trigger[hidden]{display:none!important}
