@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap";:root{color:#18233a;font-synthesis:none;background:#f5f7fb;font-family:DM Sans,Noto Sans JP,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}#root{min-height:100vh}main{background:radial-gradient(circle at 50% 18%,#fff 0,#f8faff 30%,#f4f7fb 65%);min-height:100vh}header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffd9;border-bottom:1px solid #e5eaf1;justify-content:space-between;align-items:center;height:68px;padding:0 clamp(24px,5vw,76px);display:flex}.brand{color:#1d2b45;align-items:center;gap:11px;font-size:17px;font-weight:700;display:flex}.brand b{color:#fff;background:#5047d5;border-radius:8px;place-items:center;width:30px;height:30px;display:grid;box-shadow:0 5px 12px #4f46e530}.reset{color:#718096;background:0 0;border:0;font-size:12px;font-weight:600}.reset:disabled{opacity:.3;cursor:default}.hero{text-align:center;padding:36px 24px 45px}.dice-stage{flex-direction:column;justify-content:center;align-items:center;min-height:134px;margin:0 auto 28px;display:flex}.dice-row{flex-wrap:wrap;justify-content:center;gap:20px;display:flex}.die{background:#fff;border:1px solid #e5e9f1;border-radius:18px;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);width:82px;height:82px;padding:14px;display:grid;box-shadow:0 14px 30px #313e5c1f,inset 0 -2px 5px #2631490d}.pip{opacity:0;background:#4f46d9;border-radius:50%;place-self:center;width:10px;height:10px;box-shadow:inset 0 1px 2px #0003}.pip.on{opacity:1}.die.rolling{animation:.42s tumble}.die.rolling:nth-child(2n){animation-direction:reverse}@keyframes tumble{0%{transform:rotate(0)scale(1)}45%{transform:rotate(12deg)scale(.9)translateY(-8px)}to{transform:rotate(0)scale(1)}}.dice-stage small{color:#8893a6;margin-top:16px}.dice-stage small strong{color:#313e55;margin-left:5px;font-size:17px}.roll{color:#fff;background:linear-gradient(135deg,#675ee2,#4b43cb);border:0;border-radius:10px;align-items:center;gap:10px;padding:13px 27px;font-size:14px;font-weight:700;transition:all .16s;display:inline-flex;box-shadow:0 10px 22px #554bd735}.roll:hover{transform:translateY(-2px);box-shadow:0 13px 26px #554bd748}.roll span{font-size:19px}.shortcut{color:#a3abb9;margin-top:10px;font-size:10px}.dashboard{max-width:1040px;margin:auto;padding:0 24px 60px}.card{background:#fffffff2;border:1px solid #e8ecf2;border-radius:14px;box-shadow:0 8px 26px #1e2d4b0d}.controls{grid-template-columns:1fr 1px 1.6fr 1px .7fr;align-items:center;gap:30px;min-height:96px;margin-bottom:16px;padding:20px 30px;display:grid}.controls label{color:#7b8799;margin-bottom:10px;font-size:11px;font-weight:600;display:block}.divider{background:#edf0f5;width:1px;height:46px}.stepper{align-items:center;gap:13px;display:flex}.stepper button{color:#5d687a;background:#fff;border:1px solid #dde3ec;border-radius:7px;width:27px;height:27px;line-height:1}.stepper button:disabled{opacity:.35}.stepper strong{font-size:19px}.stepper span{color:#8a95a6;margin-left:-8px;font-size:11px}.label-row{justify-content:space-between;display:flex}.label-row b{color:#554bd5;font-size:12px}input[type=range]{--value:65%;appearance:none;background:linear-gradient(to right,#6259dc var(--value),#e5e9ef var(--value));border-radius:8px;outline:0;width:100%;height:4px;display:block}input[type=range]::-webkit-slider-thumb{appearance:none;background:#fff;border:4px solid #5d54d9;border-radius:50%;width:15px;height:15px;box-shadow:0 1px 4px #66708555}.range-label{color:#a2aab7;justify-content:space-between;margin-top:7px;font-size:9px;display:flex}.trials{text-align:center}.trials strong{font-size:23px;display:block}.trials small{color:#8d97a7;font-size:10px}.chart-card{padding:25px 28px 17px}.chart-head{justify-content:space-between;margin-bottom:20px;display:flex}.chart-head h2{margin:0 0 5px;font-size:15px}.chart-head p{color:#929cab;margin:0;font-size:10px}.legend{color:#7d8899;gap:17px;font-size:10px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{background:#cbd1dc;border-radius:50%;width:7px;height:7px}.legend i.purple{background:#6259dc}.legend i.orange{background:#f59e5b}.chart-scroll{overflow-x:auto}.chart{border-bottom:1px solid #e7ebf1;height:230px;position:relative}.grid{flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0 0 28px}.grid span{color:#a8b0bd;background:#eff2f6;height:1px;font-size:8px}.bars{justify-content:space-around;align-items:flex-end;gap:6px;display:flex;position:absolute;inset:4px 12px 0 38px}.bar-group{flex-direction:column;justify-content:flex-end;align-items:center;width:40px;height:100%;display:flex}.bar-group em{color:#7f8998;opacity:0;margin-bottom:4px;font-size:8px;font-style:normal}.bar-group:hover em{opacity:1}.track{justify-content:center;align-items:flex-end;width:34px;height:176px;display:flex;position:relative}.fill,.actual{border-radius:5px 5px 2px 2px;min-height:2px;transition:height .45s;position:absolute;bottom:0}.fill{background:linear-gradient(#766de7,#554ccd);width:17px;left:2px;box-shadow:0 4px 10px #5d54da20}.actual{background:linear-gradient(#ffc07f,#ef914a);width:11px;right:2px;box-shadow:0 4px 9px #ef914a24}.actual[style*="height: 0%"]{min-height:0}.base{z-index:2;border-top:2px dashed #bfc6d2;width:38px;position:absolute;bottom:0}.bar-group>b{color:#6e798c;height:27px;padding-top:8px;font-size:10px}.chart-foot{text-align:center;color:#8791a1;font-size:9px}.chart-foot>span{margin-top:6px;display:block}.chart-foot p{color:#6d7890;background:#fafbfc;border-top:1px solid #edf0f4;border-radius:0 0 14px 14px;margin:14px -28px -17px;padding:11px}@media (width<=720px){header{height:60px;padding:0 18px}.hero{padding:30px 18px 34px}.die{width:68px;height:68px;padding:11px}.pip{width:8px;height:8px}.controls{grid-template-columns:1fr 1fr;gap:22px;padding:20px}.controls .divider{display:none}.strength{grid-area:2/1/auto/-1}.trials{text-align:right}.chart-card{padding-inline:18px}.chart-foot p{margin-inline:-18px}.legend{flex-direction:column;gap:5px}}
