.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{display:flex;align-items:center;justify-content:space-between;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)}.chapter-one-nav-mobile{display:none}.chapter-one-nav-desktop{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.chapter-one-linkish,.chapter-one-nav-desktop a,.chapter-one-nav-desktop button,.chapter-one-nav-mobile a,.chapter-one-nav-mobile button{color:#00ffe5;font-size:14px;font-family:inherit;text-decoration:none}.chapter-one-nav-desktop button,.chapter-one-nav-mobile a,.chapter-one-nav-mobile button{text-decoration:underline}.chapter-one-nav-desktop button,.chapter-one-nav-mobile button{background:none;border:none;cursor:pointer;padding:0;text-align:left}.chapter-one-title{flex:1 1;min-width:0;text-align:center;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chapter-one-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}.chapter-one-actions button{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-invite-card{pointer-events:auto;display:flex;gap:12px;width:min(520px,100%);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-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-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-nav-mobile{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.chapter-one-nav-desktop{display:none}.chapter-one-invite-card{flex-direction:column;align-items:flex-start}}