*{box-sizing:border-box}body{margin:0;color:#111;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,"Noto Sans",sans-serif;line-height:1.5;font-size:16px}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ef4444}h1,h2,h3,p{margin:0}h1,h2{font-size:30px;font-weight:400;line-height:36px}h3{font-size:24px;font-weight:400;line-height:32px}img{display:block;max-width:100%;height:auto}header{border-bottom:2px solid #fde047;background:#fff;position:relative;z-index:20}.header-inner{max-width:950px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{width:295px;padding:24px 0;box-sizing:content-box}nav{display:flex;align-items:center}.nav-item{position:relative}.nav-button{border:0;background:none;padding:0 24px;color:inherit;display:block;text-align:center;white-space:nowrap}.nav-button svg{width:24px;height:24px;display:block;margin:auto;fill:currentColor}.nav-button span{display:block;margin-top:8px;font-size:14px}.nav-button:hover,.nav-button.active{color:#f87171}.dropdown{position:absolute;top:100%;left:0;min-width:160px;background:white;box-shadow:0 5px 12px #0002;padding:12px 0;list-style:none;margin:12px 0 0;border-top:2px solid #f87171}.dropdown a{display:block;padding:8px 16px;font-size:14px;white-space:nowrap}.dropdown a:hover{background:#fef2f2;color:#ef4444}.dropdown[hidden]{display:none}.menu-toggle{display:none}.page{display:flex;justify-content:center;padding:0 16px}.sidebar{width:250px;flex:none;padding-top:24px}.sidebar a{display:block;margin-bottom:16px}.sidebar .selected{padding-left:8px;border-left:4px solid #ef4444;color:#f87171}.content{max-width:700px;flex:1;min-width:0}.banner{padding:24px 0}.banner img{width:100%}.title-row{display:flex;align-items:center;justify-content:space-between}.title-row h1{width:100%}.select-wrap{width:240px;flex-shrink:1;position:relative}.game-select{display:flex;border:1px solid #ccc;border-radius:4px;align-items:center;height:34px}.game-select input{width:100%;border:0;background:transparent;min-width:0;padding:3px 9px;color:#555;outline:none}.chevron{border:solid #999;border-width:0 4px 4px 0;transform:rotate(45deg);width:11px;height:11px;margin:0 9px 6px;flex:none}.select-options{position:absolute;top:100%;left:0;right:0;z-index:5;background:#fff;border:1px solid #ccc;box-shadow:0 3px 6px #0002;padding:4px 0;margin:0;list-style:none}.select-options[hidden]{display:none}.select-options li{padding:3px 20px;cursor:pointer}.select-options li:hover,.select-options li.focused{background:#5897fb;color:white}.game-intro{display:flex;padding-top:24px}.game-art{width:25%;flex:none;display:flex;justify-content:center;align-items:flex-start;padding:32px 0 16px}.game-art img{width:90px}.game-copy{flex:1}.game-copy p{margin-top:16px}.notice{padding:24px 0 56px}.notice h2{border-top:1px solid #e5e7eb;padding:16px 0}.notice p{color:#ef4444}.credit{max-width:920px;padding:24px 16px 0;margin:auto}.credit h2{border-bottom:2px solid #fde047;padding-bottom:12px}.partners{display:flex;align-items:center;padding:24px 0 40px}.partners img{width:20%}footer{background:#f3f4f6;text-align:center;font-size:14px;padding:24px 16px}.article{padding-top:24px;padding-bottom:56px}.article h1{padding-bottom:24px;border-bottom:1px solid #eee;margin-bottom:16px}.article p{margin:16px 0}.article .emphasis{font-size:14px;font-weight:600;color:#f87171}.article ul{padding-left:16px;line-height:2}.article li{margin:20px 0}.wide{max-width:950px;padding:24px 0;margin:auto}.result-summary{display:flex;justify-content:space-around;align-items:center;margin-bottom:32px}.result-game{display:flex;gap:36px;align-items:center}.result-game img{width:90px}.issue{font-size:24px;color:#f87171}.date-label{font-size:12px}.timer{text-align:center}.digits{display:flex;gap:10px;justify-content:center;margin-top:8px}.digits span{display:block;background:linear-gradient(#333 49%,#080808 50%);color:#fff;font-size:36px;line-height:46px;min-width:66px;border-radius:4px;font-weight:700}.table-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #fde047;margin-bottom:12px}.table-heading h1{font-weight:600}.table-heading input{border:1px solid #aaa;max-width:160px;padding:5px}.results{width:100%;border-collapse:collapse}.results th{font-size:30px;text-align:left;border-bottom:2px solid #fde047;padding-bottom:8px}.results td{padding:12px 8px;border-bottom:1px solid #eee}.results tr:nth-child(even){background:#fafafa}.results td:first-child{width:25%;white-space:nowrap}.number-line{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ball{border-radius:50%;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;background:#ef4444;color:white}.die{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:5px;color:#ef4444;font-size:24px;background:#fff}.tags{display:flex;gap:6px;margin-left:auto;font-size:14px}.tags span{padding:2px 8px;border-radius:4px;background:#eee;color:#666}.tags .on{background:#f87171;color:white}.pager{display:flex;justify-content:space-between;align-items:center;padding:20px 0}.pager button,.toolbar button{border:0;border-radius:5px;padding:6px 12px;background:#f3f4f6;min-height:36px}.pager button:disabled{opacity:.35;cursor:default}.snapshot{font-size:12px;color:#777;margin:12px 0}.empty{text-align:center;padding:60px 10px;color:#888}.toolbar{display:flex;gap:6px;margin:12px 0}.toolbar button:first-child{background:#ef4444;color:white}.toolbar button[aria-pressed=true]{background:#333;color:white}.hint{margin-left:auto;color:#9ca3af}.trend-scroll{overflow:auto;max-height:680px;position:relative}.trend-table{border-collapse:collapse;min-width:950px;font-size:12px;width:100%}.trend-table th,.trend-table td{border:1px solid #ddd;text-align:center;height:30px;padding:3px;white-space:nowrap}.trend-table th{font-weight:400;background:#f9fafb;position:sticky;top:0;z-index:2}.trend-table tr:nth-child(even){background:#f9fafb}.trend-dot{border-radius:50%;background:#ef4444;color:white;display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center}.no-lines .trend-dot{background:#555}.selected-cell{background:#fef2f2}.trend-title{margin-bottom:12px}
@media(max-width:1279px) and (min-width:1024px){.sidebar{width:134px}.brand{width:230px;padding-left:16px}.credit{max-width:670px}}
@media(max-width:1023px){body{padding-top:64px}header{position:fixed;top:0;width:100%;background:#fffffff0}.header-inner{justify-content:center;height:64px}.brand{width:200px;padding:12px 0}.menu-toggle{display:flex;position:absolute;right:16px;top:7px;width:50px;height:48px;flex-direction:column;justify-content:center;gap:6px;align-items:center;background:none;border:0}.menu-toggle span{height:3px;width:32px;background:#111}nav{display:none;position:absolute;top:100%;left:0;width:100%;background:linear-gradient(90deg,#dc2626,#ef4444);color:white;flex-direction:column}nav.open{display:flex}.nav-item{width:100%;border-bottom:1px solid #ffffff55}.nav-button{padding:16px;width:100%;display:flex;justify-content:center;align-items:center;gap:8px}.nav-button svg{margin:0}.nav-button span{margin:0}.nav-button:hover,.nav-button.active{color:#fff}.dropdown{position:static;margin:0;background:#fff1;box-shadow:none;border:0;display:flex;justify-content:center;flex-wrap:wrap;padding:0}.dropdown a{padding:12px}.sidebar{display:none}.page{justify-content:flex-start;flex-direction:column}.credit{max-width:550px}.wide{margin:0 16px}.hint{display:none}}
@media(max-width:767px){.title-row{display:block}.select-wrap{width:100%;padding-top:24px}.game-intro{display:block;padding-top:0}.game-art{width:100%}.game-copy{text-align:center}.game-copy p{margin-top:16px}.game-copy h3{margin-top:0}.result-summary{gap:20px;flex-direction:column}.results{font-size:13px}.results td{padding:10px 3px}.results td:first-child{width:31%}.tags{margin-left:0;gap:3px}.tags span{padding:1px 5px}.table-heading h1{font-size:24px}.table-heading input{width:140px}.digits span{font-size:28px;min-width:50px}.wide{padding-top:24px}.partners{padding-bottom:40px}.snapshot{line-height:1.6}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Match the source's narrow red scrollbar and intrinsic game artwork. */
::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:#b91c1c;border-radius:4px}::-webkit-scrollbar-track{background:#f3f4f6}.game-art img{width:auto;max-width:100%}.game-copy p{margin-bottom:16px}
.trend-connections{position:absolute;top:0;left:0;pointer-events:none;z-index:0}.trend-table{position:relative}.trend-dot{position:relative;z-index:1}.trend-table td{position:relative}.trend-table td:first-child{min-width:90px}.trend-table td:nth-child(2){min-width:40px}

.simulation-banner{text-align:center;padding:10px 16px;background:#fff7ed;border-bottom:1px solid #fed7aa;color:#9a3412;font-size:14px;font-weight:600}

.draw-origin{display:block;font-size:11px;color:#888;font-weight:400}

/* Dice faces matched to the source website. */
.dice{background:#fff;background:linear-gradient(180deg,#fff 0,#e8e8e8);border-radius:2px;box-shadow:0 0 3px rgba(0,0,0,.5);display:inline-block;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#fff",endColorstr="#e8e8e8",GradientType=0);height:36px;margin:0 10px 0 5px;position:relative;vertical-align:middle;width:36px}
.dice .dot{border-radius:50em;box-sizing:border-box;height:16%;position:absolute;width:16%}
.dice1 .dot1{background:#d00b17;bottom:0;left:0;margin:auto;right:0;top:0}
.dice2 .dot{background-color:#222122}
.dice2 .dot1{left:15%;top:15%}
.dice2 .dot2{bottom:15%;right:15%}
.dice3 .dot{background-color:#222122}
.dice3 .dot1{left:15%;top:15%;width:17%}
.dice3 .dot2{bottom:0;left:0;margin:auto;right:0;top:0}
.dice3 .dot3{bottom:15%;right:15%}
.dice4 .dot{background-color:#d00b17}
.dice4 .dot1{left:15%;top:15%}
.dice4 .dot2{right:15%;top:15%}
.dice4 .dot3{bottom:15%;left:15%}
.dice4 .dot4{bottom:15%;right:15%}
.dice5 .dot{background-color:#222122}
.dice5 .dot1{left:15%;top:15%}
.dice5 .dot2{right:15%;top:15%}
.dice5 .dot3{bottom:15%;left:15%}
.dice5 .dot4{bottom:15%;right:15%}
.dice5 .dot5{bottom:0;left:1px;margin:auto;right:0;top:0}
.dice6 .dot{background-color:#222122}
.dice6 .dot1{left:15%;top:15%}
.dice6 .dot2{right:15%;top:15%}
.dice6 .dot3{left:15%}
.dice6 .dot3,.dice6 .dot4{bottom:0;margin:auto;top:0}
.dice6 .dot4{right:15%}
.dice6 .dot5{bottom:15%;left:15%}
.dice6 .dot6{bottom:15%;right:15%}
.die.dice{border:0;font-size:0;line-height:0;flex:none;display:inline-block}.number-line .dice{margin:0 5px 0 0}@media(max-width:767px){.number-line .dice{width:30px;height:30px;margin-right:2px}}
