
.effect-watch{position:sticky;top:0;z-index:50;background:#10151bf5;border:1px solid #b28b50;border-radius:14px;padding:10px;margin-bottom:12px;box-shadow:0 8px 24px #0005}.effect-watch>strong{display:block;color:#f1cf86}.effect-watch button{min-height:44px}.effect-watch #effectChips{display:flex;gap:8px;overflow-x:auto;padding:8px 0}.effect-chip{flex:0 0 auto;max-width:280px;white-space:normal;border-color:#efcc85!important;background:#382b18!important;color:#ffe4b0!important}.effect-chip.noted{background:#1b242d!important;border-color:#745437!important}.effect-watch #tableTools{margin-top:4px}@media(max-width:960px){.effect-watch{top:64px}}@media(max-width:480px){.effect-watch{padding:8px}.effect-watch #effectChips{max-height:92px}.effect-watch>strong{font-size:14px}}


/* War Room tabletop randomizers; local vector art, no external assets. */
.table-tool-stage{min-height:230px;display:grid;place-items:center;perspective:700px;margin:14px 0;position:relative;overflow:hidden}
.tool-outcome{font-size:1.25rem;color:#ffe0a0;text-align:center;overflow-wrap:anywhere;min-height:2em}
.tool-die{width:120px;height:120px;position:relative;color:#efcc85}
.die-six{transform-style:preserve-3d;transform:rotateX(-18deg) rotateY(25deg)}
.cube-face{position:absolute;inset:0;border:2px solid #efcc85;border-radius:14px;background:#302a20;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:18px;box-sizing:border-box;backface-visibility:hidden}
.pip{background:#ffe5aa;border-radius:50%}.empty{visibility:hidden}.face-1{transform:translateZ(60px)}.face-2{transform:rotateY(90deg) translateZ(60px)}.face-6{transform:rotateY(180deg) translateZ(60px)}.face-5{transform:rotateY(-90deg) translateZ(60px)}.face-3{transform:rotateX(90deg) translateZ(60px)}.face-4{transform:rotateX(-90deg) translateZ(60px)}
.die-twenty{width:160px;height:160px}.die-twenty svg{width:100%;height:100%}.die-custom{width:160px;height:160px;clip-path:polygon(25% 0,75% 0,100% 25%,100% 75%,75% 100%,25% 100%,0 75%,0 25%);background:linear-gradient(145deg,#a77b36,#302619);border:2px solid #efcc85;display:grid;place-items:center}.custom-die-label{position:absolute;top:16px;font-size:16px}.tool-final-value{position:absolute;inset:0;display:grid;place-items:center;font-size:32px;line-height:1;color:#ffe7ae;text-shadow:0 2px 5px #000}.die-twenty .tool-final-value{padding-top:12px}
.tool-coin{--tool-coin:#c79a46;position:relative;width:164px;height:164px;transform-style:preserve-3d}.coin-face{position:absolute;inset:0;border:7px double #f5d88d;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ead390,#b18533);color:#33220e;backface-visibility:hidden;display:flex;align-items:center;flex-direction:column;box-shadow:0 5px 14px #0008}.coin-face svg{width:120px;height:120px}.coin-face small{font-size:13px;letter-spacing:2px;font-weight:bold}.coin-tails{transform:rotateY(180deg)}.tool-coin.show-tails{transform:rotateY(180deg)}
.tool-player-token{position:relative;text-align:center;overflow-wrap:anywhere;width:130px;height:130px;display:grid;place-items:center;border:2px solid #efcc85;border-radius:50%;color:#ffe4a1;font-size:80px;background:#302619}
.is-rolling .tool-die{animation:warroom-die-tumble 3s ease-out both}.is-rolling .tool-coin{animation:warroom-coin-flip 3s ease-out both}.is-rolling .tool-player-token{animation:warroom-player-spin 3s ease-out both}
@keyframes warroom-die-tumble{0%{transform:translateY(-60px) rotateX(0) rotateY(0) rotateZ(0)}35%{transform:translateY(25px) rotateX(284.05deg) rotateY(269.1deg) rotateZ(89.7deg)}65%{transform:translateY(-20px) rotateX(553.15deg) rotateY(598deg) rotateZ(224.25deg)}100%{transform:translateY(0) rotateX(1076.4deg) rotateY(1076.4deg) rotateZ(538.2deg)}}
@keyframes warroom-coin-flip{0%{transform:translateY(0) rotateY(0)}45%{transform:translateY(-36px) rotateY(1345.5deg)}100%{transform:translateY(0) rotateY(2691deg)}}
@keyframes warroom-player-spin{0%{transform:rotate(0) scale(.7)}60%{transform:rotate(807.3deg) scale(1.1)}100%{transform:rotate(1076.4deg) scale(1)}}
@media(prefers-reduced-motion:reduce){body:not([data-motion=on]) .is-rolling .tool-die,body:not([data-motion=on]) .is-rolling .tool-coin,body:not([data-motion=on]) .is-rolling .tool-player-token{animation:none}}
body[data-motion=off] .is-rolling>*{animation:none!important}

