:root{--ink:#1c3879;--muted:#65738b;--paper:#ffffff;--line:#e0e6ef;--accent:#1c3879;--pale:#edf2f8;--white:#fff;--radius:18px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.topbar{max-width:1180px;margin:auto;padding:28px 42px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{color:var(--ink);text-decoration:none;font-family:Georgia,serif;font-size:25px;letter-spacing:.12em;display:flex;align-items:center;gap:16px}.brand span{font:10px/1.3 sans-serif;letter-spacing:.17em;border-left:1px solid #bdc8d9;padding-left:16px}.toplabel,.eyebrow{font-size:10px;font-weight:650;letter-spacing:.13em;line-height:1.5}.toplabel{color:var(--muted)}main{max-width:1100px;margin:auto;padding:45px 32px 60px}.intro{margin-bottom:34px}.intro .eyebrow{display:flex;align-items:center;gap:8px}.intro .eyebrow span{width:6px;height:6px;background:var(--accent);border-radius:50%}h1{font-size:40px;font-weight:650;letter-spacing:.045em;line-height:1.5;margin:12px 0 8px}h2{font-size:19px;letter-spacing:.025em;line-height:1.5;margin:4px 0}.introtext{font-size:14px;color:var(--muted);line-height:1.8;margin:0}.mobile{display:none}.tabs{display:flex;gap:6px;width:100%;border-bottom:1px solid var(--line);margin-bottom:26px}.tabs button{background:none;border:none;border-bottom:3px solid transparent;padding:14px 30px 18px;font-weight:700;font-size:17px;display:flex;align-items:center;gap:13px;min-height:55px}.tabs button span{color:var(--muted);font-size:9px;letter-spacing:.08em;font-weight:500}.tabs button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent)}.tabs button:hover{background:#f3f6fa}.workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px;align-items:start}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:15px}.eyebrow{color:var(--muted);margin:0 0 6px}.range{font:13px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted);background:var(--paper);padding:7px 9px;border-radius:6px}.muted{color:var(--muted);font-size:12px;line-height:1.8;margin:10px 0 0}.numbergrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:23px}.number{min-width:0;aspect-ratio:1;min-height:44px;border:1px solid var(--line);border-radius:11px;background:#fff;font:500 18px/1 ui-monospace,SFMono-Regular,Consolas,monospace;transition:background .12s,color .12s,border-color .12s;position:relative}.number:hover{border-color:var(--accent);background:#f3f6fa}.number[aria-pressed=true]{color:white;background:var(--ink);border-color:var(--ink)}.number[aria-pressed=true]:after{content:"";width:4px;height:4px;border-radius:50%;background:#b9cbea;position:absolute;bottom:6px;left:calc(50% - 2px)}.paste{border-top:1px solid var(--line);margin-top:24px;padding-top:16px;font-size:12px}.paste summary{color:var(--muted);cursor:pointer;min-height:30px;padding:5px 0}.paste label{display:block;color:var(--muted);margin-top:12px;line-height:1.7}.pasterow{display:flex;gap:8px;margin-top:8px}.pasterow input{width:100%;min-width:0;padding:12px;border:1px solid #b9c5d8;border-radius:8px;background:#fff;font-size:16px}.pasterow button,#retry{border:1px solid #b9c5d8;border-radius:8px;background:white;padding:10px 14px;white-space:nowrap}.selection{padding:28px}.count{font:13px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted)}.selected{display:flex;flex-wrap:wrap;gap:7px;align-content:center;min-height:105px;padding:14px 0}.selected .muted{margin:0}.ball{display:inline-flex;width:35px;height:35px;border-radius:50%;align-items:center;justify-content:center;background:var(--paper);font:500 14px ui-monospace,SFMono-Regular,Consolas,monospace;flex:none}.selected .ball{background:var(--ink);color:white;width:36px;height:36px}.mode{font-size:12px;line-height:1.9;margin:0;padding:14px 0;border-top:1px solid var(--line)}.message{font-size:12px;line-height:1.7;color:#a14225;margin:0 0 12px;min-height:20px}.primary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:10px;background:var(--accent);color:white;padding:17px 19px;font-size:14px;font-weight:650;min-height:54px}.primary span{font-size:22px;font-weight:400;line-height:1}.primary:hover{background:#152c61}.primary:disabled{background:#edf1f6;color:#8995a7}.clear{background:none;border:none;display:block;margin:10px auto 0;padding:12px;color:var(--muted);font-size:12px;min-height:44px}.archive{display:flex;gap:14px;margin:24px 8px 0;padding:0 0 20px;border-bottom:1px solid var(--line)}.archiveicon{font-size:25px;color:var(--accent)}.coverage{font-size:14px;font-weight:600;margin:4px 0;line-height:1.7}.archive .muted{font-size:11px;margin:0}.smallnote{font-size:11px;color:var(--muted);line-height:1.9;margin:17px 8px}.welcome{margin-top:32px;padding:26px 30px;border:1px solid var(--line);border-radius:var(--radius);display:grid;grid-template-columns:1fr auto;gap:8px 20px;align-items:center}.welcome .eyebrow{grid-column:1/-1}.welcome p:not(.eyebrow){font-size:12px;line-height:1.9;color:var(--muted);margin:0}.welcome strong{color:var(--ink);font-size:14px;font-weight:550}.welcome button{border:0;background:var(--pale);border-radius:8px;padding:14px 17px;font-size:12px;min-height:44px}.welcome button span{margin-left:15px}.results{margin-top:40px;scroll-margin-top:20px}.resulthead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.resulthead h2{font-size:26px}.resultcount{font:500 28px ui-monospace,SFMono-Regular,Consolas,monospace}.resultcount small{font:12px sans-serif;margin-left:6px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.resultcard{border:1px solid var(--line);background:white;border-radius:13px;padding:21px}.cardmeta{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:17px}.cardmeta strong{font-weight:650}.cardmeta time{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted)}.cardnumbers{display:flex;gap:6px;flex-wrap:wrap}.ball.hit{background:var(--ink);color:white}.cardbottom{margin-top:17px;padding-top:12px;border-top:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between;gap:9px;color:var(--muted);font-size:10px}.bonus{display:flex;align-items:center;gap:6px}.bonus .ball{width:25px;height:25px;font-size:11px;border:1px solid var(--line);background:white}.empty{grid-column:1/-1;text-align:center;padding:45px 22px;background:white;border:1px solid var(--line);border-radius:14px}.empty h3{font-size:17px;font-weight:600}.empty p{font-size:12px;line-height:1.9;color:var(--muted)}.more{display:block;border:1px solid #bdc8d9;background:white;border-radius:9px;padding:14px 35px;margin:22px auto 0;font-size:13px;min-height:46px}footer{max-width:1100px;margin:auto;border-top:1px solid var(--line);padding:27px 32px 35px;display:flex;justify-content:space-between;gap:20px;align-items:start}footer p{font-size:10px;color:var(--muted);line-height:1.9;margin:5px 0}.footerbrand{font-size:19px}.sources{text-align:right}footer a{color:inherit;text-underline-offset:3px}@media(max-width:1000px){.numbergrid{grid-template-columns:repeat(6,minmax(0,1fr))}.tabs button{padding-inline:23px}}@media(max-width:760px){.topbar{padding:20px 22px}.brand{font-size:22px}.toplabel{font-size:8px}main{padding:30px 20px 40px}.intro{margin-bottom:25px}h1{font-size:31px;letter-spacing:.03em;margin-top:12px}.introtext{font-size:12px}.tabs{gap:0;margin-bottom:18px}.tabs button{justify-content:center;flex:1;padding:14px 4px;font-size:16px;gap:0}.tabs button span{display:none}.workspace{display:flex;flex-direction:column;gap:16px}.picker,.side{width:100%}.panel{padding:22px}.numbergrid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:20px}.number{font-size:19px;aspect-ratio:1.05}.selection{padding:22px}.selected{min-height:80px}.selection .sectionhead h2{font-size:17px}.mode{padding:12px 0}.message{margin-bottom:7px;min-height:0}.message:empty{display:none}.primary{margin-top:9px}.clear{margin-top:3px}.archive{margin-top:20px}.smallnote{margin-bottom:0}.welcome{margin-top:25px;padding:23px;display:block}.welcome .eyebrow{margin-bottom:11px}.welcome button{margin-top:15px}.cards{grid-template-columns:1fr}.results{margin-top:30px}.resulthead h2{font-size:23px}.resultcount{font-size:25px}footer{padding:24px 22px;display:block}.sources{text-align:left;margin-top:15px}.mobile{display:none}}@media(max-width:359px){main{padding-inline:14px}.topbar{padding-inline:17px}.panel{padding:18px}.numbergrid{grid-template-columns:repeat(5,minmax(0,1fr))}.number{min-height:44px}.mobile{display:initial}h1{font-size:30px}.toplabel{display:none}.ball{width:33px;height:33px}.cardnumbers{gap:5px}.resultcard{padding:18px}.selected .ball{width:33px;height:33px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(min-width:360px) and (max-width:389px){.numbergrid{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* ISOJIM: Cormorant Garamond Medium outlines, tracking .13em. */
.isojim-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;color:#1C3879}.isojim-logo{display:block;width:108px;height:auto}.isojim-link-small .isojim-logo{width:74px}.toplabel{display:flex;align-items:center;gap:7px}.isojim-link:hover{opacity:.75}.isojim-link:focus-visible{outline:2px solid #1C3879;outline-offset:4px;border-radius:3px}

.range,.ball{background:#f3f6fa}.welcome{background:#f8fafd}

/* A little play, with no delay added to selection or search. */
.selected .ball{box-shadow:inset -3px -4px 0 #00000014;position:relative}
.selected .ball:before{content:"";position:absolute;width:7px;height:4px;border-radius:50%;background:#ffffff50;top:6px;left:8px;transform:rotate(-30deg)}
.ball-enter{animation:ball-settle .32s cubic-bezier(.2,.7,.3,1) both}
@keyframes ball-settle{0%{opacity:0;transform:translateY(-13px) rotate(-16deg) scale(.8)}65%{opacity:1;transform:translateY(3px) rotate(4deg) scale(1.05)}100%{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
.result-enter{animation:result-reveal .22s ease-out both}
@keyframes result-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.discovery{display:flex;gap:14px;align-items:center;margin:0 0 20px;padding:18px 21px;border-radius:12px;background:#f3f6fb;border:1px solid #e0e6ef}
.discovery-mark{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:50%;background:white;color:#1c3879;font-size:24px}
.discovery .eyebrow{font-size:10px;color:#65738b;margin:0 0 5px}
.discovery p:last-child{font-size:13px;line-height:1.9;margin:0;color:#1c3879}
@media(max-width:760px){.discovery{align-items:flex-start;padding:17px;gap:11px}.discovery p:last-child{font-size:12px}}
@media(prefers-reduced-motion:reduce){.ball-enter,.result-enter{animation:none!important}}
