#mystery-mode{font-weight:800;font-size:19px;color:#ffc547}#mystery-mode[aria-pressed=true]{background:#463519;border-color:#ffcb51;box-shadow:0 0 16px #ffbc2525}#mystery-arc{fill:none;stroke:#ffcb51;stroke-width:16;filter:drop-shadow(0 0 5px #ffb80080)}#mystery-arc[hidden]{display:none}.mystery-orbit{position:absolute;inset:0;z-index:5;pointer-events:none}.mystery-orbit[hidden]{display:none}#mystery-handle{position:absolute;top:8.75%;left:50%;margin:-14px 0 0 -14px;width:28px;height:28px;border-radius:7px;border:1px solid #ffe49c;background:linear-gradient(#70541d,#352809);color:#ffe89b;font-size:20px;font-weight:800;box-shadow:0 0 16px #ffc40088;touch-action:none;pointer-events:auto;user-select:none;padding:0;line-height:1}#mystery-handle:disabled{opacity:1;cursor:default}.mystery-summary{width:100%;max-width:330px;text-align:center;padding:9px 12px;margin-bottom:12px;border:1px solid #7b602d;border-radius:7px;background:#3d2c161f;color:#ffd774;line-height:1.6}.mystery-summary[hidden]{display:none}.mystery-summary strong{display:block;font-size:11px;letter-spacing:.4px}.mystery-summary span{display:block;font-size:10px;color:#bda97f}.dial-wrap:has(.mystery-orbit:not([hidden])){touch-action:none}@media(max-width:600px){.game-settings{gap:5px}.mystery-summary{max-width:300px}#mystery-handle{width:26px;height:26px;margin:-13px 0 0 -13px;font-size:18px}}@media(prefers-reduced-motion:reduce){#mystery-arc{filter:none}}

.mystery-prizes{display:grid;gap:6px;margin-top:8px}.mystery-prizes>div{display:flex;align-items:center;gap:6px;padding:5px;border-top:1px solid #655028}.mystery-prizes img{width:42px;height:32px;object-fit:contain}.mystery-prizes span{flex:1;text-align:left;overflow-wrap:anywhere;font-size:9px}.mystery-prizes b{font-size:10px;white-space:nowrap}

.game-settings #mystery-mode[aria-pressed=true]{background:#463519!important;border-color:#ffcb51!important;color:#ffe49c!important}

/* Keep the visible marker compact, with a comfortable touch target. */
#mystery-handle{width:44px;height:44px;margin:-22px 0 0 -22px;background:transparent;border:0;box-shadow:none;display:grid;place-items:center;isolation:isolate}
#mystery-handle::before{content:'';position:absolute;inset:8px;border:1px solid #ffe49c;border-radius:7px;background:linear-gradient(#70541d,#352809);box-shadow:0 0 16px #ffc40088;z-index:-1;pointer-events:none}

#mystery-arc{stroke-linecap:butt!important}

#mystery-mode>span{display:inline!important}#mystery-handle:focus-visible{outline:none}#mystery-handle:focus-visible::before{outline:2px solid #fff0ae;outline-offset:2px}

#upgrade-view>.page-heading{position:relative}
.page-heading>.mystery-summary{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:46%;max-width:680px;margin:0;padding:6px 10px;z-index:3;background:#151a1e}
.mystery-prizes{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none;margin-top:4px}.mystery-prizes::-webkit-scrollbar{display:none}
.mystery-prizes>div{flex:1 0 110px;min-width:0;max-width:100%;display:grid;grid-template-columns:32px minmax(0,1fr);gap:0 5px;padding:3px 0;border-top:1px solid #655028;text-align:left}
.mystery-prizes img{grid-row:1/3;width:32px;height:30px}.mystery-prizes span{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mystery-prizes b{font-size:10px}
@media(max-width:1100px){#upgrade-view>.page-heading:has(.mystery-summary:not([hidden])){padding-bottom:110px}.page-heading>.mystery-summary{top:auto;bottom:8px;transform:translateX(-50%);width:100%;max-width:680px;height:94px;display:flex;flex-direction:column;justify-content:center}.page-heading>.mystery-summary[hidden]{display:none}.mystery-prizes{flex-shrink:0}}
