:root{color-scheme:light;--page:#f5f7f8;--surface:#fcfdfd;--ink:#1c2c36;--muted:#506675;--line:#d4dfe4;--accent:#25658c;--green:#24745f;--red:#ba454d;--wash:#e7f0f3;--grid:#c5d6dd;--purple:#8064a0;--ochre:#947027}
:root[data-theme=dark]{color-scheme:dark;--page:#111b23;--surface:#17252e;--ink:#e3ebee;--muted:#abc0cc;--line:#344955;--accent:#80bde0;--green:#73c7a8;--red:#f19196;--wash:#203440;--grid:#395361;--purple:#bd9fdb;--ochre:#ddbc71}
*{box-sizing:border-box}html{scroll-padding-top:24px}body{margin:0;background:var(--page);color:var(--ink);font-family:ui-sans-serif,system-ui,-apple-system,"PingFang TC","Noto Sans TC",sans-serif;line-height:1.8}button,input,select{font:inherit}button,a,input,summary,select{-webkit-tap-highlight-color:transparent}button{min-height:44px;padding:8px 18px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);cursor:pointer;font-size:14px;font-weight:600}button:hover{border-color:var(--accent);color:var(--accent)}button:disabled{opacity:.45;cursor:default}.primary{background:var(--accent);border-color:var(--accent);color:var(--surface)}.primary:hover{color:var(--surface);filter:brightness(1.1)}a{color:var(--accent);text-underline-offset:5px}a:hover{text-decoration-thickness:2px}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}input[type=text],select{border:1px solid var(--line);padding:8px 12px;border-radius:4px;color:var(--ink);background:var(--surface);max-width:100%;min-height:44px}input[type=range]{display:block;width:100%;margin:12px 0 24px;min-height:30px;accent-color:var(--accent);cursor:pointer}label{font-size:14px}.range-label{display:flex;justify-content:space-between;gap:16px;align-items:baseline;font-weight:600}.range-label output{font-size:24px;line-height:1.3;font-variant-numeric:tabular-nums;color:var(--accent)}.site-header{max-width:1160px;margin:auto;padding:28px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:22px;letter-spacing:-.7px;font-weight:750;text-decoration:none;color:var(--ink)}.brand span{font-size:12px;font-weight:400;letter-spacing:2px;margin-left:16px;color:var(--muted)}.site-header button{background:none}.article-header{max-width:800px;margin:70px auto 56px;padding:0 28px}.kicker{font-size:13px;letter-spacing:2px;color:var(--green);margin-bottom:22px}h1{font-size:clamp(32px,4.5vw,50px);line-height:1.4;letter-spacing:-1.6px;margin:0 0 28px;max-width:720px;text-wrap:balance}nav{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:13px}nav a{color:var(--muted);text-decoration:none}.prose{width:calc(100% - 48px);max-width:680px;margin:0 auto 20px;font-size:18px;line-height:1.95;overflow-wrap:break-word}.lead{font-size:22px;line-height:1.8;margin-bottom:34px}.featured{font-size:24px;font-weight:650;line-height:1.7;color:var(--accent);padding:14px 0}h2.prose{font-size:28px;line-height:1.6;font-weight:700;letter-spacing:-.7px;margin-bottom:36px;text-wrap:balance}.chapter-break{width:54px;height:2px;background:var(--green);margin:84px auto 42px}.lab{width:calc(100% - 64px);max-width:1040px;margin:48px auto 56px;padding:36px 40px;background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:3px;overflow:hidden}.lab-heading{margin-bottom:28px;max-width:720px}.tag{font-size:12px;letter-spacing:1.3px;color:var(--green)}h3{font-size:28px;line-height:1.5;letter-spacing:-.6px;margin:8px 0 8px}h4{font-size:16px;margin:22px 0 12px}.lab p{font-size:15px;margin:10px 0 16px;line-height:1.85}.lab-heading p{color:var(--muted);margin-bottom:0}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}.mono{font-family:ui-monospace,monospace;font-variant-numeric:tabular-nums;color:var(--muted);margin-left:auto}.world-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:30px;align-items:start}canvas{display:block;width:100%;height:auto;aspect-ratio:1;background:var(--page);border:1px solid var(--line);border-radius:3px}.legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:10px 0}.legend span{display:inline-flex;align-items:center;gap:6px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block}.person{background:var(--ink)}.good{background:var(--green)}.bad{background:var(--red)}.world-side .quiet{margin-top:0}.quiet,.note{color:var(--muted);font-size:13px!important}.person-card{padding:14px 0;border-top:1px solid var(--line)}.person-card h4{margin:0;color:var(--accent);font-size:14px}.person-card .capital{font-family:ui-monospace,monospace;font-size:28px;letter-spacing:-1px;margin:4px 0}.person-card .capital small{font-size:12px;color:var(--muted);letter-spacing:0}.person-card p{font-size:12px;margin:0}.status{color:var(--muted);font-size:13px!important}.note{border-left:2px solid var(--green);padding:8px 14px;background:var(--wash)}details{border-top:1px solid var(--line);margin-top:22px;padding-top:14px}summary{font-size:14px;cursor:pointer;font-weight:600;padding:6px 0;min-height:40px}details>p{max-width:780px}.seed-control{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 20px}.seed-control input{flex:1;min-width:150px}.surface-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.presets{display:flex;gap:8px}.presets button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--wash)}.lab .area-result{font-size:26px;letter-spacing:-.5px;color:var(--muted)}.area-result strong{font-family:ui-monospace,monospace;font-size:42px;color:var(--accent);margin-left:10px}svg{display:block;width:100%;height:auto;overflow:visible}svg text{fill:var(--muted);font-size:12px;font-family:inherit}svg .grid-line{stroke:var(--grid);stroke-width:1}.axis{fill:none;stroke:var(--muted);stroke-width:1}#areaRect{fill:var(--accent);fill-opacity:.22;stroke:var(--accent);stroke-width:2}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.gap-chart{background:var(--page);padding:6px 20px 12px;margin-bottom:22px;border-radius:3px}.gap-chart h4{margin-top:16px}.table-scroll{overflow-x:auto;margin:20px 0}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}th,td{padding:12px 10px;border-bottom:1px solid var(--line)}th{font-weight:600;color:var(--muted)}th:first-child,td:first-child{text-align:left}thead{background:var(--page)}tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}.highlight td{color:var(--green);font-weight:600}.result-note{padding:14px 0 14px 18px;border-left:3px solid var(--green);font-weight:500}.network-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.series0{color:var(--muted)}.series1{color:var(--accent)}.series2{color:var(--green)}progress{width:100%;height:6px;accent-color:var(--green)}.article-aside{max-width:680px;width:calc(100% - 48px);margin:24px auto;font-size:14px}.closing{background:var(--wash);border-left:3px solid var(--green);padding:22px 26px;margin-top:44px;font-size:16px}.closing strong{color:var(--accent)}footer{max-width:1040px;width:calc(100% - 64px);margin:90px auto 0;padding:30px 0 45px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}footer p{margin:8px 0}.skip-link{position:absolute;left:12px;top:-100px;background:var(--surface);padding:10px;z-index:1}.skip-link:focus{top:12px}.person-detail{background:var(--page);padding:12px 18px;margin-top:12px;font-size:14px}[hidden]{display:none!important}
@media(max-width:700px){.site-header{padding:20px 22px}.brand span{display:none}.article-header{margin-top:44px;padding:0 24px}.prose{font-size:17px;line-height:1.95}.lead{font-size:20px}.featured{font-size:22px}h2.prose{font-size:24px}.chapter-break{margin-top:60px}.lab{width:calc(100% - 24px);padding:26px 18px;margin:34px auto 40px}.world-layout,.surface-layout,.setting-grid,.network-pair{grid-template-columns:minmax(0,1fr);gap:18px}.world-side{display:grid;grid-template-columns:1fr}.surface-layout>div:last-child{max-width:360px;width:100%;margin:auto}.lab-heading{margin-bottom:22px}h3{font-size:23px}.toolbar{gap:8px}.toolbar button{font-size:13px;padding:8px 12px}.mono{font-size:12px}.gap-chart{padding:4px 8px}.table-scroll{margin:16px 0}th,td{padding:10px 8px}.closing{padding:18px}footer{width:calc(100% - 48px)}nav{gap:8px 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

#networkMetrics table{white-space:normal;table-layout:fixed;text-align:left}#networkMetrics th,#networkMetrics td{text-align:left;overflow-wrap:anywhere}#networkMetrics th:first-child{width:44%}#networkMetrics th:nth-child(2){width:20%}#networkMetrics th:nth-child(3){width:36%}
@media(max-width:700px){#networkMetrics table{font-size:12px}#networkMetrics th,#networkMetrics td{padding:10px 5px}}
.problem-rules{padding-left:22px;font-size:14px;color:var(--muted);margin:0 0 26px}.problem-rules li{margin:5px 0}
.problem-stage{padding:26px;background:var(--page);border:1px solid var(--line);border-radius:5px}
.problem-stage #problemNumber{margin:0 0 8px}.problem-stage #problemQuestion{font-size:23px;line-height:1.6;margin:0 0 8px;max-width:700px}
.problem-stage #problemContext{color:var(--muted);margin-bottom:24px}
.lab .knowledge-label{font-size:13px;font-weight:600;margin:22px 0 10px}
.knowledge-hand{display:flex;flex-wrap:wrap;gap:10px}.knowledge-card{display:inline-flex;flex-direction:column;justify-content:center;border:1px solid var(--line);padding:12px 18px;background:var(--surface);border-radius:4px;font-size:15px;min-height:55px}
.knowledge-card small{font-size:10px;color:var(--accent)}.knowledge-card.learned{border-color:var(--accent)}.knowledge-card.matched{border:2px solid var(--green);color:var(--green);background:var(--wash)}
.partner-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}.partner-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px 20px;gap:5px;min-width:0}.partner-choice strong{font-size:15px}.partner-choice span{font-size:12px;color:var(--muted);font-weight:400}.partner-choice b{font-size:18px;color:var(--accent)}.partner-choice[aria-pressed=true]{border-color:var(--accent);opacity:1;background:var(--wash)}
.problem-feedback{margin-top:22px;padding:15px 18px;border-left:3px solid var(--line);min-height:95px}.lab .problem-feedback p{font-size:14px;margin:0 0 6px}.problem-feedback.solved{border-color:var(--green);background:var(--wash)}.solution-title{color:var(--green);font-weight:650}.solution-dot{display:inline-block;width:9px;height:9px;background:var(--green);border-radius:50%;margin-right:6px}
@media(max-width:700px){.problem-stage{padding:18px 14px}.problem-stage #problemQuestion{font-size:20px}.partner-choices{grid-template-columns:1fr}.knowledge-card{padding:10px 12px;font-size:14px}.problem-feedback{padding:12px}.partner-choice{padding:15px}.problem-stage .toolbar{align-items:stretch}.problem-stage .toolbar button{flex:1}}
.hundred-rules{padding-left:24px;font-size:15px;margin:0 0 24px}.hundred-rules li{padding-left:4px;margin:14px 0;line-height:1.9}
.round-navigation{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:16px 0}.round-navigation select{min-width:120px}
.winner-distributions{display:grid;grid-template-columns:1fr 1fr;gap:20px}.winner-distribution{background:var(--page);padding:18px;border:1px solid var(--line);border-radius:4px}.winner-distribution h5{font-size:15px;margin:0 0 16px}.winner-distribution ul{list-style:none;margin:0;padding:0}.winner-distribution li{display:grid;grid-template-columns:75px minmax(0,1fr) 48px;align-items:center;gap:10px;margin:10px 0}.bucket-label{font-size:12px;color:var(--muted)}.bucket-lines{display:flex;flex-direction:column;gap:5px}.bucket-lines i{display:block;height:5px;min-width:0}.winner-line{background:var(--green)}.population-line{background:var(--muted);opacity:.5}.bucket-values{display:flex;flex-direction:column;font-size:11px;text-align:right;font-variant-numeric:tabular-nums;line-height:1.6}.bucket-values strong{color:var(--green)}.bucket-values span{color:var(--muted)}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.leaders-scroll{max-height:520px}.leaders-scroll thead{position:sticky;top:0;z-index:1}.leaders-scroll th:first-child{position:sticky;left:0;background:var(--page)}
@media(max-width:700px){.winner-distributions{grid-template-columns:minmax(0,1fr)}.winner-distribution{padding:14px}.round-navigation label{width:100%}.hundred-rules{font-size:14px}#repeatMetrics table{white-space:normal;font-size:12px}#repeatMetrics th,#repeatMetrics td{padding:10px 6px}}

.hundred-world{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;align-items:center;margin:28px 0}.hundred-world h4{font-size:22px;margin-top:0}@media(max-width:640px){.hundred-world{grid-template-columns:1fr;gap:12px}}

/* Editorial reading column: title, chapter headings and prose share one edge. */
.article-header,.prose,.article-aside{width:calc(100% - 48px);max-width:720px}
.article-header{padding:0;margin:64px auto 40px}
h1{font-size:clamp(30px,3.3vw,44px);line-height:1.5;letter-spacing:-.8px;text-wrap:balance;margin-bottom:28px}
.prose{margin-bottom:24px;line-height:1.95;text-wrap:pretty}
.lead{font-size:21px;line-height:1.85;margin-bottom:32px}
.featured{font-size:25px;line-height:1.7;padding:10px 0;margin-top:28px;margin-bottom:28px}
h2.prose{font-size:27px;line-height:1.6;margin-bottom:30px;text-wrap:pretty}
.chapter-break{max-width:720px;width:calc(100% - 48px);height:1px;background:var(--line);margin:72px auto 36px}
.chapter-nav{border-top:1px solid var(--line);padding-top:18px;gap:8px 22px}
.chapter-nav a{padding:4px 0;min-height:36px;display:inline-flex;align-items:center}
.site-header{max-width:1104px;padding:20px 32px;gap:24px;min-height:80px}
.brand{font-size:21px;letter-spacing:0;line-height:1.5;white-space:nowrap}
.brand span{font-size:13px;letter-spacing:0;margin-left:6px;display:inline}
.site-nav{align-items:center;flex-wrap:nowrap;gap:22px}
.site-nav a{display:inline-flex;align-items:center;gap:7px;min-height:44px;white-space:nowrap;color:var(--ink)}
.site-nav button{white-space:nowrap}
.lab{margin:40px auto 48px;border-top-width:2px}
.lab-heading{max-width:760px}.lab h3{text-wrap:pretty}
footer{display:flex;gap:32px;align-items:flex-start;justify-content:space-between;margin-top:72px;padding-bottom:40px}
footer p{max-width:650px;margin:0;font-size:14px;line-height:1.9}footer a{white-space:nowrap}
@media(max-width:700px){
 .site-header{padding:16px 24px;flex-wrap:wrap;gap:10px 18px}
 .site-nav{gap:18px;justify-content:space-between;width:100%}
 .brand{font-size:20px}.brand span{display:inline;font-size:12px}
 .article-header{margin:36px auto 30px;padding:0}
 h1{font-size:30px;line-height:1.5;letter-spacing:-.5px}
 .prose{font-size:17px;margin-bottom:22px}.lead{font-size:19px}.featured{font-size:22px}
 h2.prose{font-size:23px}.chapter-break{margin-top:54px;margin-bottom:28px}
 .chapter-nav{gap:4px 18px}.lab{margin:30px auto 36px}
 footer{display:block;margin-top:48px}footer a{display:inline-block;margin-top:20px;min-height:44px}
}
