.dice-roller{z-index:1400;direction:ltr;width:min(390px,100vw - 24px);font-family:Arial,Helvetica,sans-serif;position:fixed;bottom:0;right:18px}.dice-roller button{font:inherit;cursor:pointer}.dice-roller button:disabled{cursor:wait;opacity:.55}.dice-roller-tab{display:none}.dice-roller-fab{border:1.5px solid var(--tm-gold);height:46px;color:var(--tm-gold);background:var(--tm-surface);cursor:pointer;border-radius:23px;justify-content:center;align-items:center;gap:8px;margin-left:auto;padding:0 16px;font-size:13px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 6px 20px #00000073}.dice-roller-fab:hover{background:var(--tm-nav);transform:translateY(-2px);box-shadow:0 8px 24px #0009}.dice-roller-fab:active{transform:translateY(0)scale(.96)}.dice-roller-prompt{color:var(--tm-gold);text-align:center;margin-bottom:8px;font-size:12.5px;font-weight:600}.dice-roller-panel{border:1px solid var(--tm-border);height:min(380px,100dvh - 76px);min-height:280px;color:var(--tm-primary-text);background:var(--tm-surface);border-bottom:0;border-radius:8px 8px 0 0;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 -10px 35px #0007}.dice-roller-panel[hidden]{display:none}.dice-roller-header{height:42px;color:var(--tm-primary-text);background:var(--tm-nav);border-bottom:1px solid var(--tm-border);flex:none;justify-content:space-between;align-items:center;padding:0 12px;display:flex}.dice-roller-header-actions{align-items:center;gap:4px;display:flex}.dice-roller-header .dice-roller-sound{width:28px;color:var(--tm-gold);font-size:19px}.dice-roller-header .dice-roller-sound--muted{color:var(--tm-secondary-text);text-decoration:line-through}.dice-roller-title{color:var(--tm-gold);align-items:center;gap:8px;font-size:15px;font-weight:700;display:flex}.dice-roller-title span{color:var(--tm-primary-text)}.dice-roller-header button{width:28px;height:28px;color:var(--tm-secondary-text);background:0 0;border:0;font-size:24px;line-height:1}.dice-roller-header button:hover{color:var(--tm-primary-text)}.dice-roller-stage{z-index:1410;pointer-events:none;opacity:1;position:fixed;inset:0;overflow:hidden}.dice-roller-stage--hidden{opacity:0}.dice-roller-stage--fading{opacity:0;transition:opacity .8s ease-in}.dice-roller-stage canvas{pointer-events:none;filter:drop-shadow(0 4px 6px #000000a6)drop-shadow(0 0 8px #ce94ff59);width:100%;height:100%;display:block}.dice-roller-status{color:var(--tm-gold);margin-bottom:8px;font-size:12px}.dice-roller-history{flex:1;min-height:0;padding:8px 11px;overflow-y:auto}.dice-roller-empty{height:100%;color:var(--tm-secondary-text);text-align:center;place-items:center;padding:20px;font-size:12px;display:grid}.dice-roller-entry{border:1px solid var(--tm-border);background:var(--tm-raised);border-radius:5px;margin-bottom:7px;padding:9px 11px}.dice-roller-entry-top{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.dice-roller-entry-top strong{color:var(--tm-gold);font-variant-numeric:tabular-nums;font-size:20px}.dice-roller-entry-detail{color:var(--tm-secondary-text);font-variant-numeric:tabular-nums;font-size:11px}.dice-roller-controls{border-top:1px solid var(--tm-border);background:var(--tm-nav);flex:none;padding:9px 11px 11px}.dice-roller-quick{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:9px;display:grid}.dice-roller-quick button{border:1px solid var(--tm-border);min-width:0;height:28px;color:var(--tm-gold);background:var(--tm-raised);border-radius:4px;padding:0 2px;font-size:11px;font-weight:700}.dice-roller-quick button:hover:not(:disabled){border-color:var(--tm-gold);background:var(--tm-selected)}.dice-roller-form{gap:7px;display:flex}.dice-roller-form input{border:1px solid var(--tm-border);min-width:0;height:36px;color:var(--tm-primary-text);background:var(--tm-input-bg);border-radius:4px;outline:none;flex:1;padding:0 10px;font:13px Arial,sans-serif}.dice-roller-form input:focus{border-color:var(--tm-gold)}.dice-roller-form input::placeholder{color:var(--tm-secondary-text)}.dice-roller-form button{border:1px solid var(--tm-gold);min-width:63px;color:var(--tm-nav);background:var(--tm-gold);border-radius:4px;padding:0 10px;font-size:12px;font-weight:700}.dice-roller-form button:hover:not(:disabled){filter:brightness(1.12)}.dice-roller-error{color:#edaaa0;margin:7px 0 0;font-size:11px;line-height:1.5}@media (max-width:900px){.dice-roller{width:auto;bottom:68px;right:12px}.dice-roller.dice-roller--open{width:min(390px,100vw - 20px)}.dice-roller-panel{border-bottom:1px solid var(--tm-border);border-radius:12px;height:min(380px,100dvh - 140px)}.dice-roller-fab{border-radius:50%;justify-content:center;width:44px;min-width:44px;height:44px;padding:0}.dice-roller-fab span{display:none!important}}@media (max-width:520px){.dice-roller{width:auto;bottom:68px;right:10px}.dice-roller.dice-roller--open{width:calc(100vw - 16px)}.dice-roller-panel{height:min(340px,100dvh - 150px);min-height:220px}}:is(body:has(.MuiDrawer-root),body:has(.MuiDialog-root),body:has([role=dialog])) .dice-roller{display:none!important}
