:root{color-scheme:dark;--ink:#17202a;--night:#111923;--paper:#f3f0e7;--muted:#73756d;--wine:#83334b;--gold:#d9af6c;--line:rgba(29,40,47,.15);font-family:Arial,Helvetica,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--night);color:var(--paper)}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #bf8b51;outline-offset:4px}button:disabled{cursor:default}button{border:0}button:disabled{opacity:.6}.masthead{height:88px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #30353e;background:#131b25}.brand{display:flex;align-items:center;gap:11px}.brand>span:not(.brand-world){font-family:Georgia,serif;font-size:31px;font-weight:bold;letter-spacing:-1.2px}.brand i{font-weight:normal;color:#e0c3a3}.brand-world{margin-left:17px;padding-left:23px;border-left:1px solid #444750;font-size:13px;letter-spacing:.04em;color:#a5aaa8}.masthead nav{display:flex;gap:30px;align-items:center;font-size:14px}.text-button{padding:0;color:#c1c4bf;background:none}.masthead nav a{color:#c1c4bf}.outline-button{border:1px solid #74756b;padding:12px 17px;background:none;color:var(--paper);border-radius:5px}.show{display:grid;grid-template-columns:minmax(0,1fr) 362px;min-height:calc(100dvh - 88px);max-height:calc(100dvh - 88px)}.world-section{position:relative;overflow:hidden;min-height:660px;background:#111923}#world{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:pan-y}.world-title{position:absolute;top:34px;left:34px;pointer-events:none;max-width:580px}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:bold;margin:0 0 14px;display:flex;align-items:center;gap:8px}.live-dot{width:6px;height:6px;border-radius:50%;background:#c9aa72;box-shadow:0 0 8px #c9aa7244}.world-title .eyebrow{color:#b5bbba}h1{font-family:Georgia,'Times New Roman',serif;font-weight:normal;font-size:clamp(34px,3.6vw,60px);line-height:1.04;letter-spacing:-2px;margin:0;text-shadow:0 2px 28px #111923}h1 em{color:#d3b08c}h1+p{font-size:14px;color:#9ea6a7;line-height:1.5;margin-top:16px}.world-tools{position:absolute;top:28px;right:22px;display:flex;gap:8px}.world-tools button{border:1px solid #424b56;border-radius:5px;background:#17212ee6;color:#c8c9bf;padding:9px 12px;font-size:12px}.world-hint{position:absolute;bottom:139px;left:32px;font-size:12px;color:#909caa;pointer-events:none}.thought-card{position:absolute;left:28px;right:28px;bottom:26px;display:flex;gap:17px;align-items:center;padding:20px 24px;background:#1a2532ed;border:1px solid #414551;border-radius:8px;box-shadow:0 14px 30px #0003}.avatar{flex:none}.avatar img{display:block;border-radius:50%}.thought-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px}.thought-heading strong{color:#e9dcc8}.thought-heading span{color:#8f9aa5;font-size:12px}.thought-card p{font:italic 20px/1.35 Georgia,serif;color:#f3eddc;margin:8px 0 0}.story-panel{background:var(--paper);color:var(--ink);display:flex;flex-direction:column;min-height:0}.panel-title{padding:27px 25px 20px;display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:bold;letter-spacing:.13em}.panel-title span+span{color:#87867d}.tabs{display:flex;margin:0 24px;border-bottom:1px solid var(--line);gap:22px}.tabs button{background:none;color:#818278;font-size:13px;padding:12px 0 14px;border-bottom:2px solid transparent;white-space:nowrap}.tabs button[aria-selected=true]{color:var(--wine);border-color:var(--wine);font-weight:bold}.panel-scroll{padding:27px 26px 30px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b8b6ab transparent;flex:1}.view[hidden]{display:none}.dark-label{color:#878276;font-size:10px;line-height:1.5}h2{font:normal 34px/1.05 Georgia,serif;letter-spacing:-1px;margin:0 0 17px;color:#232b30}h3{font:normal 23px/1.15 Georgia,serif;margin:0}p{line-height:1.6}.body-copy{color:#74776e;font-size:14px;margin:13px 0 21px}.stage-line{display:flex;align-items:center;gap:9px;font-size:11px;color:#888b80}.stamp{font-size:10px;letter-spacing:.09em;background:#e6dcd8;color:#864353;padding:5px 8px;border-radius:3px}.rule{height:1px;background:var(--line);margin:25px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-heading span{color:#949389;font-size:11px;white-space:nowrap}.muted{color:#85877e}.intro{font-size:13px;line-height:1.55;margin:9px 0 18px}.scheme-list{display:grid;gap:10px}.scheme{padding:14px;border:1px solid #d3d1c6;border-radius:5px;background:transparent;color:var(--ink);text-align:left;position:relative;overflow:hidden;min-height:78px}.scheme:hover{background:#eae4d9;border-color:#ad927c}.scheme.selected{border-color:#9b5a68;background:#ece1de}.scheme-top{display:flex;align-items:flex-start;gap:10px;justify-content:space-between;position:relative}.scheme strong{font-size:14px;line-height:1.4;font-weight:500;max-width:220px}.scheme small{display:block;color:#828076;font-size:12px;line-height:1.45;margin-top:5px;position:relative}.vote-count{font-size:11px;color:#966d69}.vote-bar{position:absolute;inset:0 auto 0 0;width:0;background:#83334b08;transition:width .5s}.small-note{font-size:11px;line-height:1.65;color:#89877e}.pino-teaser{margin-top:25px;border-top:1px solid var(--line);padding-top:23px;display:flex;gap:13px}.signal-icon{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;color:#777e63;border:1px solid #d0d1be;border-radius:50%;font-size:22px}.pino-teaser strong{font-size:13px;font-weight:500}.pino-teaser p{color:#7a7d72;font-size:12px;margin:6px 0}.inline-button{font-size:12px;color:var(--wine);background:none;text-decoration:underline;text-underline-offset:3px;padding:4px 0}.wide-link{margin-top:25px;display:block;width:100%;padding:12px;border:1px solid #d1ccbf;border-radius:4px;background:transparent;font-size:12px;color:#77766b}.panel-footer{border-top:1px solid var(--line);padding:17px 24px;display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:10px;color:#8b887e}.panel-footer button{font-size:10px;background:none;color:#716b60;padding:0;text-decoration:underline;text-underline-offset:3px}.radio-card{background:#e5e5d9;border:1px solid #c7c9b7;border-radius:6px;padding:18px;margin:20px 0}.radio-top{display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:.08em;color:#66725d}.radio-top span+span{text-align:right}.wave{color:#a6ac90;letter-spacing:4px;font-size:18px;margin:23px 0}.radio-card .small-note{font-size:9px;letter-spacing:.1em;color:#7a826a;margin-bottom:8px}.pino-doing{font:22px/1.3 Georgia,serif;margin:0;color:#354031}blockquote{margin:16px 0 0;padding-left:12px;border-left:2px solid #a4ad8a;font:italic 16px/1.5 Georgia,serif;color:#55624b}.feeling-row{font-size:11px;color:#7e8373;display:flex;gap:20px}.section-label{margin:28px 0 16px;font-size:22px}.feed-item{padding:13px 0;border-top:1px solid var(--line)}.feed-item p{font-size:13px;color:#73796e;margin:4px 0}.feed-item time{font-size:10px;color:#9b9c90}.attribution{font-size:11px;color:#909084;line-height:1.7;margin-top:25px}.attribution a{text-decoration:underline;text-underline-offset:3px}.connection-card{border-left:3px solid #9c7d55;padding:11px 14px;background:#e8e4d8;margin:22px 0}.connection-card strong{font-size:13px;font-weight:500}.connection-card p{font-size:12px;color:#8a8170;margin:8px 0 0}.primary-button{background:var(--wine);color:#fff4e8;border-radius:4px;padding:14px 17px;font-size:13px;display:block;width:100%;margin-top:20px}.primary-button:hover{background:#69233a}.letter{position:relative;border:1px solid #d4cabc;padding:22px 19px;background:#eeeadf;box-shadow:0 5px 0 -3px #dcd5c8;margin:22px 0}.letter p{font:italic 18px/1.5 Georgia,serif;color:#54524a;white-space:pre-wrap}.letter .stamp{display:inline-block;font-style:normal;font-family:Arial,sans-serif}.letter-actions{display:flex;gap:17px;flex-wrap:wrap}.history-entry{border-top:1px solid var(--line);padding:19px 0}.history-entry button{font:20px/1.2 Georgia,serif;text-align:left;padding:0;background:none;color:#344039}.history-entry p{color:#818273;font-size:12px;margin:9px 0}.history-entry time{font-size:11px;color:#a29b8c}.empty-state{border:1px dashed #c9c5b9;border-radius:4px;padding:20px;font-size:13px;color:#959083;margin-top:25px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#f4eddd;color:#29333a;padding:13px 22px;border-radius:6px;box-shadow:0 7px 40px #0006;z-index:10;font-size:14px;max-width:calc(100vw - 30px)}.loading-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#1b2736ed;border:1px solid #434d59;border-radius:6px;padding:18px 23px;font-size:13px;color:#d0cbbb;display:flex;gap:12px;align-items:center;max-width:85%;line-height:1.5}.loading-card[hidden]{display:none}.spinner{width:15px;height:15px;border:2px solid #8b7b6f;border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite;flex:none}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:0;border-radius:8px;background:var(--paper);color:#6b6c60;padding:45px;max-width:580px;width:calc(100vw - 36px);max-height:85dvh;box-shadow:0 20px 100px #0008;font-size:14px}dialog::backdrop{background:#0b121bcc;backdrop-filter:blur(4px)}dialog h2{font-size:44px}dialog h3{margin-top:29px;color:#4c5148;font-size:25px}.dialog-close{position:absolute;right:16px;top:13px;background:none;color:#7f7d70;font-size:28px}.cinema .show{grid-template-columns:1fr}.cinema .story-panel{display:none}.cinema .world-title{max-width:700px}@media(min-width:1500px){.show{grid-template-columns:minmax(0,1fr) 400px}.panel-scroll{padding:32px}.tabs{gap:30px;margin:0 32px}.world-title{left:45px;top:40px}.thought-card{left:42px;right:42px}}@media(max-width:1100px){.brand-world{display:none}.show{grid-template-columns:minmax(0,1fr) 332px}.world-title{left:24px;top:70px}h1{font-size:40px}.world-tools{top:20px}.thought-card{left:16px;right:16px;padding:17px}.thought-heading{gap:7px}.thought-card p{font-size:18px}.tabs{gap:17px}.masthead{padding:0 24px}.masthead nav{gap:20px}.panel-scroll{padding:24px 22px}}@media(max-width:760px){.masthead{height:72px;padding:0 17px}.brand>span:not(.brand-world){font-size:27px}.brand img{width:30px;height:30px}.masthead nav{gap:14px}.masthead nav .text-button{display:none}.masthead nav a{font-size:12px}.outline-button{font-size:11px;padding:9px 11px}.show{display:flex;flex-direction:column;max-height:none;min-height:0}.world-section{height:76dvh;min-height:590px;max-height:780px}.world-title{left:21px;top:31px}.world-title .eyebrow{font-size:9px;margin-bottom:12px}h1{font-size:40px;letter-spacing:-1.5px}.world-title h1+p{font-size:11px}.world-tools{right:16px;top:157px}.world-tools button{font-size:10px;padding:7px 10px}.world-hint{left:21px;bottom:135px;font-size:10px}.thought-card{bottom:20px;gap:11px;padding:15px}.thought-card .avatar img{height:43px;width:43px}.thought-card p{font-size:18px}.thought-heading span{font-size:10px}.thought-heading strong{font-size:11px}.story-panel{min-height:650px}.panel-title{padding:25px 24px 14px}.tabs{gap:30px;margin:0 24px}.tabs button{font-size:14px}.panel-scroll{overflow:visible;padding:28px 25px 35px}.panel-footer{font-size:11px;padding:19px 24px}.panel-footer button{font-size:11px}.scheme-list{gap:12px}.scheme{padding:16px}.scheme strong{max-width:none}.scheme small{font-size:13px}.body-copy{font-size:15px}.cinema .world-section{height:calc(100dvh - 72px);max-height:none}.cinema .world-title{top:30px}.radio-top{font-size:10px}dialog{padding:35px 27px}.loading-card{width:290px;font-size:12px}.thought-card p{max-width:80vw}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Keep interactive text comfortable at normal browser zoom. */
.body-copy{font-size:16px}.intro,.scheme small,.tabs button,.inline-button,.primary-button{font-size:14px}.small-note,.attribution,.history-entry p,.wide-link{font-size:12px}.thought-heading span,.world-tools button,.world-hint{font-size:12px}.panel-footer,.panel-footer button{font-size:12px}.radio-card .small-note{font-size:12px}.radio-top,.stage-line,.stamp,.vote-count,.feeling-row,.feed-item time{font-size:12px}.feed-item p{font-size:14px}.connection-card p{font-size:14px}.connection-card strong{font-size:14px}.section-heading span{font-size:12px}.panel-scroll{padding-bottom:32px}.brand-world{font-size:14px}

/* The neighbourhood is the show; the paper at its edge is the night's casebook. */
:root{--paper:#eee9dd;--night:#14202a;--wine:#793848;--muted:#716e62}
.masthead{height:72px;padding:0 29px;background:#14202a;border-bottom-color:#a89d7d24}
.brand>span:not(.brand-world){font-size:29px}.brand-world{font-family:Georgia,serif;font-style:italic;letter-spacing:0;color:#a6afa7;border-left-color:#777d723b}
.masthead nav{gap:25px}.outline-button{padding:8px 0;border:0;border-bottom:1px solid #9c99835c;border-radius:0;font-size:13px}
.show{min-height:calc(100dvh - 72px);max-height:calc(100dvh - 72px)}
.world-section{min-height:620px;background:#14202a}
.world-title{left:31px;top:29px;max-width:385px}.world-title .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:13px;color:#b9baaa}
.world-title h1{font-size:clamp(32px,2.7vw,41px);letter-spacing:-.9px;line-height:1.08;text-shadow:0 2px 19px #14202a}
.world-title h1 em{color:#c9ac87}.world-title h1+p{margin-top:12px;color:#a6afa6;font-family:Georgia,serif;font-size:14px;font-style:italic}
.live-dot{background:#c5ac7b;box-shadow:none;width:4px;height:4px}
.world-tools{top:25px;right:24px;gap:18px}.world-tools button{background:transparent;border:0;border-bottom:1px solid #b7ad8d3b;border-radius:0;padding:4px 0 7px;color:#abb5ac;font-size:12px}
.world-tools button:hover,.world-tools button[aria-pressed=true]{color:#ead3ad;border-bottom-color:#cfaf83}
.world-hint{bottom:133px;left:31px;font-family:Georgia,serif;font-style:italic;color:#8d9b95;font-size:13px}
.thought-card{left:30px;right:30px;bottom:22px;padding:17px 0 0;background:linear-gradient(90deg,#14202aaf,#14202a00);border:0;border-top:1px solid #a3997840;border-radius:0;box-shadow:none;gap:15px;align-items:flex-start}
.thought-card .avatar img{width:43px;height:43px;border-radius:0;margin-top:2px}.thought-heading{gap:11px}.thought-heading strong{font:normal 15px Georgia,serif;color:#d7c2a1}.thought-heading span{font-size:12px;color:#8fa099}.thought-card p{font-size:20px;color:#e8dfc9;margin-top:7px;line-height:1.3}
.story-panel{border-left:5px solid #302c30;box-shadow:inset 8px 0 12px -12px #584a36;background:var(--paper)}
.panel-title{font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;letter-spacing:.08em;padding-top:24px;color:#66574b}
.tabs{gap:23px;border-bottom-color:#7c786c3b}.tabs button{font-size:14px;padding-bottom:12px}.tabs button[aria-selected=true]{font-weight:normal}
.panel-scroll{padding-top:28px}h2{font-size:35px;line-height:1.06;letter-spacing:-.8px;color:#2f322c}.dark-label{font-family:ui-monospace,SFMono-Regular,monospace;letter-spacing:.1em;line-height:1.5;color:#8b7c68}.body-copy{color:#6c6d60}.stage-line{gap:12px;line-height:1.6}.stamp{border:1px solid #934a5b86;background:transparent;border-radius:0;color:#814253;padding:3px 6px;font:10px/1.4 ui-monospace,SFMono-Regular,monospace;letter-spacing:.035em}.rule{background:#7b74653b;margin:26px 0}.section-heading h3{font-size:24px}.intro{color:#88816f}
.scheme-list{gap:0;border-top:1px solid #a39b843d}.scheme{min-height:90px;padding:17px 2px 16px;border:0;border-bottom:1px solid #a39b8457;border-radius:0;background:transparent;overflow:hidden}.scheme:hover{background:#c1ac8614;border-color:#887d695f}.scheme.selected{background:#803c4c0a;border-color:#935565}.scheme strong{font:normal 19px/1.18 Georgia,serif;max-width:225px;color:#393c33}.scheme small{font-size:14px;color:#8a806c;line-height:1.45}.vote-count{font-family:ui-monospace,SFMono-Regular,monospace;color:#976f68;padding-top:3px}.vote-bar{inset:auto auto 0 0;height:2px;background:#7b394d43}.small-note{color:#8d8270}.wide-link{border:0;border-bottom:1px solid #a39b8457;border-radius:0;text-align:left;padding:12px 0;font-family:Georgia,serif;font-size:15px;color:#746650}
.signal-icon{border:0;border-radius:0;width:27px;color:#6e7863}.pino-teaser{gap:10px;border-top-color:#a39b8440}.pino-teaser strong{font-family:Georgia,serif;font-size:16px;color:#555c4c}.pino-teaser p{font-size:13px;color:#86816f}.inline-button{color:#793848;text-decoration-thickness:1px}.primary-button{border-radius:1px;background:#793848}.primary-button:hover{background:#642c3c}
.panel-footer{border-top-color:#a39b8452;background:#ddd3bd38;padding:16px 24px;font-family:Georgia,serif;font-style:italic;color:#93836e}.panel-footer button{font-family:Georgia,serif;font-size:12px;color:#78664d}.connection-card{background:transparent;border-left:2px solid #9c7d55;padding-left:15px}.empty-state{border-width:0 0 1px;border-radius:0;text-align:left;padding:16px 0}.letter{border-radius:0;background:#f5f0e4;border-color:#c7b99e;box-shadow:2px 3px 0 #c7baa74d}.history-entry{border-top-color:#a39b8452}.history-entry button{line-height:1.25}.history-entry time{display:block;margin-bottom:8px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;letter-spacing:.02em}
.radio-card{background:#2d3c35;border:3px solid #6d725b;border-radius:2px;box-shadow:inset 0 0 0 1px #131f2399;padding:18px}.radio-top{color:#b9c0a4;font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;letter-spacing:.04em}.radio-card .small-note{color:#b2b89d;font-size:11px}.radio-card .pino-doing{color:#e7e1c7}.radio-card blockquote{color:#c4ccb0;border-left-color:#788c71}.radio-card .wave{color:#93a17b;opacity:.7}.radio-card #pino-observed{color:#9ba88f;font-size:11px;line-height:1.6;letter-spacing:0}
.loading-card{border-radius:1px;border-color:#9e987b57;background:#1b2a31ee;font-family:Georgia,serif;font-style:italic}.toast{border-radius:1px}.outline-button:hover{color:#e8d3ad}dialog{border-radius:1px;border:1px solid #a28b6673;box-shadow:6px 6px 0 #4f39393b,0 20px 100px #0008}
@media(min-width:1500px){.world-title{left:40px;top:30px;max-width:400px}.thought-card{left:40px;right:40px}.world-hint{left:40px}}
@media(min-width:761px) and (max-width:1100px){.world-title{top:63px;left:24px;max-width:330px}.world-title h1{font-size:35px}.world-tools{top:23px}.thought-card{left:23px;right:23px}.thought-card p{font-size:18px}.tabs{gap:17px}.panel-title{padding-left:22px;padding-right:22px}}
@media(max-width:760px){.masthead{height:68px;padding:0 17px}.brand>span:not(.brand-world){font-size:26px}.masthead nav{gap:15px}.outline-button{font-size:11px;padding:7px 0}.show{min-height:0;max-height:none}.world-section{height:74dvh;min-height:575px}.world-title{left:22px;top:26px;max-width:300px}.world-title h1{font-size:33px;letter-spacing:-.75px}.world-title .eyebrow{font-size:9px;letter-spacing:.09em}.world-title h1+p{font-size:13px;margin-top:10px}.world-tools{top:150px;right:21px;gap:16px}.world-tools button{font-size:11px}.thought-card{left:22px;right:22px;bottom:21px;padding-top:15px;gap:10px}.thought-card .avatar img{width:36px;height:36px}.thought-card p{font-size:18px}.thought-heading strong{font-size:14px}.thought-heading span{font-size:11px}.world-hint{left:22px;bottom:132px;font-size:12px}.story-panel{border-left:0;border-top:5px solid #302c30;box-shadow:inset 0 7px 10px -12px #584a36}.panel-title{padding-top:24px}.tabs{gap:30px}.scheme{padding:17px 2px}.scheme strong{max-width:none;font-size:20px}.scheme small{font-size:14px}.cinema .world-section{height:calc(100dvh - 68px)}.cinema .world-title{top:26px}}

/* A long letter scrolls inside the casebook, never resizes the canvas next to it. */
@media(min-width:761px){
  .show{height:calc(100svh - 72px);min-height:0;max-height:calc(100svh - 72px);grid-template-rows:minmax(0,1fr)}
  .world-section{height:100%;min-height:0}
  .story-panel{height:100%;min-height:0;overflow:hidden}
  .panel-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain}
  .panel-title,.tabs,.panel-footer{flex-shrink:0}
}
