:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}*{box-sizing:border-box}:root{color:#1f2937;background:#edf4f7;font-family:Yu Gothic UI,Meiryo,sans-serif}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}.app{min-height:100vh;padding:24px}.card{background:#fff;border-radius:8px;width:min(1080px,100%);margin:0 auto;padding:28px;box-shadow:0 18px 48px #102e4529}.app-shell{gap:24px;display:grid}.title-row,.analysis-header{text-align:left;justify-content:space-between;align-items:center;gap:16px;display:flex}.eyebrow{color:#d26328;letter-spacing:.08em;margin:0 0 4px;font-size:.78rem;font-weight:700}h1,h2,h3{color:#172033}h1{letter-spacing:0;margin:0;font-size:clamp(1.5rem,4vw,2.15rem)}h2{margin:0;font-size:clamp(1.2rem,3vw,1.6rem)}h3{margin:0;font-size:1rem}.mode-switch{background:#edf4f7;border:1px solid #d8e5eb;border-radius:999px;padding:4px;display:inline-flex}.mode-switch button{color:#395067;cursor:pointer;background:0 0;border:0;border-radius:999px;min-width:96px;padding:9px 16px}.mode-switch button.active{color:#fff;background:#17344f}.draw-panel{text-align:center}.draw-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:0 0 18px;display:flex}.draw-game-switch,.draw-animation-switch{background:#edf4f7;border:1px solid #d8e5eb;border-radius:999px;padding:4px;display:inline-flex}.draw-game-switch{flex-wrap:wrap;justify-content:center}.draw-game-switch button,.draw-animation-switch button{color:#395067;cursor:pointer;background:0 0;border:0;border-radius:999px;min-width:120px;padding:9px 16px}.draw-game-switch button{min-width:86px}.draw-game-switch button.active,.draw-animation-switch button.active{color:#fff;background:#17344f}.custom-ncm-controls{color:#395067;background:#f8fbfd;border:1px solid #d8e5eb;border-radius:999px;align-items:center;gap:8px;padding:6px 10px;display:inline-flex}.custom-ncm-controls label{align-items:center;gap:6px;font-size:.9rem;font-weight:700;display:inline-flex}.custom-ncm-controls input{color:#172033;text-align:center;background:#fff;border:1px solid #c9d9e2;border-radius:999px;width:64px;padding:7px 8px}.custom-ncm-symbol{color:#17344f;font-weight:800}.draw-score{color:#607287;background:#f8fbfd;border:1px solid #dbe8ee;border-radius:999px;padding:9px 12px;font-size:.9rem}.draw-score strong{color:#172033;font-size:1.05rem}.pixi-wrapper{border-radius:8px;width:100%;margin-bottom:24px;overflow-x:auto}.pixi-wrapper canvas{max-width:100%;height:auto;margin:0 auto;display:block}.bingo-panel{justify-items:center;gap:16px;margin-bottom:22px;display:grid}.bingo-card{background:#17344f;border-radius:8px;grid-template-columns:repeat(3,minmax(82px,110px));justify-content:center;gap:8px;padding:14px;display:grid}.bingo-empty{color:#ffd56b;background:#0e263ab3;border-radius:8px;grid-column:1/-1;width:306px;padding:88px 16px;font-weight:800}.bingo-cell{aspect-ratio:1;color:#172033;background:#fff;border:3px solid #d8e5eb;border-radius:8px;place-items:center;font-size:1.6rem;font-weight:900;display:grid}.bingo-cell input{width:100%;color:inherit;font:inherit;text-align:center;appearance:textfield;background:0 0;border:0;outline:0}.bingo-cell input::-webkit-outer-spin-button{appearance:none;margin:0}.bingo-cell input::-webkit-inner-spin-button{appearance:none;margin:0}.bingo-cell.is-free{color:#17344f;background:#ffd56b;border-color:#f4bd36;font-size:1.15rem}.bingo-cell.is-marked{color:#fff;background:#d26328;border-color:#a94919}.bingo-check-panel{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.bingo-check-panel label{color:#607287;text-align:left;gap:6px;font-size:.85rem;font-weight:700;display:grid}.bingo-check-panel input{color:#172033;background:#fff;border:1px solid #c9d9e2;border-radius:999px;width:min(320px,78vw);padding:11px 14px}.bingo-check-panel button{color:#fff;cursor:pointer;background:#17344f;border:0;border-radius:999px;align-self:end;padding:11px 18px}.bingo-check-panel button:disabled,.bingo-check-panel input:disabled{cursor:not-allowed;opacity:.55}.bingo-result{color:#607287;margin:0;font-weight:800}.bingo-result strong{color:#d26328;font-size:1.25rem}.draw-panel>button{color:#fff;cursor:pointer;background:#d26328;border:0;border-radius:999px;min-width:180px;padding:14px 28px;transition:transform .15s,box-shadow .15s;box-shadow:0 4px #a94919}.draw-panel>button:hover{transform:translateY(-2px);box-shadow:0 6px #a94919}.draw-panel>button:active{transform:translateY(2px);box-shadow:0 2px #a94919}.result-text{margin:24px 0 0;font-size:1rem}.result-text strong{letter-spacing:.08em;margin-top:8px;font-size:1.3rem;display:block}.result-text.is-idle{color:#607287;font-weight:700}.analysis-panel{gap:18px;display:grid}.analysis-filters{background:#f8fbfd;border:1px solid #dbe8ee;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.filter-mode{background:#edf4f7;border:1px solid #d8e5eb;border-radius:999px;padding:4px;display:inline-flex}.filter-mode button{color:#395067;cursor:pointer;background:0 0;border:0;border-radius:999px;min-width:92px;padding:8px 14px}.filter-mode button.active{color:#fff;background:#17344f}.filter-field,.range-fields{align-items:center;gap:8px;display:flex}.filter-field span{color:#607287;white-space:nowrap;font-size:.85rem;font-weight:700}.filter-field input,.filter-field select{color:#172033;background:#fff;border:1px solid #cbdce4;border-radius:8px;min-width:118px;height:38px;padding:0 10px}.summary-count{color:#17344f;background:#e6f1f6;border-radius:999px;padding:10px 14px;font-weight:700}.metric-grid,.analysis-grid{gap:14px;display:grid}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card,.analysis-card{text-align:left;background:#f8fbfd;border:1px solid #dbe8ee;border-radius:8px}.metric-card{padding:16px}.metric-card span,.metric-card p,.card-heading span,.history-row span{color:#607287;font-size:.85rem}.metric-card strong{color:#172033;margin:4px 0;font-size:1.25rem;display:block}.metric-card p{margin:0}.analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-card{padding:16px}.analysis-card.wide{grid-column:1/-1}.card-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.chart-scroll{width:100%;padding-bottom:4px;overflow-x:visible}.frequency-stats,.distribution-stats{flex-wrap:wrap;gap:10px;margin-bottom:10px;display:flex}.frequency-stats span,.distribution-stats span{color:#607287;background:#fff;border:1px solid #e3edf2;border-radius:8px;align-items:baseline;gap:6px;padding:7px 10px;font-size:.85rem;display:inline-flex}.frequency-stats strong,.distribution-stats strong{color:#172033;font-size:1rem}.rate-chart{background:#fff;border:1px solid #e3edf2;border-radius:8px;grid-template-columns:repeat(43,minmax(0,1fr));align-items:end;gap:3px;min-height:108px;margin-bottom:10px;padding:10px 8px 6px;display:grid}.rate-column{grid-template-rows:1fr auto;gap:4px;min-width:0;height:92px;display:grid}.rate-bar-area{background:linear-gradient(0deg,#e2edf2b3 1px,#0000 1px) 0 0/100% 25%;border-bottom:1px solid #cbdce4;justify-content:center;align-items:end;min-height:70px;display:flex}.rate-bar{background:linear-gradient(#ffc94d,#d26328);border:1px solid #c8761c;border-bottom:0;border-radius:6px 6px 0 0;width:min(100%,14px);min-height:3px;display:block}.rate-number{color:#607287;text-align:center;font-size:clamp(.38rem,.7vw,.56rem);font-weight:700}.frequency-grid{grid-template-columns:repeat(43,minmax(0,1fr));gap:3px;display:grid}.frequency-cell{color:#17344f;background:linear-gradient(to top, rgb(255 201 77/calc(.08 + var(--intensity) * .72)), #fff 72%);min-width:0;min-height:48px;box-shadow:inset 0 -5px 0 rgb(255 201 77/calc(.12 + var(--intensity) * .32)), 0 2px 0 #0b1d2b1a;border:2px solid #ffc94d;border-radius:8px;place-items:center;padding:5px 1px;display:grid}.frequency-cell span{font-size:clamp(.42rem,.78vw,.62rem);font-weight:700}.frequency-cell strong{font-size:clamp(.54rem,.95vw,.88rem)}.occurrence-grid{grid-template-columns:minmax(58px,.9fr) repeat(43,minmax(0,1fr)) minmax(52px,.8fr) minmax(28px,.45fr);gap:2px;display:grid}.occurrence-row{display:contents}.occurrence-corner,.occurrence-header,.occurrence-round,.occurrence-cell{border-radius:4px}.occurrence-corner,.occurrence-header{color:#607287;place-items:center;min-height:22px;font-size:clamp(.42rem,.75vw,.64rem);font-weight:700;display:grid}.occurrence-round{color:#17344f;white-space:nowrap;background:#fff;border:1px solid #e3edf2;align-items:center;min-width:0;min-height:22px;padding:0 4px;font-size:clamp(.5rem,.9vw,.72rem);font-weight:700;display:flex}.occurrence-bias{color:#17344f;background:#fff;border:1px solid #e3edf2;border-radius:4px;place-items:center;min-width:0;min-height:22px;padding:2px 3px;display:grid;position:relative;overflow:hidden}.occurrence-bias-gauge{border-radius:inherit;background:linear-gradient(90deg,#d2632857,#d2632824);position:absolute;inset:0 auto 0 0}.occurrence-bias strong{z-index:1;font-size:clamp(.5rem,.85vw,.72rem);line-height:1;position:relative}.occurrence-bias-icon{color:#fff;border-radius:999px;place-items:center;min-width:0;min-height:22px;font-size:clamp(.56rem,.9vw,.75rem);font-weight:800;display:grid}.occurrence-bias-icon.even{background:#17344f}.occurrence-bias-icon.biased{background:#d26328}.occurrence-cell{background:#edf4f7;border:1px solid #dbe8ee;min-width:0;min-height:22px}.occurrence-cell.hit{background:#ffcf5d;border-width:2px;border-color:#d79c16;box-shadow:inset 0 -5px #be7e003d,inset 0 1px #ffffff8a}.occurrence-cell.bonus{border-width:2px;border-color:#17344f}.occurrence-cell.hit.bonus{background:linear-gradient(135deg,#ffcf5d 0 46%,#17344f 46% 56%,#ffcf5d 56% 100%);box-shadow:inset 0 -5px #be7e003d,inset 0 1px #ffffff8a}.grid-legend{color:#607287;flex-wrap:wrap;gap:14px;margin-top:10px;font-size:.85rem;display:flex}.grid-legend span{align-items:center;gap:6px;display:inline-flex}.grid-legend i{border-radius:4px;width:16px;height:16px;display:inline-block}.legend-hit{background:#ffcf5d;border:2px solid #d79c16;box-shadow:inset 0 -5px #be7e003d,inset 0 1px #ffffff8a}.legend-bonus{background:#edf4f7;border:2px solid #17344f}.rank-list,.bonus-list,.history-table,.ease-ranking{gap:10px;display:grid}.rank-row{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;display:grid}.bar-track{background:#e2edf2;border-radius:999px;height:10px;overflow:hidden}.bar-track span{border-radius:inherit;background:#d26328;height:100%;display:block}.ease-row{background:#fff;border:1px solid #e3edf2;border-radius:8px;grid-template-columns:54px 1fr 180px;align-items:center;gap:12px;padding:12px;display:grid}.ease-rank{color:#fff;background:#17344f;border-radius:999px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.ease-main{gap:8px;min-width:0;display:grid}.ease-title{align-items:baseline;gap:8px;display:flex}.ease-title strong{color:#172033}.ease-title span,.ease-score span{color:#607287;font-size:.85rem}.ease-numbers{flex-wrap:wrap;gap:6px;display:flex}.ease-score{text-align:right;gap:4px;display:grid}.ease-score strong{color:#172033;font-size:.95rem}.ease-bar-track{background:#e2edf2;border-radius:999px;height:8px;overflow:hidden}.ease-bar-track span{border-radius:inherit;background:linear-gradient(90deg,#ffc94d,#d26328);height:100%;display:block}.number-pill,.bonus-pill{color:#172033;background:#fff;border:2px solid #ffc94d;border-radius:999px;justify-content:center;align-items:center;min-width:34px;height:34px;padding:0 9px;font-weight:800;display:inline-flex}.bonus-pill{color:#fff;background:#111;border-color:#111;min-width:56px}.bonus-list{grid-template-columns:repeat(3,minmax(0,1fr))}.bonus-row{background:#fff;border:1px solid #e3edf2;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:8px;display:flex}.trend-chart{gap:8px;display:grid}.trend-chart svg{background:#fff;border:1px solid #e3edf2;border-radius:8px;width:100%;height:auto;overflow:visible}.trend-chart circle{fill:#d26328;stroke:#fff;stroke-width:3px}.trend-chart text{fill:#607287;font-size:11px;font-weight:700}.trend-line{fill:none;stroke:#d26328;stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.trend-scale{color:#607287;justify-content:space-between;font-size:.85rem;display:flex}.history-row{cursor:pointer;background:#fff;border:1px solid #e3edf2;border-radius:8px;gap:10px;padding:12px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.history-row:hover,.history-row:focus-visible,.history-row.is-open{border-color:#c9dce7;box-shadow:0 10px 24px #1f384f14}.history-row:focus-visible{outline-offset:2px;outline:3px solid #d263283d}.history-summary{grid-template-columns:120px 1fr 150px 54px;align-items:center;gap:14px;display:grid}.history-summary>div:first-child,.history-prize{gap:2px;display:grid}.history-numbers{flex-wrap:wrap;gap:6px;display:flex}.history-prize{text-align:right}.history-prize strong{color:#172033}.history-toggle{color:#607287;background:#f0f5f8;border-radius:999px;justify-self:end;place-items:center;min-width:30px;min-height:26px;padding:5px 9px;font-size:.75rem;font-weight:800;display:inline-grid}.history-row.is-open .history-toggle{color:#fff;background:#172033;width:26px;padding:0;font-size:.95rem;line-height:1}.history-detail{border-top:1px solid #edf3f6;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding-top:10px;display:grid}.history-detail-row{background:#f7fafc;border-radius:8px;gap:4px;min-width:0;padding:9px;display:grid}.history-detail-row span,.history-detail-row em{color:#607287;font-size:.75rem;font-style:normal}.history-detail-row strong{color:#172033;font-size:.92rem}.history-detail-summary{background:#fff8f4;border:1px solid #f2d4c2;border-radius:8px;grid-column:1/-1;grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:8px 12px;padding:10px 12px;display:grid}.history-detail-summary span{color:#607287;font-size:.78rem;font-weight:700}.history-detail-summary strong{color:#172033;font-size:.92rem}@media (width<=820px){.app{padding:12px}.card{padding:18px}.title-row,.analysis-header{flex-direction:column;align-items:stretch}.mode-switch{width:100%}.mode-switch button{flex:1}.draw-controls{flex-direction:column;align-items:stretch}.draw-game-switch,.draw-animation-switch{width:100%}.draw-game-switch button,.draw-animation-switch button{flex:1}.metric-grid,.analysis-grid,.bonus-list{grid-template-columns:1fr}.analysis-filters,.range-fields{flex-direction:column;align-items:stretch}.filter-mode,.filter-mode button,.filter-field,.filter-field input,.filter-field select{width:100%}.history-summary{grid-template-columns:1fr}.history-toggle{justify-self:start}.history-detail{grid-template-columns:repeat(2,minmax(0,1fr))}.history-detail-summary,.ease-row{grid-template-columns:1fr}.ease-score,.history-prize{text-align:left}}
