/* v17: restore the dark result card and remove the unwanted frame.
   The v16 light-only rules are intentionally not allowed to leak into dark mode. */
html[data-theme="dark"] body .diceroll-result,
html[data-theme="dark"] body .diceroll-result.diceroll-result {
    background: linear-gradient(145deg, rgba(18,30,43,.98), rgba(27,43,58,.98)) !important;
    background-color: #172b3b !important;
    background-image: linear-gradient(145deg, rgba(18,30,43,.98), rgba(27,43,58,.98)) !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.20) !important;
    filter: none !important;
}
html[data-theme="dark"] body .diceroll-result::before,
html[data-theme="dark"] body .diceroll-result::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
html[data-theme="dark"] body .diceroll-result .diceroll-result-label {
    color: #dceaf1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.55) !important;
}
html[data-theme="dark"] body .diceroll-result .diceroll-die-type {
    color: #a9c5d5 !important;
    background: rgba(106,151,174,.12) !important;
    border: 1px solid rgba(137,181,203,.25) !important;
}
html[data-theme="dark"] body .diceroll-result .diceroll-summary,
html[data-theme="dark"] body .diceroll-result .diceroll-total {
    color: #e7f0f5 !important;
    background: rgba(8,19,30,.76) !important;
    border-color: rgba(132,174,195,.35) !important;
}
