html,body{width:100%;height:100%}input::-ms-clear{display:none}input::-ms-reveal{display:none}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:#0000;font-family:sans-serif;line-height:1.15}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit;margin-bottom:1em}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:1em}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{text-align:left;caption-side:bottom;padding-top:.75em;padding-bottom:.3em}input,button,select,optgroup,textarea{color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner{border-style:none;padding:0}[type=reset]::-moz-focus-inner{border-style:none;padding:0}[type=submit]::-moz-focus-inner{border-style:none;padding:0}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical;overflow:auto}fieldset{border:0;min-width:0;margin:0;padding:0}legend{width:100%;max-width:100%;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal;margin-bottom:.5em;padding:0;display:block}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button{height:auto}[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}:root{color:#202134;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f5f6fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f5f6fa;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}a{color:inherit}.app-layout{background:#f5f6fa;min-height:100vh}.app-header{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffe6;border-bottom:1px solid #1f203d14;height:72px;padding:0 28px;position:sticky;top:0}.app-header-inner{justify-content:space-between;align-items:center;width:min(1180px,100%);height:100%;margin:0 auto;display:flex}.brand{align-items:center;gap:11px;text-decoration:none;display:inline-flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#7171e8,#4c4cc5);border-radius:13px;place-items:center;width:40px;height:40px;font-size:20px;display:grid;box-shadow:0 8px 20px #5b5bd647}.brand-name{color:#202134;font-size:16px;font-weight:700;line-height:18px;display:block}.brand-subtitle{color:#999aaa;letter-spacing:1.6px;margin-top:2px;font-size:9px;line-height:11px;display:block}.header-actions{align-items:center}.network-badge{margin-right:8px}.network-text{color:#77798f;font-size:13px}.tool-context-bar{z-index:19;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border-bottom:1px solid #1f203d14;height:52px;position:sticky;top:72px}.tool-context-inner{align-items:center;gap:12px;width:min(1180px,100% - 48px);height:100%;margin:0 auto;display:flex}.tool-context-title{color:#25263b;font-size:15px;font-weight:650;text-decoration:none}.tool-context-separator{background:#dddde7;width:1px;height:18px}.tool-context-page{color:#858697;font-size:14px}.app-content{flex:1}.app-footer{color:#8b8c9e;text-align:center;background:0 0;padding:24px;font-size:13px}.page-shell{width:min(1180px,100% - 48px);margin:0 auto;padding:42px 0 32px}.page-shell.narrow{width:min(900px,100% - 48px)}.tool-search{max-width:560px;margin-bottom:24px}.tool-card-link{height:100%;text-decoration:none;display:block}.tool-card{border:1px solid #28294612;height:100%;min-height:168px;box-shadow:0 6px 18px #1c1d3a0b}.tool-card .ant-card-body{padding:18px}.tool-card-icon{border-radius:13px;place-items:center;width:44px;height:44px;margin-bottom:16px;font-size:21px;display:grid}.tool-card-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.tool-card-title-row h4.ant-typography,.tool-card h4.ant-typography{color:#27283c;margin:0 0 10px}.tool-card p.ant-typography{color:#77798e;min-height:42px;margin-bottom:0;font-size:13px;line-height:1.55}.content-actions{justify-content:flex-end;margin:0 0 18px;display:flex}.centered-loading{text-align:center;padding-top:100px}.route-loading{place-items:center;width:100%;min-height:min(520px,100vh - 180px);display:grid}.surface-card{border:1px solid #23244512;box-shadow:0 8px 28px #2324450e}.stat-card{border:0;height:100%;box-shadow:0 8px 25px #2324450e}.lottery-card{border:1px solid #23244512;height:100%;box-shadow:0 8px 25px #2324450e}.lottery-card .ant-card-actions{border-top-color:#f0f1f5}.lottery-card-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.lottery-card h4.ant-typography{color:#242539;margin:10px 0 6px}.lottery-card p.ant-typography{color:#858698;min-height:44px;margin-bottom:18px}.lottery-meta{border-top:1px solid #f0f1f5;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px 0;display:grid}.lottery-meta span{color:#a0a1af;font-size:12px;display:block}.lottery-meta strong{color:#37384c;margin-top:4px;font-size:15px;display:block}.empty-card{padding:36px 0}.config-footer{z-index:5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe6;border:1px solid #23244514;border-radius:16px;justify-content:flex-end;margin-top:18px;padding:12px;display:flex;position:sticky;bottom:18px;box-shadow:0 10px 30px #1f203d1f}.draw-layout{grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);align-items:start;gap:20px;display:grid}.draw-stage{text-align:center;background:radial-gradient(circle at 50% 0,#f1f0ff 0%,#fff 52%);place-items:center;min-height:500px;padding:32px;display:grid}.draw-idle{max-width:520px}.draw-orb{color:#fff;background:linear-gradient(145deg,#7778ec,#4b4bc3);border:12px solid #eef;border-radius:50%;place-items:center;width:170px;height:170px;margin:0 auto 28px;font-size:65px;display:grid;box-shadow:0 18px 45px #4c4cc347}.draw-idle h2.ant-typography{margin-bottom:8px}.draw-button{min-width:180px;margin-top:22px;font-size:17px;box-shadow:0 10px 24px #5b5bd640;height:52px!important}.draw-result{width:100%}.draw-result .ant-result{padding:24px 0}.prize-result-icon{color:#fff;background:linear-gradient(145deg,#ffb84c,#f18335);border-radius:32px;place-items:center;width:100px;height:100px;margin:0 auto;font-size:46px;display:grid;box-shadow:0 14px 32px #f1833547}.prize-result-icon-muted{background:linear-gradient(145deg,#b7b8c2,#8f909d);box-shadow:0 14px 32px #60616f2e}.draw-sidebar .ant-card+.ant-card{margin-top:16px}.probability-row{align-items:center;gap:10px;margin-bottom:14px;display:flex}.probability-row:last-child{margin-bottom:0}.probability-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:80px;overflow:hidden}.probability-value{color:#66677a;text-align:right;font-variant-numeric:tabular-nums;width:62px}.inventory-summary{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.inventory-summary>div{background:#f7f7fb;border-radius:12px;padding:14px}.inventory-summary span{color:#9697a7;font-size:12px;display:block}.inventory-summary strong{color:#333449;margin-top:4px;font-size:20px;display:block}.records-summary{margin-bottom:18px}.data-option{cursor:pointer;align-items:center;gap:12px;width:100%;padding:8px 4px;display:flex}.data-option>div{flex:1}.data-option strong{color:#303145;display:block}.data-option span{color:#898a9a;margin-top:2px;font-size:13px;display:block}.file-drop{text-align:center;background:#fafafe;border:1px dashed #c9cad5;border-radius:16px;place-items:center;min-height:160px;padding:26px;transition:border-color .2s,background .2s;display:grid;position:relative}.file-drop:hover{background:#f7f7ff;border-color:#7778df}.file-drop input{cursor:pointer;opacity:0;width:100%;height:100%;position:absolute;inset:0}.file-drop-icon{color:#6869d8;font-size:34px}.danger-zone{border-color:#ff4d4f2e}.danger-zone-content{justify-content:space-between;align-items:center;gap:20px;display:flex}.danger-zone-content p.ant-typography{margin:4px 0 0}.error-recovery-screen{background:#f5f6fa;place-items:center;min-height:100vh;display:grid}.error-modal-icon{color:#ff4d4f}.error-details{color:#4a4b5f;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f7fa;border:1px solid #e7e7ef;border-radius:10px;max-height:260px;margin:0;padding:14px;font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;overflow:auto}@media (width<=800px){.app-header{height:64px;padding:0 16px}.tool-context-bar{top:64px}.tool-context-inner{width:min(100% - 28px,1180px)}.brand-subtitle,.network-badge{display:none}.page-shell,.page-shell.narrow{width:min(100% - 28px,1180px);padding-top:26px}.draw-layout{grid-template-columns:1fr}.draw-stage{min-height:430px}.danger-zone-content{flex-direction:column;align-items:flex-start}}@media (width<=520px){.nav-label{display:none}.brand-name{font-size:15px}.tool-context-inner{gap:8px}.tool-context-inner .ant-btn{padding-inline:8px}.draw-stage{min-height:390px;padding:24px 16px}.draw-orb{width:140px;height:140px;font-size:52px}.app-footer{padding-inline:18px}}
