.chapter-one-reader{min-height:100svh;height:100svh;display:flex;flex-direction:column;background:#000;color:#00ffe5;font-family:Courier New,Courier,monospace;overflow:hidden}.chapter-one-header{position:-webkit-sticky;position:sticky;top:0;z-index:6;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"nav title actions";align-items:center;grid-column-gap:12px;column-gap:12px;grid-row-gap:8px;row-gap:8px;flex-shrink:0;padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));border-bottom:1px solid rgba(0,255,229,.2);background:#000}.chapter-one-nav{grid-area:nav;display:inline-flex;align-items:center;min-height:44px;color:#00ffe5;font-size:14px;font-family:inherit;line-height:1.25;text-decoration:underline;text-underline-offset:3px}.chapter-one-actions button:focus-visible,.chapter-one-buy:focus-visible,.chapter-one-nav:focus-visible,.chapter-one-toolbar button:focus-visible{outline:2px solid #fff;outline-offset:2px}.chapter-one-title{grid-area:title;min-width:0;text-align:center;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chapter-one-actions{grid-area:actions;display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}.chapter-one-buy{background:#00ffe5;color:#001a18;border:none;border-radius:999px;padding:8px 16px;min-height:44px;font-family:inherit;font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;cursor:pointer}.chapter-one-actions button:not(.chapter-one-buy){color:#00ffe5;font-family:inherit;font-size:14px;border-radius:6px;text-decoration:none;background:rgba(0,255,229,.12);border:1px solid rgba(0,255,229,.6);padding:8px 16px;font-weight:600;cursor:pointer}.chapter-one-stage{position:relative;flex:1 1;min-height:0;display:flex;flex-direction:column}.chapter-one-canvas-wrap{flex:1 1;min-height:0;overflow:auto;display:flex;justify-content:center;align-items:flex-start;background:#141414;padding:12px 8px 16px}.chapter-one-canvas-wrap canvas{display:block;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.45)}.chapter-one-status{margin:24px auto;max-width:360px;text-align:center;line-height:1.5;color:rgba(0,255,229,.88)}.chapter-one-toolbar{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:10px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));border-top:1px solid rgba(0,255,229,.2)}.chapter-one-toolbar button{background:rgba(0,255,229,.12);border:1px solid rgba(0,255,229,.55);color:#00ffe5;font-family:inherit;font-size:16px;border-radius:6px;padding:10px 16px;min-height:44px;cursor:pointer}.chapter-one-toolbar button:disabled{opacity:.4;cursor:not-allowed}.chapter-one-known,.chapter-one-lock-note,.chapter-one-page-label{font-size:13px;line-height:1.4;color:rgba(0,255,229,.85)}.chapter-one-known button{background:none;border:none;color:#00ffe5;text-decoration:underline;cursor:pointer;font:inherit;padding:0}.chapter-one-invite{position:absolute;left:0;right:0;bottom:0;z-index:5;display:flex;justify-content:center;padding:16px 12px 12px;background:linear-gradient(0deg,rgba(0,0,0,.82) 45%,rgba(0,0,0,0));pointer-events:none}.chapter-one-invite--blocking{top:0;align-items:center;background:rgba(0,0,0,.96);pointer-events:auto}.chapter-one-stage--invite .chapter-one-canvas-wrap{padding-bottom:min(42svh,320px)}.chapter-one-invite-card{pointer-events:auto;display:flex;gap:12px;width:min(520px,100%);max-height:min(42svh,320px);overflow:auto;padding:14px;border-radius:16px;border:1px solid rgba(0,255,229,.35);background:linear-gradient(146deg,rgba(0,120,110,.94),rgba(0,70,85,.96));color:#e6fffb;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;box-shadow:0 12px 32px rgba(0,0,0,.45)}.chapter-one-invite-card p{margin:0 0 8px;font-size:14px;line-height:1.5}.chapter-one-invite-title{font-weight:700}.chapter-one-invite-note{color:#c8f5ef;font-size:13px}.chapter-one-invite-card form{display:flex;flex-direction:column;gap:8px}.chapter-one-invite-card input{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:8px;border:1px solid rgba(0,255,229,.4);background:rgba(0,0,0,.35);color:#fff;font-size:16px}.chapter-one-invite-consent{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.45}.chapter-one-invite-consent input{width:16px;height:16px;margin-top:2px;padding:0;flex:0 0 auto}.chapter-one-invite-actions{display:flex;flex-wrap:wrap;gap:8px}.chapter-one-invite-actions button{border-radius:999px;padding:10px 16px;font-size:13px;font-weight:600;cursor:pointer}.chapter-one-invite-submit-short{display:none}.chapter-one-invite-actions button[type=submit]{border:none;background:#00ffe5;color:#001a18}.chapter-one-invite-actions button[type=button]{border:1px solid rgba(0,255,229,.45);background:transparent;color:#e6fffb}.chapter-one-invite-error{color:#ffb4b4;font-size:13px}@media (max-width:767px){.chapter-one-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"nav buy" "title scene"}.chapter-one-actions{display:contents}.chapter-one-buy{grid-area:buy;justify-self:end;padding:8px 12px}.chapter-one-actions button:not(.chapter-one-buy){grid-area:scene;justify-self:end}.chapter-one-title{text-align:left}.chapter-one-stage--invite .chapter-one-canvas-wrap{padding-bottom:176px}.chapter-one-invite{padding:4px 8px 6px;background:linear-gradient(0deg,rgba(0,0,0,.72) 20%,rgba(0,0,0,0))}.chapter-one-invite-long{display:none}.chapter-one-invite-card{flex-direction:row;align-items:flex-start;gap:8px;max-height:248px;padding:8px 10px;border-radius:12px}.chapter-one-invite-card img{width:36px;height:36px;flex:0 0 auto}.chapter-one-invite-card p{margin:0 0 4px;font-size:12px;line-height:1.3}.chapter-one-invite-card input{padding:8px 10px}.chapter-one-invite-card form{gap:6px}.chapter-one-invite-consent{font-size:11px;line-height:1.3}.chapter-one-invite-note{font-size:11px}.chapter-one-invite-submit-full{display:none}.chapter-one-invite-submit-short{display:inline}.chapter-one-invite-actions{flex-wrap:nowrap}.chapter-one-invite-actions button{min-height:40px;padding:8px 10px}}