﻿#mj-dice-open{position:relative;display:inline-flex;align-items:center;gap:7px}#mj-dice-open img{width:38px;height:38px;border-radius:6px;object-fit:cover}#mj-dice-unread{position:absolute;right:-7px;top:-7px;min-width:23px;border-radius:20px;background:#d95034;color:#fff;font:700 13px sans-serif;padding:4px}#mj-dice-open.has-dice-alert{animation:mj-dice-flash 1s ease-in-out infinite alternate}@keyframes mj-dice-flash{from{box-shadow:0 0 0 2px #f9c75c}to{box-shadow:0 0 20px 7px #f9c75c}}.mj-dice-dialog{box-sizing:border-box;width:min(1100px,96vw);height:min(760px,94vh);max-width:none;max-height:none;padding:20px;background:#172129;color:#f7ead0;border:2px solid #be9854;border-radius:16px}.mj-dice-dialog::backdrop{background:#000b}.mj-dice-dialog header{display:flex;justify-content:space-between;align-items:center}.mj-dice-dialog header small{color:#d7b777;letter-spacing:.1em}.mj-dice-dialog h2{margin:4px 0 18px}.mj-dice-close{font-size:32px;border:0;background:transparent;color:#fff;cursor:pointer}.mj-dice-layout{display:grid;grid-template-columns:minmax(190px,280px) 1fr;gap:18px;height:calc(100% - 75px)}.mj-dice-layout aside{border:1px solid #80693f;border-radius:10px;padding:10px;overflow:auto}.mj-dice-layout aside h3{margin:3px 0 10px}.mj-dice-list button{display:block;text-align:left;width:100%;padding:10px;border:1px solid #655a45;border-radius:8px;background:#26333a;color:inherit;margin-bottom:6px;cursor:pointer}.mj-dice-list button.active{border-color:#f8d583;background:#55452f}.mj-dice-list button strong,.mj-dice-list button span,.mj-dice-list button small{display:block}.mj-dice-list button span{font-size:13px}.mj-dice-list button small{color:#cbbb9e}.mj-dice-layout main{overflow:auto;text-align:center}.mj-dice-grid{min-height:230px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:25px;padding:50px 15px}.mj-dice-die{position:relative;width:120px;height:120px;display:grid;place-items:center;background-image:url('/mj-dice-types.png');background-repeat:no-repeat;background-size:600% 200%;border-radius:8px}.mj-dice-die.face-4{background-position:0% center}.mj-dice-die.face-6{background-position:20% center}.mj-dice-die.face-8{background-position:40% center}.mj-dice-die.face-10{background-position:60% center}.mj-dice-die.face-12{background-position:80% center}.mj-dice-die.face-20{background-position:100% center}.mj-dice-die span{font:bold 44px Georgia;color:#fff2ce;background:#17120dcc;border-radius:5px;padding:0 6px}.mj-dice-die.mj-dice-primary{outline:5px solid #f0c15b;outline-offset:6px}.mj-dice-die.discarded:after{content:'×';position:absolute;font:bold 90px sans-serif;color:#ff7777;text-shadow:0 2px 5px #000}.mj-dice-die.discarded{opacity:.55}.mj-dice-die i{position:absolute;top:-48px;font:48px Georgia;color:#ffdc75}.mj-dice-sum{font-size:24px}.mj-dice-sum strong{display:block;font-size:60px;color:#ffda83}@media(max-width:650px){.mj-dice-layout{grid-template-columns:1fr;grid-template-rows:minmax(120px,35%) 1fr}.mj-dice-die{width:85px;height:85px}.mj-dice-die span{font-size:32px}}
.mj-dice-critical small{position:absolute;bottom:-25px;color:#ffe0a0;font-weight:bold;font-size:14px}
