.tabletop-battle-tool[data-astro-cid-obghbtbb] .input[data-astro-cid-obghbtbb],.tabletop-battle-tool[data-astro-cid-obghbtbb] .select[data-astro-cid-obghbtbb]{min-width:0;width:100%}.result-panel[data-astro-cid-obghbtbb]{position:relative;overflow:hidden}.result-panel[data-astro-cid-obghbtbb]:before{position:absolute;inset:0;pointer-events:none;content:"";background:radial-gradient(circle at 18% 12%,rgba(37,99,235,.16),transparent 30%),radial-gradient(circle at 82% 20%,rgba(220,38,38,.13),transparent 28%),linear-gradient(120deg,transparent 0%,rgba(255,255,255,.3) 45%,transparent 70%);opacity:.72}.result-panel[data-astro-cid-obghbtbb]>[data-astro-cid-obghbtbb]{position:relative;z-index:1}.result-panel[data-astro-cid-obghbtbb].is-updating{animation:resultRefresh .42s ease-out}.result-badge[data-astro-cid-obghbtbb]{transition:background-color .22s ease,border-color .22s ease,color .22s ease,transform .22s ease}.result-panel[data-astro-cid-obghbtbb].is-updating .result-badge[data-astro-cid-obghbtbb]{transform:scale(1.06)}.battle-board[data-astro-cid-obghbtbb]{position:relative;min-height:330px;overflow:hidden;border-radius:.5rem;border:1px solid color-mix(in srgb,var(--color-base-content) 10%,transparent);background:linear-gradient(rgba(20,184,166,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(20,184,166,.09) 1px,transparent 1px),linear-gradient(135deg,#f8fafc,#eef2ff 46%,#fff7ed);background-size:32px 32px,32px 32px,auto}.battle-lane[data-astro-cid-obghbtbb]{position:absolute;display:grid;gap:.55rem;width:min(38%,270px);padding:1rem;border-radius:.5rem;border:1px solid rgba(15,23,42,.12);background:#ffffffb8;box-shadow:0 20px 40px #0f172a1a}.battle-lane[data-astro-cid-obghbtbb] span[data-astro-cid-obghbtbb]{font-size:.75rem;font-weight:800;text-transform:uppercase;color:#0f172ab3}.battle-lane[data-astro-cid-obghbtbb] i[data-astro-cid-obghbtbb]{display:inline-block;width:34px;height:34px;border-radius:999px 999px .4rem .4rem;background:linear-gradient(135deg,#2563eb,#14b8a6);box-shadow:inset 0 -8px #0f172a26}.result-panel[data-astro-cid-obghbtbb].is-updating .battle-lane[data-astro-cid-obghbtbb] i[data-astro-cid-obghbtbb]{animation:unitHop .42s ease-out both}.result-panel[data-astro-cid-obghbtbb].is-updating .lane-one[data-astro-cid-obghbtbb] i[data-astro-cid-obghbtbb]:nth-of-type(2){animation-delay:40ms}.result-panel[data-astro-cid-obghbtbb].is-updating .lane-one[data-astro-cid-obghbtbb] i[data-astro-cid-obghbtbb]:nth-of-type(3){animation-delay:80ms}.result-panel[data-astro-cid-obghbtbb].is-updating .lane-one[data-astro-cid-obghbtbb] i[data-astro-cid-obghbtbb]:nth-of-type(4){animation-delay:.12s}.lane-one[data-astro-cid-obghbtbb]{left:5%;top:14%;grid-template-columns:repeat(4,34px)}.lane-one[data-astro-cid-obghbtbb] span[data-astro-cid-obghbtbb]{grid-column:1 / -1}.lane-two[data-astro-cid-obghbtbb]{right:5%;bottom:14%;grid-template-columns:repeat(3,34px)}.lane-two[data-astro-cid-obghbtbb] i[data-astro-cid-obghbtbb]{background:linear-gradient(135deg,#dc2626,#f59e0b)}.lane-two[data-astro-cid-obghbtbb] span[data-astro-cid-obghbtbb]{grid-column:1 / -1}.dice-tray[data-astro-cid-obghbtbb]{position:absolute;left:50%;bottom:22px;display:flex;gap:.55rem;transform:translate(-50%)}.dice-tray[data-astro-cid-obghbtbb] b[data-astro-cid-obghbtbb]{display:grid;width:48px;height:48px;place-items:center;border-radius:.5rem;background:#111827;color:#fff;font-size:.8rem;box-shadow:0 18px 30px #0f172a40}.result-panel[data-astro-cid-obghbtbb].is-updating .dice-tray[data-astro-cid-obghbtbb] b[data-astro-cid-obghbtbb]{animation:diceRoll .52s ease-out both}.result-panel[data-astro-cid-obghbtbb].is-updating .dice-tray[data-astro-cid-obghbtbb] b[data-astro-cid-obghbtbb]:nth-child(2){animation-delay:55ms}.result-panel[data-astro-cid-obghbtbb].is-updating .dice-tray[data-astro-cid-obghbtbb] b[data-astro-cid-obghbtbb]:nth-child(3){animation-delay:.11s}.damage-arc[data-astro-cid-obghbtbb]{position:absolute;left:30%;top:34%;width:40%;height:80px;border-top:5px solid rgba(220,38,38,.7);border-radius:50%;transform:rotate(-8deg)}.result-panel[data-astro-cid-obghbtbb].is-updating .damage-arc[data-astro-cid-obghbtbb]{animation:arcStrike .56s ease-out both}.impact[data-astro-cid-obghbtbb],.battle-spark[data-astro-cid-obghbtbb]{position:absolute;pointer-events:none;opacity:0}.impact[data-astro-cid-obghbtbb]{width:34px;height:34px;border-radius:999px;border:2px solid rgba(220,38,38,.72)}.impact-one[data-astro-cid-obghbtbb]{right:24%;top:38%}.impact-two[data-astro-cid-obghbtbb]{right:17%;top:51%}.result-panel[data-astro-cid-obghbtbb].is-updating .impact[data-astro-cid-obghbtbb]{animation:impactPing .52s ease-out both}.result-panel[data-astro-cid-obghbtbb].is-updating .impact-two[data-astro-cid-obghbtbb]{animation-delay:90ms}.battle-spark[data-astro-cid-obghbtbb]{width:9px;height:9px;border-radius:999px;background:#facc15;box-shadow:0 0 18px #facc15e6}.spark-one[data-astro-cid-obghbtbb]{right:28%;top:41%}.spark-two[data-astro-cid-obghbtbb]{right:21%;top:55%}.result-panel[data-astro-cid-obghbtbb].is-updating .battle-spark[data-astro-cid-obghbtbb]{animation:sparkFly .52s ease-out both}.result-panel[data-astro-cid-obghbtbb].is-updating .spark-two[data-astro-cid-obghbtbb]{animation-delay:.1s}.metric-card[data-astro-cid-obghbtbb]{overflow:hidden;border-radius:.5rem;border:1px solid color-mix(in srgb,var(--color-base-content) 8%,transparent);background:color-mix(in srgb,var(--color-base-200) 88%,white);padding:.75rem;box-shadow:inset 0 1px #fff6}.metric-dot[data-astro-cid-obghbtbb]{display:inline-block;width:.55rem;height:.55rem;margin-top:.2rem;border-radius:999px;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 12%,transparent)}.metric-track[data-astro-cid-obghbtbb]{height:.42rem;margin-top:.7rem;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--color-base-content) 10%,transparent)}.metric-track[data-astro-cid-obghbtbb] span[data-astro-cid-obghbtbb]{display:block;width:0%;height:100%;border-radius:inherit;transition:width .52s cubic-bezier(.22,1,.36,1)}.result-panel[data-astro-cid-obghbtbb].is-updating .metric-card[data-astro-cid-obghbtbb]{animation:metricLift .46s ease-out both}.result-panel[data-astro-cid-obghbtbb].is-updating .metric-card[data-astro-cid-obghbtbb]:nth-child(2){animation-delay:40ms}.result-panel[data-astro-cid-obghbtbb].is-updating .metric-card[data-astro-cid-obghbtbb]:nth-child(3){animation-delay:80ms}.result-panel[data-astro-cid-obghbtbb].is-updating .metric-card[data-astro-cid-obghbtbb]:nth-child(4){animation-delay:.12s}.probability-ring[data-astro-cid-obghbtbb]{display:grid;min-height:118px;place-items:center;align-content:center;border-radius:.5rem;background:radial-gradient(closest-side,var(--color-base-100) 72%,transparent 73% 100%),conic-gradient(#dc2626 var(--ring-value, 0%),color-mix(in srgb,var(--color-base-content) 10%,transparent) 0);text-align:center;transition:background .52s ease}.probability-ring[data-astro-cid-obghbtbb].survival{background:radial-gradient(closest-side,var(--color-base-100) 72%,transparent 73% 100%),conic-gradient(#16a34a var(--ring-value, 0%),color-mix(in srgb,var(--color-base-content) 10%,transparent) 0)}.probability-ring[data-astro-cid-obghbtbb] strong[data-astro-cid-obghbtbb]{font-size:1.35rem;line-height:1}.probability-ring[data-astro-cid-obghbtbb] span[data-astro-cid-obghbtbb]{margin-top:.35rem;max-width:5.8rem;font-size:.72rem;line-height:1.25;color:color-mix(in srgb,var(--color-base-content) 62%,transparent)}.battle-chart[data-astro-cid-obghbtbb]{min-height:260px;width:100%}.chart-bg[data-astro-cid-obghbtbb]{fill:color-mix(in srgb,var(--color-base-200) 86%,white)}.grid-lines[data-astro-cid-obghbtbb] line[data-astro-cid-obghbtbb],.hp-line[data-astro-cid-obghbtbb]{stroke:color-mix(in srgb,var(--color-base-content) 14%,transparent);stroke-width:1}.axis-labels[data-astro-cid-obghbtbb] text[data-astro-cid-obghbtbb]{fill:color-mix(in srgb,var(--color-base-content) 56%,transparent);font-size:13px;font-weight:700}.damage-path[data-astro-cid-obghbtbb],.kill-path[data-astro-cid-obghbtbb]{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:5}.damage-path[data-astro-cid-obghbtbb]{stroke:#2563eb}.kill-path[data-astro-cid-obghbtbb]{stroke:#dc2626}.hp-line[data-astro-cid-obghbtbb]{stroke:#16a34a;stroke-dasharray:8 8;stroke-width:3}.legend[data-astro-cid-obghbtbb]{display:inline-block;width:.9rem;height:.25rem;border-radius:999px}.legend[data-astro-cid-obghbtbb].damage{background:#2563eb}.legend[data-astro-cid-obghbtbb].kill{background:#dc2626}.legend[data-astro-cid-obghbtbb].hp{background:#16a34a}@keyframes resultRefresh{0%{box-shadow:0 0 #2563eb00,0 25px 45px #0f172a1a;transform:translateY(0)}35%{box-shadow:0 0 0 4px #2563eb24,0 28px 55px #0f172a29;transform:translateY(-2px)}to{box-shadow:0 0 #2563eb00,0 25px 45px #0f172a1a;transform:translateY(0)}}@keyframes unitHop{0%,to{transform:translateY(0)}45%{transform:translateY(-8px)}}@keyframes diceRoll{0%{transform:translateY(0) rotate(0)}45%{transform:translateY(-10px) rotate(12deg)}to{transform:translateY(0) rotate(0)}}@keyframes arcStrike{0%{opacity:.25;transform:rotate(-8deg) scaleX(.72)}55%{opacity:1;transform:rotate(-8deg) scaleX(1.08)}to{opacity:.72;transform:rotate(-8deg) scaleX(1)}}@keyframes impactPing{0%{opacity:0;transform:scale(.4)}45%{opacity:.9}to{opacity:0;transform:scale(2.4)}}@keyframes sparkFly{0%{opacity:0;transform:translate(0) scale(.4)}40%{opacity:1}to{opacity:0;transform:translate(22px,-18px) scale(1.2)}}@keyframes metricLift{0%,to{transform:translateY(0)}45%{transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.result-panel[data-astro-cid-obghbtbb].is-updating,.result-panel[data-astro-cid-obghbtbb].is-updating .battle-lane[data-astro-cid-obghbtbb] i[data-astro-cid-obghbtbb],.result-panel[data-astro-cid-obghbtbb].is-updating .dice-tray[data-astro-cid-obghbtbb] b[data-astro-cid-obghbtbb],.result-panel[data-astro-cid-obghbtbb].is-updating .damage-arc[data-astro-cid-obghbtbb],.result-panel[data-astro-cid-obghbtbb].is-updating .impact[data-astro-cid-obghbtbb],.result-panel[data-astro-cid-obghbtbb].is-updating .battle-spark[data-astro-cid-obghbtbb],.result-panel[data-astro-cid-obghbtbb].is-updating .metric-card[data-astro-cid-obghbtbb]{animation:none}.metric-track[data-astro-cid-obghbtbb] span[data-astro-cid-obghbtbb],.probability-ring[data-astro-cid-obghbtbb]{transition:none}}
