.reader-body{padding-bottom:0}.reader-body .reader-end{padding-bottom:48px}
.reader-body>.focus-restore{position:fixed;top:16px;right:16px;z-index:45;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:4px;background:var(--surface);color:var(--foreground);box-shadow:0 4px 18px #0005;cursor:pointer}
.reader-body>.focus-restore[hidden]{display:none}.focus-restore svg{width:20px;height:20px}.focus-restore:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.studio-head .brand-image,.home-footer .brand-image{width:252px;height:auto;aspect-ratio:404/72;display:block}.studio-head .brand{min-width:220px}
.mobile-install{display:none}.mobile-install[hidden]{display:none}.install-dialog{width:min(420px,calc(100vw - 32px));max-height:80dvh;overflow:auto;padding:28px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--foreground)}.install-dialog::backdrop{background:#09090dd9}.install-dialog h2{font-size:22px;line-height:1.5;margin:16px 0 12px}.install-dialog p{font-size:16px;line-height:1.8;color:var(--secondary-text);margin:0 0 20px}.install-dialog .dialog-close{min-height:44px;background:var(--accent);color:#24131a;border:0;border-radius:4px;padding:10px 20px;font:500 16px var(--font);cursor:pointer}.install-dialog .app-avatar{width:64px;height:64px;border-radius:8px}
@media(max-width:1250px){.studio-head .brand-image{width:205px}.studio-head .brand{min-width:190px}}
@media(max-width:950px){.studio-head .brand-image{width:190px}.studio-head .brand{min-width:180px}}
@media(max-width:760px){
 .studio-head .brand-image{width:208px}.studio-head .brand{min-width:0}
 .mobile-install{display:block;margin:28px 0 0;padding:24px 20px 20px;background:#211b20;border-top:1px solid #58404b;border-bottom:1px solid #58404b}
 .install-intro{display:grid;grid-template-columns:124px minmax(0,1fr);gap:16px;align-items:center;max-width:520px;margin:0 auto 20px}
 .install-mascot{width:124px;height:178px;object-fit:contain;display:block}
 .install-copy{min-width:0}.install-copy .app-label{color:var(--accent);font-size:13px;line-height:1.7;margin:0 0 8px;font-weight:500}.install-copy h2{font-size:21px;line-height:1.6;margin:0 0 10px;color:var(--foreground)}.install-copy p{font-size:16px;line-height:1.8;color:var(--secondary-text);margin:0}
 .install-action{border-top:1px solid #58404b;padding-top:16px;display:flex;gap:12px;align-items:center;max-width:520px;margin:auto;justify-content:space-between}
 .install-identity{display:flex;align-items:center;gap:10px;min-width:0}.install-identity img{width:44px;height:44px;border-radius:8px;flex-shrink:0}.install-identity strong{display:block;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.install-identity span{display:block;font-size:13px;color:var(--secondary-text);line-height:1.7}
 .install-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;flex-shrink:0;padding:10px 14px;border:1px solid var(--accent);border-radius:4px;color:#24131a;background:var(--accent);font:500 15px var(--font);cursor:pointer}.install-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}.install-button:disabled{opacity:.65;cursor:default}.install-button:focus-visible{outline:2px solid var(--foreground);outline-offset:3px}
 .install-status{font-size:14px;line-height:1.7;color:var(--secondary-text);margin:12px auto 0;max-width:520px}.install-status:empty{display:none}
}
@media(max-width:360px){.studio-head .brand-image{width:180px}.mobile-install{padding:20px 16px}.install-intro{grid-template-columns:110px minmax(0,1fr);gap:12px}.install-mascot{width:110px;height:160px}.install-copy h2{font-size:20px}.install-button{padding:10px 12px}.install-identity{gap:8px}}
@media(display-mode:standalone){.mobile-install{display:none!important}}
