/* Кубики (rift_dice.php, owner 2026-11-18). The roll is the design's quote (.rift-quote.quote-main): its frame, colours
   and text size come from each design; this file only lays out what is inside, in the quote's own colour (currentColor).
   «Степень успеха» of a d100 folds to one short line (owner: «чтобы в свёрнутом виде много места не занимал»). */
.rift-dice-line{display:block}
.rift-dice-icon::before{content:'\f522';margin-right:.45em;font:900 1em/1 FontAwesome}
.rift-dice-rolls{opacity:.75}
.rift-dice-total{font-weight:bold}
.rift-dice-note{display:block;margin-top:.3em;font-style:italic;opacity:.7}
.rift-dice-luck{margin-top:.4em}
.rift-dice-luck>summary{display:inline-block;list-style:none;cursor:pointer;opacity:.8}
.rift-dice-luck>summary:hover,.rift-dice-luck[open]>summary{opacity:1}
.rift-dice-luck>summary::-webkit-details-marker{display:none}
.rift-dice-luck>summary::before{content:'\f0da';display:inline-block;width:1em;font:900 1em/1 FontAwesome;transition:transform .2s}
.rift-dice-luck[open]>summary::before{transform:rotate(90deg)}
.rift-dice-luck>table{width:100%;margin-top:.5em;border-collapse:collapse}
.rift-dice-luck :is(th,td){padding:.3em .6em;border:1px solid color-mix(in srgb,currentColor 25%,transparent);text-align:center}
.rift-dice-luck tr.is-hit>td{font-weight:bold;background:color-mix(in srgb,currentColor 12%,transparent)}
/* The editor's «Бросок кубиков» panel (rift-theme.js): the toolbar panels' light look, buttons and fields (parity.css,
   shared with the colour picker); here only its rows: the two questions over their columns, «+ ещё кубы», «Прибавить», «Бросить». */
body[data-rift-view=rift] .rift-reply-dice{width:260px;gap:8px;font:12px Verdana}
.rift-dice-rows{display:grid;gap:6px}
.rift-dice-row{display:grid;grid-template-columns:1fr 1fr 26px;align-items:center;gap:6px}
.rift-dice-head{align-items:end;font-size:11px;text-align:center}
.rift-dice-rows.is-single .rift-dice-row>button{visibility:hidden}
.rift-dice-add{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px}
