:root{color-scheme:light;--ink:#182435;--muted:#5a697c;--blue:#0064ca;--line:#dfe7ee;--paper:#fafcff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #005abb;outline-offset:5px}button,select{min-height:44px}.skip{position:absolute;top:-100px;left:16px;background:white;padding:12px;z-index:5}.skip:focus{top:8px}
.lab-shell{max-width:1120px;margin:auto;padding:0 32px}.lab-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 0;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:750;text-decoration:none;color:var(--ink);letter-spacing:-.5px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(145deg,#34c759,#007aff);color:#fff;font-size:18px;font-weight:800}.lab-nav nav{display:flex;gap:24px;font-size:14px}.lab-nav nav a{text-decoration:none}.lab-nav [aria-current]{color:var(--ink)}
.lab-hero{padding:76px 0 52px;max-width:850px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:750;color:var(--blue);margin:0 0 20px}h1{font-size:clamp(36px,5.2vw,64px);line-height:1.07;letter-spacing:-.045em;margin:0 0 24px;font-weight:800;text-wrap:balance}.lead{font-size:clamp(19px,2vw,23px);line-height:1.55;max-width:700px;color:#46576b;margin:0}.meta{font-size:13px;color:var(--muted);margin-top:25px;line-height:1.6}.meta a{color:inherit}.lab-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:0 0 56px}.story{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden;text-decoration:none;color:var(--ink);transition:transform .18s,border-color .18s}.story:hover{transform:translateY(-3px);border-color:#92b4d8}.story-art{height:170px;display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(120deg,#e6f4ef,#e8f1ff);padding:24px;overflow:hidden}.story-art span{display:grid;place-items:center;font-weight:800;font-size:52px;width:82px;height:88px;border-radius:18px;background:#fff9;color:#17646b;font-variant-numeric:tabular-nums;letter-spacing:-2px}.story-art span:nth-child(2){transform:rotate(-8deg)}.story-art span:nth-child(3){transform:rotate(8deg)}.story-art.raffle{background:linear-gradient(120deg,#fff2de,#ffebeb)}.story-art.raffle span{color:#92542f}.story-art.sequence{background:linear-gradient(120deg,#eae8ff,#f3ebfa)}.story-art.sequence span{font-size:34px;color:#675294}.story-art.table{background:linear-gradient(120deg,#e5eff7,#e9f4f2);font:700 21px/1.8 ui-monospace,monospace;letter-spacing:.25em;color:#386575}.story-text{padding:26px 28px 30px}.story-text .eyebrow{margin-bottom:12px}.story h2{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin:0 0 12px;text-wrap:balance}.story p{margin:0;color:var(--muted);line-height:1.6}.story .read{display:block;margin-top:20px;color:var(--blue);font-size:14px;font-weight:650}.lab-note{border-top:1px solid var(--line);padding:30px 0 45px;max-width:750px;line-height:1.7;color:var(--muted)}.lab-note h2{font-size:22px;color:var(--ink);margin:0 0 8px}.lab-note p{margin:0}
.article{max-width:800px;margin:auto}.article .lab-hero{padding:56px 0 34px}.breadcrumbs{font-size:13px;display:flex;gap:8px;flex-wrap:wrap;margin-top:32px;color:var(--muted)}.prose{max-width:680px;margin:40px auto 48px;font-size:18px;line-height:1.8}.prose h2{font-size:28px;letter-spacing:-.7px;line-height:1.25;margin:44px 0 16px;text-wrap:balance}.prose h3{font-size:20px;line-height:1.4}.prose p{margin:0 0 20px}.prose ul,.prose ol{padding-left:24px}.prose li{margin:10px 0}.prose code{font-size:.9em;overflow-wrap:anywhere}.prose .formula{background:#edf3fa;border-radius:12px;padding:16px;font-variant-numeric:tabular-nums;line-height:1.7}.prose .sources{font-size:15px;border-top:1px solid var(--line);padding-top:18px}.sources h2{font-size:20px;margin-top:14px}.tool-link{padding:26px 28px;border:1px solid #cbdff1;background:#edf5fd;border-radius:20px;margin-top:32px}.tool-link h2{font-size:22px;margin:0 0 8px}.tool-link p{font-size:16px;line-height:1.6;margin:0 0 14px}.tool-link a{font-size:16px;font-weight:650}.related{border-top:1px solid var(--line);padding-top:28px;margin:46px 0}.related h2{font-size:20px}.related ul{padding-left:20px;line-height:1.8}.lab-footer{border-top:1px solid var(--line);padding:26px 0 38px;display:flex;flex-wrap:wrap;gap:12px 24px;color:var(--muted);font-size:13px;line-height:1.6}.lab-footer a{color:inherit}
.demo{background:#eef5fa;border:1px solid #d9e6ef;border-radius:24px;padding:30px;margin:0;box-shadow:0 12px 32px #153d6810}.demo h2{font-size:22px;letter-spacing:-.5px;margin:0 0 10px}.demo>p{font-size:15px;line-height:1.6;color:#46576b;margin:0 0 18px}.demo-controls{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:22px 0}.demo-controls label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:650}.demo select{border:1px solid #a9bdce;border-radius:10px;background:#fff;color:var(--ink);padding:9px 32px 9px 12px}.primary,.secondary{border-radius:12px;padding:11px 17px;border:1px solid transparent;font-size:14px;font-weight:650}.primary{background:#0064ca;color:white}.primary:hover{background:#0056ad}.secondary{background:#fff;color:var(--blue);border-color:#adc4da}.sample{margin:24px 0}.sample h3{font-size:13px;color:#435871;margin:0 0 12px;font-weight:700}.tokens{display:flex;gap:7px;flex-wrap:wrap;min-height:40px;align-items:center}.token{display:grid;place-items:center;background:#fff;border:1px solid #d5e2ec;border-radius:9px;min-width:36px;height:40px;padding:0 10px;font-variant-numeric:tabular-nums;font-weight:700;font-size:17px}.token.repeated{background:#ffedd7;border-color:#e8b277;color:#793f05}.token.current{background:#0064ca;color:#fff;border-color:#0064ca}.placeholder{font-size:14px;color:var(--muted)}.demo .status{font-size:15px;font-weight:600;line-height:1.6;margin:22px 0 8px;color:#294056;min-height:3.2em}.demo .fine{font-size:13px;color:#526378;line-height:1.65;margin-bottom:0}.demo .explanation{background:#fff;border-radius:12px;padding:16px}.sequence-row .token{min-width:25px;width:25px;height:34px;padding:0;font-size:13px}.digit-table{display:grid;grid-template-columns:repeat(10,1fr);gap:6px;margin:22px 0}.digit-table .token{font:600 17px ui-monospace,monospace;min-width:0;padding:0}.nojs{padding:12px;color:var(--muted);line-height:1.6}
@media(max-width:650px){.lab-shell{padding:0 22px}.lab-nav{padding:20px 0;gap:12px}.brand{font-size:18px}.lab-nav nav{gap:14px;font-size:13px}.lab-hero{padding:48px 0 32px}.lab-grid{grid-template-columns:1fr;gap:20px}.story-art{height:150px}.story-text{padding:24px}.article .lab-hero{padding:36px 0 26px}.demo{padding:22px 18px;border-radius:20px}.demo-controls{gap:10px}.prose{font-size:17px}.prose h2{font-size:25px}.digit-table{grid-template-columns:repeat(5,1fr)}.lab-footer{font-size:12px}.sequence-row .tokens{gap:5px}.sequence-row .token{width:23px;min-width:23px}.breadcrumbs{margin-top:24px}.story-art span{width:70px;height:76px;font-size:46px}}
@media(prefers-reduced-motion:reduce){.story{transition:none}.story:hover{transform:none}}

/* Lighter illustrated stories; interactions remain local and keyboard operable. */
body[data-theme]{--accent:#176858;--wash:#eff8f4;--accent-line:#b7d8cb;--soft:#dff1e9}
body[data-theme=raffle]{--accent:#985022;--wash:#fff7ed;--accent-line:#e4c5a5;--soft:#fae8d6}
body[data-theme=sequence]{--accent:#645199;--wash:#f5f2fc;--accent-line:#cfc4e6;--soft:#eae4f8}
body[data-theme=table]{--accent:#34657c;--wash:#f2f6f8;--accent-line:#bdd0da;--soft:#e3edf3}
.article{max-width:1000px}.article .article-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:48px;align-items:center;max-width:none;padding:46px 0 42px}.article-hero h1{font-size:clamp(35px,4.4vw,53px);line-height:1.06;margin-bottom:21px}.article-hero .lead{font-size:19px;line-height:1.6}.article-hero .eyebrow{color:var(--accent);font-size:11px;margin-bottom:16px}.article-hero .meta{font-size:12px;line-height:1.65;margin:23px 0 0}.jump-demo{display:inline-flex;align-items:center;gap:12px;margin-top:23px;color:var(--accent);text-decoration:none;font-size:14px;font-weight:700}.jump-demo span{width:27px;height:27px;border:1px solid var(--accent-line);border-radius:50%;display:grid;place-items:center;background:var(--wash)}
.article-art{position:relative;height:290px;background:radial-gradient(ellipse at 80% 0%,#ffffff8a,transparent 65%),var(--soft);border-radius:30px;isolation:isolate;overflow:hidden}.article-art::after{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#285e641d .85px,transparent .85px);background-size:17px 17px;mask-image:linear-gradient(140deg,transparent,#000)}.art-orbit{position:absolute;width:200px;height:200px;left:50%;top:42px;transform:translateX(-50%);border-radius:50%;border:1px solid #58948430;box-shadow:0 0 0 25px #5894840c}.art-number{position:absolute;display:grid;place-items:center;width:104px;height:139px;background:#fff;top:70px;border-radius:21px;font-weight:850;font-size:98px;box-shadow:0 15px 25px #135e5c1f;letter-spacing:-4px}.art-number.first{left:calc(50% - 101px);color:#287f67;transform:rotate(-15deg)}.art-number.second{left:calc(50% - 9px);color:#387bc1;transform:rotate(12deg)}.art-bubble{position:absolute;right:22px;top:32px;padding:9px 12px;border-radius:13px 13px 13px 2px;background:#ffdf8d;color:#73520a;font-size:13px;font-weight:700;transform:rotate(6deg)}.art-ticket{position:absolute;width:154px;height:164px;padding:23px 16px;border-radius:14px;background:#fff9eb;box-shadow:0 14px 25px #704f1d1a;top:60px;text-align:center;border:1px solid #edc99a}.art-ticket small{font-size:8px;font-weight:750;letter-spacing:.1em;display:block;border-bottom:1px dashed #c3a376;padding-bottom:14px;color:#77542e}.art-ticket b{font:800 52px/1.5 ui-monospace,monospace;color:#985022}.art-ticket.back{transform:rotate(-14deg);left:calc(50% - 125px);top:45px}.art-ticket.front{transform:rotate(11deg);left:calc(50% - 20px);top:81px}.art-seal{position:absolute;right:25px;top:38px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#d0ecdd;color:#286349;font-size:27px;box-shadow:0 4px 12px #45624415}.art-coins{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;width:206px;position:absolute;left:50%;top:41px;transform:translateX(-50%) rotate(-9deg)}.art-coins span{display:grid;place-items:center;width:61px;height:61px;border-radius:50%;background:#fff;color:#725da5;font-size:27px;font-weight:750;border:4px double #cebfeb;box-shadow:0 7px 13px #5a497117}.art-coins span:nth-child(4),.art-coins span:nth-child(5),.art-coins span:nth-child(7){background:#dacfec;color:#5a497a}.art-sequence .art-bubble{top:auto;bottom:17px;right:18px;background:#fff;color:#5f4c85}.art-book{position:absolute;left:calc(50% - 92px);top:34px;width:183px;height:228px;background:linear-gradient(to right,#284959 7px,#35637a 9px,#41758b 13px,#35637a 18px);border-radius:3px 10px 10px 3px;border-right:5px solid #fff7e8;box-shadow:7px 13px 23px #15384126;transform:rotate(-9deg);color:#fff7e7;display:flex;flex-direction:column;padding:30px 23px}.art-book small{font-size:7px;letter-spacing:.1em}.art-book b{font-size:27px;letter-spacing:-1px;margin:29px 0 5px}.art-book>span{font-size:10px;letter-spacing:.11em}.art-book em{margin-top:auto;font:italic 22px Georgia,serif}.art-paper{position:absolute;right:12px;top:72px;background:#fffdf8;color:#53717b;font:12px/2 ui-monospace,monospace;padding:20px 12px;height:157px;transform:rotate(13deg);border:1px solid #d7dfe1}
.prose{max-width:710px;font-size:18px;line-height:1.8;margin-top:42px}.prose .takeaway{font-size:clamp(25px,3vw,34px);font-weight:750;line-height:1.25;letter-spacing:-.8px;border-left:4px solid var(--accent-line);padding:7px 0 7px 24px;margin:45px 0 52px;color:var(--accent);text-wrap:balance}.story-section{margin:0 0 48px}.chapter{font-size:10px;line-height:1.6;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);display:block;margin-bottom:13px}.prose .story-section h2{font-size:30px;line-height:1.2;margin:0 0 21px;letter-spacing:-.8px}.prose p{margin-bottom:20px}.deep-dive{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:24px 0;font-size:15px}.deep-dive summary{cursor:pointer;font-weight:650;color:var(--accent)}.deep-dive p{margin:18px 0 5px}.visual-compare,.entry-example{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:28px 0}.visual-compare>div,.entry-example>div{background:var(--wash);border:1px solid var(--accent-line);border-radius:18px;padding:22px}.small-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;line-height:1.6;color:var(--accent)}.visual-compare strong{display:block;font-size:36px;line-height:1.3;font-weight:750;letter-spacing:-1.4px;margin:11px 0;color:var(--accent)}.visual-compare p{font-size:14px;line-height:1.6;margin:0}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin:26px 0}.choice-grid a{padding:20px 17px;border:1px solid var(--accent-line);border-radius:16px;text-decoration:none;background:var(--wash);color:var(--ink);line-height:1.5}.choice-grid a:hover{border-color:var(--accent)}.choice-grid strong{display:block;font-size:16px;margin-bottom:9px}.choice-grid span{display:block;font-size:14px;color:#506274}.example-tickets{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}.example-tickets span{padding:6px 10px;background:#fff;border:1px dashed #c9aa85;border-radius:6px;font-size:14px}.pool-steps{display:flex;align-items:center;justify-content:space-around;gap:12px;padding:25px 18px;border-radius:18px;background:var(--wash);margin:28px 0}.pool-steps>div{text-align:center}.pool-steps strong{display:block;font-size:46px;line-height:1.2;color:var(--accent);font-variant-numeric:tabular-nums}.pool-steps>span{color:var(--accent)}.pool-steps div span{display:block;font-size:12px;color:var(--muted)}.editorial-steps{list-style:none;counter-reset:step;padding:0!important}.editorial-steps li{position:relative;counter-increment:step;padding:0 0 20px 48px;margin:0}.editorial-steps li::before{content:counter(step);position:absolute;left:0;top:3px;border-radius:50%;width:30px;height:30px;background:var(--soft);color:var(--accent);font-size:14px;font-weight:700;display:grid;place-items:center}.streak-figure{display:flex;align-items:center;justify-content:space-around;gap:12px;background:var(--wash);padding:25px 15px;border-radius:18px;margin:28px 0}.streak-figure>div{text-align:center}.illustrated-coins{display:block;font:700 22px ui-monospace,monospace;letter-spacing:.08em;color:var(--accent);white-space:nowrap}.streak-figure strong{display:block;font-size:14px;margin-top:14px}.same-chance{font-size:11px;color:var(--muted)}.quiet-note{font-size:14px;color:var(--muted)}.history-strip{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:14px;padding:26px 18px;margin:28px 0;border-block:1px solid var(--accent-line);text-align:center}.history-strip strong{display:block;font-size:clamp(21px,3vw,32px);line-height:1.3;letter-spacing:-1px;color:var(--accent)}.history-strip span{display:block;font-size:11px;margin-top:7px}.mapping-figure{display:flex;align-items:center;justify-content:center;gap:35px;border-radius:18px;background:var(--wash);padding:23px;margin:28px 0}.mapping-figure>span{text-align:center}.mapping-figure small{display:block;font-size:12px}.mapping-figure strong{font:750 53px/1.3 ui-monospace,monospace;color:var(--accent)}.mapping-arrow{font-size:17px;color:var(--accent)}.tool-link{background:var(--wash);border-color:var(--accent-line);padding:28px}.tool-link a{color:var(--accent)}.prose .sources{padding:19px 0;margin:28px 0 0;border-block:1px solid var(--line)}.sources summary{cursor:pointer;font-size:14px;font-weight:600}.sources li{font-size:13px}.related{margin-top:55px;padding-top:34px}.related h2{font-size:29px;letter-spacing:-.8px;margin:0 0 24px}.related .eyebrow{font-size:10px;margin-bottom:12px;color:var(--accent)}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.related-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink);background:white}.related-card>span{display:block;font-size:17px;font-weight:700;line-height:1.4;padding:20px}.related-card>span>span{color:var(--accent);white-space:nowrap}.related-card .story-art{height:120px;gap:8px;padding:16px}.related-card .story-art span{font-size:35px;width:53px;height:61px;border-radius:12px}.related-card .story-art.table{font-size:14px}.related-card:hover{border-color:var(--accent-line)}
.demo{background:var(--wash);border:1px solid var(--accent-line);box-shadow:0 12px 35px #19344a08;padding:34px;border-radius:28px;scroll-margin-top:24px}.demo-heading{max-width:660px}.demo-kicker{display:block;text-transform:uppercase;letter-spacing:.11em;font-size:10px;font-weight:750;line-height:1.7;color:var(--accent);margin-bottom:13px}.demo .demo-heading h2{font-size:clamp(27px,3.4vw,35px);letter-spacing:-1px;line-height:1.12;margin:0 0 13px}.demo-heading p{font-size:16px;color:#506174;line-height:1.6;margin:0 0 22px}.demo .demo-controls{gap:14px;margin:24px 0}.demo .demo-controls label{font-size:12px;gap:7px}.demo select{border-color:var(--accent-line);font-size:14px;background:#ffffffbd;border-radius:11px;min-height:44px}.demo .primary{background:var(--accent);border:1px solid var(--accent);padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:13px;box-shadow:0 3px 5px #1824350c;min-height:46px}.demo .primary:hover{filter:brightness(.93)}.demo .secondary{border-color:var(--accent-line);color:var(--accent);background:#ffffff90;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:12px}.demo .status{font-size:14px;font-weight:600;line-height:1.6;color:#354c5c;min-height:3.2em;margin:18px 0 12px}.demo .demo-footnote{font-size:12px;line-height:1.7;color:#536676;margin-top:18px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.sample-comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sample-panel{padding:20px;background:#fff9;border:1px solid var(--accent-line);border-radius:19px;min-width:0}.sample-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.sample-heading h3{font-size:16px;margin:0;font-weight:750}.sample-badge{font-size:10px;line-height:1.5;padding:5px 8px;border-radius:20px;background:var(--soft);color:var(--accent);font-weight:650}.sample-panel>p{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 17px}.number-tray{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-content:start;min-height:98px}.number-tray .token{position:relative;width:100%;height:44px;min-width:0;font-size:20px;padding:0;border-radius:10px;border:1px solid #dce6e3;background:#fff;box-shadow:0 2px 4px #1f584809}.number-tray .token.empty{background:var(--wash);border-style:dashed;box-shadow:none;color:#73877d;font-size:16px}.number-tray .token.repeated{background:#fff0d9;border-color:#bf8845;color:#734814}.number-tray .token.repeated::after{content:'↻';position:absolute;right:2px;top:0;font-size:10px}.dealt .token{animation:deal-in .32s backwards;animation-delay:calc(var(--i,0)*25ms)}@keyframes deal-in{from{opacity:0;transform:translateY(8px) rotate(-5deg)}to{opacity:1;transform:none}}.probability-note{display:flex;align-items:center;gap:23px;border-top:1px solid var(--accent-line);padding:20px 0 0}.probability-note>strong{font-size:clamp(28px,4vw,42px);line-height:1;letter-spacing:-1.5px;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap}.probability-note>div>span{display:block;font-size:13px;line-height:1.6}.probability-note>div>.fine{font-size:11px;margin-top:4px;color:var(--muted)}
.raffle-machine{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin:25px 0 28px}.winner-ticket{text-align:center;position:relative;border:1px solid #e0bd90;border-radius:17px;background:#fffdf7;padding:24px;min-height:166px;box-shadow:0 7px 15px #805c280a;overflow:hidden}.winner-ticket::before,.winner-ticket::after{content:'';position:absolute;width:21px;height:21px;top:calc(50% - 10px);background:var(--wash);border:1px solid #e0bd90;border-radius:50%}.winner-ticket::before{left:-12px}.winner-ticket::after{right:-12px}.winner-ticket>strong{display:block;font-size:clamp(28px,4.3vw,47px);line-height:1.15;letter-spacing:-1px;color:#7c461f;margin:12px 0 10px;overflow-wrap:anywhere}.winner-ticket>span:last-child{font-size:12px;color:#6e6254;line-height:1.5}.winner-ticket.reveal{animation:ticket-in .32s ease-out}@keyframes ticket-in{from{transform:translateY(5px) scale(.98)}to{transform:none}}.raffle-actions{display:flex;flex-direction:column;gap:10px}.pool-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px}.pool-heading h3{font-size:14px;margin:0}.pool-heading>span{font-size:12px;color:#7a552d}.raffle-roster{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.roster-person{display:flex;align-items:center;gap:9px;padding:9px;background:#ffffffb3;border:1px solid #ead7bf;border-radius:12px;min-width:0;font-size:12px;color:#614a37;transition:background .2s}.roster-initial{width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#f8e7d0;font-size:12px;font-weight:700;color:#83541d}.roster-person.picked{background:#f6f1ea;border-style:dashed;color:#6c655b}.roster-person.picked>span:last-child{text-decoration:line-through}.roster-person.picked .roster-initial{background:#e8e3da;color:#5d655a}.pick-history{font-size:13px;border-top:1px solid var(--accent-line);padding-top:16px}.pick-history summary{cursor:pointer;font-weight:650;color:#754c28}.pick-history summary span{font-weight:400;margin-left:10px}.pick-history ol{columns:3;line-height:1.9;padding-left:25px;margin-bottom:0}.pick-history li{break-inside:avoid;padding-left:3px}
.coin-legend{display:flex;gap:18px;align-items:center;font-size:12px;color:#5d5474;margin:18px 0}.coin-legend>span{display:flex;align-items:center;gap:7px}.coin{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;font-size:13px;font-weight:700;font-style:normal;min-width:0;box-sizing:border-box;border:1px solid #cebfdf;background:white;color:#5c477c}.coin.tail{background:#e7ddf5;color:#5d487a}.coin-legend .coin{width:23px;font-size:10px}.sequence-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sequence-choice{appearance:none;text-align:left;border:1px solid var(--accent-line);border-radius:18px;padding:20px;min-width:0;background:#ffffffa8;color:var(--ink);transition:border-color .18s,box-shadow .18s}.sequence-choice:hover:not([aria-disabled=true]){border-color:var(--accent);box-shadow:0 5px 14px #4636720d}.sequence-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px;flex-wrap:wrap}.sequence-label strong{font-size:17px}.sequence-label>span{font-size:10px;color:var(--accent);font-weight:650}.coin-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.sequence-choice[aria-disabled=true]{cursor:default}.sequence-choice.revealed{border-color:#8a7aaa;background:#fefcff}.sequence-choice.chosen{box-shadow:0 0 0 2px #8a7aaa33}.coin.in-run{outline:2px solid #bf842e;outline-offset:1px}.sequence-feedback{min-height:72px}.sequence-feedback .status{min-height:0;margin-top:22px}.sequence-feedback .fine{margin-bottom:18px;color:#5c5470;font-size:13px;line-height:1.65}
.table-controls{align-items:center!important}.table-rule{font-size:13px;color:#4f6875;padding-top:21px}.table-workbench{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:18px;align-items:stretch}.paper-table{padding:20px;border:1px solid #dfdace;border-radius:5px 15px 15px 5px;background:#fffdf7;box-shadow:4px 5px 0 #e7e5db,0 10px 20px #364f5c08}.paper-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#6a6b60;border-bottom:1px solid #e5e1d6;padding-bottom:13px}.paper-table .digit-table{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin:18px 0 0}.digit-table .token{border-radius:5px;min-width:0;width:100%;height:36px;background:transparent;border:1px solid transparent;font:600 15px ui-monospace,monospace;color:#4e655f}.digit-table .token.next{outline:1px dashed #5f7d7e;outline-offset:-1px}.digit-table .token.read{background:#edf0e9;color:#65716a}.digit-table .token.current{background:#35677c;color:#fff;border-color:#35677c}.digit-table .token.skipped.current{background:#fff0d7;border-color:#b58538;color:#805912}.table-readout{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:20px 12px;border:1px solid var(--accent-line);border-radius:15px;background:#ffffffa6;text-align:center}.table-readout>strong{font:700 35px/1.2 ui-monospace,monospace;color:#35677c}.table-readout .small-label{font-size:9px}.conversion{font-size:12px;padding:5px 9px;background:var(--soft);border-radius:20px;color:var(--accent)}.table-readout.skipped .conversion{background:#ffedcf;color:#805912}.table-readout.skipped #table-entry{font-size:25px;color:#805912}.table-readout.reveal{animation:ticket-in .25s ease-out}
@media(max-width:800px){.article .article-hero{gap:25px;grid-template-columns:minmax(0,1.4fr) minmax(210px,1fr)}.article-hero h1{font-size:39px}.article-art{height:255px}.art-number{width:91px;height:123px;font-size:83px}.art-number.first{left:calc(50% - 90px)}.art-number.second{left:calc(50% - 10px)}.art-coins{width:176px;gap:8px;top:34px}.art-coins span{width:53px;height:53px;font-size:23px}.art-book{transform:rotate(-7deg) scale(.85);transform-origin:center top;top:29px}.art-ticket{transform:scale(.85)}.art-ticket.back{transform:rotate(-14deg) scale(.85);left:calc(50% - 115px);top:35px}.art-ticket.front{transform:rotate(11deg) scale(.85);left:calc(50% - 36px);top:70px}.demo{padding:25px}.sample-panel{padding:16px}.number-tray{gap:6px}.raffle-roster{grid-template-columns:repeat(3,minmax(0,1fr))}.sequence-choice{padding:16px}.sequence-choices{grid-template-columns:1fr}.coin-grid{gap:8px;max-width:440px}.coin-grid .coin{font-size:15px}.related-grid{gap:12px}.related-card>span{font-size:15px;padding:16px}.related-card .story-art{height:100px;padding:12px}.related-card .story-art span{font-size:26px;width:38px;height:46px}}
@media(max-width:600px){.article .article-hero{display:flex;flex-direction:column-reverse;gap:27px;padding:24px 0 30px}.article-art{width:100%;height:186px;border-radius:22px}.article-hero h1{font-size:37px;line-height:1.08}.article-hero .lead{font-size:17px}.article-hero .meta{font-size:11px;margin-top:20px}.article-art .art-number{top:30px;width:84px;height:112px;font-size:76px;border-radius:17px}.art-number.first{left:calc(50% - 83px)}.art-number.second{left:calc(50% - 9px)}.art-orbit{top:7px;width:167px;height:167px}.art-bubble{top:18px;right:calc(50% - 126px);font-size:11px}.art-ticket.back{top:0;left:calc(50% - 121px);transform:rotate(-14deg) scale(.7)}.art-ticket.front{top:20px;left:calc(50% - 46px);transform:rotate(11deg) scale(.7)}.art-seal{top:20px;right:calc(50% - 124px);width:34px;height:34px;font-size:21px}.art-coins{top:21px;grid-template-columns:repeat(3,1fr);width:147px;gap:6px;transform:translateX(-50%) rotate(-10deg)}.art-coins span{width:45px;height:45px;font-size:20px}.art-sequence .art-bubble{bottom:14px;right:22px}.art-book{top:14px;transform:rotate(-9deg) scale(.67);transform-origin:top center;left:calc(50% - 92px)}.art-paper{right:calc(50% - 117px);top:34px;height:122px;transform:rotate(13deg) scale(.85);font-size:11px;padding:10px}.demo{padding:23px 18px;border-radius:22px}.demo .demo-heading h2{font-size:29px}.demo-heading p{font-size:15px}.demo .demo-controls{gap:12px;margin:22px 0}.demo .demo-controls label{font-size:11px}.demo .primary{font-size:13px;padding:11px 15px}.demo .secondary{font-size:13px;padding:10px 13px}.sample-comparison{grid-template-columns:1fr;gap:12px}.sample-panel{padding:17px}.sample-panel>p{margin:9px 0 13px}.number-tray{min-height:94px;gap:7px}.number-tray .token{font-size:21px}.probability-note{display:block}.probability-note>strong{display:block;margin-bottom:12px;font-size:36px;letter-spacing:-1px}.probability-note>div>span{font-size:12px}.probability-note>div>.fine{font-size:11px}.raffle-machine{grid-template-columns:1fr;gap:16px}.raffle-actions{flex-direction:row;flex-wrap:wrap}.winner-ticket{padding:24px 20px;min-height:161px}.winner-ticket>strong{font-size:34px}.raffle-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.roster-person{font-size:11px;gap:7px;padding:8px}.roster-initial{width:23px;height:23px;font-size:10px}.pick-history ol{columns:2}.sequence-choice{padding:17px 13px}.sequence-label{margin-bottom:15px}.coin-grid{gap:4px}.coin-grid .coin{font-size:11px}.sequence-choices{gap:12px}.sequence-feedback{min-height:76px}.table-workbench{grid-template-columns:1fr;gap:16px}.paper-table{padding:15px 12px}.paper-table .digit-table{gap:4px;grid-template-columns:repeat(10,minmax(0,1fr))}.digit-table .token{font-size:12px;height:30px}.table-readout{display:grid;grid-template-columns:1fr auto 1fr;gap:7px 10px;padding:17px}.table-readout>span:first-child{grid-row:1;grid-column:1}.table-readout #table-entry-label{grid-row:1;grid-column:3}.table-readout #table-pair{grid-row:2;grid-column:1}.table-readout #table-entry{grid-row:2;grid-column:3}.table-readout .conversion{grid-column:2;grid-row:1 / span 2}.table-readout .small-label{font-size:8px}.table-readout>strong{font-size:30px}.table-rule{font-size:11px;padding-top:20px}.prose{font-size:17px;margin-top:35px}.prose .takeaway{font-size:27px;padding-left:18px;margin:37px 0 42px}.prose .story-section h2{font-size:27px;line-height:1.2}.story-section{margin-bottom:40px}.chapter{font-size:9px;letter-spacing:.08em}.visual-compare{gap:10px}.visual-compare>div{padding:17px 14px}.small-label{font-size:9px}.visual-compare strong{font-size:29px}.visual-compare p{font-size:12px}.choice-grid{grid-template-columns:1fr;gap:10px}.choice-grid a{padding:17px 19px}.choice-grid strong{margin-bottom:5px}.entry-example{grid-template-columns:1fr;gap:12px}.entry-example>div{padding:18px}.pool-steps{padding:20px 12px;gap:9px}.pool-steps strong{font-size:34px}.pool-steps div span{font-size:10px}.streak-figure{flex-wrap:wrap;gap:18px;padding:22px 15px}.same-chance{order:3;width:100%;text-align:center}.illustrated-coins{font-size:17px}.streak-figure strong{font-size:12px;margin-top:10px}.history-strip{gap:6px;padding:20px 0}.history-strip strong{font-size:20px;letter-spacing:-.5px}.history-strip span{font-size:9px;line-height:1.5}.mapping-figure{gap:20px;padding:20px 12px}.mapping-figure strong{font-size:41px}.mapping-figure small{font-size:10px}.mapping-arrow{font-size:14px}.related-grid{grid-template-columns:1fr}.related-card{display:grid;grid-template-columns:105px 1fr;align-items:center}.related-card .story-art{height:100%;min-height:115px;padding:10px;gap:3px}.related-card .story-art span{min-width:25px;font-size:22px;width:28px;height:40px;border-radius:7px}.related-card .story-art.table{font-size:8px;letter-spacing:.1em}.related-card>span{font-size:17px;padding:18px}.lab-nav nav{font-size:12px;gap:12px}.tool-link{padding:23px}}
@media(prefers-reduced-motion:reduce){.dealt .token,.winner-ticket.reveal,.table-readout.reveal{animation:none}.roster-person,.sequence-choice{transition:none}}
