/* Public TREGA controls: orange paint is swept away to expose matte blasted steel. */
.button[data-grit-button]{position:relative;isolation:isolate;overflow:hidden;background:#ff5a0a;color:#fff;border-color:#ff7130;box-shadow:inset 0 1px rgba(255,255,255,.18),0 5px 16px rgba(0,0,0,.15);transition:color .12s,border-color .2s,box-shadow .2s,transform .16s;text-shadow:none}
.button[data-grit-button]::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-color:#505b64;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' seed='12' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='.23'/%3E%3C/svg%3E"),radial-gradient(ellipse at 25% 0%,rgba(213,224,232,.22),transparent 72%),linear-gradient(160deg,#63717b,#48535b 65%,#39434b);clip-path:inset(0 100% 0 0);transition:clip-path .26s ease-in}
.button[data-grit-button].is-grit-active{color:#fff;border-color:#94a2ac;text-shadow:0 1px 2px rgba(0,0,0,.55);box-shadow:inset 0 1px rgba(240,246,250,.34),inset 0 -2px rgba(0,0,0,.2),0 6px 22px rgba(0,0,0,.28);transform:translateY(-1px)}
.button[data-grit-button].is-grit-active::before{clip-path:inset(0);transition:clip-path .32s cubic-bezier(.16,.65,.28,1)}
.button[data-grit-button].is-grit-resetting::before{clip-path:inset(0 100% 0 0);transition:none}
.button[data-grit-button].is-grit-pressed{transform:translateY(1px) scale(.985);box-shadow:inset 0 2px 8px rgba(0,0,0,.28)}
.button[data-grit-button]:focus-visible{outline:3px solid #ff9a60;outline-offset:5px}
.grit-particles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2;contain:strict}
[data-grit-title]{position:relative;isolation:isolate}
[data-grit-title] .grit-title-word{display:inline-block;color:inherit;position:relative}
[data-grit-state="pending"] .grit-title-word{clip-path:inset(0 100% 0 0)}
[data-grit-state="running"] .grit-title-word.is-grit-revealing{animation:title-grit-reveal var(--grit-duration,3s) linear both;animation-delay:var(--grit-delay,0ms)}
[data-grit-title]>.grit-particles{overflow:visible;contain:layout style paint;z-index:3}
@keyframes title-grit-reveal{0%{clip-path:inset(0 100% 0 0);filter:brightness(.72)}35%{filter:brightness(1.08)}100%{clip-path:inset(0);filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.button[data-grit-button],.button[data-grit-button]::before{transition:none;transform:none}.grit-particles{display:none}[data-grit-title] .grit-title-word{animation:none!important;clip-path:none!important;filter:none!important}}
