body{background:linear-gradient(95deg,rgba(12,8,19,.30),rgba(17,9,25,.20) 55%,rgba(16,10,23,.42)),url('./witch-worktable-v2.png') center top/cover fixed}body:before{background:linear-gradient(180deg,rgba(9,6,16,.55),transparent 34%)}header{background:rgba(16,10,23,.23);backdrop-filter:blur(4px)}main{padding-top:23px;row-gap:10px}.page-title h1{font-size:clamp(29px,3vw,40px)}.page-title p{display:none}.page-title{align-items:center}.result-area{min-height:80px;padding-top:12px}.result-area>p:first-child{min-height:16px;margin:0 0 3px}.result-area #detail:empty{display:none}#stage{height:475px;filter:none}.crystal-controls{margin-top:0;margin-bottom:14px}.play-controls{margin-top:15px}#status[hidden]{display:none}#status{margin:13px auto 0;max-width:400px;color:#ffcfbc}#history{list-style:none;padding:0;margin:18px 0 0;max-height:330px;overflow:auto;counter-reset:play}#history li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);color:#dfcbe0;font:400 14px/1.8 MoonSerif,serif}#history li:last-child{border-bottom:0}#history .history-probability{font:11px/1.8 system-ui,sans-serif;color:#bdabc6}#history .empty-history{font:12px/1.8 system-ui,sans-serif;color:#b3a0bd}.side-note,.play-hint{display:none}.table-scroll{max-height:330px}table{table-layout:fixed}th:first-child,td:first-child{width:46%}th,td{font-size:12px}th:first-child{font-size:11px}td:first-child{font-size:17px}details{background:linear-gradient(120deg,rgba(36,22,44,.78),rgba(25,16,34,.60));backdrop-filter:blur(6px)}aside{padding-top:12px}footer{font-size:11px;padding-top:17px;padding-bottom:20px;margin-top:20px;background:none}
@media(min-width:1450px){#stage{height:515px}}@media(max-width:1050px){#stage{height:420px}}@media(max-width:900px){main{gap:14px;padding-top:22px}#stage{height:490px}.page-title h1{font-size:34px}.page-title .local-tag{align-self:center}aside{padding-top:5px}}@media(max-width:450px){body{background-attachment:scroll;background-size:auto 1050px;background-position:38% top;background-repeat:no-repeat}.page-title{display:flex;gap:10px}.page-title h1{font-size:27px;letter-spacing:.035em}.page-title .local-tag{margin:0;padding:5px 7px;font-size:9px}.result-area{padding-top:6px;min-height:75px}#stage{height:320px}.crystal-controls{margin-top:2px}.play-controls{margin-top:14px}.motion-settings>p{display:none}#history li{font-size:14px}header{padding-top:15px;padding-bottom:15px}main{padding-top:21px}footer{margin-top:14px;font-size:10px}}@media(max-width:340px){#stage{height:280px}.page-title h1{font-size:24px}.page-title .local-tag{font-size:8px;padding:4px 5px}}
/* Keep the result and fullscreen button on one visual tier in the normal view. */
.play-area:not(.is-wheel-fullscreen) .wheel-toolbar{position:absolute;top:0;right:0;margin:0}
.play-area:not(.is-wheel-fullscreen) .result-area{min-height:92px;padding:0 88px 8px}
@media(max-width:450px){.play-area:not(.is-wheel-fullscreen) .result-area{min-height:85px;padding:3px 76px 6px}.table-scroll td:nth-child(3){font-size:10px}}
