/* The platform and its independent works share one reading canvas. */
html:has(body.fate-platform-work){background:#08090b}
body.fate-platform-work{
  width:100%;
  max-width:402px;
  min-width:0;
  margin-inline:auto;
  --max:402px;
  container-name:fate-work;
  container-type:inline-size;
}
body.fate-platform-work :is(.fate-site-shell.cinema-header,.fate-site-shell.cinema-footer){
  width:100%;
  max-width:402px;
  min-width:0;
}
body.fate-platform-work .fate-site-shell.cinema-dock{
  width:calc(100% - 24px);
  max-width:378px;
}
body.fate-platform-work dialog{
  max-width:min(calc(100% - 24px),378px);
  max-height:calc(100dvh - 32px);
  overscroll-behavior:contain;
}
body.fate-platform-work .fate-site-shell .footer-business :is(dl,dt,dd){min-width:0}
