.dice-hud,.dice-result-stage{--dice-panel-hi:var(--field,#1c160e);--dice-panel-lo:var(--paper-2,#120e08);--dice-surface:var(--niche,#171208);--dice-line:var(--field-line,#372c16);--dice-ink:var(--ink,#fdf6e3);--dice-ink-soft:var(--ink-soft,#b7a684);--dice-ink-faint:var(--ink-faint,#7c715c);--dice-gilt:var(--gilt,#e8b64a);--dice-accent:var(--accent,#e8b64a);--dice-on-accent:var(--on-accent,#15110c);--dice-display:var(--display,Georgia,serif);--dice-body:var(--body,Georgia,serif);--dice-a10:rgba(232,182,74,0.10);--dice-a10:color-mix(in srgb,var(--dice-accent) 10%,transparent);--dice-a16:rgba(232,182,74,0.16);--dice-a16:color-mix(in srgb,var(--dice-accent) 16%,transparent);--dice-a30:rgba(232,182,74,0.30);--dice-a30:color-mix(in srgb,var(--dice-accent) 30%,transparent);--dice-a55:rgba(232,182,74,0.55);--dice-a55:color-mix(in srgb,var(--dice-accent) 55%,transparent);--dice-g40:rgba(232,182,74,0.40);--dice-g40:color-mix(in srgb,var(--dice-gilt) 40%,transparent);--dice-accent-d:#b8862c;--dice-accent-d:color-mix(in srgb,var(--dice-accent) 76%,#000)}.dice-result-stage.dice-result-stage{position:fixed;inset:0;z-index:9999;pointer-events:none;display:flex;align-items:flex-start;justify-content:center;padding-top:13vh;transition:opacity .6s ease}.dice-result-panel{position:relative;display:flex;flex-direction:column;align-items:center;min-width:248px;max-width:min(440px,92vw);padding:0 0 14px;animation:dice-panel-in .4s cubic-bezier(.16,1.1,.3,1) both}@keyframes dice-panel-in{0%{transform:translateY(14px) scale(.9);opacity:0;filter:blur(6px)}60%{filter:blur(0)}to{transform:translateY(0) scale(1);opacity:1;filter:blur(0)}}.dice-plaque-cap{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:8px 20px;max-width:min(560px,calc(100vw - 32px));border:1px solid var(--dice-g40);border-radius:999px;background:linear-gradient(180deg,var(--dice-panel-hi),var(--dice-panel-lo));box-shadow:0 8px 22px -8px rgba(0,0,0,.6),inset 0 1px 0 var(--dice-a30)}.dice-plaque-cap:empty{display:none}.dice-result-label{font-family:var(--dice-display);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--dice-gilt);text-align:center;white-space:normal;line-height:1.35;overflow-wrap:anywhere}.dice-crest{display:block;width:186px;height:auto;margin:14px 0 6px;overflow:visible;filter:drop-shadow(0 14px 26px rgba(0,0,0,.45));animation:dice-crest-in .46s cubic-bezier(.16,1.15,.3,1) both}@keyframes dice-crest-in{0%{transform:translateY(10px) scale(.86) rotate(-3deg);opacity:0}to{transform:translateY(0) scale(1) rotate(0deg);opacity:1}}.crest-field-hi{stop-color:var(--dice-panel-hi)}.crest-field-mid{stop-color:var(--dice-panel-lo)}.crest-field-lo{stop-color:color-mix(in srgb,var(--dice-panel-lo) 72%,#000)}.crest-plate{fill:url(#crest-field)}.crest-chief{fill:var(--dice-a10)}.crest-rim-hi{stop-color:var(--dice-gilt)}.crest-rim-lo{stop-color:color-mix(in srgb,var(--dice-gilt) 52%,#000)}.crest-rim{fill:none;stroke:url(#crest-rim);stroke-width:3.5}.crest-rim-inner{fill:none;stroke:var(--dice-a30);stroke-width:1.2}.crest-device{fill:none;stroke:var(--dice-gilt);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;opacity:.17}.crest-digit-hi{stop-color:color-mix(in srgb,var(--dice-ink) 100%,#fff 12%)}.crest-digit-lo{stop-color:color-mix(in srgb,var(--dice-ink) 74%,#000)}.crest-total{fill:url(#crest-digits);font-family:var(--dice-display);font-weight:700;font-variant-numeric:tabular-nums lining-nums;letter-spacing:-.02em;paint-order:stroke;stroke:rgba(0,0,0,.42);stroke-width:4}.crest-sheen{fill:var(--dice-a30);mix-blend-mode:screen;animation:dice-crest-sheen .72s cubic-bezier(.3,0,.2,1) .06s both}.dice-crest[data-counting] .crest-sheen{animation:none;opacity:0}@keyframes dice-crest-sheen{0%{transform:translateX(0) skewX(-18deg);opacity:0}20%{opacity:.9}to{transform:translateX(470px) skewX(-18deg);opacity:0}}.dice-crest[data-counting]{filter:drop-shadow(0 14px 26px rgba(0,0,0,.45)) blur(.5px)}.dice-crest:not([data-counting]){transition:filter .16s ease}.dice-crest[data-state=crit] .crest-field-hi{stop-color:color-mix(in srgb,var(--imm-bg,#4a3306) 88%,#fff 12%)}.dice-crest[data-state=crit] .crest-field-mid{stop-color:var(--imm-bg,#4a3306)}.dice-crest[data-state=crit] .crest-field-lo{stop-color:color-mix(in srgb,var(--imm-bg,#4a3306) 74%,#000)}.dice-crest[data-state=crit] .crest-digit-hi{stop-color:color-mix(in srgb,var(--imm-text,#ffe9b0) 92%,#fff)}.dice-crest[data-state=crit] .crest-digit-lo{stop-color:var(--imm-text,#ffe9b0)}.dice-crest[data-state=crit] .crest-rim-hi{stop-color:var(--imm-text,#ffe9b0)}.dice-crest[data-state=crit] .crest-rim-lo{stop-color:var(--imm-border,#e8b64a)}.dice-crest[data-state=crit] .crest-device{opacity:.3;stroke:var(--imm-text,#ffe9b0)}.dice-crest[data-state=crit]{filter:drop-shadow(0 14px 26px rgba(0,0,0,.45)) drop-shadow(0 0 26px var(--dice-a55))}.dice-crest[data-state=critdmg] .crest-field-hi{stop-color:color-mix(in srgb,var(--cond-bg,#ffd27a) 88%,#fff 12%)}.dice-crest[data-state=critdmg] .crest-field-mid{stop-color:var(--cond-bg,#ffd27a)}.dice-crest[data-state=critdmg] .crest-field-lo{stop-color:color-mix(in srgb,var(--cond-bg,#ffd27a) 74%,#000)}.dice-crest[data-state=critdmg] .crest-digit-hi{stop-color:color-mix(in srgb,var(--cond-text,#1c160e) 92%,#fff)}.dice-crest[data-state=critdmg] .crest-digit-lo{stop-color:var(--cond-text,#1c160e)}.dice-crest[data-state=critdmg] .crest-rim-hi{stop-color:var(--cond-text,#1c160e)}.dice-crest[data-state=critdmg] .crest-rim-lo{stop-color:var(--cond-border,#b86030)}.dice-crest[data-state=critdmg] .crest-device{opacity:.24;stroke:var(--cond-text,#1c160e)}.dice-crest[data-state=fumble] .crest-field-hi{stop-color:color-mix(in srgb,var(--vuln-bg,#8a2410) 88%,#fff 12%)}.dice-crest[data-state=fumble] .crest-field-mid{stop-color:var(--vuln-bg,#8a2410)}.dice-crest[data-state=fumble] .crest-field-lo{stop-color:color-mix(in srgb,var(--vuln-bg,#8a2410) 74%,#000)}.dice-crest[data-state=fumble] .crest-digit-hi{stop-color:color-mix(in srgb,var(--vuln-text,#ffe4dc) 92%,#fff)}.dice-crest[data-state=fumble] .crest-digit-lo{stop-color:var(--vuln-text,#ffe4dc)}.dice-crest[data-state=fumble] .crest-rim-hi{stop-color:var(--vuln-text,#ffe4dc)}.dice-crest[data-state=fumble] .crest-rim-lo{stop-color:var(--vuln-border,#a82810)}.dice-crest[data-state=fumble] .crest-device{opacity:.22;stroke:var(--vuln-text,#ffe4dc)}.dice-crest[data-state=fumble] .crest-sheen{display:none}.dice-faces{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;padding:0 20px;max-width:100%}.dice-face{min-width:26px;padding:2px 6px;border-radius:6px;font-family:var(--dice-body);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--dice-ink-soft);background:var(--dice-surface);border:1px solid var(--dice-line);text-align:center;line-height:1.5;animation:dice-face-in .34s cubic-bezier(.16,1.2,.3,1) both}@keyframes dice-face-in{0%{transform:translateY(7px) scale(.82);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.dice-face.is-max{color:var(--imm-text,#ffe9b0);background:var(--imm-bg,#2a2113);border-color:var(--imm-border,#a8801f)}.dice-face.is-min{color:var(--vuln-text,#f0b3ab);background:var(--vuln-bg,#2c1614);border-color:var(--vuln-border,#a03a30)}.dice-face.is-dropped{opacity:.45;text-decoration:line-through;text-decoration-thickness:1.5px;background:none}.dice-face-mod{font-family:var(--dice-body);font-size:14px;font-weight:700;color:var(--dice-ink);font-variant-numeric:tabular-nums;padding:0 2px;animation:dice-face-in .34s cubic-bezier(.16,1.2,.3,1) both}.dice-result-parts{font-family:var(--dice-body);font-size:11px;color:var(--dice-ink-faint);margin-top:8px;letter-spacing:.06em;text-transform:uppercase}.dice-ribbon{font-family:var(--dice-display);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;padding:3px 10px;border-radius:999px;border:1px solid transparent}.dice-ribbon-crit{color:var(--imm-text,#1c160e);background:var(--imm-bg,#ffe9b0);border-color:var(--imm-border,#c8a030)}.dice-ribbon-fumble{color:var(--vuln-text,#ffe4dc);background:var(--vuln-bg,#8a2410);border-color:var(--vuln-border,#a02828)}.dice-ribbon-critdmg{color:var(--cond-text,#1c160e);background:var(--cond-bg,#ffd27a);border-color:var(--cond-border,#b86030)}.dice-result-panel.is-crit{animation:dice-crit-pop .5s cubic-bezier(.2,1.4,.4,1) both}.dice-result-panel.is-crit:before{content:"";position:absolute;left:50%;top:50%;width:60px;height:60px;border:3px solid var(--dice-a55);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;animation:dice-crit-ring .75s ease-out forwards}@keyframes dice-crit-pop{0%{transform:scale(.7);opacity:0}60%{transform:scale(1.07);opacity:1}to{transform:scale(1);opacity:1}}@keyframes dice-crit-ring{0%{width:60px;height:60px;opacity:.85}to{width:820px;height:820px;opacity:0}}.dice-result-panel.is-fumble{animation:dice-fumble-shake .5s ease-in-out both}@keyframes dice-fumble-shake{0%,to{transform:translateX(0)}15%{transform:translateX(-9px) rotate(-1deg)}30%{transform:translateX(8px) rotate(1deg)}45%{transform:translateX(-6px)}60%{transform:translateX(5px)}75%{transform:translateX(-3px)}}.dice-crit-wash.dice-crit-wash{position:fixed;inset:0;pointer-events:none;z-index:9998}.dice-crit-wash-1{background:radial-gradient(ellipse at 50% 30%,transparent 30%,rgba(90,12,6,.3) 100%);animation:dice-fumble-vignette .9s ease-out forwards}@keyframes dice-fumble-vignette{0%{opacity:0}25%{opacity:1}to{opacity:0}}.dice-crit-wash-20{background:radial-gradient(ellipse 60% 45% at 50% 26%,var(--dice-a55),transparent 68%),conic-gradient(from 0deg at 50% 26%,transparent 0deg,var(--dice-a16) 6deg,transparent 12deg,transparent 30deg,var(--dice-a16) 36deg,transparent 42deg,transparent 60deg,var(--dice-a16) 66deg,transparent 72deg,transparent 90deg,var(--dice-a16) 96deg,transparent 102deg,transparent 120deg,var(--dice-a16) 126deg,transparent 132deg,transparent 150deg,var(--dice-a16) 156deg,transparent 162deg,transparent 180deg,var(--dice-a16) 186deg,transparent 192deg,transparent 210deg,var(--dice-a16) 216deg,transparent 222deg,transparent 240deg,var(--dice-a16) 246deg,transparent 252deg,transparent 270deg,var(--dice-a16) 276deg,transparent 282deg,transparent 300deg,var(--dice-a16) 306deg,transparent 312deg,transparent 330deg,var(--dice-a16) 336deg,transparent 342deg,transparent 1turn);mix-blend-mode:screen;animation:dice-crit-glory 1.05s cubic-bezier(.15,.75,.25,1) forwards}.dice-crit-wash-20:after{content:"";position:absolute;inset:0;background:#fff;mix-blend-mode:overlay;animation:dice-crit-flash .34s ease-out forwards}@keyframes dice-crit-glory{0%{opacity:0;transform:scale(.82) rotate(-6deg)}14%{opacity:1}to{opacity:0;transform:scale(1.18) rotate(10deg)}}@keyframes dice-crit-flash{0%{opacity:0}8%{opacity:.55}to{opacity:0}}.dice-result-panel .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}@media (prefers-reduced-motion:reduce){.dice-crit-wash-1,.dice-result-panel,.dice-result-panel.is-crit,.dice-result-panel.is-crit:before,.dice-result-panel.is-fumble{animation:none}.dice-crit-wash-1{opacity:1}.dice-crest,.dice-face,.dice-face-mod{animation:none}.dice-crest[data-counting]{filter:drop-shadow(0 14px 26px rgba(0,0,0,.45))}.crest-sheen,.dice-crit-wash-20{display:none}}.dice-hud.dice-hud{position:fixed;right:18px;bottom:18px;z-index:10000}.dice-hud-toggle{position:relative;width:52px;height:52px;border-radius:14px;border:1px solid var(--dice-g40);cursor:pointer;background:radial-gradient(circle at 35% 28%,var(--dice-panel-hi),var(--dice-panel-lo));box-shadow:0 6px 20px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;transition:transform .12s ease,box-shadow .12s ease}.dice-hud-toggle:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.42)}.dice-hud-toggle .dice-hud-glyph{width:30px;height:30px}.dice-hud-panel{position:absolute;right:0;bottom:66px;width:340px;background:linear-gradient(180deg,var(--dice-panel-hi),var(--dice-panel-lo));border:1px solid var(--dice-g40);border-radius:16px;box-shadow:0 16px 50px rgba(0,0,0,.42);padding:18px;color:var(--dice-ink);font-family:var(--dice-body);animation:dice-panel-in .2s ease both}.dice-hud-tabs{display:flex;align-items:center;gap:4px;padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--dice-line)}.dice-hud-tab{flex:1;background:none;border:1px solid transparent;border-radius:8px;color:var(--dice-ink-faint);font-family:var(--dice-display);font-size:13px;letter-spacing:.06em;padding:6px 4px;cursor:pointer;text-transform:uppercase;display:inline-flex;align-items:center;justify-content:center;gap:5px}.dice-hud-tab:hover{color:var(--dice-ink)}.dice-hud-tab.on{color:var(--dice-accent);background:var(--dice-a10);border-color:var(--dice-a30)}.dice-hud-tabcount{font-size:10px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--dice-accent);color:var(--dice-on-accent);display:inline-flex;align-items:center;justify-content:center}.dice-hud-x{background:none;border:none;color:var(--dice-ink-faint);font-size:22px;line-height:1;cursor:pointer;padding:0 4px}.dice-hud-x:hover{color:var(--dice-ink)}.dice-hud-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-top:2px}.dice-hud-die{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:11px 5px 8px;border-radius:11px;cursor:pointer;background:var(--dice-surface);border:1px solid var(--dice-line);color:var(--dice-ink-soft);transition:border-color .12s ease,transform .08s ease,background .12s ease}.dice-hud-die:hover{border-color:var(--dice-a55);transform:translateY(-1px)}.dice-hud-die:active{transform:translateY(0)}.dice-hud-die.picked{background:var(--dice-a10);border-color:var(--dice-a55)}.dice-hud-die-name{font-size:11px;letter-spacing:.04em;color:var(--dice-ink-faint)}.dice-hud-die.picked .dice-hud-die-name{color:var(--dice-accent)}.dice-hud-die-badge{top:-6px;right:-6px;min-width:20px;padding:0 5px;background:var(--dice-accent);color:var(--dice-on-accent);font-size:12px;font-weight:700;box-shadow:0 2px 6px rgba(0,0,0,.3)}.dice-hud-die-badge,.dice-hud-die-minus{position:absolute;height:20px;border-radius:10px;display:flex;align-items:center;justify-content:center}.dice-hud-die-minus{bottom:-6px;left:-6px;width:20px;background:var(--vuln-bg,#3a2410);color:var(--vuln-text,#ffbfb0);border:1px solid var(--vuln-border,#5a3418);font-size:15px;line-height:17px;cursor:pointer}.dice-hud-die-minus:hover{filter:brightness(1.12)}.dice-hud-glyph{width:34px;height:34px}.dice-hud-glyph circle,.dice-hud-glyph polygon,.dice-hud-glyph rect{fill:var(--dice-a10);stroke:var(--dice-accent);stroke-width:1.6;stroke-linejoin:round}.dice-hud-glyph-edge{stroke:var(--dice-a30);stroke-width:1.1}.dice-hud-glyph-edge-fill{fill:var(--dice-a16);stroke:var(--dice-a30);stroke-width:1}.dice-hud-glyph-label{fill:var(--dice-ink);font-family:var(--dice-display);font-size:13px;font-weight:700;text-anchor:middle;dominant-baseline:central;stroke:none}.dice-hud-die.picked .dice-hud-glyph polygon,.dice-hud-die.picked .dice-hud-glyph rect{fill:var(--dice-a30)}.dice-hud-modrow{display:flex;align-items:center;gap:8px;margin-top:12px}.dice-hud-modlbl{font-size:13px;color:var(--dice-ink-soft);flex:0 0 auto}.dice-hud-step{width:26px;height:26px;border-radius:7px;background:var(--dice-surface);color:var(--dice-accent);border:1px solid var(--dice-line);cursor:pointer;font-size:16px;line-height:1}.dice-hud-step:hover{border-color:var(--dice-a55)}.dice-hud-modval{min-width:34px;text-align:center;color:var(--dice-ink);font-size:17px}.dice-hud-clear{margin-left:auto;background:none;border:1px solid var(--dice-line);border-radius:7px;color:var(--dice-ink-soft);font-size:11px;padding:4px 9px;cursor:pointer;text-transform:uppercase;letter-spacing:.06em;font-family:var(--dice-body)}.dice-hud-clear:hover{color:var(--dice-ink);border-color:var(--dice-a55)}.dice-hud-rollbtns{display:flex;gap:8px;margin-top:12px}.dice-hud-roll-main{flex:1;padding:11px;border:none;border-radius:9px;cursor:pointer;background:linear-gradient(180deg,var(--dice-accent),var(--dice-accent-d));color:var(--dice-on-accent);font-family:var(--dice-display);font-weight:700;font-size:15px;letter-spacing:.04em}.dice-hud-roll-main:hover:not(:disabled){filter:brightness(1.08)}.dice-hud-roll-alt{padding:11px 14px;border:1px solid var(--dice-line);border-radius:9px;cursor:pointer;background:var(--dice-surface);color:var(--dice-accent);font-family:var(--dice-display);font-weight:700;font-size:13px}.dice-hud-roll-alt:hover:not(:disabled){border-color:var(--dice-a55)}.dice-hud-rollbtns button:disabled{opacity:.4;cursor:default}.dice-hud-loghead{display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--dice-ink-faint);margin-bottom:6px}.dice-hud-log{max-height:260px;overflow-y:auto;display:flex;flex-direction:column;gap:3px}.dice-hud-empty{font-size:13px;color:var(--dice-ink-faint);padding:10px 2px;font-style:italic}.dice-hud-row{display:grid;grid-template-columns:1fr auto 38px;align-items:baseline;gap:8px;padding:6px 9px;border-radius:8px;background:var(--dice-surface)}.dice-hud-row-label{font-size:13px;color:var(--dice-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dice-hud-row-parts{font-size:11px;color:var(--dice-ink-faint);white-space:nowrap}.dice-hud-row-total{font-size:18px;font-weight:700;color:var(--dice-ink);text-align:right}.dice-hud-row.is-crit{background:var(--imm-bg,rgba(232,182,74,.12))}.dice-hud-row.is-crit .dice-hud-row-label,.dice-hud-row.is-crit .dice-hud-row-parts,.dice-hud-row.is-crit .dice-hud-row-total{color:var(--imm-text,#ffe9b0)}.dice-hud-row.is-fumble{background:var(--vuln-bg,rgba(168,40,16,.14))}.dice-hud-row.is-fumble .dice-hud-row-label,.dice-hud-row.is-fumble .dice-hud-row-parts,.dice-hud-row.is-fumble .dice-hud-row-total{color:var(--vuln-text,#ffbfb0)}.dice-hud-settings{display:flex;flex-direction:column;gap:12px;padding:2px}.dice-hud-field{display:flex;flex-direction:column;gap:5px;font-size:13.5px;color:var(--dice-ink-soft)}.dice-hud-field b{color:var(--dice-accent);font-weight:700}.dice-hud-field input[type=range]{width:100%;accent-color:var(--dice-accent);cursor:pointer}.dice-hud-note{font-size:11.5px;color:var(--dice-ink-faint);font-style:italic;margin:2px 0 0}.dice-hud-skins{display:flex;flex-direction:column;gap:14px}.dice-hud-skinhead{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--dice-ink-faint)}.dice-hud-skinhead .dice-hud-clear{margin-left:0}.dice-hud-skingrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:220px;overflow-y:auto;padding:2px}.dice-hud-skin{position:relative}.dice-hud-skin-btn{width:100%;display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:1px solid var(--dice-line);border-radius:10px;padding:8px 4px 6px;cursor:pointer;transition:border-color .12s ease,transform .08s ease}.dice-hud-skin-btn:hover{border-color:var(--dice-a55);transform:translateY(-1px)}.dice-hud-skin.on .dice-hud-skin-btn{border-color:var(--dice-accent);box-shadow:0 0 0 1px var(--dice-a55) inset}.dice-hud-skin-swatch{width:52px;height:52px;border-radius:10px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgba(127,127,127,.22),0 2px 8px rgba(0,0,0,.3)}.dice-hud-skin-num{font-family:var(--dice-display);font-weight:700;font-size:20px}.dice-hud-skin-name{font-size:11px;color:var(--dice-ink-soft);text-align:center;max-width:88px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dice-hud-skin.on .dice-hud-skin-name{color:var(--dice-accent)}.dice-hud-skin-del{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:10px;background:var(--vuln-bg,#3a2410);color:var(--vuln-text,#ffbfb0);border:1px solid var(--vuln-border,#5a3418);font-size:14px;line-height:17px;cursor:pointer;display:flex;align-items:center;justify-content:center}.dice-hud-skin-del:hover{filter:brightness(1.12)}.dice-hud-gen{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:1px solid var(--dice-line)}.dice-hud-genhead{display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--dice-ink-faint)}.dice-hud-credits{font-size:11px;color:var(--dice-accent);background:var(--dice-a10);border-radius:8px;padding:2px 8px;text-transform:none;letter-spacing:0}.dice-hud-input{width:100%;background:var(--dice-surface);border:1px solid var(--dice-line);border-radius:8px;color:var(--dice-ink);font-family:var(--dice-body);font-size:13px;padding:8px 10px}.dice-hud-input:focus{outline:none;border-color:var(--dice-a55)}.dice-hud-input::placeholder{color:var(--dice-ink-faint)}.dice-hud-gen-btn{padding:10px;border:none;border-radius:9px;cursor:pointer;background:linear-gradient(180deg,var(--dice-accent),var(--dice-accent-d));color:var(--dice-on-accent);font-family:var(--dice-display);font-weight:700;font-size:14px}.dice-hud-gen-btn:hover:not(:disabled){filter:brightness(1.08)}.dice-hud-gen-btn:disabled{opacity:.45;cursor:default}.dice-hud-generr{font-size:12px;color:var(--vuln-text,#ff9c85);margin:2px 0 0}.dice-hud-seg{display:flex;gap:6px}.dice-hud-seg-btn{flex:1;padding:8px 6px;border-radius:8px;cursor:pointer;background:var(--dice-surface);border:1px solid var(--dice-line);color:var(--dice-ink-faint);font-family:var(--dice-body);font-size:12.5px;letter-spacing:.02em;transition:border-color .12s ease,color .12s ease,background .12s ease}.dice-hud-seg-btn:hover{color:var(--dice-ink);border-color:var(--dice-a30)}.dice-hud-seg-btn.on{background:var(--dice-a10);border-color:var(--dice-a55);color:var(--dice-accent)}@media (max-width:720px){.dice-hud.dice-hud{right:12px;bottom:66px}.dice-hud-panel{width:min(340px,calc(100vw - 24px))}.dice-result-stage.dice-result-stage{padding-top:9vh}.dice-result-panel{min-width:0;max-width:calc(100vw - 32px)}.dice-crest{width:140px;margin:10px 0 4px}.dice-plaque-cap{padding:7px 14px;gap:8px;max-width:calc(100vw - 24px)}.dice-result-label{font-size:11px;letter-spacing:.08em}}.dice-hud-panel.dice-hud-panel{padding:18px}.dice-hud-tabs.dice-hud-tabs{padding-bottom:10px;margin-bottom:10px}.dice-hud-tab.dice-hud-tab{padding:6px 4px}.dice-hud-tabcount.dice-hud-tabcount,.dice-hud-x.dice-hud-x{padding:0 4px}.dice-hud-grid.dice-hud-grid{margin-top:2px}.dice-hud-die.dice-hud-die{padding:11px 5px 8px}.dice-hud-die-badge.dice-hud-die-badge{padding:0 5px}.dice-hud-modrow.dice-hud-modrow{margin-top:12px}.dice-hud-clear.dice-hud-clear{margin-left:auto;padding:4px 9px}.dice-hud-rollbtns.dice-hud-rollbtns{margin-top:12px}.dice-hud-roll-main.dice-hud-roll-main{padding:11px}.dice-hud-roll-alt.dice-hud-roll-alt{padding:11px 14px}.dice-hud-loghead.dice-hud-loghead{margin-bottom:6px}.dice-hud-empty.dice-hud-empty{padding:10px 2px}.dice-hud-row.dice-hud-row{padding:6px 9px}.dice-hud-settings.dice-hud-settings{padding:2px}.dice-hud-note.dice-hud-note{margin:2px 0 0}.dice-hud-skinhead.dice-hud-skinhead .dice-hud-clear{margin-left:0}.dice-hud-skingrid.dice-hud-skingrid{padding:2px}.dice-hud-skin-btn.dice-hud-skin-btn{padding:8px 4px 6px}.dice-hud-gen.dice-hud-gen{padding-top:12px}.dice-hud-credits.dice-hud-credits{padding:2px 8px}.dice-hud-input.dice-hud-input{padding:8px 10px}.dice-hud-gen-btn.dice-hud-gen-btn{padding:10px}.dice-hud-generr.dice-hud-generr{margin:2px 0 0}.dice-hud-seg-btn.dice-hud-seg-btn{padding:8px 6px}