/* Childe DiceRoll — subtle woodland atmosphere for NiebieskaIdylla */
.diceroll-panel{
  border:1px solid rgba(112,145,164,.34)!important;
  border-radius:20px!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.82),transparent 42%),
    radial-gradient(ellipse at 92% 100%,rgba(137,174,190,.18),transparent 38%),
    linear-gradient(125deg,#edf3f5 0%,#e5edf0 48%,#dce7eb 100%)!important;
  box-shadow:0 12px 32px rgba(48,75,91,.10),inset 0 1px 0 rgba(255,255,255,.82)!important;
  position:relative;isolation:isolate;overflow:hidden;
}
.diceroll-panel:before{
 content:"";position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.38;
 background:
  radial-gradient(ellipse at 50% 110%,rgba(113,148,162,.15),transparent 52%),
  repeating-linear-gradient(145deg,transparent 0 34px,rgba(105,137,151,.035) 35px,transparent 37px),
  linear-gradient(90deg,rgba(255,255,255,.16),transparent 30%,rgba(255,255,255,.12));
}
.diceroll-panel .inner{position:relative;z-index:1}
.diceroll-editor-title{color:#506d7e!important;text-shadow:0 1px 0 rgba(255,255,255,.75)}
.diceroll-editor-title:before,.diceroll-editor-title:after{background:linear-gradient(90deg,transparent,#9aafba,transparent)!important}
.diceroll-die-picker{color:#607b8b!important}
.diceroll-die-picker:before{filter:drop-shadow(0 5px 5px rgba(43,70,86,.15))!important}
.diceroll-die-picker:hover:before{filter:drop-shadow(0 7px 8px rgba(43,70,86,.2))!important}
.diceroll-die-picker.is-selected:after{content:none!important}
.diceroll-die-picker span{color:#405f72!important;text-shadow:0 1px 0 rgba(255,255,255,.9)!important}
.diceroll-die-picker small,.diceroll-editor-fields label{color:#708a98!important}
.diceroll-editor-fields input{background:rgba(255,255,255,.72)!important;border-color:rgba(119,151,166,.48)!important;color:#425f70!important}
.diceroll-editor button.diceroll-roll-button{background:linear-gradient(180deg,#8eafbf,#66899e)!important;border-color:#789bad!important}
.diceroll-result{background:linear-gradient(135deg,rgba(246,250,251,.9),rgba(221,233,237,.82))!important}

/* The dice are clean faceted solids: no paw marks, badges or oversized halos. */
.diceroll-die-picker.is-selected{transform:translateY(-3px)!important}
.diceroll-die-picker.is-selected:before{filter:drop-shadow(0 7px 7px rgba(62,104,126,.25))!important}
.diceroll-die{filter:drop-shadow(0 5px 6px rgba(43,70,86,.16))!important}

html[data-theme="dark"] .diceroll-panel{
 border-color:rgba(115,153,174,.27)!important;
 background:
  radial-gradient(ellipse at 8% 0%,rgba(97,139,163,.16),transparent 43%),
  radial-gradient(ellipse at 96% 100%,rgba(83,122,145,.13),transparent 42%),
  linear-gradient(125deg,#172433 0%,#1b2b3b 52%,#203345 100%)!important;
 box-shadow:0 15px 38px rgba(0,0,0,.28),inset 0 1px 0 rgba(211,233,243,.045)!important;
}
html[data-theme="dark"] .diceroll-panel:before{
 opacity:.34!important;
 background:radial-gradient(ellipse at 50% 110%,rgba(120,164,185,.12),transparent 55%),repeating-linear-gradient(145deg,transparent 0 34px,rgba(155,190,207,.025) 35px,transparent 37px)!important;
}
html[data-theme="dark"] .diceroll-editor-title{color:#c3d8e3!important;text-shadow:0 1px 3px #101a25!important}
html[data-theme="dark"] .diceroll-editor-title:before,html[data-theme="dark"] .diceroll-editor-title:after{background:linear-gradient(90deg,transparent,#526e80,transparent)!important}
html[data-theme="dark"] .diceroll-die-picker span{color:#d2e3eb!important;text-shadow:0 1px 3px #101a25!important}
html[data-theme="dark"] .diceroll-die-picker small,html[data-theme="dark"] .diceroll-editor-fields label{color:#91aebe!important}
html[data-theme="dark"] .diceroll-editor-fields input{background:rgba(10,20,31,.72)!important;border-color:rgba(111,151,174,.42)!important;color:#d9e8ef!important}
html[data-theme="dark"] .diceroll-editor-fields input::placeholder{color:#8199a7!important}
html[data-theme="dark"] .diceroll-editor button.diceroll-roll-button{background:linear-gradient(180deg,#385a70,#294356)!important;border-color:#52758b!important;color:#e5f0f5!important}
html[data-theme="dark"] .diceroll-result{background:linear-gradient(135deg,rgba(22,35,49,.92),rgba(31,50,66,.9))!important;border-color:rgba(111,151,174,.3)!important}
html[data-theme="dark"] .diceroll-result-label{color:#d1e2ea!important}
html[data-theme="dark"] .diceroll-die{filter:drop-shadow(0 6px 7px rgba(0,0,0,.42))!important}

/* Theme-specific solid artwork */
.diceroll-die-picker.diceroll-d4:before,.diceroll-die.diceroll-d4{background-image:url('./images/dice/d4.svg')!important}
html[data-theme="dark"] .diceroll-die-picker.diceroll-d4:before,html[data-theme="dark"] .diceroll-die.diceroll-d4{background-image:url('./images/dice/d4-dark.svg')!important}
.diceroll-die-picker.diceroll-d6:before,.diceroll-die.diceroll-d6{background-image:url('./images/dice/d6.svg')!important}
html[data-theme="dark"] .diceroll-die-picker.diceroll-d6:before,html[data-theme="dark"] .diceroll-die.diceroll-d6{background-image:url('./images/dice/d6-dark.svg')!important}
.diceroll-die-picker.diceroll-d8:before,.diceroll-die.diceroll-d8{background-image:url('./images/dice/d8.svg')!important}
html[data-theme="dark"] .diceroll-die-picker.diceroll-d8:before,html[data-theme="dark"] .diceroll-die.diceroll-d8{background-image:url('./images/dice/d8-dark.svg')!important}
.diceroll-die-picker.diceroll-d10:before,.diceroll-die.diceroll-d10{background-image:url('./images/dice/d10.svg')!important}
html[data-theme="dark"] .diceroll-die-picker.diceroll-d10:before,html[data-theme="dark"] .diceroll-die.diceroll-d10{background-image:url('./images/dice/d10-dark.svg')!important}
.diceroll-die-picker.diceroll-d12:before,.diceroll-die.diceroll-d12{background-image:url('./images/dice/d12.svg')!important}
html[data-theme="dark"] .diceroll-die-picker.diceroll-d12:before,html[data-theme="dark"] .diceroll-die.diceroll-d12{background-image:url('./images/dice/d12-dark.svg')!important}
.diceroll-die-picker.diceroll-d20:before,.diceroll-die.diceroll-d20{background-image:url('./images/dice/d20.svg')!important}
html[data-theme="dark"] .diceroll-die-picker.diceroll-d20:before,html[data-theme="dark"] .diceroll-die.diceroll-d20{background-image:url('./images/dice/d20-dark.svg')!important}
.diceroll-die-picker.diceroll-d100:before,.diceroll-die.diceroll-d100{background-image:url('./images/dice/d100.svg')!important}
html[data-theme="dark"] .diceroll-die-picker.diceroll-d100:before,html[data-theme="dark"] .diceroll-die.diceroll-d100{background-image:url('./images/dice/d100-dark.svg')!important}
