/* ---- performance ---- */
.floating-dice { display: none; }
body.on-menu .floating-dice { display: block; }            /* background dice only on the menu, never during a game */
html[data-gfx="mid"] .floating-dice span, html[data-gfx="low"] .floating-dice span { animation: none; }
html[data-gfx="low"] .floating-dice, html[data-gfx="low"] #particleCanvas { display: none; }
html[data-gfx="mid"] .menu-card, html[data-gfx="low"] .menu-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(17,24,39,.94); }
html[data-gfx="mid"] [class*="backdrop-blur"]:not(.fixed), html[data-gfx="low"] [class*="backdrop-blur"] { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html[data-gfx="mid"] #rollBtn:not(:disabled), html[data-gfx="low"] #rollBtn:not(:disabled) { animation: none; }
html[data-gfx="low"] .menu-title { filter: none; }
html[data-gfx="low"] .menu-tile, html[data-gfx="low"] .menu-card, html[data-gfx="low"] .toast, html[data-gfx="low"] .pcard { box-shadow: none; }
html[data-gfx="low"] .dice:not(.rolling):hover, html[data-gfx="low"] .menu-tile:hover { transform: none; }
@media (prefers-reduced-motion: reduce) { .floating-dice span, #rollBtn { animation: none !important; } }
