.auto-choice{display:flex;justify-content:center;align-items:center;gap:8px;font-size:12px;color:#eee0fa;margin:12px 0 4px;cursor:pointer}.auto-choice input{width:18px;height:18px;accent-color:#bd94e0}#auto-choice-status{display:block;min-height:18px;font-size:11px;color:#f4d995}
.quickbar{display:flex;align-items:center;gap:12px;min-width:0;padding:8px 14px;border-top:1px solid #aa94ce;background:linear-gradient(#3f3568,#28213e)}.quickbar-title{font-size:11px;line-height:1.7;color:#e7d5fa;white-space:nowrap}.quick-slots{display:flex;gap:7px;min-width:0;flex:1}.quick-slot-wrap{min-width:0;flex:0 1 138px}.quick-slot{display:grid;position:relative;grid-template-columns:30px 1fr;grid-template-rows:18px 16px;gap:0 5px;align-items:center;width:100%;min-width:0;min-height:48px;padding:5px 8px;background:linear-gradient(#61517f,#352b4e);border:2px solid #a18abd;border-radius:2px;text-align:left;touch-action:manipulation}.quick-slot img{grid-row:1/3;width:28px;height:30px;object-fit:contain;image-rendering:pixelated}.quick-slot span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-slot small{font-size:10px;color:#f3d68f}.quick-slot kbd{position:absolute;right:3px;bottom:2px;font-size:9px;color:#efddff}.quick-slot.drop-ready{border-color:#fff0aa;background:#8c6fac;box-shadow:0 0 0 2px #f7d988}.quickbar-editor{display:block;margin-top:12px;border:1px solid #9c85be}.quickbar-editor .quickbar-title{display:block;white-space:normal;margin-bottom:8px}.quickbar-editor .quick-slot-wrap{flex:1}.quick-slot-wrap select{max-width:100%;width:100%;padding:5px 2px;font-size:10px}.quickbar-editor .quick-slot:disabled{opacity:1}
#seed-wheel{width:min(850px,calc(100vw - 24px));overflow:auto}.wheel-intro{font-size:16px;color:#f4d28d;letter-spacing:1px}.wheel-layout{display:grid;grid-template-columns:minmax(280px,1fr) minmax(230px,.8fr);gap:24px}.wheel-stage{position:relative;width:300px;height:300px;margin:12px auto 22px}.wheel-pointer{position:absolute;z-index:2;top:-15px;left:calc(50% - 14px);font-size:28px;color:#ffe5a0;text-shadow:0 2px 3px #251a3d}#wheel-disc{position:absolute;inset:0;border-radius:50%;border:6px double #ead6a2;background:conic-gradient(from -22.5deg,#73609b 0deg 45deg,#42365f 45deg 90deg,#73609b 90deg 135deg,#42365f 135deg 180deg,#73609b 180deg 225deg,#42365f 225deg 270deg,#73609b 270deg 315deg,#42365f 315deg 360deg);box-shadow:0 0 0 5px #403255,0 4px 20px #05031388;transition:transform 2.3s cubic-bezier(.15,.75,.18,1)}.wheel-prize{position:absolute;left:calc(50% - 24px);top:calc(50% - 24px);width:48px;height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(var(--angle)) translateY(-105px) rotate(calc(-1 * var(--angle)))}.wheel-prize img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.wheel-prize small{font-size:11px;color:#fff1bf}.seed-prize{font-size:10px;color:#ffe59a}.wheel-center{position:absolute;left:calc(50% - 42px);top:calc(50% - 42px);width:84px;height:84px;border-radius:50%;border:3px double #e8cfa3;background:linear-gradient(#9476b6,#513b77);display:flex;align-items:center;justify-content:center;text-align:center;font-size:15px;line-height:1.5;color:#fff0c2;pointer-events:none}.wheel-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.wheel-actions button{padding:10px 12px;font-size:12px;letter-spacing:0}#wheel-result{min-height:42px;line-height:1.8;padding:10px;background:#332747;border:1px solid #ad8dc7;color:#ffe2a5;font-size:13px}#wheel-issue{color:#f3bfaa;font-size:11px;line-height:1.6}.wheel-table{border-collapse:collapse;width:100%;font-size:12px}.wheel-table th,.wheel-table td{padding:8px 5px;border-bottom:1px solid #8b77a7;text-align:left}.wheel-table img{width:26px;height:26px;vertical-align:middle;object-fit:contain;image-rendering:pixelated;margin-right:5px}.wheel-table td:last-child{color:#f1d298;white-space:nowrap}
@media(max-width:600px){.quickbar{display:block;padding:6px 8px}.quickbar-title{display:block;font-size:10px;margin-bottom:4px}.quick-slots{gap:4px}.quick-slot-wrap{flex:1}.quick-slot{grid-template-columns:1fr;grid-template-rows:28px 14px 14px;padding:3px;justify-items:center;text-align:center;min-height:66px}.quick-slot img{grid-row:1;width:26px;height:28px}.quick-slot span{max-width:100%;font-size:9px}.quick-slot small{font-size:9px}.quick-slot kbd{font-size:8px;right:2px;top:2px;bottom:auto}.quickbar-editor .quick-slot-wrap select{font-size:9px}.wheel-layout{grid-template-columns:1fr;gap:8px}.wheel-stage{width:260px;height:260px}.wheel-prize{transform:rotate(var(--angle)) translateY(-87px) rotate(calc(-1 * var(--angle)))}#seed-wheel{padding:15px}.auto-choice{font-size:11px}.village-strip{flex-wrap:wrap}.wheel-table th,.wheel-table td{padding:6px}}
@media(max-height:600px) and (orientation:landscape){.quickbar{padding:3px 8px;gap:8px}.quickbar-title{font-size:10px}.quick-slot{min-height:36px;grid-template-rows:15px 13px;padding:2px 6px}.quick-slot img{width:24px;height:26px}.quick-slot-wrap{flex-basis:115px}.game-stage,body[data-mode=village] .game-stage{height:max(160px,calc(100svh - 275px))}.auto-choice{margin:4px 0;font-size:10px}#auto-choice-status{min-height:14px;font-size:10px}.wheel-stage{width:260px;height:260px}.wheel-prize{transform:rotate(var(--angle)) translateY(-87px) rotate(calc(-1 * var(--angle)))}}
@media(prefers-reduced-motion:reduce){#wheel-disc{transition:none}}
